@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,700;1,900&family=Barlow:wght@300;400;500;600&family=DM+Sans:wght@400;500;600&display=swap');

/* ── TOKENS ── */
:root {
  --bg:          #F5F7FA;
  --bg-card:     #FFFFFF;
  --bg-elevated: #EEF2F7;
  --bg-dark:     #0F172A;
  --blue:        #1B5FFF;
  --blue-light:  #4B7BFF;
  --blue-dark:   #0D3FCC;
  --yellow:      #FFE500;
  --white:       #0F172A;   /* repurposed: main text colour on light bg */
  --gray:        #64748B;
  --gray-dark:   #94A3B8;
  --border:      #E2E8F0;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-pill: 999px;
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --t:           0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --max-w:       1320px;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', 'DM Sans', sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 2px; }

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── CUSTOM CURSOR ── */
.cursor-dot {
  position: fixed;
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s, background 0.25s, width 0.25s, height 0.25s;
}
.cursor-circle {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(27,95,255,0.3);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  transform: translate(-50%, -50%);
  transition: width 0.35s var(--ease), height 0.35s var(--ease), border-color 0.3s, background 0.3s;
}
.cursor-circle.is-hovering { width: 56px; height: 56px; border-color: var(--blue); background: rgba(27,95,255,0.05); }
.cursor-dot.is-hovering { background: var(--yellow); }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--t);
  max-height: 72px;
}
.nav.scrolled {
  background: rgba(245,247,250,0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(15,23,42,0.07);
  padding: 0.875rem 2.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0;
}
.logo-img { height: 34px; width: auto; display: block; }
.logo-img-color { display: none; }
.nav.scrolled .logo-img-white { display: none; }
.nav.scrolled .logo-img-color { display: block; }
.nav-links { display: flex; align-items: center; gap: 0.125rem; }
.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-pill);
  transition: var(--t);
}
.nav-link:hover { color: var(--white); background: rgba(15,23,42,0.06); }
.nav-cta-btn {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5625rem 1.375rem;
  border-radius: var(--radius-pill);
  transition: background 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.nav-cta-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}
.nav-cta-btn:hover::after { transform: translateX(100%); }
.nav-cta-btn:hover { background: var(--blue-dark); box-shadow: 0 6px 20px rgba(27,95,255,0.35); }
.nav-cta-btn:active { opacity: 0.85; }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.625rem);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  opacity: 0;
  pointer-events: none;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 220px;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  box-shadow: 0 16px 48px rgba(15,23,42,0.12), 0 0 0 1px rgba(15,23,42,0.04);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); }
.nav-dropdown-item {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 8px; font-size: 0.875rem;
  color: var(--gray); transition: var(--t);
}
.nav-dropdown-item:hover { color: var(--white); background: rgba(15,23,42,0.05); }
.nav-dropdown-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }

/* Hamburger */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; padding: 4px; cursor: pointer; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--t); }

/* Mobile menu — stays dark for drama */
.nav-mobile {
  display: none; position: fixed; inset: 0;
  background: var(--bg-dark); z-index: 99;
  padding: 1.5rem 2rem 3rem;
  flex-direction: column; overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.nav-mobile-close {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; cursor: pointer; transition: var(--t);
}
.nav-mobile-close:hover { background: var(--blue); border-color: var(--blue); }
.nav-mobile-link {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 900;
  letter-spacing: -0.01em; color: #fff;
  padding: 0.875rem 0; border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--t); display: block;
}
.nav-mobile-link:hover { color: var(--yellow); padding-left: 0.625rem; }
.nav-mobile-group { margin-top: 1.5rem; }
.nav-mobile-group-label {
  font-family: var(--font-display);
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.35); margin-bottom: 0.875rem;
}
.nav-mobile-sublink {
  display: block; font-size: 1rem; color: rgba(255,255,255,0.55);
  padding: 0.5rem 0; transition: var(--t);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-mobile-sublink:hover { color: var(--blue-light); padding-left: 0.5rem; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--blue); color: #fff;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.9375rem 2rem; border-radius: var(--radius-pill);
  transition: var(--t); position: relative; overflow: hidden; cursor: pointer;
}
.btn-primary::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform 0.55s var(--ease);
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 16px 48px rgba(27,95,255,0.3); }
.btn-primary:active { transform: scale(0.98); }

.btn-yellow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--yellow); color: #0F172A;
  font-family: var(--font-display); font-weight: 800;
  font-size: 1rem; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.9375rem 2rem; border-radius: var(--radius-pill);
  transition: background 0.25s ease, box-shadow 0.25s ease;
  position: relative; overflow: hidden; cursor: pointer;
}
.btn-yellow::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform 0.6s ease;
}
.btn-yellow:hover::after { transform: translateX(100%); }
.btn-yellow:hover { background: #ffe033; box-shadow: 0 8px 32px rgba(255,224,0,0.35); }
.btn-yellow:active { opacity: 0.85; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gray); font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  padding: 0.9375rem 1.25rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); transition: var(--t); cursor: pointer;
}
.btn-ghost:hover { color: var(--white); border-color: var(--blue); background: rgba(27,95,255,0.05); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gray); font-family: var(--font-body);
  font-weight: 600; font-size: 1rem;
  padding: 0.9375rem 1.5rem; border-radius: var(--radius-pill);
  border: 1.5px solid var(--border); transition: var(--t); cursor: pointer;
}
.btn-outline:hover { color: var(--blue); border-color: var(--blue); background: rgba(27,95,255,0.05); }

