/* ============================================================
   CMH Soccer Academy — Ultra-Premium Stylesheet v2.0
   Dark / Gold aesthetic | Glassmorphism | Cinematic animations
   Mobile-first | Zero external dependencies
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  background-color: var(--navy-900);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

/* ── Design Tokens ────────────────────────────────────────── */

:root {
  --navy-900: #0C1830;
  --navy-800: #1B3259;
  --navy-700: #1e3a6e;
  --navy-600: #243f6e;
  --gold-500: #C4820E;
  --gold-400: #D4920E;
  --gold-300: #E4A82E;
  --gold-200: #F0C060;
  --white: #ffffff;
  --gray-100: #f5f5f5;
  --gray-400: #999;
  --gray-600: #555;
  --dark: #080e1c;

  --radius-sm:   6px;
  --radius-md:   14px;
  --radius-lg:   22px;
  --radius-xl:   32px;
  --radius-full: 9999px;

  --shadow-gold-sm: 0 0 16px rgba(196,130,14,0.25);
  --shadow-gold-md: 0 0 32px rgba(196,130,14,0.35);
  --shadow-gold-lg: 0 0 56px rgba(196,130,14,0.45);
  --shadow-dark-md: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-dark-lg: 0 16px 56px rgba(0,0,0,0.55);
  --shadow-dark-xl: 0 24px 80px rgba(0,0,0,0.65);

  --transition: 0.25s ease;
  --transition-slow: 0.45s ease;

  --nav-height: 72px;
  --container-max: 1200px;
  --section-pad: 96px;

  /* Glassmorphism */
  --glass-bg: rgba(12, 24, 48, 0.6);
  --glass-border: rgba(255,255,255,0.08);
  --glass-blur: blur(18px);
}

/* ── Noise grain overlay (dark sections) ─────────────────── */

.grain::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* ── Container ────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 28px;
}

/* ── Typography ───────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  color: rgba(255,255,255,0.62);
  max-width: 68ch;
}

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, var(--gold-300) 0%, var(--gold-500) 50%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section label */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 14px;
}

.section-label::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold-400);
  flex-shrink: 0;
}

.section-number {
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: -1rem;
  user-select: none;
}

.section-title {
  color: var(--white);
  margin-bottom: 18px;
}

.section-intro {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 56px;
  max-width: 58ch;
}

.section-center {
  text-align: center;
}

.section-center p,
.section-center .section-intro {
  margin-inline: auto;
}

/* ── Buttons ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 36px;
  border-radius: var(--radius-full);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), color var(--transition),
              border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--transition);
  border-radius: inherit;
}

.btn:hover::after {
  background: rgba(255,255,255,0.05);
}

.btn:hover {
  transform: scale(1.03) translateY(-1px);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--navy-900);
  box-shadow: 0 4px 20px rgba(196,130,14,0.3);
}

.btn-primary:hover {
  box-shadow: var(--shadow-gold-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-400);
  box-shadow: 0 0 20px rgba(196,130,14,0.15);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: var(--glass-blur);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
}

.btn-navy {
  background: var(--navy-900);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.15);
}

.btn-navy:hover {
  background: var(--navy-800);
  border-color: rgba(255,255,255,0.25);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.88rem;
}

/* ── Navigation ───────────────────────────────────────────── */

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  display: flex;
  align-items: center;
  transition: background var(--transition-slow), backdrop-filter var(--transition-slow),
              box-shadow var(--transition-slow), border-bottom var(--transition-slow);
  border-bottom: 1px solid transparent;
}

#main-nav.scrolled {
  background: rgba(12, 24, 48, 0.88);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 40px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 28px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-name {
  font-size: 0.97rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-brand-sub {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold-400);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Nav link with animated underline */
.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  padding: 3px;
}

.lang-toggle button {
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  transition: background var(--transition), color var(--transition);
}

.lang-toggle button.active {
  background: var(--gold-500);
  color: var(--navy-900);
}

.lang-toggle button:hover:not(.active) {
  color: var(--white);
}

/* Hamburger */
#menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition);
}

#menu-toggle:hover {
  background: rgba(255,255,255,0.12);
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

#menu-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#menu-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

#menu-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Page Offset for fixed nav ─────────────────────────────── */

main {
  padding-top: var(--nav-height);
}

/* Hero has its own full-viewport layout, no double offset */
.hero-page main {
  padding-top: 0;
}

/* ── Section Base ─────────────────────────────────────────── */

section {
  padding-block: var(--section-pad);
  position: relative;
}

/* ── Scroll Animation Classes ─────────────────────────────── */

.fade-in,
.slide-up,
.slide-in-left,
.slide-in-right {
  opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.22,1,0.36,1),
              transform 0.65s cubic-bezier(0.22,1,0.36,1);
}

.fade-in { opacity: 0; }
.slide-up { transform: translateY(48px); }
.slide-in-left  { transform: translateX(-48px); }
.slide-in-right { transform: translateX(48px); }

.fade-in.visible,
.slide-up.visible,
.slide-in-left.visible,
.slide-in-right.visible {
  opacity: 1;
  transform: none;
}

/* stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ============================================================
   HERO — Full Viewport Cinematic
   ============================================================ */

.hero {
  min-height: 100vh;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-block: 120px 100px;
}

/* Animated geometric background */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 70% at 75% 30%, rgba(196,130,14,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 20% 80%, rgba(30,58,110,0.7) 0%, transparent 60%),
    linear-gradient(165deg, #0C1830 0%, #101e40 40%, #0a1525 100%);
}

/* Animated diagonal lines like Instagram brand posts */
.hero-lines {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 48px,
      rgba(196,130,14,0.04) 48px,
      rgba(196,130,14,0.04) 50px
    );
  animation: slideLines 20s linear infinite;
}

