/* ============================================================
   CEMAP CONSULTANTS — PREMIUM CORPORATE DESIGN SYSTEM
   Extracted from brand logo: Royal Blue #0038B3 / Deep Purple #3B1568
   ============================================================ */

:root {
  /* Brand palette (extracted from logo) */
  --royal: #0038B3;
  --royal-50: #EAF0FF;
  --royal-100: #D3E0FF;
  --royal-200: #A8C2FF;
  --royal-300: #7DA4FF;
  --royal-400: #4E7BE8;
  --royal-500: #3E6FD8;
  --royal-600: #0038B3;
  --royal-700: #002E97;
  --royal-800: #002B8C;
  --royal-900: #00205F;

  --purple: #3B1568;
  --purple-800: #2E0F52;
  --purple-900: #240B40;
  --purple-950: #180730;

  --ink: #0B1220;
  --ink-soft: #46506B;
  --off-white: #F6F8FD;
  --mist: #EEF2FA;

  --white: #ffffff;
  --line: #E4E9F4;

  /* Typography */
  --font-head: "Manrope", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Effects */
  --shadow-sm: 0 2px 12px rgba(11, 18, 32, .06);
  --shadow-md: 0 12px 32px rgba(11, 18, 32, .10);
  --shadow-lg: 0 28px 64px rgba(11, 18, 32, .14);
  --shadow-glow: 0 14px 44px rgba(0, 56, 179, .30);
  --glass: rgba(255, 255, 255, .72);
  --glass-dark: rgba(15, 23, 42, .55);
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  --ease-spring: cubic-bezier(.22, .9, .28, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --grad-primary: linear-gradient(120deg, var(--royal-600), var(--purple));
  --grad-soft: linear-gradient(120deg, var(--royal-500), var(--royal-600));
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: auto; }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--off-white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
  line-height: 1.15;
}

a { color: var(--royal-600); text-decoration: none; transition: color .25s; }
a:hover { color: var(--purple); }

img { max-width: 100%; height: auto; }

::selection { background: var(--royal-600); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--mist); }
::-webkit-scrollbar-thumb { background: linear-gradient(var(--royal-500), var(--purple)); border-radius: 8px; }

/* ---------- Utilities ---------- */
.section { position: relative; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-soft { background: var(--off-white); }
.section-mist { background: var(--mist); }
.section-dark {
  background: linear-gradient(140deg, var(--purple-950), var(--royal-900) 55%, var(--purple-800));
  color: #fff;
}
.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark .title, .section-dark .lead { color: #fff; }

.container-xl { width: min(1240px, 92%); margin-inline: auto; }
.container-lg  { width: min(1120px, 92%); margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--royal-600);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--grad-primary); border-radius: 2px; }
.eyebrow.center::after { content: ""; width: 34px; height: 2px; background: var(--grad-primary); border-radius: 2px; }
.section-dark .eyebrow, .eyebrow.light { color: #fff; }

.title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: .7rem 0 1rem;
}
.title .grad { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--ink-soft); }
.section-dark .lead { color: rgba(255,255,255,.82); }

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }

.text-center { text-align: center; }
.grad-text { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }

.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,.55);
}

.glass-dark {
  background: var(--glass-dark);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(255,255,255,.16);
}

.divider-top { margin-top: -1px; display: block; width: 100%; }
.divider-bottom { margin-bottom: -1px; display: block; width: 100%; }

/* ---------- Buttons ---------- */
.btn-cm {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  padding: .95rem 1.9rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: transform .35s var(--ease-spring), box-shadow .35s, background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn-cm i, .btn-cm .material-symbols-rounded { font-size: 1.1rem; }
.btn-cm:focus-visible { outline: 3px solid var(--royal-200); outline-offset: 3px; }

.btn-grad {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-grad::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--purple), var(--royal-600));
  opacity: 0;
  transition: opacity .35s;
}
.btn-grad:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 20px 54px rgba(0,56,179,.42); }
.btn-grad:hover::before { opacity: 1; }

.btn-outline {
  background: transparent;
  color: var(--royal-600);
  border-color: rgba(0,56,179,.35);
}
.btn-outline:hover { background: var(--royal-600); color: #fff; border-color: var(--royal-600); transform: translateY(-3px); }

.btn-white {
  background: #fff;
  color: var(--royal-700);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { color: var(--purple); transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.btn-ghost-light {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.2); color: #fff; transform: translateY(-3px); }

.btn-sm { padding: .65rem 1.3rem; font-size: .85rem; }
.btn-block { width: 100%; }

.ripple-ink { position: absolute; border-radius: 50%; background: rgba(255,255,255,.5); transform: scale(0); animation: ripple .7s ease-out forwards; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.4rem;
  background: linear-gradient(140deg, var(--purple-950), var(--royal-900));
}
.pre-logo { width: 220px; height: auto; opacity: 0; background: #fff; border-radius: 14px; padding: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.pre-ring {
  width: 54px; height: 54px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18);
  border-top-color: #fff;
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.pre-bar { width: 220px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.15); overflow: hidden; }
.pre-bar > span { display: block; height: 100%; width: 0; background: var(--grad-soft); }
#preloader.done { animation: preOut .7s var(--ease-out) forwards; }
@keyframes preOut { to { opacity: 0; visibility: hidden; } }

/* ---------- Page transition overlay ---------- */
#page-transition {
  position: fixed; inset: 0; z-index: 9998;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
}
#page-transition .pt-panel {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, var(--royal-800), var(--purple));
  transform: translateY(101%);
}
#page-transition.active { visibility: visible; opacity: 1; }