/* ── HERO (LIGHT EDITORIAL) ── */
/* ── HERO – VIDEO BACKGROUND ── */
.hero {
  height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  background: #080D1C; /* fallback while video loads */
}

/* YouTube iframe fills and covers the viewport */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  pointer-events: none;
}
.hero-video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw; height: 56.25vw;     /* 16:9, based on viewport width */
  min-width: 177.78vh; min-height: 100vh; /* 16:9, based on viewport height — whichever is larger wins, so it always covers */
  pointer-events: none;
  border: none;
}

/* Overlay: capa oscura sobre el video + más peso en izquierda para el texto */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8,13,28,0.88) 0%, rgba(8,13,28,0.72) 45%, rgba(8,13,28,0.55) 100%),
    linear-gradient(to top, rgba(8,13,28,0.65) 0%, transparent 35%);
}

/* Content wrapper */
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max-w);
  margin: 0 auto; padding: 0 4rem;
  padding-top: 72px;
}
.hero-left { padding: 4rem 0; max-width: 640px; }

/* Pill — frosted glass on dark video */
.hero-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  padding: 0.4rem 0.875rem; border-radius: var(--radius-pill);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.hero-pill-dot {
  width: 6px; height: 6px; background: var(--yellow);
  border-radius: 50%;
  animation: pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.65); }
}

/* Title — white, italic accent in yellow */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw, 5.5rem);
  font-weight: 900; line-height: 0.92;
  letter-spacing: -0.025em; text-transform: uppercase;
  margin-bottom: 1.75rem;
  color: #fff;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero-title .word { display: inline-block; }
.hero-title .italic-line { text-transform: none; }
.hero-title .italic-line em {
  font-style: italic;
  color: var(--yellow);
  display: inline-block;
  text-transform: none;
}

/* Subtitle */
.hero-sub {
  font-family: var(--font-body);
  font-size: 1.125rem; color: rgba(255,255,255,0.68);
  line-height: 1.72; max-width: 480px; margin-bottom: 2.5rem;
}

/* CTAs */
.hero-ctas { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.75rem; }
/* Ghost/outline button variant for dark background */
.hero .btn-outline {
  color: rgba(255,255,255,0.82);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}
.hero .btn-outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.12);
}

/* Metrics row */
.hero-metrics {
  display: flex; align-items: center; gap: 2rem;
  padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,0.12);
}
.hero-metric-num {
  font-family: var(--font-display);
  font-size: 1.875rem; font-weight: 900;
  color: #fff; line-height: 1; margin-bottom: 0.125rem;
}
.hero-metric-label { font-size: 0.8125rem; color: rgba(255,255,255,0.52); line-height: 1.3; }
.hero-metric-sep { width: 1px; height: 2.5rem; background: rgba(255,255,255,0.15); flex-shrink: 0; }

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute; bottom: 2.25rem; left: 4rem;
  display: flex; align-items: center; gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); z-index: 3;
}
.hero-scroll-line {
  width: 40px; height: 1px;
  background: rgba(255,255,255,0.18);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute;
  top: 0; left: -100%; width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  animation: scanLine 2s ease-in-out infinite;
}
@keyframes scanLine { 0% { left: -100%; } 100% { left: 200%; } }

/* ── HERO FLOATING CHIPS ── */
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-7px); }
}
/* Outer wrapper: visual glass card + stagger fade-in from JS */
.hero-chip {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  box-shadow: 0 8px 40px rgba(0,0,0,0.35);
}
/* Panel centrado verticalmente — ancho fijo para poder dispersar chips */
.hero-chips-panel {
  position: absolute; right: 3rem;
  top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 1.25rem;
  z-index: 10; width: 300px;
}
/* Cada chip en una posición horizontal distinta dentro del panel */
.hero-float-card { align-self: flex-end; }
.hero-chip-2     { align-self: flex-start; margin-left: 1rem; }
.hero-chip-3     { align-self: flex-end; margin-right: 2rem; }
.hero-chip-4     { align-self: flex-start; }
/* Inner wrapper carries the float animation — isolated from JS transform */
.chip-inner {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.875rem 1.125rem;
  animation: chipFloat 4s ease-in-out infinite;
}
.chip-inner-d1 { animation-delay: 0.7s; }
.chip-inner-d2 { animation-delay: 1.4s; }
.chip-inner-d3 { animation-delay: 2.1s; }
/* Text */
.hero-chip-stars { color: #F59E0B; font-size: 0.8rem; letter-spacing: 2px; margin-bottom: 2px; }
.hero-float-text { font-size: 0.8125rem; color: rgba(255,255,255,0.7); line-height: 1.4; }
.hero-float-text strong { display: block; color: #fff; font-weight: 700; font-size: 0.9rem; }
/* Avatars */
.hero-chip-avatars { display: flex; }
.hero-chip-avatars img {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35); margin-left: -8px; object-fit: cover;
}
.hero-chip-avatars img:first-child { margin-left: 0; }
/* Big number accent */
.chip-big-num {
  font-family: var(--font-display); font-size: 1.625rem;
  font-weight: 900; color: var(--yellow); line-height: 1;
}
/* Live pulse dot */
.chip-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
}