@keyframes slideLines {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

/* Floating geometric shapes */
.hero-shape {
  position: absolute;
  border: 1px solid rgba(196,130,14,0.12);
  border-radius: 50%;
  animation: floatShape var(--duration, 12s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

.hero-shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -80px;
  --duration: 14s;
}

.hero-shape-2 {
  width: 240px;
  height: 240px;
  bottom: 80px;
  left: -60px;
  --duration: 10s;
  --delay: -4s;
  border-color: rgba(196,130,14,0.07);
}

.hero-shape-3 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 15%;
  --duration: 8s;
  --delay: -2s;
  background: rgba(196,130,14,0.03);
  border-color: rgba(196,130,14,0.15);
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-20px) rotate(3deg); }
  66%       { transform: translateY(12px) rotate(-2deg); }
}

/* Gold accent bar bottom */
.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), var(--gold-300), var(--gold-500), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding-inline: 16px;
}

/* Hero text entrance animations */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(196,130,14,0.10);
  border: 1px solid rgba(196,130,14,0.28);
  border-radius: var(--radius-full);
  padding: 7px 20px;
  margin-bottom: 32px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
  opacity: 0;
  transform: translateY(20px);
  animation: heroEntrance 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-title-line1 {
  display: block;
  font-size: clamp(4.5rem, 13vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.88;
  background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-400) 40%, var(--gold-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(40px);
  animation: heroEntrance 0.8s cubic-bezier(0.22,1,0.36,1) 0.3s forwards;
}

.hero-title-line2 {
  display: block;
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  opacity: 0;
  transform: translateY(40px);
  animation: heroEntrance 0.8s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
}

.hero-tagline {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: rgba(255,255,255,0.62);
  margin-top: 20px;
  margin-bottom: 44px;
  max-width: 52ch;
  margin-inline: auto;
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.8s cubic-bezier(0.22,1,0.36,1) 0.7s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.8s cubic-bezier(0.22,1,0.36,1) 0.9s forwards;
}

@keyframes heroEntrance {
  to { opacity: 1; transform: translateY(0); }
}

/* Floating stats badges */
.hero-stats-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 52px;
  opacity: 0;
  transform: translateY(24px);
  animation: heroEntrance 0.8s cubic-bezier(0.22,1,0.36,1) 1.1s forwards;
}

.hero-stat-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius-full);
  padding: 9px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.hero-stat-badge-icon {
  color: var(--gold-400);
  font-size: 1rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  opacity: 0;
  animation: heroEntrance 0.8s ease 1.5s forwards;
}

.hero-scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--gold-500));
  animation: scrollPulse 2s ease infinite;
}

.hero-scroll-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(1.1); }
}

/* ============================================================
   WHY CMH — Dark section with glass cards
   ============================================================ */

.why-section {
  background: var(--navy-900);
  overflow: hidden;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.why-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(196,130,14,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(196,130,14,0.25);
  border-color: rgba(196,130,14,0.25);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 1.6rem;
  box-shadow: var(--shadow-gold-sm);
  position: relative;
  z-index: 1;
}

.why-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ============================================================
   WHAT WE TRAIN — deep navy with glow cards
   ============================================================ */

.train-section {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
  overflow: hidden;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: background var(--transition), transform var(--transition),
              box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(196,130,14,0.2);
  border-color: rgba(196,130,14,0.2);
}

.card:hover::after {
  opacity: 1;
}

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  line-height: 1;
  display: block;
}

.card h3 {
  color: var(--gold-300);
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.card p {
  color: rgba(255,255,255,0.62);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ============================================================
   ABOUT TEASER
   ============================================================ */

.teaser-section {
  background: var(--navy-900);
  overflow: hidden;
}

.teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.teaser-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.06);
}

.teaser-photo-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.2);
}

.teaser-photo-placeholder .big-icon {
  font-size: 6rem;
  display: block;
  margin-bottom: 14px;
  line-height: 1;
}

.teaser-photo-placeholder p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.2);
}

.photo-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold-sm);
}

.teaser-text .section-title {
  margin-bottom: 20px;
}

.teaser-text p {
  font-size: 1.08rem;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.65);
}

.teaser-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  display: block;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--gray-400);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
  display: block;
}

/* ============================================================
   STATS COUNTER SECTION
   ============================================================ */

.stats-section {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 100%);
  padding-block: 64px;
  overflow: hidden;
  position: relative;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.stats-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-item {
  position: relative;
  padding: 20px;
}

.stats-item + .stats-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.stats-number {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.stats-suffix {
  font-size: 0.6em;
  font-weight: 800;
  vertical-align: super;
}

.stats-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */

.cta-banner {
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-400) 50%, var(--gold-300) 100%);
  padding-block: 72px;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 28px,
    rgba(0,0,0,0.025) 28px,
    rgba(0,0,0,0.025) 30px
  );
}

.cta-banner-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--navy-900);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.cta-banner p {
  color: rgba(12,24,48,0.72);
  font-size: 1.08rem;
  max-width: none;
}

.cta-banner .btn-navy {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 8px 32px rgba(12,24,48,0.35);
  flex-shrink: 0;
}

.cta-banner .btn-navy:hover {
  background: var(--navy-800);
  box-shadow: 0 12px 40px rgba(12,24,48,0.5);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */

.page-hero {
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding-block: 80px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 48px,
    rgba(196,130,14,0.03) 48px,
    rgba(196,130,14,0.03) 50px
  );
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), var(--gold-300), var(--gold-500), transparent);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 14px;
}

.page-hero p {
  color: rgba(255,255,255,0.58);
  font-size: 1.1rem;
  max-width: 52ch;
  margin-inline: auto;
}

/* ============================================================
   ABOUT — Timeline (alternating desktop, single mobile)
   ============================================================ */

.timeline-section {
  background: var(--navy-900);
}

.timeline {
  position: relative;
  margin-top: 56px;
}

/* Central line */
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    var(--gold-500) 0%,
    rgba(196,130,14,0.3) 80%,
    transparent 100%
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  gap: 0 24px;
  margin-bottom: 56px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