/* ---------- Navbar ---------- */
.nav-cm {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .4s, box-shadow .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
  padding: 1.15rem 0;
}
.nav-cm.scrolled {
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  box-shadow: 0 10px 34px rgba(11,18,32,.09);
  border-color: rgba(255,255,255,.5);
  padding: .55rem 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav-logo { display: flex; align-items: center; gap: .8rem; flex: none; }
.nav-logo img {
  height: 60px; width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  box-shadow: 0 6px 18px rgba(11,18,32,.18);
  transition: height .4s, box-shadow .4s;
}
.nav-cm.scrolled .nav-logo img { height: 48px; }
.nav-logo-text { line-height: 1.1; }
.nav-logo-text strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .01em; color: var(--ink); }
.nav-logo-text span { font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; font-weight: 600; color: var(--royal-600); }

.nav-links { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative;
  display: inline-block;
  padding: .6rem .85rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: var(--ink);
  border-radius: 8px;
}
.nav-link::after {
  content: "";
  position: absolute; left: .85rem; right: 100%; bottom: .32rem;
  height: 2px; border-radius: 2px;
  background: var(--grad-primary);
  transition: right .3s var(--ease-out);
}
.nav-link:hover { color: var(--royal-600); }
.nav-link:hover::after, .nav-link.active::after { right: .85rem; }
.nav-link.active { color: var(--royal-600); }

.has-drop { position: relative; }
.nav-link .chev { font-size: .8rem; transition: transform .3s; vertical-align: middle; }
.has-drop:hover .chev, .has-drop.open .chev { transform: rotate(180deg); }

.drop-panel {
  position: absolute; top: calc(100% + 12px); left: 0; transform: translateY(12px);
  min-width: 300px;
  max-width: calc(100vw - 2rem);
  padding: .8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity .3s, transform .3s var(--ease-out), visibility .3s;
}
.has-drop:hover .drop-panel, .has-drop.open .drop-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.drop-panel a {
  display: flex; align-items: center; gap: .8rem;
  padding: .65rem .85rem;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 600; font-size: .9rem;
  font-family: var(--font-head);
}
.drop-panel a i { color: var(--royal-500); width: 20px; text-align: center; transition: transform .25s; }
.drop-panel a:hover { background: var(--royal-50); color: var(--royal-700); }
.drop-panel a:hover i { transform: translateX(3px); }
.drop-panel .dp-title { padding: .4rem .85rem .2rem; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }

.mega-panel { min-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }
.mega-panel .mega-head { grid-column: 1 / -1; padding: .4rem .85rem .2rem; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); font-weight: 700; }

.nav-cta { display: flex; align-items: center; gap: .9rem; }

.hamburger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); align-items: center; justify-content: center; }
.hamburger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; margin: 2px 0; transition: .3s; }

/* Dark-hero nav variant */
body.hero-dark .nav-cm:not(.scrolled) .nav-link,
body.hero-dark .nav-cm:not(.scrolled) .nav-logo-text strong { color: #fff; }
body.hero-dark .nav-cm:not(.scrolled) .nav-link::after { background: linear-gradient(90deg, #fff, var(--royal-200)); }
body.hero-dark .nav-cm:not(.scrolled) .nav-logo-text span { color: rgba(255,255,255,.85); }
body.hero-dark .nav-cm:not(.scrolled) .nav-logo img { filter: drop-shadow(0 4px 14px rgba(0,0,0,.4)); }

/* Pre-scroll states */
body.is-loading, body.menu-open { overflow: hidden; }
[data-hero-item] { opacity: 0; }
html.no-js [data-hero-item] { opacity: 1; }

/* ---------- Mobile FAB + Fullscreen menu ---------- */
.menu-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 1200;
  width: 62px; height: 62px; border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--royal-600), var(--purple));
  color: #fff;
  border: none;
  box-shadow: 0 16px 40px rgba(0,56,179,.45);
  cursor: pointer;
  transition: transform .35s var(--ease-spring), box-shadow .35s;
}
.menu-fab:hover { transform: translateY(-4px) scale(1.05); }
.menu-fab::before {
  content: "";
  position: absolute; inset: -4px; border-radius: 50%;
  background: var(--grad-primary);
  z-index: -1;
  opacity: .45;
  animation: fabPulse 2.6s ease-in-out infinite;
}
@keyframes fabPulse { 0%,100% { transform: scale(1); opacity: .45; } 50% { transform: scale(1.16); opacity: .15; } }
.menu-fab i { font-size: 1.4rem; transition: opacity .3s, transform .3s; }
.menu-fab i.fa-xmark { position: absolute; opacity: 0; transform: rotate(-90deg); }
.menu-fab.open i.fa-bars { opacity: 0; transform: rotate(90deg); }
.menu-fab.open i.fa-xmark { opacity: 1; transform: rotate(0); }

#mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  visibility: hidden;
  opacity: 0;
  transition: opacity .45s, visibility .45s;
  background: linear-gradient(150deg, rgba(24,7,48,.86), rgba(0,43,140,.9));
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  backdrop-filter: blur(22px) saturate(150%);
}
#mobile-menu.open { visibility: visible; opacity: 1; }
.mm-inner {
  height: 100%; overflow-y: auto;
  display: flex; flex-direction: column; justify-content: center;
  padding: 6rem 1.6rem 8rem;
}
.mm-links { list-style: none; padding: 0; margin: 0 0 2rem; }
.mm-links li { opacity: 0; transform: translateY(28px); }
#mobile-menu.open .mm-links li { animation: mmItem .6s var(--ease-out) forwards; }
#mobile-menu.open .mm-links li:nth-child(1){ animation-delay: .08s }
#mobile-menu.open .mm-links li:nth-child(2){ animation-delay: .14s }
#mobile-menu.open .mm-links li:nth-child(3){ animation-delay: .20s }
#mobile-menu.open .mm-links li:nth-child(4){ animation-delay: .26s }
#mobile-menu.open .mm-links li:nth-child(5){ animation-delay: .32s }
#mobile-menu.open .mm-links li:nth-child(6){ animation-delay: .38s }
#mobile-menu.open .mm-links li:nth-child(7){ animation-delay: .44s }
#mobile-menu.open .mm-links li:nth-child(8){ animation-delay: .50s }
#mobile-menu.open .mm-links li:nth-child(9){ animation-delay: .56s }
#mobile-menu.open .mm-links li:nth-child(10){ animation-delay: .62s }
#mobile-menu.open .mm-links li:nth-child(11){ animation-delay: .68s }
@keyframes mmItem { to { opacity: 1; transform: translateY(0); } }
.mm-links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem .2rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.14);
  opacity: .94;
}
.mm-links a:hover { color: #fff; opacity: 1; padding-left: .6rem; }
.mm-links a i { font-size: 1rem; color: rgba(255,255,255,.55); }

.mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: 1.6rem; }
.mm-social { display: flex; gap: .8rem; }
.mm-social a {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  transition: .3s;
}
.mm-social a:hover { background: #fff; color: var(--royal-700); transform: translateY(-3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, var(--purple-950) 0%, var(--royal-900) 48%, #0B2D7D 72%, var(--purple-800) 100%);
  color: #fff;
  padding-top: 7rem;
  padding-bottom: 4rem;
}
.hero-grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 90% 80% at 50% 30%, #000 20%, transparent 75%); }
#particles { position: absolute; inset: 0; z-index: 1; }

.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; opacity: .5; }
.blob-1 { width: 520px; height: 520px; background: radial-gradient(circle at 30% 30%, rgba(62,111,216,.55), transparent 70%); top: -140px; right: -120px; animation: blobFloat 16s ease-in-out infinite; }
.blob-2 { width: 460px; height: 460px; background: radial-gradient(circle at 60% 40%, rgba(120,40,180,.4), transparent 70%); bottom: -160px; left: -140px; animation: blobFloat 20s ease-in-out infinite reverse; }
.blob-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(62,111,216,.3), transparent 70%); top: 40%; left: 44%; animation: blobFloat 24s ease-in-out infinite; }
@keyframes blobFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,26px) scale(.95); } }