/* ── MARQUEE ── */
.marquee-section {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.marquee-row {
  display: flex; overflow: hidden;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.marquee-row:last-child { border-bottom: none; }
.marquee-track {
  display: flex; gap: 3rem;
  width: max-content;
  animation: marqueeScroll 35s linear infinite;
}
.marquee-track.reverse { animation-direction: reverse; animation-duration: 45s; }
.marquee-section:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item {
  display: flex; align-items: center; gap: 1rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--gray-dark); transition: color 0.2s;
}
.marquee-item:hover { color: var(--white); }
.marquee-sep { width: 5px; height: 5px; background: var(--blue); border-radius: 50%; flex-shrink: 0; }

/* ── CONTAINER + SECTIONS ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
section { padding: 7rem 0; }
.s-pad { padding: 7rem 2rem; }
.section-header { margin-bottom: 3.5rem; }
.section-overline {
  display: inline-flex; align-items: center; gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--blue); margin-bottom: 1.25rem;
}
.section-overline::before {
  content: ''; display: block;
  width: 22px; height: 2px;
  background: var(--blue); border-radius: 1px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 4.5vw, 4rem);
  font-weight: 900; line-height: 0.95;
  letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--white);
}
.section-title .acc-y { color: var(--blue); }
.section-title .acc-b { color: var(--blue); }
.section-body {
  font-family: var(--font-body);
  font-size: 1.0625rem; color: var(--gray);
  line-height: 1.75; max-width: 540px;
}

/* ── STATS ── */
.stats-strip {
  background: var(--bg-dark);
  padding: 5rem 2rem; position: relative; overflow: hidden;
}
.stats-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 90% at 50% 50%, rgba(27,95,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1rem; max-width: var(--max-w);
  margin: 0 auto; position: relative;
}
.stat-item { text-align: center; padding: 2rem 1rem; position: relative; }
.stat-item::after {
  content: ''; position: absolute;
  top: 25%; right: 0; height: 50%;
  width: 1px; background: rgba(255,255,255,0.08);
}
.stat-item:last-child::after { display: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 900; color: var(--yellow); line-height: 1;
  margin-bottom: 0.5rem; display: block;
  letter-spacing: -0.025em;
}
.stat-label { font-family: var(--font-body); font-size: 0.9375rem; color: rgba(255,255,255,0.55); line-height: 1.4; font-weight: 500; }

/* ── SERVICES BENTO ── */
.services-bento {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem; max-width: var(--max-w); margin: 2.5rem auto 0;
}
.svc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  display: flex; flex-direction: column;
  position: relative; cursor: pointer;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
.svc-card:hover {
  border-color: rgba(27,95,255,0.35);
  box-shadow: 0 20px 56px rgba(15,23,42,0.12);
  transform: translateY(-4px);
}
.svc-card-1 { grid-column: span 7; }
.svc-card-2 { grid-column: span 5; }
.svc-card-3 { grid-column: span 5; }
.svc-card-4 { grid-column: span 7; }
.svc-img { width: 100%; height: 220px; object-fit: cover; flex-shrink: 0; transition: transform 0.65s var(--ease); position: relative; z-index: 0; }
.svc-card:hover .svc-img { transform: scale(1.05); }
.svc-body { padding: 1.625rem; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 1; }
.svc-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--blue);
  background: rgba(27,95,255,0.08); border: 1px solid rgba(27,95,255,0.18);
  padding: 0.25rem 0.625rem; border-radius: var(--radius-pill);
  margin-bottom: 0.75rem; width: fit-content;
}
.svc-title { font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.625rem; line-height: 1.05; color: var(--white); }
.svc-desc { font-family: var(--font-body); font-size: 0.9375rem; color: var(--gray); line-height: 1.72; flex: 1; margin-bottom: 1.375rem; }
.svc-link {
  display: inline-flex; align-items: center; gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--blue); transition: var(--t); width: fit-content;
}
.svc-link:hover { color: var(--blue-dark); gap: 0.75rem; }

/* ── CENTERS ── */
.centers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; max-width: var(--max-w); margin: 2.5rem auto 0; }
.center-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative; cursor: pointer;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
.center-card:hover { border-color: rgba(27,95,255,0.3); transform: translateY(-4px); box-shadow: 0 16px 48px rgba(15,23,42,0.1); }
.center-img { width: 100%; height: 170px; object-fit: cover; display: block; transition: transform 0.65s var(--ease); }
.center-card:hover .center-img { transform: scale(1.05); }
.center-body { padding: 1.25rem; }
.center-city { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.25rem; color: var(--white); }
.center-province { font-family: var(--font-display); font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; color: var(--blue); margin-bottom: 0.625rem; }
.center-address { font-family: var(--font-body); font-size: 0.875rem; color: var(--gray); line-height: 1.55; margin-bottom: 1.125rem; }
.center-link { display: inline-flex; align-items: center; gap: 0.25rem; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--blue); transition: var(--t); }
.center-link:hover { color: var(--blue-dark); gap: 0.5rem; }