/* Odd items: content left, dot center, empty right */
.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-dot-wrap {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item:nth-child(odd) .timeline-spacer {
  grid-column: 3;
  grid-row: 1;
}

/* Even items: empty left, dot center, content right */
.timeline-item:nth-child(even) .timeline-spacer {
  grid-column: 1;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-dot-wrap {
  grid-column: 2;
  grid-row: 1;
}

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 3;
  grid-row: 1;
  text-align: left;
}

.timeline-spacer {
  min-height: 1px;
}

.timeline-dot-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 6px;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  background: var(--navy-900);
  border: 3px solid var(--gold-500);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(196,130,14,0.15), var(--shadow-gold-sm);
  flex-shrink: 0;
  transition: box-shadow var(--transition), transform var(--transition);
}

.timeline-item.visible .timeline-dot {
  box-shadow: 0 0 0 6px rgba(196,130,14,0.2), var(--shadow-gold-md);
}

.timeline-content {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.timeline-content:hover {
  border-color: rgba(196,130,14,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.timeline-year {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(196,130,14,0.1);
  border: 1px solid rgba(196,130,14,0.2);
  border-radius: var(--radius-full);
  padding: 3px 12px;
  margin-bottom: 10px;
}

.timeline-content h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.timeline-content p {
  font-size: 0.93rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
}

/* ── Philosophy ───────────────────────────────────────────── */

.philosophy-section {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.philosophy-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.philosophy-card:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.philosophy-num {
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  letter-spacing: -0.05em;
  position: absolute;
  top: -8px;
  right: 20px;
  user-select: none;
}

.philosophy-card h3 {
  color: var(--gold-300);
  margin-bottom: 14px;
  position: relative;
}

.philosophy-card p {
  color: rgba(255,255,255,0.62);
  font-size: 0.95rem;
  line-height: 1.8;
  position: relative;
}

/* ── Positions section ────────────────────────────────────── */

.positions-section {
  background: var(--navy-900);
  padding-block: 64px;
}

.positions-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}

.positions-text h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.positions-text p {
  font-size: 1.05rem;
}

.position-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.position-tag {
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background var(--transition), border-color var(--transition);
}

.position-tag:hover {
  background: rgba(255,255,255,0.12);
}

.position-tag.highlight {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  border-color: transparent;
  box-shadow: var(--shadow-gold-sm);
}

/* ============================================================
   PROGRAMS — Pillars
   ============================================================ */

.pillars-section {
  background: var(--navy-900);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.pillar-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(196,130,14,0.2);
  background: rgba(255,255,255,0.07);
  border-color: rgba(196,130,14,0.2);
}

.pillar-card:hover::after {
  transform: scaleX(1);
}

.pillar-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}

.pillar-card h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.pillar-card p {
  font-size: 0.93rem;
  margin-inline: auto;
  color: rgba(255,255,255,0.58);
}

/* ============================================================
   PRICING TABLE — Premium dark cards
   ============================================================ */

.pricing-section {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
  align-items: start;
}

.pricing-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255,255,255,0.06);
  transition: background var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 56px rgba(0,0,0,0.4), 0 0 0 1px rgba(196,130,14,0.25);
  border-color: rgba(196,130,14,0.25);
}

.pricing-card:hover::before {
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.pricing-card.featured {
  background: linear-gradient(160deg, rgba(196,130,14,0.12) 0%, rgba(27,50,89,0.8) 100%);
  border-color: rgba(196,130,14,0.35);
  transform: scale(1.03);
  box-shadow: 0 20px 64px rgba(0,0,0,0.5), var(--shadow-gold-sm);
  z-index: 1;
}

.pricing-card.featured::before {
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 24px 72px rgba(0,0,0,0.55), var(--shadow-gold-md);
}

.featured-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-900);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: var(--shadow-gold-sm);
}

.pricing-card h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.pricing-detail {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  font-weight: 600;
  max-width: none;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--gold-300), var(--gold-500));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.pricing-per {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  font-weight: 600;
  max-width: none;
  display: block;
}

.pricing-save {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(196,130,14,0.12);
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  border: 1px solid rgba(196,130,14,0.25);
}

.pricing-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin-block: 24px;
}

.pricing-desc {
  font-size: 0.93rem;
  line-height: 1.75;
  margin-bottom: 32px;
  color: rgba(255,255,255,0.6);
  max-width: none;
}

/* Pricing feature list with CSS-drawn checkmarks */
.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
}

.pricing-features li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold-500);
  border-radius: 50%;
  flex-shrink: 0;
  background: rgba(196,130,14,0.1);
  position: relative;
}

.pricing-features li.check::before {
  background: var(--gold-500);
  border-color: var(--gold-500);
  /* CSS checkmark via clip-path on a pseudo */
}

/* Use a wrapper approach for checkmarks */
.pricing-features li .check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(196,130,14,0.15);
  border: 2px solid var(--gold-500);
  flex-shrink: 0;
  position: relative;
}

.pricing-features li .check-icon::after {
  content: "";
  display: block;
  width: 5px;
  height: 8px;
  border-right: 2px solid var(--gold-400);
  border-bottom: 2px solid var(--gold-400);
  transform: rotate(45deg) translate(-1px, -1px);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-section {
  background: var(--navy-900);
}

.faq-list {
  margin-top: 16px;
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
  border-color: rgba(196,130,14,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  gap: 20px;
  background: none;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--gold-300);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  transition: transform var(--transition), background var(--transition),
              color var(--transition), border-color var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.36s cubic-bezier(0.22,1,0.36,1),
              padding 0.36s ease;
  padding-inline: 28px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.8;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 18px;
  color: rgba(255,255,255,0.58);
  max-width: none;
}

/* ============================================================
   FORMS — Premium dark style
   ============================================================ */

.form-section {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 100%);
}

.form-wrapper {
  max-width: 700px;
  margin-inline: auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 56px 52px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-dark-xl);
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

label .req {
  color: var(--gold-400);
  margin-left: 2px;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  font-size: 0.97rem;
  font-family: inherit;
  color: var(--white);
  background: rgba(255,255,255,0.05);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(196,130,14,0.12), 0 0 16px rgba(196,130,14,0.1);
  background: rgba(255,255,255,0.07);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C4820E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
  cursor: pointer;
}

select option {
  background: var(--navy-800);
  color: var(--white);
}

textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.65;
}

.form-submit {
  margin-top: 12px;
}