.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .5rem 1.1rem;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.24);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .08em;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: pingDot 2s infinite; }
@keyframes pingDot { 70% { box-shadow: 0 0 0 9px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

.hero-title { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 800; line-height: 1.04; color: #fff; margin: 1.4rem 0 1rem; letter-spacing: -.03em; }
.hero-title .grad { background: linear-gradient(120deg, #fff 20%, #C9DCFF 60%, #A78BFA 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-typed { display: block; min-height: 1.35em; font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 600; font-family: var(--font-head); color: #CDE0FF; }
.hero-typed .typed-cursor { color: #fff; }
.hero-sub { max-width: 34rem; color: rgba(255,255,255,.82); font-size: clamp(1rem,1.3vw,1.12rem); margin-top: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.16); }
.hero-stat .num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; color: #fff; }
.hero-stat .lbl { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.65); }

.hero-visual { position: relative; z-index: 2; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
  transform-style: preserve-3d;
}
.hero-img-wrap::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(0,32,95,.05), rgba(59,21,104,.45)); }
.hero-img-wrap img { width: 100%; height: clamp(340px, 46vw, 560px); object-fit: cover; display: block; }
.hero-img-frame { position: absolute; inset: -18px; border: 1.5px solid rgba(255,255,255,.25); border-radius: calc(var(--r-xl) + 14px); z-index: -1; }

.float-card {
  position: absolute;
  display: flex; align-items: center; gap: .7rem;
  padding: .8rem 1.1rem;
  border-radius: var(--r-md);
  background: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 20px 44px rgba(0,0,0,.3);
  font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: #fff;
  animation: floatY 5s ease-in-out infinite;
}
.float-card i { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); font-size: 1.1rem; color: #fff; }
.fc-1 { top: 8%; left: -9%; animation-delay: 0s; }
.fc-2 { top: 46%; right: -7%; animation-delay: 1.4s; }
.fc-3 { bottom: 6%; left: -5%; animation-delay: 2.6s; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

.hero-scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .5rem; color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; }
.hero-scroll .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.55); border-radius: 14px; position: relative; }
.hero-scroll .mouse::after { content: ""; position: absolute; top: 7px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: #fff; animation: scrollWheel 1.8s ease-in-out infinite; }
@keyframes scrollWheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* Marquee band */
.marquee-band { background: var(--grad-primary); color: #fff; overflow: hidden; padding: 1rem 0; position: relative; z-index: 4; }
.marquee { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 2.4rem; padding-right: 2.4rem; font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.marquee span i { font-size: .7rem; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section head ---------- */
.sec-head { max-width: 760px; }
.sec-head.center { margin-inline: auto; }

/* ---------- Stats ---------- */
.stats-band { position: relative; z-index: 5; margin-top: -1px; }
.stat-card {
  position: relative;
  padding: 2rem 1.6rem;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  text-align: center;
  overflow: hidden;
  transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--grad-primary); opacity: 0; transition: opacity .4s; }
.stat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.stat-card:hover::before { opacity: 1; }
.stat-card .icon { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 18px; background: var(--royal-50); color: var(--royal-600); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.stat-card .num { font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--ink); line-height: 1; }
.stat-card .num .suffix { font-size: 1.6rem; }
.stat-card .lbl { margin-top: .5rem; font-size: .85rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- About split ---------- */
.split-media { position: relative; }
.split-media .main-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media .main-img img { width: 100%; height: clamp(320px, 40vw, 520px); object-fit: cover; display: block; }
.split-media .float-img { position: absolute; right: -12%; bottom: -12%; width: 46%; border-radius: var(--r-lg); overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.split-media .float-img img { width: 100%; height: 220px; object-fit: cover; display: block; }
.exp-chip {
  position: absolute; top: 8%; left: -8%;
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-lg);
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-glow);
  text-align: center;
  animation: floatY 6s ease-in-out infinite;
}
.exp-chip .y { font-family: var(--font-head); font-weight: 800; font-size: 2rem; line-height: 1; }
.exp-chip .t { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .9; margin-top: .2rem; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; padding: .45rem 0; color: var(--ink); }
.check-list li i { color: var(--royal-500); margin-top: .35rem; font-size: .95rem; }
.check-list li b { font-weight: 700; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.svc-card {
  position: relative;
  padding: 2.1rem 1.8rem;
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .45s var(--ease-spring), box-shadow .45s, border-color .3s;
  transform-style: preserve-3d;
}
.svc-card::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,0%), rgba(0,56,179,.08), transparent 45%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.svc-card:hover { transform: translateY(-10px) rotateX(1.5deg) rotateY(-1.5deg); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::after { opacity: 1; }
.svc-icon {
  width: 64px; height: 64px; border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.55rem;
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 10px 24px rgba(0,56,179,.28);
  margin-bottom: 1.3rem;
  transition: transform .4s var(--ease-spring);
}
.svc-card:hover .svc-icon { transform: rotate(-8deg) scale(1.08); }
.svc-card h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.svc-card p { font-size: .93rem; color: var(--ink-soft); margin-bottom: 1.1rem; }
.svc-more { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--royal-600); }
.svc-more i { transition: transform .3s; }
.svc-card:hover .svc-more { color: var(--purple); }
.svc-card:hover .svc-more i { transform: translateX(4px); }

.svc-cat {
  display: inline-flex; align-items: center; gap: .45rem;
  font-family: var(--font-head); font-weight: 700; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--royal-600); background: var(--royal-50);
  padding: .28rem .7rem; border-radius: var(--r-pill);
  margin-bottom: 1rem;
}

/* ---------- Feature rows / icon lists ---------- */
.icon-tile { display: flex; gap: 1.1rem; padding: 1.4rem; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; border: 1px solid var(--line); }
.icon-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.icon-tile .it-icon { flex: none; width: 52px; height: 52px; border-radius: 14px; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.icon-tile h4 { font-size: 1rem; margin-bottom: .3rem; }
.icon-tile p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ---------- Training ---------- */
.train-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.train-card {
  position: relative;
  padding: 1.9rem 1.7rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-spring), box-shadow .4s;
  overflow: hidden;
}
.train-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-primary); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.train-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.train-card:hover::before { transform: scaleX(1); }
.train-card .tc-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.train-card .tc-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--royal-50); color: var(--royal-600); display: flex; align-items: center; justify-content: center; font-size: 1.35rem; transition: .35s; }
.train-card:hover .tc-icon { background: var(--grad-primary); color: #fff; transform: rotate(-6deg) scale(1.05); }
.train-card .badge { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--purple); background: rgba(59,21,104,.08); padding: .3rem .7rem; border-radius: var(--r-pill); }
.train-card h3 { font-size: 1.06rem; margin-bottom: .55rem; }
.train-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