/* ── TRAINERS ── */
.trainers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: var(--max-w); margin: 2.5rem auto 0; }
.trainer-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  cursor: pointer; position: relative;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
.trainer-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.trainer-card:hover { border-color: rgba(27,95,255,0.3); box-shadow: 0 20px 56px rgba(15,23,42,0.1); transform: translateY(-4px); }
.trainer-card:hover::after { transform: scaleX(1); }
.trainer-img { width: 100%; height: 290px; object-fit: cover; object-position: center center; transition: transform 0.65s var(--ease); }
.trainer-card:hover .trainer-img { transform: scale(1.03); }
.trainer-body { padding: 1.375rem; }
.trainer-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.25rem; color: var(--white); }
.trainer-role { font-family: var(--font-display); font-size: 0.68rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.875rem; }
.trainer-bio { font-family: var(--font-body); font-size: 0.9rem; color: var(--gray); line-height: 1.7; margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.tag {
  font-family: var(--font-display);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em;
  padding: 0.25rem 0.625rem;
  background: rgba(27,95,255,0.08); border: 1px solid rgba(27,95,255,0.15);
  color: var(--blue); border-radius: 6px; text-transform: uppercase;
}

/* ── TESTIMONIALS CAROUSEL ── */
.testi-carousel { position: relative; max-width: var(--max-w); margin: 2.5rem auto 0; }
.testi-track {
  display: flex; gap: 1.5rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 0.25rem 0.25rem 0.75rem;
  -ms-overflow-style: none; scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  display: flex; flex-direction: column; position: relative; cursor: default;
  box-shadow: 0 2px 8px rgba(15,23,42,0.05);
  flex: 0 0 calc((100% - 3rem) / 3); scroll-snap-align: start;
}
.testi-card::before {
  content: '"'; position: absolute; top: 0.75rem; right: 1.25rem;
  font-family: var(--font-display);
  font-size: 5.5rem; font-weight: 900;
  color: rgba(27,95,255,0.06); line-height: 1; pointer-events: none;
}
.testi-card:hover { border-color: rgba(27,95,255,0.25); box-shadow: 0 16px 48px rgba(15,23,42,0.10); transform: translateY(-4px); }
.testi-stars { color: #F59E0B; font-size: 0.875rem; letter-spacing: 0.1em; margin-bottom: 1.125rem; }
.testi-text { font-family: var(--font-body); font-size: 1rem; line-height: 1.78; color: var(--white); flex: 1; margin-bottom: 1.5rem; }
.testi-author { display: flex; align-items: center; gap: 0.875rem; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), #4C86FF);
  color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 0.8125rem;
}
.testi-name { font-family: var(--font-display); font-weight: 800; font-size: 1rem; margin-bottom: 0.125rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--white); }
.testi-detail { font-size: 0.8125rem; color: var(--gray); }

.testi-nav { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 1.5rem; }
.testi-arrow {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--border); background: var(--bg-card); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; transition: var(--t);
}
.testi-arrow:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); background: rgba(27,95,255,0.06); }
.testi-arrow:disabled { opacity: 0.35; cursor: default; }
.testi-dots { display: flex; align-items: center; gap: 0.5rem; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border); border: none; padding: 0; cursor: pointer; transition: var(--t); }
.testi-dot.active { background: var(--blue); width: 22px; border-radius: 4px; }

@media (max-width: 1024px) {
  .testi-card { flex-basis: calc((100% - 1.5rem) / 2); }
}
@media (max-width: 640px) {
  .testi-card { flex-basis: 100%; }
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--blue); padding: 8rem 2rem;
  text-align: center; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 15% 50%, rgba(0,0,0,0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 85% 50%, rgba(255,229,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 1px,
    transparent 1px, transparent 20px
  );
  pointer-events: none;
}
.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 900; line-height: 0.93;
  letter-spacing: -0.02em; text-transform: uppercase;
  margin-bottom: 1.25rem; position: relative; z-index: 1;
  color: #fff;
}
.cta-banner-title .yellow { color: var(--yellow); }
.cta-banner-sub {
  font-family: var(--font-body); font-size: 1.125rem;
  color: rgba(255,255,255,0.75); max-width: 480px;
  margin: 0 auto 2.75rem; line-height: 1.72;
  position: relative; z-index: 1;
}
.cta-banner .btn-yellow { position: relative; z-index: 1; font-size: 1.0625rem; padding: 1.125rem 2.75rem; }

/* ── FOOTER ── */
footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 5rem 2rem 2.5rem; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .logo-img { height: 30px; }
.footer-desc { font-family: var(--font-body); font-size: 0.9375rem; color: var(--gray); line-height: 1.7; max-width: 270px; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.625rem; }
.social-btn {
  width: 38px; height: 38px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  color: var(--gray); font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700; transition: var(--t); cursor: pointer;
}
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-col-title { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 1.25rem; color: var(--white); }
.footer-links { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-link { font-family: var(--font-body); font-size: 0.9375rem; color: var(--gray); transition: var(--t); display: inline-block; }
.footer-link:hover { color: var(--blue); transform: translateX(4px); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 2rem; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 1rem; }
.footer-copy { font-family: var(--font-body); font-size: 0.875rem; color: var(--gray); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-family: var(--font-body); font-size: 0.875rem; color: var(--gray); transition: var(--t); }
.footer-legal a:hover { color: var(--blue); }

/* ── PAGE HERO (interior pages) — stays DARK ── */
.page-hero {
  min-height: 46dvh; display: flex;
  align-items: flex-end; padding: 7rem 2rem 3.5rem;
  position: relative; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--bg-dark);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(27,95,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(27,95,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px; pointer-events: none;
}
.page-hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 30% 100%, rgba(27,95,255,0.25) 0%, transparent 65%); pointer-events: none; }
.page-hero-img-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.12; }
.page-hero-video-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.page-hero-content { max-width: var(--max-w); margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-size: 0.8125rem; color: rgba(255,255,255,0.45); margin-bottom: 1.25rem; }
.breadcrumb a { color: var(--blue-light); transition: var(--t); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { color: rgba(255,255,255,0.2); }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  font-weight: 900; line-height: 0.93;
  letter-spacing: -0.025em; text-transform: uppercase; margin-bottom: 1.25rem;
  color: #fff;
}
.page-title .acc { color: var(--yellow); }
.page-sub { font-family: var(--font-body); font-size: 1.125rem; color: rgba(255,255,255,0.65); max-width: 520px; line-height: 1.72; }