.form-submit .btn {
  width: 100%;
  padding-block: 17px;
  font-size: 1.05rem;
}

.success-message {
  display: none;
  text-align: center;
  padding: 56px 28px;
}

.success-message.visible {
  display: block;
}

.success-icon {
  font-size: 4.5rem;
  margin-bottom: 20px;
  line-height: 1;
}

.success-message h3 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.success-message p {
  color: rgba(255,255,255,0.55);
  margin-inline: auto;
}

/* ============================================================
   CONTACT INFO PANEL
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.contact-info-panel h2 {
  color: var(--white);
  margin-bottom: 36px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-900);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-gold-sm);
}

.contact-info-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
  display: block;
}

.contact-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}

.contact-info-value a {
  color: var(--white);
  transition: color var(--transition);
}

.contact-info-value a:hover {
  color: var(--gold-300);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.05);
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.1);
  transition: background var(--transition), border-color var(--transition),
              color var(--transition), box-shadow var(--transition);
}

.social-link:hover {
  background: rgba(196,130,14,0.12);
  border-color: rgba(196,130,14,0.3);
  color: var(--gold-300);
  box-shadow: 0 0 16px rgba(196,130,14,0.15);
}

/* ============================================================
   FOOTER — Dark premium
   ============================================================ */

footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-block: 64px 32px;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 56px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.footer-brand-text .name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
}

.footer-brand-text .sub {
  font-size: 0.62rem;
  color: var(--gold-400);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-tagline {
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 38ch;
  color: rgba(255,255,255,0.42);
}

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
  position: relative;
}

.footer-nav a::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 1px;
  background: var(--gold-400);
  vertical-align: middle;
  margin-right: 0;
  transition: width var(--transition), margin-right var(--transition);
}

.footer-nav a:hover {
  color: var(--gold-300);
}

.footer-nav a:hover::before {
  width: 16px;
  margin-right: 8px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-social a:hover {
  color: var(--gold-300);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-rights {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
  max-width: none;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.28);
  transition: color var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--gold-300);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .timeline-item {
    grid-template-columns: 1fr 44px 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --section-pad: 72px;
  }

  .teaser-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .teaser-photo {
    max-width: 380px;
    margin-inline: auto;
    aspect-ratio: 3/2;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-item + .stats-item::before {
    display: none;
  }

  /* Timeline collapses to single column */
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto;
    gap: 0 20px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
  }

  .timeline-item:nth-child(odd) .timeline-dot-wrap,
  .timeline-item:nth-child(even) .timeline-dot-wrap {
    grid-column: 1;
    grid-row: 1;
  }

  .timeline-item:nth-child(odd) .timeline-spacer,
  .timeline-item:nth-child(even) .timeline-spacer {
    display: none;
  }
}

@media (max-width: 700px) {
  :root {
    --section-pad: 56px;
    --nav-height: 64px;
  }

  /* Mobile nav menu — full-height scrollable, iOS-safe */
  .nav-center {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    /* Dynamic viewport height so iOS Safari address bar never hides items */
    height: calc(100vh - var(--nav-height));
    height: calc(100dvh - var(--nav-height));
    background: rgba(8,14,28,0.98);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    flex-direction: column;
    align-items: stretch;
    padding: 24px 24px;
    /* Extra bottom padding so last item clears iOS home indicator */
    padding-bottom: calc(40px + env(safe-area-inset-bottom));
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22,1,0.36,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-top: 1px solid rgba(255,255,255,0.06);
    list-style: none;
  }

  .nav-center.open {
    transform: translateX(0);
  }

  .nav-center > li { width: 100%; }

  .nav-link {
    display: block;
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(255,255,255,0.05);
  }

  /* Hide the desktop nav-right lang toggle on mobile */
  .nav-right .lang-toggle {
    display: none;
  }

  /* Show the mobile lang toggle inside the menu */
  .nav-mobile-lang {
    display: block;
    margin-top: 16px;
    padding: 12px 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .nav-mobile-lang .lang-toggle {
    width: 100%;
    justify-content: center;
    padding: 5px;
  }
  .nav-mobile-lang .lang-toggle button {
    flex: 1;
    padding: 10px 0;
    font-size: 0.85rem;
  }

  #menu-toggle {
    display: flex;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    padding: 36px 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }

  .teaser-stats {
    justify-content: center;
  }

  .positions-inner {
    flex-direction: column;
    text-align: center;
  }

  .position-tags {
    justify-content: center;
  }

  .hero-stat-badge {
    font-size: 0.76rem;
    padding: 7px 14px;
  }

  .contact-info-panel {
    order: 2;
  }
}

/* ============================================================
   MOBILE — comprehensive polish (≤ 600px)
   ============================================================ */
