/* ================================================
   KALEDO MENTORS — Design System
   Antigravity Web Design | v1.0
   ================================================ */

/* ===== 1. DESIGN TOKENS ===== */
:root {
  /* Brand Colors */
  --color-primary: #F87D84;
  --color-primary-light: #FFB5B9;
  --color-primary-dark: #D9565E;
  --color-secondary: #5BB8F5;
  --color-secondary-light: #A8D8FF;
  --color-accent: #4ECDC4;
  --color-accent-dark: #2E9E96;

  /* Neutrals */
  --color-white: #FFFFFF;
  --color-off-white: #F8F9FF;
  --color-light: #F1F3F9;
  --color-border: #E8ECF4;
  --color-border-light: #F0F3FA;
  --color-dark: #1A1D2E;
  --color-text: #2D3142;
  --color-text-medium: #4A5568;
  --color-text-light: #8896A8;

  /* Gradients */
  --grad-hero: linear-gradient(140deg, #FFFFFF 0%, #F4F6FF 50%, #FFF0F1 100%);
  --grad-primary: linear-gradient(135deg, #F87D84 0%, #FFB347 100%);
  --grad-secondary: linear-gradient(135deg, #5BB8F5 0%, #4ECDC4 100%);
  --grad-dark: linear-gradient(135deg, #1A1D2E 0%, #2D3142 100%);

  /* Typography */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing Scale */
  --sp-1: 0.25rem;   --sp-2: 0.5rem;    --sp-3: 0.75rem;
  --sp-4: 1rem;      --sp-5: 1.25rem;   --sp-6: 1.5rem;
  --sp-8: 2rem;      --sp-10: 2.5rem;   --sp-12: 3rem;
  --sp-16: 4rem;     --sp-20: 5rem;     --sp-24: 6rem;
  --sp-32: 8rem;

  /* Radii */
  --r-sm: 8px;   --r-md: 12px;  --r-lg: 16px;
  --r-xl: 24px;  --r-2xl: 32px; --r-full: 9999px;

  /* Shadows */
  --sh-xs: 0 1px 4px rgba(0,0,0,0.05);
  --sh-sm: 0 4px 12px rgba(0,0,0,0.06);
  --sh-md: 0 8px 28px rgba(0,0,0,0.08);
  --sh-lg: 0 16px 48px rgba(0,0,0,0.10);
  --sh-xl: 0 24px 72px rgba(0,0,0,0.12);
  --sh-primary: 0 8px 32px rgba(248,125,132,0.28);
  --sh-secondary: 0 8px 32px rgba(91,184,245,0.25);

  /* Transitions */
  --tr-fast: 0.18s ease;
  --tr-normal: 0.3s ease;
  --tr-slow: 0.5s cubic-bezier(0.4,0,0.2,1);

  /* Z-index */
  --z-nav: 1000;
  --z-overlay: 1500;
  --z-modal: 2000;
  --z-toast: 3000;
}

/* ===== 2. 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: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ===== 3. TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-dark);
}
h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 300; letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 300; letter-spacing: -0.5px; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 500; }
h4 { font-size: 1.125rem; font-weight: 600; }
p { line-height: 1.8; color: var(--color-text-medium); }

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

/* ===== 4. LAYOUT ===== */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--sp-8); }
.container-sm { max-width: 880px; margin: 0 auto; padding: 0 var(--sp-8); }
.section { padding: var(--sp-24) 0; }
.section-alt { padding: var(--sp-24) 0; background: var(--color-off-white); }

/* ===== 5. NAVIGATION ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: var(--sp-5) 0;
  transition: background var(--tr-normal), box-shadow var(--tr-normal), padding var(--tr-normal);
}
.nav.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--color-border), var(--sh-sm);
  padding: var(--sp-3) 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--color-primary); }
.nav-links { display: flex; align-items: center; gap: var(--sp-8); }
.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-medium);
  transition: color var(--tr-fast);
  position: relative;
  padding: var(--sp-1) 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--color-primary);
  border-radius: var(--r-full);
  transition: width var(--tr-normal);
}
.nav-link:hover, .nav-link.active { color: var(--color-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: var(--sp-2); }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--color-dark); border-radius: var(--r-full); transition: all var(--tr-normal); }

/* Mobile overlay */
.nav-mobile {
  display: none; position: fixed; inset: 0;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(24px);
  z-index: var(--z-overlay);
  flex-direction: column; align-items: center; justify-content: center;
  gap: var(--sp-6);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link { font-size: 2rem; font-weight: 300; font-family: var(--font-heading); }
.nav-mobile-close {
  position: absolute; top: var(--sp-6); right: var(--sp-6);
  font-size: 1.5rem; cursor: pointer; color: var(--color-text-medium);
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-full); background: var(--color-light);
  transition: all var(--tr-fast);
}
.nav-mobile-close:hover { background: rgba(248,125,132,0.1); color: var(--color-primary); }

/* ===== 6. BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-2); padding: 14px 32px;
  border-radius: var(--r-md); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.2px; transition: all var(--tr-normal);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn-primary {
  background: var(--grad-primary); color: var(--color-white);
  box-shadow: var(--sh-primary);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 40px rgba(248,125,132,0.42); }
.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  background: var(--color-white); color: var(--color-dark);
  border: 1.5px solid var(--color-border); box-shadow: var(--sh-sm);
}
.btn-secondary:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--color-primary); color: var(--color-primary); }

.btn-ghost { background: transparent; color: var(--color-text-medium); padding: 14px 20px; }
.btn-ghost:hover { color: var(--color-primary); }

.btn-dark { background: var(--grad-dark); color: var(--color-white); }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }

.btn-outline-white {
  background: transparent; color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.6); }

.btn-lg { padding: 18px 48px; font-size: 1rem; border-radius: var(--r-lg); }
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

/* ===== 7. HERO ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: var(--grad-hero); position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: ''; position: absolute; top: -20%; right: -5%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(248,125,132,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -30%; left: -10%;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,184,245,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-16); align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(248,125,132,0.1); border: 1px solid rgba(248,125,132,0.25);
  border-radius: var(--r-full); padding: var(--sp-2) var(--sp-4);
  font-size: 0.8rem; font-weight: 600; color: var(--color-primary-dark);
  margin-bottom: var(--sp-6);
}
.hero-badge-dot { width: 8px; height: 8px; background: var(--color-primary); border-radius: 50%; }
.hero-title { margin-bottom: var(--sp-6); }
.hero-subtitle {
  font-size: 1.1rem; line-height: 1.9; color: var(--color-text-medium);
  margin-bottom: var(--sp-8); max-width: 520px;
}
.hero-actions { display: flex; align-items: center; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-10); }
.hero-trust { display: flex; align-items: center; gap: var(--sp-6); flex-wrap: wrap; }
.hero-trust-item { display: flex; align-items: center; gap: var(--sp-2); font-size: 0.82rem; color: var(--color-text-medium); }
.hero-trust-item strong { color: var(--color-dark); }
.stars { color: #FFB800; letter-spacing: 1px; font-size: 0.85rem; }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-img {
  width: 90%; max-width: 520px;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.08));
}
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  will-change: transform;
}
.hero-orb-1 {
  width: 90px; height: 90px; top: 5%; right: 5%;
  background: linear-gradient(135deg, rgba(248,125,132,0.35), rgba(255,179,71,0.25));
}
.hero-orb-2 {
  width: 55px; height: 55px; bottom: 15%; left: 0%;
  background: linear-gradient(135deg, rgba(91,184,245,0.35), rgba(78,205,196,0.25));
}
.hero-orb-3 {
  width: 28px; height: 28px; top: 45%; right: 8%;
  background: rgba(78,205,196,0.55);
}
.float-card {
  position: absolute; background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px); border: 1px solid var(--color-border);
  border-radius: var(--r-md); padding: var(--sp-3) var(--sp-4);
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: var(--sp-3);
  white-space: nowrap;
}
.float-card-1 { top: 8%; right: -8%; }
.float-card-2 { bottom: 15%; left: -12%; }
.float-card-icon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.float-card-title { font-size: 0.78rem; font-weight: 700; color: var(--color-dark); }
.float-card-sub { font-size: 0.72rem; color: var(--color-text-light); margin-top: 1px; }

/* ===== 8. SECTION HEADER ===== */
.section-header { text-align: center; margin-bottom: var(--sp-16); }
.tag {
  display: inline-block; background: rgba(248,125,132,0.1);
  color: var(--color-primary-dark); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: var(--sp-1) var(--sp-4); border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}
.tag-blue { background: rgba(91,184,245,0.1); color: #2980B9; }
.tag-mint { background: rgba(78,205,196,0.1); color: #2E9E96; }
.section-title { margin-bottom: var(--sp-4); }
.section-sub { font-size: 1.05rem; color: var(--color-text-medium); max-width: 580px; margin: 0 auto; line-height: 1.8; }

/* ===== 9. STATS ===== */
.stats-bar {
  padding: var(--sp-16) 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
.stat-item { text-align: center; padding: var(--sp-6) var(--sp-4); }
.stat-num {
  font-family: var(--font-heading); font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800; color: var(--color-dark); line-height: 1; margin-bottom: var(--sp-2);
}
.stat-num em { font-style: normal; color: var(--color-primary); }
.stat-label { font-size: 0.82rem; color: var(--color-text-light); letter-spacing: 0.3px; }

/* ===== 9b. ENTITY SUMMARY (GEO — AI-readable paragraph) ===== */
.entity-summary {
  background: linear-gradient(135deg, rgba(248,125,132,0.06) 0%, rgba(91,184,245,0.06) 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 0;
}
.entity-summary-text {
  font-size: 0.9rem; line-height: 1.85; color: var(--color-text-medium);
  text-align: center; max-width: 900px; margin: 0 auto;
}
.entity-summary-text strong { color: var(--color-dark); font-weight: 700; }
@media (max-width: 767px) { .entity-summary-text { font-size: 0.82rem; text-align: left; } }

/* ===== 10. LOGO STRIP (legacy) ===== */
.logos-strip { padding: var(--sp-16) 0; background: var(--color-light); }
.logos-heading {
  text-align: center; font-size: 0.72rem; color: var(--color-text-light);
  letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  margin-bottom: var(--sp-8);
}
.logos-row { display: flex; align-items: center; justify-content: center; gap: var(--sp-12); flex-wrap: wrap; }
.logo-pill {
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800;
  color: var(--color-text-light); opacity: 0.4; letter-spacing: -0.5px;
  transition: opacity var(--tr-normal);
}
.logo-pill:hover { opacity: 0.75; }

/* ===== 10a. TRUST STRIP (boards + registrations) ===== */
.trust-strip { padding: 2.5rem 0; background: var(--color-white); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.trust-inner { display: flex; align-items: flex-start; gap: 2.5rem; flex-wrap: wrap; justify-content: center; }
.trust-block { display: flex; flex-direction: column; align-items: center; gap: 1rem; flex: 1; min-width: 260px; }
.trust-block-label { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; color: var(--color-text-light); margin: 0; }
.trust-divider { width: 1px; background: var(--color-border); align-self: stretch; min-height: 80px; }

/* Board logo pills */
.board-logos-row { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.board-logo-pill {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0.55rem 1rem; border-radius: var(--r-md);
  border: 2px solid; min-width: 72px; cursor: default;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
}
.board-logo-pill:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.1); }
.blp-abbr { font-family: var(--font-heading); font-size: 1rem; font-weight: 800; line-height: 1; letter-spacing: -0.5px; }
.blp-name { font-size: 0.6rem; font-weight: 500; letter-spacing: 0.3px; opacity: 0.75; margin-top: 2px; white-space: nowrap; }

.blp-ksb  { border-color: #16a34a; background: #f0fdf4; }
.blp-ksb .blp-abbr { color: #15803d; }
.blp-ksb .blp-name { color: #15803d; }

.blp-cbse { border-color: #1d4ed8; background: #eff6ff; }
.blp-cbse .blp-abbr { color: #1e40af; }
.blp-cbse .blp-name { color: #1e40af; }

.blp-icse { border-color: #7e22ce; background: #faf5ff; }
.blp-icse .blp-abbr { color: #6b21a8; }
.blp-icse .blp-name { color: #6b21a8; }

.blp-igcse { border-color: #0e7490; background: #ecfeff; }
.blp-igcse .blp-abbr { color: #0e7490; }
.blp-igcse .blp-name { color: #0e7490; }

.blp-iame { border-color: #b45309; background: #fffbeb; }
.blp-iame .blp-abbr { color: #92400e; }
.blp-iame .blp-name { color: #92400e; }

/* Registration badges */
.reg-badges-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.reg-badge-card {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1.1rem; border-radius: var(--r-md);
  border: 1.5px solid; background: var(--color-white);
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
}
.reg-badge-card:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(0,0,0,0.1); }

.reg-badge-logo {
  position: relative; width: 44px; height: 44px; border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden;
}
.reg-logo-text { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 800; line-height: 1; position: relative; z-index: 1; }
.reg-logo-sub { font-size: 0.5rem; font-weight: 600; display: block; position: relative; z-index: 1; text-align: center; margin-top: 1px; }
.reg-badge-info { display: flex; flex-direction: column; gap: 1px; }
.reg-badge-info strong { font-size: 0.85rem; font-weight: 700; color: var(--color-dark); }
.reg-badge-info span { font-size: 0.68rem; color: var(--color-text-light); }

.reg-msme { border-color: #1e40af; }
.reg-msme .reg-badge-logo { background: #1e40af; }
.reg-msme .reg-logo-text { color: #fff; font-size: 0.9rem; }
.reg-msme .reg-logo-sub { color: #bfdbfe; }

.reg-startup { border-color: #ea580c; }
.startup-flag { background: #fff; border: 1px solid #e5e7eb; }
.flag-stripe { position: absolute; left: 0; right: 0; height: 33.3%; }
.s1 { top: 0; background: #FF9933; }
.s2 { top: 33.3%; background: #fff; }
.s3 { bottom: 0; background: #138808; }
.startup-text { color: #ea580c; font-size: 0.75rem; }

/* ===== 10b. PROGRAMMES GRID ===== */
.prog-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--sp-8);
  margin-top: 2.5rem;
}
.prog-card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--r-xl); padding: 1.5rem 1.25rem;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
  border-top: 3px solid transparent;
}
.prog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prog-icon { font-size: 1.75rem; margin-bottom: 0.75rem; line-height: 1; }
.prog-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--color-dark); margin-bottom: 0.4rem; line-height: 1.3; }
.prog-card p { font-size: 0.78rem; color: var(--color-text-medium); line-height: 1.6; margin: 0; }

.prog-academic { border-top-color: var(--color-primary); }
.prog-lang     { border-top-color: var(--color-secondary); }
.prog-religion { border-top-color: #10b981; }
.prog-exam     { border-top-color: var(--color-accent); }

@media (max-width: 1199px) { .prog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  {
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { flex-direction: column; align-items: center; }
  .trust-divider { width: 80%; height: 1px; min-height: unset; align-self: auto; }
  .trust-block { min-width: unset; width: 100%; }
}

/* ===== 11. FEATURE CARDS ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.feature-card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--r-xl); padding: var(--sp-10) var(--sp-8);
  text-align: center; box-shadow: var(--sh-md);
  transition: all var(--tr-normal); position: relative; overflow: hidden;
}
.feature-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-primary); opacity: 0; transition: opacity var(--tr-normal);
}
.feature-card:hover::after { opacity: 1; }
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--sh-xl); border-color: transparent; }
.feature-icon {
  width: 72px; height: 72px; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto var(--sp-6);
}
.ic-coral { background: rgba(248,125,132,0.1); }
.ic-blue { background: rgba(91,184,245,0.1); }
.ic-mint { background: rgba(78,205,196,0.1); }
.ic-purple { background: rgba(147,112,219,0.1); }
.ic-orange { background: rgba(255,179,71,0.1); }
.ic-green { background: rgba(72,199,142,0.1); }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: var(--sp-3); color: var(--color-dark); }
.feature-card p { font-size: 0.875rem; line-height: 1.75; }

/* ===== 12. HOW IT WORKS ===== */
.steps-wrapper { position: relative; }
.steps-line {
  position: absolute; top: 40px; left: 16.5%; right: 16.5%; height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  z-index: 0;
}
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); position: relative; z-index: 1; }
.step-card { text-align: center; padding: 0 var(--sp-6); }
.step-num {
  width: 80px; height: 80px; background: var(--grad-primary);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800;
  color: var(--color-white); margin: 0 auto var(--sp-6);
  box-shadow: var(--sh-primary); border: 4px solid var(--color-white);
}
.step-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: var(--sp-3); }
.step-card p { font-size: 0.875rem; line-height: 1.75; max-width: 240px; margin: 0 auto; }

/* ===== 13. TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); }
.testimonial-card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--r-xl); padding: var(--sp-8);
  box-shadow: var(--sh-md); transition: all var(--tr-normal); position: relative;
}
.testimonial-card.featured {
  background: linear-gradient(140deg, #FFF5F6 0%, #F5EEFF 100%);
  border-color: rgba(248,125,132,0.2);
}
.testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }
.t-quote { font-size: 2.5rem; color: var(--color-primary); line-height: 1; font-family: Georgia, serif; margin-bottom: var(--sp-3); }
.t-stars { display: flex; color: #FFB800; font-size: 0.85rem; gap: 2px; margin-bottom: var(--sp-4); }
.t-text { font-size: 0.9rem; line-height: 1.85; font-style: italic; margin-bottom: var(--sp-6); }
.t-author { display: flex; align-items: center; gap: var(--sp-3); }
.t-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700;
  color: var(--color-white); flex-shrink: 0;
}
.av-coral { background: var(--grad-primary); }
.av-blue { background: var(--grad-secondary); }
.av-mint { background: linear-gradient(135deg, #4ECDC4, #44A08D); }
.t-name { font-size: 0.875rem; font-weight: 700; color: var(--color-dark); }
.t-role { font-size: 0.75rem; color: var(--color-text-light); }

/* ===== 14. CTA BANNER ===== */
.cta-banner {
  padding: var(--sp-24) 0;
  background: var(--grad-dark); position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -50%; right: -5%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(248,125,132,0.15) 0%, transparent 65%); border-radius: 50%;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -50%; left: -5%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(91,184,245,0.1) 0%, transparent 65%); border-radius: 50%;
}
.cta-inner { text-align: center; position: relative; z-index: 1; }
.cta-banner h2 { color: var(--color-white); margin-bottom: var(--sp-4); font-weight: 300; }
.cta-banner > .cta-inner > p { color: rgba(255,255,255,0.65); font-size: 1.1rem; margin-bottom: var(--sp-8); }
.cta-actions { display: flex; align-items: center; justify-content: center; gap: var(--sp-4); flex-wrap: wrap; }
.cta-note { margin-top: var(--sp-4); font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.cta-urgency {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: rgba(248,125,132,0.15); border: 1px solid rgba(248,125,132,0.3);
  border-radius: var(--r-full); padding: var(--sp-2) var(--sp-4);
  font-size: 0.8rem; font-weight: 600; color: var(--color-primary-light);
  margin-bottom: var(--sp-6);
}

/* ===== 15. PRICING ===== */
.pricing-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-4); margin-bottom: var(--sp-16);
}
.toggle-label { font-size: 0.875rem; font-weight: 500; color: var(--color-text-medium); }
.toggle-track {
  width: 52px; height: 28px; background: var(--grad-primary);
  border-radius: var(--r-full); position: relative; cursor: pointer;
  transition: all var(--tr-normal);
}
.toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  background: white; border-radius: 50%; transition: left var(--tr-normal);
  box-shadow: var(--sh-sm);
}
.toggle-track.yearly .toggle-thumb { left: 27px; }
.save-badge {
  display: inline-block; background: rgba(78,205,196,0.15); color: #1F7A74;
  font-size: 0.72rem; font-weight: 700; padding: 2px 10px; border-radius: var(--r-full);
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-8); align-items: start; }
.pricing-card {
  background: var(--color-white); border: 1.5px solid var(--color-border);
  border-radius: var(--r-xl); padding: var(--sp-10);
  box-shadow: var(--sh-md); transition: all var(--tr-normal); position: relative;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--sh-xl); }
.pricing-card.popular { border-color: var(--color-primary); box-shadow: var(--sh-primary); transform: scale(1.04); }
.pricing-card.popular:hover { transform: scale(1.04) translateY(-8px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-primary); color: white; font-size: 0.72rem;
  font-weight: 700; padding: 4px 20px; border-radius: var(--r-full); white-space: nowrap;
}
.pricing-name { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--color-text-light); margin-bottom: var(--sp-4); }
.pricing-amount-wrap { display: flex; align-items: flex-start; gap: 4px; margin-bottom: var(--sp-2); }
.pricing-dollar { font-size: 1.25rem; font-weight: 500; margin-top: 10px; }
.pricing-amount { font-family: var(--font-heading); font-size: 4rem; font-weight: 800; line-height: 1; transition: all var(--tr-normal); }
.pricing-period { font-size: 0.8rem; color: var(--color-text-light); align-self: flex-end; margin-bottom: 8px; }
.pricing-desc { font-size: 0.85rem; color: var(--color-text-medium); margin-bottom: var(--sp-6); line-height: 1.6; }
.pricing-divider { height: 1px; background: var(--color-border); margin: var(--sp-6) 0; }
.pricing-features-list { display: flex; flex-direction: column; gap: var(--sp-3); margin-bottom: var(--sp-8); }
.pricing-feat {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: 0.85rem; color: var(--color-text-medium);
}
.pf-icon { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 0.65rem; }
.pf-check { background: rgba(78,205,196,0.15); color: #1F7A74; }
.pf-cross { background: rgba(200,200,210,0.25); color: #bbb; }

/* ===== 16. FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--sp-4); }
.faq-item { border: 1px solid var(--color-border); border-radius: var(--r-lg); overflow: hidden; transition: border-color var(--tr-normal), box-shadow var(--tr-normal); }
.faq-item:hover { border-color: rgba(248,125,132,0.3); box-shadow: var(--sh-sm); }
.faq-item.open { border-color: rgba(248,125,132,0.35); box-shadow: var(--sh-sm); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-5) var(--sp-6); cursor: pointer;
  font-weight: 600; font-size: 0.95rem; color: var(--color-dark);
  transition: color var(--tr-fast); gap: var(--sp-4);
}
.faq-q:hover { color: var(--color-primary); }
.faq-toggle {
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--color-border); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; font-size: 1rem;
  color: var(--color-text-light); transition: all var(--tr-normal);
}
.faq-item.open .faq-toggle { background: var(--color-primary); border-color: var(--color-primary); color: white; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1), padding var(--tr-normal); }
.faq-item.open .faq-a { max-height: 300px; padding: 0 var(--sp-6) var(--sp-5); }
.faq-a p { font-size: 0.875rem; line-height: 1.85; }

/* ===== 17. CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: var(--sp-16); align-items: start; }
.contact-info-col { position: sticky; top: 100px; }
.contact-info-col h2 { margin-bottom: var(--sp-4); }
.contact-info-col > p { font-size: 1rem; margin-bottom: var(--sp-8); }
.contact-items { display: flex; flex-direction: column; gap: var(--sp-5); }
.contact-item { display: flex; align-items: flex-start; gap: var(--sp-4); }
.contact-item-icon { width: 44px; height: 44px; border-radius: var(--r-md); background: rgba(248,125,132,0.1); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item-text h4 { font-size: 0.875rem; font-weight: 700; margin-bottom: 2px; }
.contact-item-text p { font-size: 0.85rem; margin: 0; }
.contact-form-card { background: var(--color-white); border: 1px solid var(--color-border); border-radius: var(--r-xl); padding: var(--sp-12); box-shadow: var(--sh-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-group { margin-bottom: var(--sp-5); }
.form-label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--color-dark); margin-bottom: var(--sp-2); }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--color-border);
  border-radius: var(--r-md); font-size: 0.875rem; color: var(--color-dark);
  background: var(--color-off-white); transition: all var(--tr-fast); outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--color-primary); background: var(--color-white); box-shadow: 0 0 0 4px rgba(248,125,132,0.1); }
.form-textarea { resize: vertical; min-height: 130px; }
.form-submit { width: 100%; padding: 18px; font-size: 1rem; }
.form-note { font-size: 0.75rem; color: var(--color-text-light); text-align: center; margin-top: var(--sp-3); }

/* ===== 18. PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 160px 0 96px; background: var(--grad-hero);
  text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; top: -30%; right: -8%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(248,125,132,0.07) 0%, transparent 65%); border-radius: 50%;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-2); margin-bottom: var(--sp-6);
  font-size: 0.8rem; color: var(--color-text-light);
}
.breadcrumb a { color: var(--color-primary); transition: opacity var(--tr-fast); }
.breadcrumb a:hover { opacity: 0.75; }
.breadcrumb-sep { color: var(--color-border); }
.page-hero h1 { margin-bottom: var(--sp-6); font-weight: 300; }
.page-hero .lead { font-size: 1.15rem; max-width: 620px; margin: 0 auto var(--sp-8); }

/* ===== 19. ABOUT PAGE ===== */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
.story-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xl); }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin-top: var(--sp-8); }
.mini-stat { background: var(--color-light); border-radius: var(--r-lg); padding: var(--sp-5); text-align: center; }
.mini-stat-num { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 800; color: var(--color-primary); }
.mini-stat-label { font-size: 0.78rem; color: var(--color-text-light); }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); }
.value-card { text-align: center; padding: var(--sp-8) var(--sp-4); }
.value-icon { font-size: 3rem; margin-bottom: var(--sp-4); }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: var(--sp-2); }
.value-card p { font-size: 0.85rem; }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-8); }
.team-card {
  text-align: center; padding: var(--sp-6);
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--r-xl); box-shadow: var(--sh-sm); transition: all var(--tr-normal);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.team-avatar {
  width: 80px; height: 80px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-family: var(--font-heading); font-size: 1.5rem;
  font-weight: 800; color: white; margin: 0 auto var(--sp-4);
}
.team-name { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 0.75rem; color: var(--color-text-light); }

/* ===== 20. NEWSLETTER BAR ===== */
.newsletter-bar { padding: var(--sp-16) 0; background: var(--color-light); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8); flex-wrap: wrap; }
.newsletter-text h3 { font-size: 1.5rem; font-weight: 600; margin-bottom: var(--sp-1); }
.newsletter-text p { font-size: 0.875rem; margin: 0; }
.newsletter-form { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.newsletter-input {
  padding: 14px 20px; border: 1.5px solid var(--color-border);
  border-radius: var(--r-md); font-size: 0.875rem; outline: none;
  background: var(--color-white); min-width: 280px; color: var(--color-dark);
  transition: border-color var(--tr-fast);
}
.newsletter-input:focus { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(248,125,132,0.1); }

/* ===== 21. FOOTER ===== */
.footer { background: #13151F; color: rgba(255,255,255,0.65); padding: var(--sp-24) 0 var(--sp-8); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--sp-12); margin-bottom: var(--sp-16); }
.footer-brand .nav-logo { display: block; margin-bottom: var(--sp-4); color: white; font-size: 1.15rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.8; color: rgba(255,255,255,0.45); max-width: 280px; margin-bottom: var(--sp-6); }
.footer-social { display: flex; gap: var(--sp-3); }
.social-btn {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.5);
  transition: all var(--tr-normal);
}
.social-btn:hover { background: rgba(248,125,132,0.2); border-color: rgba(248,125,132,0.4); color: var(--color-primary-light); transform: translateY(-3px); }
.footer-col h4 { color: white; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.5px; margin-bottom: var(--sp-5); }
.footer-links { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-link { font-size: 0.85rem; color: rgba(255,255,255,0.45); transition: color var(--tr-fast); }
.footer-link:hover { color: var(--color-primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: var(--sp-8); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-4); }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); margin: 0; }
.footer-legal { display: flex; gap: var(--sp-5); }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.25); transition: color var(--tr-fast); }
.footer-legal a:hover { color: rgba(255,255,255,0.55); }

/* ===== 22. SCROLL TOP ===== */
.scroll-top {
  position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px;
  background: var(--grad-primary); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 18px; font-weight: 700;
  box-shadow: var(--sh-primary); z-index: 999;
  opacity: 0; transform: translateY(20px) scale(0.8);
  transition: all var(--tr-normal);
}
.scroll-top.visible { opacity: 1; transform: translateY(0) scale(1); }
.scroll-top:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 14px 40px rgba(248,125,132,0.5); }

/* ===== 23. TOAST ===== */
.toast {
  position: fixed; bottom: 28px; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #13151F; color: white; padding: var(--sp-4) var(--sp-8);
  border-radius: var(--r-full); font-size: 0.875rem; font-weight: 500;
  box-shadow: var(--sh-xl); z-index: var(--z-toast); white-space: nowrap;
  transition: transform var(--tr-slow);
}
.toast.visible { transform: translateX(-50%) translateY(0); }

/* ===== 24. PAGE LOADER ===== */
.page-loader {
  position: fixed; inset: 0; background: var(--color-white);
  z-index: 9999; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.gone { opacity: 0; visibility: hidden; }
.loader-brand { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--color-dark); }
.loader-brand span { color: var(--color-primary); }

/* ===== 25. UTILITIES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mt-4 { margin-top: var(--sp-4); }
.mt-6 { margin-top: var(--sp-6); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ===== 26. RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid { gap: var(--sp-8); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card.popular { transform: none; }
  .pricing-card.popular:hover { transform: translateY(-8px); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-col { position: static; }
  .story-grid { grid-template-columns: 1fr; }
}

/* ===== MOBILE (≤ 768px) ===== */
@media (max-width: 768px) {
  /* --- Global touch & tap --- */
  html { -webkit-tap-highlight-color: transparent; }
  button, a, [role="button"] { touch-action: manipulation; }

  /* --- Container --- */
  .container { padding: 0 1.125rem; }

  /* --- Nav --- */
  .nav-links, .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }

  /* --- Hero: hide image so CTA shows above fold --- */
  .hero { min-height: auto; padding: 96px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-visual { display: none; }
  .hero-subtitle { margin-left: auto; margin-right: auto; font-size: 1rem; }
  .hero-title { font-size: 2.1rem; margin-bottom: 1.25rem; }
  .float-card { display: none; }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1.5rem;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    display: flex;
  }
  .hero-trust { justify-content: center; gap: 1rem; flex-wrap: wrap; }
  .hero-trust-item { font-size: 0.78rem; }

  /* --- Page hero (landing pages) --- */
  .page-hero { padding: 104px 0 48px; }
  .page-hero h1 { font-size: 1.8rem; font-weight: 400; }
  .page-hero .lead { font-size: 0.95rem; margin-bottom: 1.5rem; }

  /* --- Section spacing --- */
  .section { padding: 3rem 0; }
  .section-alt { padding: 3rem 0; }
  .section-header { margin-bottom: 2rem; }
  .section-sub { font-size: 0.9rem; }
  .cta-banner { padding: 3rem 0; }

  /* --- CTA buttons: full-width stacked on mobile --- */
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
    display: flex;
  }
  .cta-banner h2 { font-size: 1.75rem; }

  /* --- Stats bar --- */
  .stats-bar { padding: 2rem 0; }
  .stat-item { padding: 0.875rem 0.5rem; }
  .stat-num { font-size: 1.9rem; }
  .stat-label { font-size: 0.75rem; }

  /* --- Logos strip --- */
  .logos-row { gap: 1.25rem; }
  .logo-pill { font-size: 0.9rem; }

  /* --- Feature cards --- */
  .features-grid { grid-template-columns: 1fr; gap: 1rem; }
  .feature-card { padding: 1.5rem 1.25rem; text-align: left; }
  .feature-icon { width: 52px; height: 52px; font-size: 22px; margin: 0 0 0.875rem; }

  /* --- Steps --- */
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-line { display: none; }
  .step-card { padding: 0; }
  .step-num { width: 64px; height: 64px; font-size: 1.3rem; margin-bottom: 1rem; }

  /* --- Testimonials --- */
  .testimonials-grid { grid-template-columns: 1fr; }
  .t-text { font-size: 0.875rem; }

  /* --- FAQ --- */
  .faq-q { padding: 1rem 1.125rem; font-size: 0.9rem; }
  .faq-item.open .faq-a { padding: 0 1.125rem 1rem; }

  /* --- Forms --- */
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.5rem; }

  /* --- Newsletter --- */
  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { justify-content: center; width: 100%; flex-direction: column; }
  .newsletter-input { min-width: 100%; }
  .newsletter-form .btn { width: 100%; justify-content: center; }

  /* --- Team / Values --- */
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .team-card { padding: 1.25rem 1rem; }
  .team-avatar { width: 60px; height: 60px; font-size: 1.2rem; }

  /* --- Footer --- */
  .footer { padding: 2.5rem 0 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
  .footer-brand p { max-width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-legal { justify-content: center; }

  /* --- Toast above mobile booking bar --- */
  .toast { bottom: 88px; font-size: 0.82rem; padding: 0.75rem 1.25rem; }

  /* --- Scroll-to-top: tuck beside the edge --- */
  .scroll-top { right: 1rem; bottom: 90px; width: 40px; height: 40px; font-size: 15px; }

  /* --- Pricing --- */
  .pricing-toggle { gap: 0.75rem; }
  .pricing-card { padding: 1.75rem 1.25rem; }
  .pricing-amount { font-size: 3.25rem; }
}

/* ===== SMALL MOBILE (≤ 480px) ===== */
@media (max-width: 480px) {
  /* --- Container tighter --- */
  .container { padding: 0 1rem; }

  /* --- Hero --- */
  .hero { padding: 88px 0 44px; }
  .hero-title { font-size: 1.85rem; }
  .hero-subtitle { font-size: 0.925rem; }
  .btn-lg { padding: 15px 24px; font-size: 0.9rem; }

  /* --- Page hero --- */
  .page-hero { padding: 90px 0 36px; }
  .page-hero h1 { font-size: 1.6rem; }

  /* --- Sections --- */
  .section { padding: 2.5rem 0; }
  .section-alt { padding: 2.5rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  .cta-banner { padding: 2.5rem 0; }
  .cta-banner h2 { font-size: 1.5rem; }

  /* --- Stats --- */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.65rem; }

  /* --- Feature cards --- */
  .feature-card { padding: 1.25rem 1rem; }
  .feature-icon { width: 44px; height: 44px; font-size: 20px; }

  /* --- Steps --- */
  .step-num { width: 56px; height: 56px; font-size: 1.2rem; }

  /* --- Team / values --- */
  .mini-stats { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  /* --- Section header text --- */
  .section-sub { font-size: 0.875rem; }

  /* --- Logos --- */
  .logo-pill { font-size: 0.8rem; }

  /* --- Footer compact --- */
  .footer { padding: 2rem 0 1.25rem; }
  .footer-grid { gap: 1.5rem; }
}

/* ===== 27. MOBILE PERFORMANCE & iOS ===== */
/* Smooth momentum scroll on iOS */
html { -webkit-overflow-scrolling: touch; }

/* Prevent pull-to-refresh interfering with the page */
body { overscroll-behavior-y: contain; }

/* Safe-area padding for iPhone notch / home indicator */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .mobile-booking-bar {
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    height: auto;
  }
  @media (max-width: 767px) {
    body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
    .toast { bottom: calc(88px + env(safe-area-inset-bottom)); }
    .scroll-top { bottom: calc(90px + env(safe-area-inset-bottom)); }
  }
}

/* ===== 28. ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }

/* ===== 29. SELECTION & SCROLLBAR ===== */
::selection { background: rgba(248,125,132,0.18); color: var(--color-dark); }
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--color-light); }
::-webkit-scrollbar-thumb { background: var(--color-border); border-radius: var(--r-full); }

@media (max-width: 767px) {
  .whatsapp-btn { display: none; }
  .scroll-cta { display: none; }
}

/* ===== 29a. WHATSAPP GREEN BUTTON ===== */
.btn-wa {
  background: #25D366;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  border-radius: var(--r-full);
}
.btn-wa:hover {
  background: #1fba59;
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
  transform: translateY(-2px);
}

/* ===== 29b. NAV CTA PULSE ===== */
@keyframes cta-glow {
  0%, 100% { box-shadow: var(--sh-primary); }
  50% { box-shadow: 0 0 0 5px rgba(248,125,132,0.22), var(--sh-primary); }
}
.nav-cta-pulse { animation: cta-glow 2.4s ease-in-out infinite; }

/* ===== 29c. BOOKING BUTTON WA ICON ===== */
.btn-booking-wa { display: inline-flex !important; align-items: center; justify-content: center; gap: 0.45rem; }

/* ===== 30. WHATSAPP STICKY BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 1400;
  transition: transform var(--tr-normal), box-shadow var(--tr-normal);
  text-decoration: none;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.scroll-top { right: 90px; }

/* ===== 29d. MOBILE DEMO STICKY BUTTON ===== */
.mobile-demo-btn {
  display: none;
}
@media (max-width: 767px) {
  .mobile-demo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: fixed;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: #25D366;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: var(--r-full);
    box-shadow: 0 6px 24px rgba(37,211,102,0.45);
    text-decoration: none;
    z-index: 1400;
    white-space: nowrap;
    animation: demo-bounce 2.5s ease-in-out infinite;
  }
  .mobile-demo-btn:active { transform: translateX(-50%) scale(0.96); }
  body { padding-bottom: 80px; }
}
@keyframes demo-bounce {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 10px 32px rgba(37,211,102,0.65); transform: translateX(-50%) translateY(-3px); }
}

/* ===== 30. SCROLL-TRIGGERED CTA ===== */
.scroll-cta {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 720px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  z-index: 1300;
  padding: 1rem 1.25rem;
  transition: bottom 0.4s cubic-bezier(0.4,0,0.2,1);
}
.scroll-cta.visible { bottom: 100px; }
.scroll-cta-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.scroll-cta-text { flex: 1; min-width: 180px; }
.scroll-cta-text strong {
  display: block;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  color: var(--color-dark);
  font-weight: 600;
}
.scroll-cta-text span { font-size: 0.8rem; color: var(--color-text-medium); }
.scroll-cta-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  border-radius: 50%;
  transition: background var(--tr-fast);
}
.scroll-cta-close:hover { background: var(--color-light); }
@media (max-width: 600px) {
  .scroll-cta.visible { bottom: 88px; }
  .scroll-cta-text span { display: none; }
}

/* ===== 31. EXIT-INTENT POPUP ===== */
.exit-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.exit-popup-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.exit-popup {
  background: var(--color-white);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--sh-xl);
  transform: scale(0.9) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.exit-popup-overlay.visible .exit-popup {
  transform: scale(1) translateY(0);
}
.exit-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 0.85rem;
  transition: background var(--tr-fast);
}
.exit-popup-close:hover { background: var(--color-light); }
.exit-popup-icon { font-size: 3rem; margin-bottom: 1rem; }
.exit-popup h2 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}
.exit-popup p { color: var(--color-text-medium); margin-bottom: 1.5rem; font-size: 0.95rem; }
.exit-popup-note { font-size: 0.78rem !important; color: var(--color-text-light) !important; margin-top: 1rem !important; margin-bottom: 0 !important; }
::-webkit-scrollbar-thumb:hover { background: var(--color-text-light); }

.nav-logo img { height: 40px; width: auto; display: block; }
.footer-brand .nav-logo img { height: 48px; }