/* Stats strip inside dark page hero */
.page-hero .center-stat-label { color: rgba(255,255,255,0.6) !important; }

/* ── CENTER PAGE ── */
.center-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; max-width: var(--max-w); margin: 0 auto; align-items: start; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; background: var(--bg); }
.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }
.pricing-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 2.5rem; box-shadow: 0 4px 20px rgba(15,23,42,0.06); }
.pricing-card-head { background: var(--blue); padding: 1.125rem 1.5rem; font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: #fff; }
.pricing-row { display: flex; justify-content: space-between; align-items: center; padding: 1.0625rem 1.5rem; border-bottom: 1px solid var(--border); transition: var(--t); gap: 1rem; }
.pricing-row:last-child { border-bottom: none; }
.pricing-row:hover { background: rgba(27,95,255,0.03); }
.pricing-name { font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; line-height: 1.35; color: var(--white); }
.pricing-note { font-size: 0.8125rem; color: var(--gray); margin-top: 0.125rem; }
.pricing-price { font-family: var(--font-display); font-size: 1.625rem; font-weight: 900; color: var(--blue); white-space: nowrap; flex-shrink: 0; }
.pricing-price sub { font-size: 0.75rem; color: var(--gray); font-weight: 400; vertical-align: baseline; }
/* ── MASONRY GALLERY (center pages: click a photo to enlarge) ── */
.gallery-masonry { column-count: 4; column-gap: 1rem; }
.gallery-masonry figure { margin: 0 0 1rem; break-inside: avoid; position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery-masonry img {
  width: 100%; display: block; cursor: zoom-in;
  transition: transform 0.45s ease, filter 0.45s ease;
}
.gallery-masonry figure:hover img { transform: scale(1.045); }
.gallery-masonry figure::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,18,32,0) 55%, rgba(11,18,32,0.55) 100%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.gallery-masonry figure:hover::after { opacity: 1; }
.gallery-masonry figcaption {
  position: absolute; left: 0.875rem; bottom: 0.75rem; right: 0.875rem;
  color: #fff; font-family: var(--font-display); font-weight: 700;
  font-size: 0.8125rem; letter-spacing: 0.01em;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-masonry figure:hover figcaption { opacity: 1; transform: translateY(0); }

@media (max-width: 1024px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 640px)  { .gallery-masonry { column-count: 2; column-gap: 0.625rem; } .gallery-masonry figure { margin-bottom: 0.625rem; } }

/* ── LIGHTBOX (click-to-enlarge overlay, shared by any .gallery-masonry) ── */
.lightbox-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(11,18,32,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem 1.5rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; transition: opacity 0.25s ease; }
.lightbox-overlay img {
  max-width: 92vw; max-height: 86vh; width: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.94); transition: transform 0.25s ease;
}
.lightbox-overlay.active img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 1.5rem; line-height: 1; font-family: var(--font-body);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--t);
}
.lightbox-close:hover { background: rgba(255,255,255,0.18); }

/* ── SERVICE PAGE ── */
.service-split { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; max-width: var(--max-w); margin: 0 auto; align-items: center; }
.service-split-img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service-checklist { display: flex; flex-direction: column; gap: 0.875rem; margin: 2rem 0; }
.service-check-item { display: flex; align-items: center; gap: 0.875rem; font-family: var(--font-body); font-size: 0.9375rem; color: var(--gray); }
.check-icon { width: 22px; height: 22px; background: rgba(27,95,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue); }
.process-steps { display: flex; flex-direction: column; gap: 1.5rem; max-width: var(--max-w); margin: 2.5rem auto 0; }
.process-step { display: grid; grid-template-columns: 56px 1fr; gap: 1.5rem; align-items: flex-start; padding: 1.75rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: var(--t); box-shadow: 0 2px 8px rgba(15,23,42,0.04); }
.process-step:hover { border-color: rgba(27,95,255,0.25); box-shadow: 0 8px 28px rgba(15,23,42,0.08); }
.step-num { font-family: var(--font-display); font-size: 2.75rem; font-weight: 900; color: var(--blue); line-height: 1; opacity: 0.6; }
.step-title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.375rem; color: var(--white); }
.step-desc { font-family: var(--font-body); font-size: 0.9375rem; color: var(--gray); line-height: 1.72; }