@media (max-width: 600px) {
  :root {
    --section-pad: 56px;
    --container-max: 100%;
  }

  /* Containers: tighter side padding on narrow screens */
  .container { padding-inline: 18px; }
  .nav-inner { padding-inline: 18px; }

  /* Prevent iOS Safari auto-zoom on input focus */
  input,
  select,
  textarea {
    font-size: 16px !important;
    padding: 13px 15px;
  }
  label {
    font-size: 0.76rem;
  }

  /* HERO */
  .hero { padding-block: 100px 64px; min-height: auto; }
  .hero-content { padding-inline: 6px; }
  .hero-eyebrow {
    font-size: 0.66rem;
    padding: 6px 14px;
    letter-spacing: 0.14em;
    margin-bottom: 24px;
  }
  .hero-tagline {
    font-size: 1rem;
    margin-top: 18px;
    margin-bottom: 32px;
    line-height: 1.55;
  }
  .hero-actions { gap: 12px; width: 100%; }
  .hero-actions .btn { width: 100%; max-width: 360px; padding: 14px 28px; }
  .hero-stats-row { gap: 8px; margin-top: 32px; }
  .hero-stat-badge {
    font-size: 0.72rem;
    padding: 6px 12px;
    gap: 6px;
  }
  .hero-stat-badge-icon svg { width: 12px; height: 12px; }
  .hero-scroll { display: none; }

  /* MARQUEE */
  .marquee-section { padding-block: 40px 48px; }
  .marquee-track { gap: 32px; padding-right: 32px; }
  .marquee-item { font-size: 1.1rem; }
  .marquee-dot { width: 6px; height: 6px; }
  .marquee-label { font-size: 0.62rem; margin-bottom: 20px; letter-spacing: 0.18em; }

  /* SECTIONS */
  section { padding-block: 52px; }
  .section-number { font-size: clamp(3.2rem, 14vw, 5rem); margin-bottom: -0.5rem; }
  .section-title { font-size: clamp(1.65rem, 6.5vw, 2.2rem); }
  .section-intro { font-size: 0.98rem; margin-bottom: 36px; }
  .section-label { font-size: 0.66rem; letter-spacing: 0.16em; }

  /* CARDS — Why CMH, What We Train, Programs pillars, Philosophy */
  .why-card, .card, .pillar-card, .philosophy-card {
    padding: 28px 22px;
  }
  .why-grid, .cards-grid, .pillars-grid, .philosophy-grid {
    gap: 14px;
    margin-top: 8px;
  }
  .why-icon { width: 48px; height: 48px; margin-bottom: 18px; }
  .why-icon svg { width: 24px; height: 24px; }
  .card-icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .card-icon svg { width: 22px; height: 22px; }
  .pillar-icon { width: 56px; height: 56px; margin-bottom: 18px; }
  .pillar-icon svg { width: 26px; height: 26px; }
  .philosophy-card { padding: 32px 22px; }
  .philosophy-num { font-size: 4.5rem; }
  .why-card h3, .card h3, .pillar-card h3, .philosophy-card h3 {
    font-size: 1.08rem;
    margin-bottom: 10px;
  }
  .why-card p, .card p, .pillar-card p, .philosophy-card p {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  /* STATS STRIP */
  .stats-section { padding-block: 44px; }
  .stats-grid { gap: 16px; }
  .stats-number { font-size: clamp(2rem, 8vw, 2.8rem); }
  .stats-label { font-size: 0.68rem; letter-spacing: 0.1em; }

  /* TEASER (Coach photo on home) */
  .teaser-section { padding-block: 56px; }
  .teaser-inner { gap: 32px; }
  .teaser-photo,
  .teaser-photo.with-image {
    max-width: 320px;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
  }
  .teaser-photo.with-image::before,
  .teaser-photo.with-image::after,
  .teaser-photo-corner { display: none; }
  .photo-badge {
    bottom: 14px; left: 14px;
    padding: 7px 14px;
    font-size: 0.7rem;
  }
  .teaser-text .section-title { margin-bottom: 14px; }
  .teaser-text p { font-size: 0.98rem; margin-bottom: 24px; }
  .teaser-stats { gap: 22px; margin-bottom: 28px; }
  .stat-number { font-size: 1.9rem; }
  .stat-label { font-size: 0.62rem; }

  /* ABOUT — hero photo block (Carlos action shot)
     more top breathing room so "About Carlos" title doesn't collide with image */
  .about-hero-photo { padding-block: 40px 56px; }
  .about-photo-wrap {
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  }
  .about-photo-wrap img { object-position: center 25%; }
  .photo-stats-overlay {
    top: auto;
    bottom: 12px;
    left: 12px;
    right: 12px;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .photo-stat-pill {
    padding: 5px 11px;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }
  /* On mobile move the caption OUTSIDE the photo for legibility */
  .about-photo-caption {
    position: static;
    margin-top: 20px;
    padding: 0 6px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 8px;
  }
  .about-photo-caption .quote {
    font-size: 1rem;
    max-width: 100%;
    line-height: 1.45;
  }
  .about-photo-caption .attr { font-size: 0.7rem; letter-spacing: 0.12em; }

  /* TIMELINE */
  .timeline { margin-top: 32px; }
  .timeline-item { margin-bottom: 32px; gap: 0 16px; }
  .timeline-content { padding: 22px 20px; border-radius: var(--radius-md); }
  .timeline-year {
    font-size: 0.65rem;
    padding: 3px 11px;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
  }
  .timeline-content h3 { font-size: 1.04rem; margin-bottom: 8px; line-height: 1.3; }
  .timeline-content p { font-size: 0.88rem; line-height: 1.65; }
  .timeline-dot { width: 16px; height: 16px; border-width: 2px; }

  /* POSITIONS section */
  .positions-section { padding-block: 48px; }
  .position-tag { padding: 7px 16px; font-size: 0.82rem; }

  /* PRICING */
  .pricing-section { padding-block: 56px; }
  .pricing-grid { gap: 14px; }
  .pricing-card { padding: 32px 24px; }
  .pricing-card h3 { font-size: 1.1rem; }
  .pricing-price { font-size: 2.4rem; }
  .pricing-detail { font-size: 0.75rem; }
  .pricing-desc { font-size: 0.88rem; line-height: 1.65; }
  .pricing-features li { font-size: 0.85rem; }
  .pricing-card .btn { width: 100%; }
  .pricing-card .pkg-more { margin-top: 10px; font-size: 0.72rem; }

  /* MODAL */
  .modal {
    max-height: 94vh;
    border-radius: var(--radius-lg);
    margin: 0 8px;
  }
  .modal-backdrop { padding: 8px; }
  .modal-content { padding: 44px 22px 28px; }
  .modal h2 { font-size: 1.35rem; line-height: 1.25; }
  .modal-eyebrow { font-size: 0.62rem; padding: 4px 12px; }
  .modal-price-line { font-size: 0.88rem; margin-bottom: 18px; }
  .modal-section { margin-top: 22px; }
  .modal-section h3 { font-size: 0.78rem; gap: 8px; }
  .modal-section p { font-size: 0.9rem; }
  .modal-section ul li { font-size: 0.86rem; padding-left: 18px; }
  .modal-section ul li::before { top: 7px; width: 5px; height: 5px; }
  .modal-cta { flex-direction: column; gap: 10px; }
  .modal-cta .btn { width: 100%; min-width: 100%; }
  .modal-close { width: 44px; height: 44px; top: 12px; right: 12px; }

  /* FAQ */
  .faq-section { padding-block: 52px; }
  .faq-list { margin-top: 12px; gap: 8px; }
  .faq-question { padding: 18px 18px; font-size: 0.93rem; gap: 14px; }
  .faq-icon { width: 26px; height: 26px; font-size: 1.2rem; }
  .faq-answer { padding-inline: 18px; }
  .faq-answer p { font-size: 0.88rem; padding-top: 14px; }
  .faq-item.open .faq-answer { padding-bottom: 18px; }

  /* FORMS */
  .form-section { padding-block: 56px; }
  .form-wrapper { padding: 28px 20px; border-radius: var(--radius-lg); }
  .form-group { margin-bottom: 20px; }
  .form-submit .btn { padding-block: 15px; font-size: 1rem; }
  .success-message { padding: 44px 20px; }
  .success-message h3 { font-size: 1.3rem; }
  .success-icon svg { width: 56px; height: 56px; }

  /* CONTACT info panel */
  .contact-info-panel h2 { margin-bottom: 28px; }
  .contact-info-item { gap: 14px; margin-bottom: 22px; }
  .contact-icon { width: 42px; height: 42px; }
  .contact-icon svg { width: 20px; height: 20px; }
  .contact-info-value { font-size: 0.95rem; }

  /* CTA BANNER */
  .cta-banner { padding-block: 52px; }
  .cta-banner-inner { gap: 20px; }
  .cta-banner h2 { font-size: clamp(1.45rem, 6vw, 2rem); }
  .cta-banner p { font-size: 0.95rem; }
  .cta-banner .btn { width: 100%; max-width: 360px; padding: 14px 28px; }

  /* PAGE HERO (inner pages) */
  .page-hero { padding-block: 64px 44px; }
  .page-hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.4rem); }
  .page-hero p { font-size: 0.98rem; padding-inline: 4px; }

  /* FOOTER */
  footer { padding-block: 52px 24px; }
  .footer-top { gap: 28px; margin-bottom: 36px; }
  .footer-tagline { font-size: 0.88rem; }
  .footer-col h4 { font-size: 0.66rem; margin-bottom: 16px; }
  .footer-nav a, .footer-social a { font-size: 0.88rem; }
  .footer-bottom { gap: 16px; }

  /* NAV — brand text smaller, logo too */
  .nav-logo { height: 38px; width: auto; }
  .nav-brand-name { font-size: 0.84rem; }
  .nav-brand-sub { font-size: 0.55rem; }

  /* BUTTONS — minimum tap target */
  .btn { min-height: 44px; }
  .btn-sm { min-height: 36px; padding: 9px 18px; }

  /* Disable tilt on touch devices (less reliable) */
  [data-tilt] { transform: none !important; perspective: none; }

  /* Disable magnetic on touch */
  [data-magnetic] { transform: none !important; }

  /* iOS safe areas */
  body { padding-bottom: env(safe-area-inset-bottom); }
  #main-nav { padding-top: env(safe-area-inset-top); }
}