.train-timeline { position: relative; }
.train-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--royal-400), var(--purple)); transform: translateX(-50%); }
.train-step { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; padding-bottom: 2.6rem; }
.train-step:nth-child(odd) .ts-card { grid-column: 1; grid-row: 1; text-align: right; }
.train-step:nth-child(odd) .ts-date { grid-column: 2; grid-row: 1; }
.train-step:nth-child(even) .ts-date { grid-column: 1; grid-row: 1; }
.train-step:nth-child(even) .ts-card { grid-column: 2; grid-row: 1; }
.ts-marker { position: absolute; left: 50%; top: 1.4rem; transform: translateX(-50%); width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--royal-600); box-shadow: 0 0 0 6px rgba(0,56,179,.14); z-index: 2; }
.ts-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.ts-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.ts-card h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.ts-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Why choose us ---------- */
.why-card {
  position: relative; padding: 2rem 1.7rem;
  border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease-spring), box-shadow .4s;
  overflow: hidden;
}
.why-card::before { content: ""; position: absolute; right: -60px; top: -60px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(0,56,179,.1), transparent 70%); transition: transform .5s; }
.why-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scale(1.8); }
.why-card .w-icon { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: var(--grad-primary); color: #fff; margin-bottom: 1.2rem; box-shadow: 0 10px 22px rgba(0,56,179,.26); }
.why-card h3 { font-size: 1.08rem; margin-bottom: .5rem; color: var(--royal-600); }
.why-card p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.1rem; }
.ind-card {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: .8rem;
  padding: 1.8rem 1rem;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  overflow: hidden;
  transition: transform .35s var(--ease-spring), box-shadow .35s, border-color .3s;
}
.ind-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--grad-primary); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.ind-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.ind-card:hover::after { transform: scaleX(1); }
.ind-card .ic { width: 62px; height: 62px; border-radius: 50%; background: var(--royal-50); color: var(--royal-600); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: .35s; }
.ind-card:hover .ic { background: var(--grad-primary); color: #fff; transform: rotateY(180deg); }
.ind-card span { font-family: var(--font-head); font-weight: 700; font-size: .92rem; }

/* ---------- Approach timeline ---------- */
.ap-row { position: relative; display: flex; gap: 1.4rem; align-items: stretch; }
.ap-line { position: absolute; left: 34px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--royal-200), var(--royal-500), var(--purple)); }
.ap-step { position: relative; display: flex; gap: 1.6rem; padding: 0 0 2.2rem 0; }
.ap-num { flex: none; width: 68px; height: 68px; border-radius: 22px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--royal-600); z-index: 1; transition: .35s; }
.ap-step:hover .ap-num { background: var(--grad-primary); color: #fff; transform: rotate(-6deg) scale(1.06); box-shadow: var(--shadow-glow); }
.ap-card { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.7rem; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.ap-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ap-card h3 { font-size: 1.1rem; margin-bottom: .4rem; display: flex; align-items: center; gap: .6rem; }
.ap-card h3 i { color: var(--royal-500); }
.ap-card p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- ISO ---------- */
.iso-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; }
.iso-card {
  position: relative;
  padding: 2.4rem 1.8rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  overflow: hidden;
  transition: transform .4s var(--ease-spring), box-shadow .4s, border-color .3s;
}
.iso-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad-primary); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.iso-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); }
.iso-card:hover::before { opacity: 1; }
.iso-card .iso-mark { width: 84px; height: 84px; margin: 0 auto 1.2rem; border-radius: 24px; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; box-shadow: 0 14px 30px rgba(0,56,179,.3); }
.iso-card h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.iso-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Values ---------- */
.value-card {
  position: relative; padding: 2.2rem 1.8rem;
  border-radius: var(--r-lg);
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .4s var(--ease-spring), box-shadow .4s;
  overflow: hidden;
}
.value-card::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(0,56,179,.12), transparent 70%); top: -50px; left: -50px; }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.value-card .v-icon { width: 66px; height: 66px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--royal-50); color: var(--royal-600); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; transition: .4s; }
.value-card:hover .v-icon { background: var(--grad-primary); color: #fff; transform: rotate(-8deg) scale(1.1); }
.value-card h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.value-card p { font-size: .9rem; color: var(--ink-soft); margin: 0; }

/* ---------- Quote section (vision/mission) ---------- */
.quote-card {
  position: relative;
  padding: clamp(2.2rem, 5vw, 4rem);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.quote-card::before { content: ""; position: absolute; top: 0; left: 0; bottom: 0; width: 6px; background: var(--grad-primary); }
.quote-card .q-mark { position: absolute; right: 2rem; top: 1.6rem; font-size: 5rem; font-family: Georgia, serif; color: var(--royal-50); line-height: 1; }
.quote-card h3 { font-family: var(--font-head); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.4; letter-spacing: -.01em; }

/* ---------- Testimonials ---------- */
.testi-swiper { padding-bottom: 3.2rem !important; overflow: visible !important; }
.testi-card {
  position: relative;
  padding: 2.2rem 2rem;
  border-radius: var(--r-lg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: var(--shadow-md);
  height: 100%;
}
.testi-card .stars { color: #F5B301; margin-bottom: 1rem; font-size: .9rem; }
.testi-card .quote { font-size: 1rem; color: var(--ink); line-height: 1.75; }
.testi-card .t-foot { display: flex; align-items: center; gap: .9rem; margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px dashed var(--line); }
.testi-card .avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; flex: none; }
.testi-card .t-name { font-family: var(--font-head); font-weight: 700; font-size: .95rem; }
.testi-card .t-role { font-size: .8rem; color: var(--ink-soft); }
.swiper-pagination-bullet { background: var(--royal-300) !important; opacity: 1 !important; }
.swiper-pagination-bullet-active { background: var(--grad-primary) !important; width: 26px !important; border-radius: 6px !important; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-bottom: 2.2rem; }
.filter-btn {
  padding: .6rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  font-family: var(--font-head); font-weight: 600; font-size: .88rem;
  cursor: pointer;
  transition: .3s;
}
.filter-btn:hover { border-color: var(--royal-300); color: var(--royal-600); }
.filter-btn.active { background: var(--grad-primary); color: #fff; border-color: transparent; box-shadow: var(--shadow-glow); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.gallery-grid .gallery-item { opacity: 0; transform: translateY(22px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.gallery-grid.in-view .gallery-item, .gallery-grid .gallery-item.hide { opacity: 1; transform: none; }
.gallery-grid .gallery-item.hide { display: none; }
.gallery-item { position: relative; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,18,32,.72), transparent 55%); opacity: 0; transition: opacity .4s; }
.gallery-item:hover::after { opacity: 1; }
.gallery-item .g-cap { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 2; color: #fff; transform: translateY(14px); opacity: 0; transition: .4s var(--ease-out); }
.gallery-item:hover .g-cap { transform: translateY(0); opacity: 1; }
.gallery-item .g-cap b { display: block; font-family: var(--font-head); font-size: 1rem; }
.gallery-item .g-cap span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.gallery-item .g-zoom { position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.35); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(.6); transition: .35s; }
.gallery-item:hover .g-zoom { opacity: 1; transform: scale(1); }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); margin-bottom: 1rem; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: rgba(0,56,179,.25); box-shadow: var(--shadow-md); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.4rem; background: none; border: none; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--ink); cursor: pointer; }
.faq-q .q-icon { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--royal-50); color: var(--royal-600); display: flex; align-items: center; justify-content: center; font-size: .85rem; transition: .35s; }
.faq-item.open .q-icon { background: var(--grad-primary); color: #fff; transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
.faq-a-inner { padding: 0 1.4rem 1.35rem; color: var(--ink-soft); font-size: .95rem; }

/* ---------- CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--grad-primary); color: #fff; padding: clamp(2.8rem, 6vw, 5rem); text-align: center; box-shadow: var(--shadow-glow); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Ccircle cx='40' cy='40' r='1.2' fill='rgba(255,255,255,0.25)'/%3E%3C/svg%3E"); opacity: .5; }
.cta-band .cta-blob { position: absolute; border-radius: 50%; background: rgba(255,255,255,.14); filter: blur(40px); }
.cta-blob-1 { width: 300px; height: 300px; top: -100px; left: -60px; animation: blobFloat 14s infinite; }
.cta-blob-2 { width: 240px; height: 240px; bottom: -80px; right: -40px; animation: blobFloat 18s infinite reverse; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(255,255,255,.88); max-width: 620px; margin: 0 auto 2rem; }

/* ---------- Contact ---------- */
.contact-card { border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-md); overflow: hidden; }
.info-row { display: flex; gap: 1.1rem; padding: 1.2rem 1.4rem; border-radius: var(--r-md); background: var(--off-white); border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.info-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.info-row .ir-icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.info-row h4 { font-size: .95rem; margin-bottom: .15rem; }
.info-row p { font-size: .88rem; color: var(--ink-soft); margin: 0; line-height: 1.5; }

.form-cm .form-control, .form-cm .form-select {
  border-radius: 12px; border: 1px solid var(--line);
  padding: .8rem 1.05rem; font-size: .95rem; font-family: var(--font-body);
  box-shadow: none; background: #fff;
  transition: border-color .25s, box-shadow .25s;
}
.form-cm .form-control:focus, .form-cm .form-select:focus {
  border-color: var(--royal-500);
  box-shadow: 0 0 0 4px rgba(0,56,179,.12);
}
.form-cm label { font-family: var(--font-head); font-weight: 600; font-size: .86rem; margin-bottom: .4rem; color: var(--ink); }
.form-cm .form-label .req { color: #E11D48; }
.field-err { font-size: .8rem; color: #E11D48; margin-top: .3rem; display: none; }
.field-err.show { display: block; }
.form-cm .invalid { border-color: #E11D48 !important; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
}
.form-success.show { display: block; animation: fadeUp .6s var(--ease-out); }
.form-success .check-burst { width: 84px; height: 84px; margin: 0 auto 1.3rem; border-radius: 50%; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; position: relative; }
.form-success .check-burst::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--royal-300); animation: burst 1.2s ease-out infinite; }
@keyframes burst { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Map ---------- */
.map-wrap { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: saturate(.9); }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: linear-gradient(160deg, var(--purple-950), var(--royal-900) 55%, var(--purple-900));
  color: rgba(255,255,255,.78);
  overflow: hidden;
}
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 2.5rem; padding: clamp(3.5rem, 6vw, 5rem) 0 2.5rem; }
.footer h5 { color: #fff; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.3rem; font-weight: 700; }
.footer p { font-size: .92rem; line-height: 1.75; }
.footer .f-links { list-style: none; padding: 0; margin: 0; }
.footer .f-links li { padding: .3rem 0; }
.footer .f-links a { color: rgba(255,255,255,.75); font-size: .92rem; display: inline-flex; align-items: center; gap: .5rem; }
.footer .f-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .72rem; color: var(--royal-200); transition: transform .25s; }
.footer .f-links a:hover { color: #fff; transform: translateX(3px); }
.footer .f-links a:hover::before { transform: translateX(3px); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.4rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; color: #fff; transition: .3s; }
.footer-social a:hover { background: #fff; color: var(--royal-700); transform: translateY(-3px); }
.footer .f-contact li { display: flex; gap: .7rem; padding: .35rem 0; font-size: .9rem; }
.footer .f-contact i { color: var(--royal-200); margin-top: .3rem; width: 18px; text-align: center; }

.footer-news .form-control { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 12px; }
.footer-news .form-control::placeholder { color: rgba(255,255,255,.5); }
.footer-news .form-control:focus { background: rgba(255,255,255,.14); border-color: var(--royal-300); box-shadow: 0 0 0 4px rgba(62,111,216,.2); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.4rem 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; font-size: .85rem; color: rgba(255,255,255,.6); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 900;
  width: 50px; height: 50px; border-radius: 14px;
  background: var(--grad-primary); color: #fff;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-glow);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: .35s var(--ease-out);
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-4px); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 11rem 0 6rem;
  background: linear-gradient(150deg, var(--purple-950), var(--royal-900) 55%, var(--purple-800));
  color: #fff;
  overflow: hidden;
}
.page-hero .ph-pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 30%, transparent 75%); }
.page-hero .ph-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .4; }
.ph-b1 { width: 420px; height: 420px; background: rgba(62,111,216,.5); top: -140px; right: -80px; animation: blobFloat 16s infinite; }
.ph-b2 { width: 340px; height: 340px; background: rgba(120,40,180,.45); bottom: -120px; left: -60px; animation: blobFloat 20s infinite reverse; }
.page-hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); margin-top: .9rem; }
.page-hero .breadcrumb-cm { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: .85rem; font-family: var(--font-head); font-weight: 600; color: rgba(255,255,255,.7); }
.page-hero .breadcrumb-cm a { color: var(--royal-200); }
.page-hero .breadcrumb-cm a:hover { color: #fff; }
.page-hero .breadcrumb-cm i { font-size: .6rem; color: rgba(255,255,255,.4); }
.page-hero .ph-sub { color: rgba(255,255,255,.85); max-width: 46rem; margin-top: 1rem; }

/* ---------- AOS fixes ---------- */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ---------- Reveal helper (GSAP) ---------- */
.reveal { opacity: 0; }
html.no-js .reveal, html.no-js [data-aos] { opacity: 1; transform: none; }
html.no-js [data-reveal], html.no-js .stagger-grid > * { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1399.98px) {
  .nav-link { padding: .6rem .6rem; font-size: .88rem; }
  .nav-link::after { left: .6rem; }
  .nav-link:hover::after, .nav-link.active::after { right: .6rem; }
}
@media (max-width: 1200px) {
  .mega-panel { min-width: 560px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .menu-fab { display: flex; }
}
@media (max-width: 1024px) {
  .back-top { display: none; }
  .split-media .float-img { right: -4%; }
  .train-timeline::before { left: 16px; transform: none; }
  .train-step { grid-template-columns: 1fr; gap: 0; padding-left: 3.4rem; padding-bottom: 2rem; }
  .train-step:nth-child(odd) .ts-card, .train-step:nth-child(even) .ts-card { grid-column: 1; grid-row: auto; text-align: left; }
  .train-step:nth-child(odd) .ts-date, .train-step:nth-child(even) .ts-date { grid-column: 1; grid-row: auto; }
  .ts-marker { left: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { padding-top: 8rem; }
  .hero-visual { margin-top: 3rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .fc-1, .fc-2, .fc-3 { left: 4px; right: auto; }
  .svc-grid, .train-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-actions .btn-cm { width: 100%; }
  .nav-cta .btn-cm { display: none; }
  .mega-panel { min-width: 100%; }
  .ind-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .stat-card .num { font-size: 2.1rem; }
}

/* ---------- Cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 50%; bottom: 1.2rem; z-index: 1350;
  transform: translateX(-50%) translateY(24px);
  width: min(620px, calc(100vw - 2rem));
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), visibility .5s;
}
.cookie-banner.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.cookie-banner .cb-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--royal-50); color: var(--royal-600); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.cookie-banner p { margin: 0; font-size: .86rem; color: var(--ink-soft); flex: 1 1 260px; }
.cookie-banner p strong { color: var(--ink); }
.cookie-banner .cb-actions { display: flex; gap: .6rem; flex: none; }

/* ---------- Chat widget ---------- */
.chat-fab {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 1050;
  width: 62px; height: 62px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(120deg, var(--royal-600), var(--purple));
  color: #fff; border: none; cursor: pointer;
  box-shadow: 0 16px 40px rgba(0,56,179,.45);
  transition: transform .35s var(--ease-spring), box-shadow .35s;
}
.chat-fab:hover { transform: translateY(-4px) scale(1.05); }
.chat-fab::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: var(--grad-primary); z-index: -1; opacity: .45;
  animation: fabPulse 2.6s ease-in-out infinite;
}
.chat-fab i { font-size: 1.5rem; transition: opacity .3s, transform .3s; }
.chat-fab i.fa-xmark { position: absolute; opacity: 0; transform: rotate(-90deg); }
.chat-fab.open i.fa-comments { opacity: 0; transform: rotate(90deg); }
.chat-fab.open i.fa-xmark { opacity: 1; transform: rotate(0); }
body.menu-open .chat-fab { opacity: 0; pointer-events: none; }

.chat-modal {
  position: fixed; left: 1.2rem; bottom: 1.2rem; z-index: 1250;
  width: min(400px, calc(100vw - 2.4rem));
  height: min(600px, calc(100vh - 2.4rem));
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(11,18,32,.28);
  overflow: hidden;
  opacity: 0; visibility: hidden;
  transform: translateY(24px) scale(.97);
  transform-origin: bottom left;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out), visibility .4s;
}
.chat-modal.open { opacity: 1; visibility: visible; transform: none; }

.chat-head {
  display: flex; align-items: center; gap: .85rem;
  padding: .95rem 1.1rem;
  background: linear-gradient(120deg, var(--royal-600), var(--purple));
  color: #fff; flex: none;
}
.chat-head .ch-logo { flex: none; width: 42px; height: 42px; border-radius: 12px; background: #fff; padding: 4px; display: flex; align-items: center; justify-content: center; }
.chat-head .ch-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.chat-head .ch-txt { flex: 1; line-height: 1.2; min-width: 0; }
.chat-head .ch-txt b { display: block; font-family: var(--font-head); font-size: .98rem; }
.chat-head .ch-txt span { font-size: .72rem; opacity: .85; display: flex; align-items: center; gap: .35rem; }
.chat-head .ch-txt span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #4ADE80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.chat-head .ch-close { flex: none; width: 34px; height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .3s; }
.chat-head .ch-close:hover { background: #fff; color: var(--royal-600); }

.chat-body {
  flex: 1; overflow-y: auto;
  padding: 1.1rem;
  display: flex; flex-direction: column; gap: .75rem;
  background: #F6F8FC;
  scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar { width: 6px; }
.chat-body::-webkit-scrollbar-thumb { background: rgba(11,18,32,.18); border-radius: 3px; }

.chat-msg { display: flex; gap: .55rem; max-width: 88%; }
.chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.chat-msg .cm-avatar { flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--grad-primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .72rem; font-weight: 800; font-family: var(--font-head); }
.chat-msg.user .cm-avatar { background: #0B1220; }
.chat-msg .cm-bubble {
  padding: .7rem .95rem;
  border-radius: 16px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: .9rem; line-height: 1.5; color: var(--ink);
  border-top-left-radius: 4px;
}
.chat-msg.user .cm-bubble {
  background: var(--grad-primary); color: #fff; border: none;
  border-radius: 16px; border-top-right-radius: 4px;
}
.chat-msg .cm-bubble a { color: var(--royal-600); font-weight: 600; text-decoration: underline; }
.chat-msg.user .cm-bubble a { color: #fff; }
.chat-msg .cm-time { display: block; font-size: .65rem; opacity: .6; margin-top: .3rem; }

.chat-quick { display: flex; flex-wrap: wrap; gap: .45rem; padding: .1rem 1.1rem 0; flex: none; }
.chat-quick button {
  border: 1px solid var(--royal-200); background: #fff; color: var(--royal-600);
  border-radius: 999px; padding: .4rem .85rem;
  font-size: .78rem; font-weight: 600; font-family: var(--font-head);
  cursor: pointer; transition: .25s;
}
.chat-quick button:hover { background: var(--royal-600); color: #fff; }

.chat-input { display: flex; align-items: flex-end; gap: .6rem; padding: .8rem 1rem; border-top: 1px solid var(--line); background: #fff; flex: none; }
.chat-input input {
  flex: 1; min-width: 0;
  border: 1px solid var(--line); border-radius: 12px;
  padding: .7rem .95rem; font-size: .9rem; font-family: var(--font-body);
  background: var(--off-white); color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.chat-input input:focus { outline: none; border-color: var(--royal-400); box-shadow: 0 0 0 3px rgba(0,56,179,.12); background: #fff; }
.chat-input button {
  flex: none; width: 46px; height: 46px; border-radius: 14px;
  border: none; background: var(--grad-primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: transform .25s, box-shadow .25s;
  box-shadow: var(--shadow-glow);
}
.chat-input button:hover { transform: translateY(-2px); }

@keyframes chatTyping { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-typing { display: inline-flex; gap: 4px; align-items: center; padding: .2rem 0; }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--royal-400); animation: chatTyping 1.1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }

@media (max-width: 520px) {
  .chat-modal { left: .7rem; right: .7rem; bottom: .7rem; width: auto; height: calc(100vh - 1.4rem); border-radius: 18px; }
  .chat-fab { left: .9rem; bottom: .9rem; }
  .cookie-banner { bottom: .8rem; }
}

/* ---------- Chat launcher on contact page ---------- */
.btn-chat-open { cursor: pointer; }