/* ── CONTACT ── */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; max-width: var(--max-w); margin: 0 auto; align-items: start; }
.contact-info-stack { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); transition: var(--t); box-shadow: 0 2px 6px rgba(15,23,42,0.04); }
.contact-info-item:hover { border-color: rgba(27,95,255,0.25); box-shadow: 0 6px 24px rgba(15,23,42,0.08); }
.contact-icon { width: 44px; height: 44px; background: rgba(27,95,255,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--blue); }
.contact-info-title { font-family: var(--font-display); font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.25rem; color: var(--white); }
.contact-info-value { font-family: var(--font-body); font-size: 0.9375rem; color: var(--gray); line-height: 1.5; }
.contact-form-wrap { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: 0 4px 20px rgba(15,23,42,0.06); }
.form-title { font-family: var(--font-display); font-size: 2rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.5rem; color: var(--white); }
.form-subtitle { font-family: var(--font-body); font-size: 0.9375rem; color: var(--gray); margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.125rem; }
.form-label { display: block; font-family: var(--font-display); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; color: var(--white); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem 1rem;
  font-family: var(--font-body); font-size: 0.9375rem;
  color: var(--white); transition: var(--t); outline: none; -webkit-appearance: none;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-dark); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(27,95,255,0.1); }
.form-select { cursor: pointer; background-color: var(--bg); }
.form-select option { background: #fff; color: var(--white); }
.form-textarea { resize: vertical; min-height: 130px; }

/* ── ABOUT PAGE ── */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: var(--max-w); margin: 2.5rem auto 0; }
.team-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
  cursor: pointer; box-shadow: 0 2px 8px rgba(15,23,42,0.05);
}
.team-card:hover { border-color: rgba(27,95,255,0.25); transform: translateY(-4px); box-shadow: 0 20px 56px rgba(15,23,42,0.1); }
.team-img { width: 100%; height: 320px; object-fit: cover; object-position: center center; transition: transform 0.65s var(--ease); }
.team-card:hover .team-img { transform: scale(1.03); }
.team-body { padding: 1.5rem; }
.team-name { font-family: var(--font-display); font-size: 1.625rem; font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.25rem; color: var(--white); }
.team-role { font-family: var(--font-display); font-size: 0.68rem; color: var(--blue); font-weight: 700; text-transform: uppercase; letter-spacing: 0.13em; margin-bottom: 0.875rem; }
.team-bio { font-family: var(--font-body); font-size: 0.9375rem; color: var(--gray); line-height: 1.72; margin-bottom: 1.125rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: var(--max-w); margin: 2.5rem auto 0; }
.value-card { padding: 2rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: var(--t); box-shadow: 0 2px 8px rgba(15,23,42,0.05); }
.value-card:hover { border-color: rgba(27,95,255,0.25); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(15,23,42,0.09); }
.value-icon { margin-bottom: 1rem; display: flex; color: var(--blue); }
.value-title { font-family: var(--font-display); font-size: 1.375rem; font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.5rem; color: var(--white); }
.value-desc { font-family: var(--font-body); font-size: 0.9375rem; color: var(--gray); line-height: 1.72; }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.from-left { transform: translateX(-32px) translateY(0); }
.reveal.from-right { transform: translateX(32px) translateY(0); }
.reveal.in { opacity: 1; transform: translate(0, 0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-inner { padding: 0 2rem; padding-top: 72px; }
  .hero-left { padding: 3.5rem 0; max-width: 100%; }
  .hero-chips-panel { display: none; }
  .hero-scroll-indicator { left: 2rem; }
  .services-bento { grid-template-columns: 1fr 1fr; }
  .svc-card-1, .svc-card-2, .svc-card-3, .svc-card-4 { grid-column: span 1; }
  .centers-grid { grid-template-columns: repeat(2, 1fr); }
  .trainers-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .center-layout { grid-template-columns: 1fr; gap: 2rem; }
  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .service-split { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section, .s-pad { padding: 5rem 1.25rem; }
  .nav-links { display: none; }
  .nav-cta-btn { display: none; }
  .nav-hamburger { display: flex; }
  .services-bento { grid-template-columns: 1fr; gap: 1rem; }
  .centers-grid { grid-template-columns: 1fr; }
  .trainers-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 1.75rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .process-step { grid-template-columns: 40px 1fr; gap: 1rem; }
  .cursor-dot, .cursor-circle { display: none; }
  .hero-metrics { gap: 1.25rem; }
  .hero-metric-num { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════
   FUTURISTIC LAYER — adapted for light mode
   ═══════════════════════════════════════════════════ */

/* ── SIDE NAV DOTS ── */
.side-nav {
  position: fixed; right: 1.75rem; top: 50%;
  transform: translateY(-50%);
  z-index: 50; display: flex; flex-direction: column; gap: 0.875rem;
}
.side-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(15,23,42,0.15);
  border: 1px solid rgba(15,23,42,0.2);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
}
.side-dot::before {
  content: attr(data-label);
  position: absolute; right: calc(100% + 0.875rem); top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  font-family: var(--font-display); font-size: 0.62rem;
  font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--white); background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px); padding: 0.25rem 0.625rem;
  border-radius: 4px; border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(15,23,42,0.1);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.side-dot:hover::before { opacity: 1; }
.side-dot.active { background: var(--blue); border-color: var(--blue); transform: scale(1.4); box-shadow: 0 0 12px rgba(27,95,255,0.4); }
.side-dot:hover:not(.active) { background: rgba(15,23,42,0.35); }

/* ── SCROLL-DRIVEN SECTION REVEAL ── */
.reveal-clip { opacity: 1; clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); transition: clip-path 1s var(--ease); }
.reveal-clip.in { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }

/* ── SECTION GHOST NUMBER ── */
.section-ghost-num {
  position: absolute; top: -0.5rem; right: 2rem;
  font-family: var(--font-display); font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 900; color: rgba(27,95,255,0.04);
  line-height: 1; pointer-events: none; user-select: none;
  letter-spacing: -0.04em;
}

/* ── HUD CORNERS — toned down on light bg ── */
.hud-wrap { position: relative; }
.hud-corner {
  position: absolute; width: 16px; height: 16px;
  opacity: 0; transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.hud-wrap:hover .hud-corner { opacity: 0.35; }
.hud-corner-tl { top: 10px; left: 10px; border-top: 1.5px solid var(--blue); border-left: 1.5px solid var(--blue); }
.hud-corner-tr { top: 10px; right: 10px; border-top: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue); }
.hud-corner-bl { bottom: 10px; left: 10px; border-bottom: 1.5px solid var(--blue); border-left: 1.5px solid var(--blue); }
.hud-corner-br { bottom: 10px; right: 10px; border-bottom: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue); }