/* ============================================================
   MOBILE — small phones (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .nav-brand-text { display: none; }

  .hero-title-line1 { font-size: clamp(3.5rem, 16vw, 6rem); }
  .hero-title-line2 { font-size: clamp(2.5rem, 11vw, 4.5rem); }
  .hero-eyebrow { font-size: 0.6rem; padding: 5px 12px; }

  .container { padding-inline: 16px; }
  .nav-inner { padding-inline: 16px; }

  .marquee-item { font-size: 1rem; }
  .marquee-track { gap: 28px; padding-right: 28px; }

  /* Stack badge row vertically when very narrow */
  .hero-stats-row { gap: 6px; }
  .hero-stat-badge { font-size: 0.68rem; padding: 5px 10px; }

  .modal-content { padding: 40px 18px 24px; }
  .modal h2 { font-size: 1.25rem; }
}

/* ============================================================
   MOBILE — tiny phones / iPhone SE 1st gen (≤ 380px)
   ============================================================ */
@media (max-width: 380px) {
  .container { padding-inline: 14px; }
  .hero-title-line1 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hero-title-line2 { font-size: clamp(2.2rem, 10vw, 3.6rem); }
  .hero-eyebrow {
    font-size: 0.56rem;
    padding: 4px 10px;
    letter-spacing: 0.1em;
  }
  .marquee-item { font-size: 0.92rem; }
  .pricing-card { padding: 28px 20px; }
  .timeline-content { padding: 20px 16px; }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.text-gold  { color: var(--gold-400); }
.text-white { color: var(--white); }
.text-muted { color: rgba(255,255,255,0.45); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.d-none { display: none !important; }

/* ============================================================
   ╔══════════════════════════════════════════════════════════╗
   ║  v3.0  —  Cinematic Layer                                ║
   ║  Custom cursor · marquee · 3D tilt · image hero overlay  ║
   ║  Preloader · scroll progress · magnetic buttons           ║
   ╚══════════════════════════════════════════════════════════╝
   ============================================================ */

/* ── Page preloader ───────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--navy-900);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--navy-900);
  letter-spacing: -0.04em;
  animation: preloaderPulse 1.4s ease infinite;
  box-shadow: var(--shadow-gold-md);
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.92); opacity: 0.75; }
}
.preloader-bar {
  width: 160px;
  height: 2px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.preloader-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
  transform: translateX(-100%);
  animation: preloaderBar 1.4s ease infinite;
}
@keyframes preloaderBar {
  0%   { transform: translateX(-100%); }
  60%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ── Scroll progress bar ──────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 0 12px rgba(196,130,14,0.5);
  z-index: 1001;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Custom cursor: REMOVED (caused lag) ──────────────────── */

/* ── Mobile lang toggle inside menu: hidden on desktop ────── */
.nav-mobile-lang { display: none; }

/* ── SVG icon system ──────────────────────────────────────── */
.icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}
.icon-lg { width: 32px; height: 32px; }
.icon-md { width: 24px; height: 24px; }
.icon-sm { width: 18px; height: 18px; }

/* Replace emoji icon boxes (why-icon, pillar-icon, card-icon) */
.why-icon,
.pillar-icon,
.card-icon,
.hero-stat-badge-icon,
.contact-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.why-icon svg,
.pillar-icon svg,
.card-icon svg,
.contact-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--navy-900);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(196,130,14,0.18), rgba(196,130,14,0.05));
  border: 1px solid rgba(196,130,14,0.25);
}
.card-icon svg {
  stroke: var(--gold-300);
}
.pillar-icon {
  width: 64px; height: 64px;
  margin-inline: auto;
  margin-bottom: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  box-shadow: var(--shadow-gold-sm);
}
.pillar-icon svg {
  width: 30px; height: 30px;
  stroke: var(--navy-900);
}
.hero-stat-badge-icon svg {
  width: 14px; height: 14px;
  stroke: var(--gold-400);
  stroke-width: 2;
  fill: none;
}
.contact-icon svg { width: 22px; height: 22px; stroke: var(--navy-900); }
.faq-icon {
  /* keep + sign but bigger and cleaner */
  font-size: 1.4rem !important;
  font-weight: 200 !important;
  font-family: system-ui, -apple-system, sans-serif !important;
}
.footer-social .icon-inline,
.contact-info-value .icon-inline {
  width: 16px; height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  margin-right: 6px;
  vertical-align: middle;
}

/* ── Hero image overlay (real photo) ─────────────────────── */
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.18;
  filter: grayscale(0.3) contrast(1.05);
  transform: scale(1.08);
  will-change: transform;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 0%, rgba(12,24,48,0.4) 50%, var(--navy-900) 100%),
    linear-gradient(180deg, rgba(12,24,48,0.4) 0%, transparent 30%, transparent 70%, var(--navy-900) 100%);
}

/* ── Trusted-by / Logos marquee ────────────────────────────── */
.marquee-section {
  background: var(--navy-900);
  padding-block: 56px 64px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.marquee-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 32px;
}
.marquee {
  display: flex;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 56px;
  flex-shrink: 0;
  padding-right: 56px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
.marquee-item {
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  font-family: system-ui, -apple-system, sans-serif;
  white-space: nowrap;
  transition: color var(--transition);
  flex-shrink: 0;
}
.marquee-item:hover { color: var(--gold-300); }
.marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 12px rgba(196,130,14,0.5);
  flex-shrink: 0;
}

/* ── Real teaser photo (replaces placeholder) ─────────────── */
.teaser-photo.with-image {
  background: none;
  aspect-ratio: 4/5;
  border: 1px solid rgba(196,130,14,0.18);
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(196,130,14,0.1);
}
.teaser-photo.with-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.teaser-photo.with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12,24,48,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
.teaser-photo.with-image:hover img {
  transform: scale(1.05);
}
.teaser-photo.with-image .photo-badge {
  z-index: 2;
}

/* Decorative gold corner accents on teaser photo */
.teaser-photo.with-image::after {
  content: "";
  position: absolute;
  top: -8px; left: -8px;
  width: 56px; height: 56px;
  border-top: 2px solid var(--gold-400);
  border-left: 2px solid var(--gold-400);
  z-index: 2;
  border-top-left-radius: var(--radius-xl);
}
.teaser-photo-corner {
  position: absolute;
  bottom: -8px; right: -8px;
  width: 56px; height: 56px;
  border-bottom: 2px solid var(--gold-400);
  border-right: 2px solid var(--gold-400);
  z-index: 2;
  border-bottom-right-radius: var(--radius-xl);
}

/* ── Magnetic buttons ─────────────────────────────────────── */
.btn[data-magnetic] {
  will-change: transform;
}

/* ── 3D Tilt cards ────────────────────────────────────────── */
[data-tilt] {
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease;
  will-change: transform;
}
[data-tilt] > * {
  transform: translateZ(0);
}
[data-tilt] .why-icon,
[data-tilt] .card-icon,
[data-tilt] .pillar-icon,
[data-tilt] .philosophy-num {
  transform: translateZ(40px);
  transition: transform 0.4s ease;
}

/* ── Split text reveal ────────────────────────────────────── */
.split-line {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.split-line > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(0.22,1,0.36,1);
  will-change: transform;
}
.split-line.in > span {
  transform: translateY(0);
}

/* ── Image reveal mask ────────────────────────────────────── */
.reveal-img {
  position: relative;
  overflow: hidden;
}
.reveal-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-500);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 1.1s cubic-bezier(0.77,0,0.18,1);
  z-index: 3;
}
.reveal-img.in::after {
  transform: scaleX(0);
  transform-origin: left;
}

/* ── About: Carlos action photo block ─────────────────────── */
.about-hero-photo {
  background: var(--navy-900);
  padding-block: 0 96px;
  position: relative;
}
.about-photo-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 21/9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 32px 96px rgba(0,0,0,0.55), 0 0 0 1px rgba(196,130,14,0.12);
}
.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 1.2s cubic-bezier(0.22,1,0.36,1);
}
.about-photo-wrap:hover img {
  transform: scale(1.04);
}
.about-photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(12,24,48,0.7) 100%);
  pointer-events: none;
}
.about-photo-caption {
  position: absolute;
  bottom: 32px;
  left: 36px;
  right: 36px;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.about-photo-caption .quote {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 600px;
  font-style: italic;
}
.about-photo-caption .quote::before {
  content: "“";
  font-size: 2.4em;
  line-height: 0;
  color: var(--gold-400);
  vertical-align: -0.4em;
  margin-right: 6px;
  font-family: Georgia, serif;
}
.about-photo-caption .attr {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-300);
}