/* ── GLITCH TEXT ── */
.glitch { position: relative; display: block; }
.glitch::before, .glitch::after {
  content: attr(data-text);
  position: absolute; top: 0; left: 0; right: 0;
  overflow: hidden; opacity: 0;
  font-family: inherit; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit;
}
.glitch.is-glitching::before { color: var(--blue-light); opacity: 0.6; clip-path: polygon(0 20%, 100% 20%, 100% 48%, 0 48%); animation: glitchTop 0.6s steps(2) forwards; }
.glitch.is-glitching::after  { color: var(--yellow);     opacity: 0.5; clip-path: polygon(0 58%, 100% 58%, 100% 82%, 0 82%); animation: glitchBot 0.6s steps(2) forwards; }
@keyframes glitchTop { 0% { transform: translateX(0); } 40% { transform: translateX(-3px) skewX(-1deg); } 70% { transform: translateX(3px) skewX(1deg); } 100% { transform: translateX(0); opacity: 0; } }
@keyframes glitchBot { 0% { transform: translateX(0); } 40% { transform: translateX(3px) skewX(2deg); } 70% { transform: translateX(-3px) skewX(-2deg); } 100% { transform: translateX(0); opacity: 0; } }

/* ── SECTION DIVIDER ── */
.section-divider { height: 2px; background: linear-gradient(90deg, transparent, rgba(27,95,255,0.2), rgba(255,229,0,0.2), transparent); margin: 0; }

/* ── CENTER CARD top-border on hover ── */
.center-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--yellow));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease); z-index: 2;
}
.center-card:hover::before { transform: scaleX(1); }

/* ── CTA BANNER ring ── */
.cta-banner-ring {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 0 100px rgba(255,229,0,0.08), inset 0 0 100px rgba(255,229,0,0.04);
  pointer-events: none;
  animation: ringPulse2 6s ease-in-out infinite;
}
@keyframes ringPulse2 { 0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.5; } 50% { transform: translate(-50%,-50%) scale(1.08); opacity: 1; } }

/* ── PARALLAX LAYERS ── */
.parallax-slow, .parallax-med, .parallax-fast { will-change: transform; }

/* ── ANIMATED GRADIENT BORDER on svc-cards ── */
@property --border-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.svc-card::after {
  content: ''; position: absolute; inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  background: conic-gradient(from var(--border-angle) at 50% 50%, transparent 0deg, var(--blue) 60deg, var(--yellow) 180deg, var(--blue-light) 300deg, transparent 360deg);
  opacity: 0; z-index: -1; transition: opacity 0.4s;
  animation: rotateBorder 3s linear infinite paused;
}
.svc-card:hover::after { opacity: 0.5; animation-play-state: running; }
@keyframes rotateBorder { to { --border-angle: 360deg; } }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .side-nav { display: none; }
  .section-ghost-num { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cta-banner-ring, .svc-card::after { animation: none !important; }
}

/* ═══════════════════════════════════════════════
   3D IMMERSIVE LAYER
   ═══════════════════════════════════════════════ */


/* ── CARD SPECULAR GLARE ── */
.card-glare {
  position: absolute; inset: 0;
  background: radial-gradient(
    circle 220px at var(--gx, 50%) var(--gy, 50%),
    rgba(100, 155, 255, 0.13) 0%,
    transparent 62%
  );
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
}
.hud-wrap:hover .card-glare,
.testi-card:hover .card-glare { opacity: 1; }

/* ── STATS ORBITAL RINGS ── */
.stats-orbits {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  pointer-events: none;
  overflow: visible;
  display: flex; align-items: center; justify-content: center;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
}
.orbit-ring-1 {
  width: 640px; height: 640px;
  border-color: rgba(27, 95, 255, 0.13);
  animation: orbitSpin1 24s linear infinite;
}
.orbit-ring-2 {
  width: 460px; height: 460px;
  border-color: rgba(255, 229, 0, 0.08);
  animation: orbitSpin2 17s linear infinite reverse;
}
.orbit-ring-3 {
  width: 290px; height: 290px;
  border-color: rgba(27, 95, 255, 0.1);
  animation: orbitSpin3 38s linear infinite;
}