/* ── Stat number on featured photo ────────────────────────── */
.photo-stats-overlay {
  position: absolute;
  top: 32px;
  right: 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.photo-stat-pill {
  background: rgba(12,24,48,0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(196,130,14,0.3);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-300);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Hero photo entrance ──────────────────────────────────── */
.hero .container { z-index: 2; }
.hero-photo { z-index: 1; }
.hero-bg { z-index: 0; }

/* ── Floating ball decoration ─────────────────────────────── */
.floating-ball {
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, #ddd 40%, #888 100%);
  box-shadow:
    inset -10px -14px 24px rgba(0,0,0,0.5),
    0 24px 48px rgba(0,0,0,0.6),
    0 0 40px rgba(196,130,14,0.2);
  opacity: 0.6;
  pointer-events: none;
  z-index: 1;
  animation: ballFloat 8s ease-in-out infinite;
}
.floating-ball::before,
.floating-ball::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      transparent 0deg, #111 8deg, transparent 16deg,
      transparent 60deg, #111 68deg, transparent 76deg,
      transparent 120deg, #111 128deg, transparent 136deg,
      transparent 180deg, #111 188deg, transparent 196deg,
      transparent 240deg, #111 248deg, transparent 256deg,
      transparent 300deg, #111 308deg, transparent 316deg);
  opacity: 0.4;
  mix-blend-mode: multiply;
}
@keyframes ballFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-30px) rotate(180deg); }
}

/* ── Form error banner ────────────────────────────────────── */
.form-error-banner {
  background: rgba(220, 60, 60, 0.1);
  border: 1px solid rgba(220, 60, 60, 0.35);
  color: #ffb3b3;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  line-height: 1.55;
}
.form-error-banner a {
  color: var(--gold-300);
  text-decoration: underline;
  font-weight: 700;
}
.form-error-banner a:hover { color: var(--gold-400); }

/* ── Pricing modal ────────────────────────────────────────── */
.pricing-card { cursor: pointer; }
.pricing-card .btn { cursor: pointer; }
.pricing-card .pkg-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-300);
  margin-top: 16px;
  transition: gap var(--transition);
}
.pricing-card:hover .pkg-more { gap: 12px; }
.pkg-more svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}
body.modal-open { overflow: hidden; }

.modal {
  background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border: 1px solid rgba(196,130,14,0.25);
  border-radius: var(--radius-xl);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 96px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
}
.modal-backdrop.open .modal { transform: scale(1) translateY(0); }

.modal::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
  z-index: 1;
}
.modal-close:hover {
  background: var(--gold-500);
  transform: rotate(90deg);
}
.modal-close svg {
  width: 18px;
  height: 18px;
  stroke: var(--white);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
}
.modal-close:hover svg { stroke: var(--navy-900); }

.modal-content {
  padding: 52px 48px 48px;
}
.modal-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  background: rgba(196,130,14,0.1);
  border: 1px solid rgba(196,130,14,0.25);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  margin-bottom: 18px;
}
.modal h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}
.modal-price-line {
  font-size: 1rem;
  color: var(--gold-300);
  font-weight: 700;
  margin-bottom: 24px;
}
.modal-section {
  margin-top: 28px;
}
.modal-section h3 {
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-section h3::before {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold-500);
  flex-shrink: 0;
}
.modal-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.7);
  max-width: none;
}
.modal-section ul {
  list-style: none;
  margin-top: 8px;
  display: grid;
  gap: 8px;
}
.modal-section ul li {
  position: relative;
  padding-left: 22px;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
}
.modal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
}
.modal-cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.modal-cta .btn { flex: 1; min-width: 180px; }

@media (max-width: 600px) {
  .modal-content { padding: 44px 24px 28px; }
  .modal { max-height: 92vh; }
}

/* ── Section divider lines ────────────────────────────────── */
.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196,130,14,0.3), transparent);
  margin-block: 0;
}

/* ── Better focus rings ───────────────────────────────────── */
*:focus-visible {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── Custom scrollbar (webkit) ────────────────────────────── */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-500), var(--navy-700));
  border-radius: 10px;
  border: 2px solid var(--dark);
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--gold-400), var(--navy-800));
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none; }
  .floating-ball { animation: none; }
}

/* ── Mobile: kill custom cursor, simplify ─────────────────── */
@media (max-width: 900px) {
  .about-photo-caption {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }
  .photo-stats-overlay {
    top: 16px;
    right: 16px;
  }
  .photo-stat-pill {
    padding: 6px 12px;
    font-size: 0.7rem;
  }
  .marquee-track { gap: 56px; padding-right: 56px; }
  .marquee-item img { height: 36px; }
}

/* ============================================================
   FINAL MOBILE OVERRIDES (must stay last for cascade)
   These rules win over earlier conflicting v3.0 mobile blocks.
   Only affect ≤700px — desktop untouched.
   ============================================================ */
@media (max-width: 700px) {
  /* About hero photo: tall portrait ratio on mobile */
  .about-hero-photo {
    padding-block: 40px 56px;
  }
  .about-photo-wrap {
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  }
  .about-photo-wrap img {
    object-position: center 25%;
  }

  /* Pills: pinned to BOTTOM, horizontal row, never stacked */
  .photo-stats-overlay {
    position: absolute !important;
    top: auto !important;
    bottom: 14px !important;
    left: 14px !important;
    right: 14px !important;
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    z-index: 3;
  }
  .photo-stat-pill {
    padding: 5px 11px !important;
    font-size: 0.6rem !important;
    letter-spacing: 0.06em !important;
    background: rgba(12,24,48,0.85) !important;
  }

  /* Quote caption: move OUT of the photo, below it */
  .about-photo-caption {
    position: static !important;
    margin-top: 22px !important;
    padding: 0 4px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 8px !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  .about-photo-caption .quote {
    font-size: 1rem;
    max-width: 100%;
    line-height: 1.5;
    color: var(--white);
  }
  .about-photo-caption .attr {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  /* Kill bottom-gradient over photo on mobile so it doesn't darken the bottom */
  .about-photo-wrap::after {
    background: linear-gradient(180deg, transparent 70%, rgba(12,24,48,0.6) 100%) !important;
  }

  /* Mobile lang toggle — must override the default display:none defined later in source */
  .nav-mobile-lang {
    display: block !important;
    margin-top: 20px !important;
    padding: 16px 20px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
  }
  .nav-mobile-lang .lang-toggle {
    display: flex !important;
    width: 100%;
    justify-content: center;
    padding: 4px;
  }
  .nav-mobile-lang .lang-toggle button {
    flex: 1;
    padding: 10px 0;
    font-size: 0.85rem;
  }
}