/* Simulated 3D rotation via scaleY modulation */
@keyframes orbitSpin1 {
  0%   { transform: rotate(  0deg) scaleY(0.26); }
  25%  { transform: rotate( 90deg) scaleY(1);    }
  50%  { transform: rotate(180deg) scaleY(0.26); }
  75%  { transform: rotate(270deg) scaleY(1);    }
  100% { transform: rotate(360deg) scaleY(0.26); }
}
@keyframes orbitSpin2 {
  0%   { transform: rotate(  0deg) scaleY(1);    }
  25%  { transform: rotate( 90deg) scaleY(0.2);  }
  50%  { transform: rotate(180deg) scaleY(1);    }
  75%  { transform: rotate(270deg) scaleY(0.2);  }
  100% { transform: rotate(360deg) scaleY(1);    }
}
@keyframes orbitSpin3 {
  0%   { transform: rotate(  0deg) scaleX(0.55) scaleY(0.9);  }
  33%  { transform: rotate(120deg) scaleX(1)    scaleY(0.28); }
  66%  { transform: rotate(240deg) scaleX(0.65) scaleY(1);    }
  100% { transform: rotate(360deg) scaleX(0.55) scaleY(0.9);  }
}

/* Scan-line sweep across stats strip */
.stats-strip::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1px; top: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(27,95,255,0.5) 30%,
    rgba(255,229,0,0.3) 55%,
    transparent 100%
  );
  animation: statsScan 8s linear infinite;
  pointer-events: none;
}
@keyframes statsScan {
  0%   { top: -1px;   opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { top: 100%;   opacity: 0; }
}

/* ── CTA BANNER — extra concentric rings ── */
.cta-ring-outer {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 820px; height: 820px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
  animation: ctaRingOuter 9s ease-in-out infinite;
}
.cta-ring-mid {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(255, 229, 0, 0.18);
  pointer-events: none;
  animation: ctaRingMid 4.5s ease-in-out infinite reverse;
}
@keyframes ctaRingOuter {
  0%, 100% { transform: translate(-50%,-50%) scale(1);    opacity: 0.35; }
  50%       { transform: translate(-50%,-50%) scale(1.07); opacity: 0.75; }
}
@keyframes ctaRingMid {
  0%, 100% { transform: translate(-50%,-50%) scale(1);    opacity: 0.45; }
  50%       { transform: translate(-50%,-50%) scale(1.18); opacity: 1;    }
}

/* Animated section divider scan */
.section-divider { position: relative; overflow: hidden; }
.section-divider::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 55%; height: 100%;
  background: linear-gradient(90deg, transparent,
    rgba(27,95,255,0.55) 45%,
    rgba(255,229,0,0.35) 55%,
    transparent);
  animation: divScan 5s ease-in-out infinite;
}
@keyframes divScan {
  0%   { left: -60%; }
  100% { left: 105%; }
}

/* ── METHODOLOGY SCROLL-SCRUB ── */

/* Section: white bg, full-width text content */
.method-section {
  background: var(--bg-card);
  padding: 7rem 0 8rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.method-layout {
  max-width: var(--max-w);
  margin: 0 auto;
}

.method-text { padding-bottom: 4rem; }

.method-text .section-overline {
  display: inline-flex; align-items: center; gap: 0.625rem;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em;
  margin-bottom: 1.25rem;
}
.method-text .section-overline::before {
  content: ''; width: 22px; height: 2px;
  background: var(--blue); border-radius: 1px; display: block;
}

/* Numbered content blocks — 2-column grid (50% each) filling the full width */
.method-blocks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.method-block {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  border-bottom: 1px solid var(--border);
}
.method-block:nth-child(odd)  { padding-left: 0; border-right: 1px solid var(--border); }
.method-block:nth-child(even) { padding-right: 0; }

.method-block-num {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 900;
  color: rgba(27,95,255,0.12);
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  letter-spacing: -0.04em;
  padding-top: 0.1rem;
}
.method-block-title {
  font-family: var(--font-display);
  font-size: 1.375rem; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.625rem;
  color: var(--white);
  line-height: 1.1;
}
.method-block-desc {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--gray);
  line-height: 1.78;
}

/* Inline stats row */
.method-inline-stats {
  display: flex;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  flex-wrap: wrap;
}
.method-istat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem; font-weight: 900;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0.25rem;
}
.method-istat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--gray);
  line-height: 1.4;
  max-width: 130px;
}

/* ── MOBILE: blocks stack to a single column ── */
@media (max-width: 1024px) {
  .method-section { padding: 5rem 1.5rem; }
  .method-blocks-grid { grid-template-columns: 1fr; }
  .method-block:nth-child(odd)  { padding-left: 2rem; border-right: none; }
  .method-block:nth-child(even) { padding-right: 2rem; }
}

/* ── REDUCED MOTION overrides ── */
@media (prefers-reduced-motion: reduce) {
  .orbit-ring, .cta-ring-outer, .cta-ring-mid,
  .stats-strip::after, .section-divider::after { animation: none !important; }
}
