/* ================================================
   GUYVEN — STYLESHEET
   new.guyven.com → guyven.com
   ================================================ */

/* ------------------------------------------------
   1. DESIGN TOKENS
------------------------------------------------- */
:root {
  /* Colors — Cobalt & Vermillion */
  --clr-primary:     #0F3460;
  --clr-primary-mid: #1A4E8A;
  --clr-accent:      #F04E23;
  --clr-accent-dark: #C83A10;
  --clr-accent-light:#F5795A;
  --clr-bg:          #FFFFFF;
  --clr-bg-warm:     #EEF2F7;
  --clr-card:        #FFFFFF;
  --clr-text:        #111827;
  --clr-muted:       #4B5563;
  --clr-border:      #DDE3EC;
  --clr-white:       #FFFFFF;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:  'Inter', system-ui, -apple-system, sans-serif;

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

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.5rem;

  /* Radii — rounded & organic */
  --radius-sm:  10px;
  --radius-md:  20px;
  --radius-lg:  32px;
  --radius-xl:  48px;
  --radius-pill: 9999px;

  /* Shadows */
  --shadow-sm:  0 2px 8px  rgba(15, 52, 96, 0.07);
  --shadow-md:  0 6px 24px rgba(15, 52, 96, 0.11);
  --shadow-lg:  0 12px 48px rgba(15, 52, 96, 0.15);
  --shadow-glow: 0 0 40px rgba(240, 78, 35, 0.50);

  /* Transitions */
  --ease:        0.25s ease;
  --ease-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ------------------------------------------------
   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-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--clr-text);
  background-color: var(--clr-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

.skip-link {
  position: fixed;
  top: 0.5rem;
  left: 0.5rem;
  transform: translateY(-140%);
  z-index: 2100;
  background: #ffffff;
  color: var(--clr-primary);
  border: 2px solid var(--clr-accent);
  border-radius: 9999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--clr-primary);
}

/* ------------------------------------------------
   3. SCROLL ANIMATIONS
------------------------------------------------- */
.animate {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.6s ease,
              transform 0.6s var(--ease-spring);
}

.animate.in-view,
.animate-left.in-view,
.animate-scale.in-view {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.40s; }
.delay-5 { transition-delay: 0.50s; }
.delay-6 { transition-delay: 0.60s; }

/* ------------------------------------------------
   4. LAYOUT
------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--space-20); }
.section-light { background-color: var(--clr-bg); }
.section-warm  { background-color: var(--clr-bg-warm); }

/* Render below-the-fold blocks on demand for faster first paint. */
.section:not(.section-hero),
.stats-strip,
.page-header,
.blog-featured,
.blog-grid-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 920px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: 1.0625rem;
  color: var(--clr-muted);
  line-height: 1.7;
}

/* ------------------------------------------------
   5. WAVE DIVIDERS
------------------------------------------------- */
.wave-divider {
  line-height: 0;
  overflow: hidden;
  margin-bottom: -2px;
}

.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------------
   6. TYPOGRAPHY HELPERS
------------------------------------------------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-4);
}

/* ------------------------------------------------
   7. BUTTONS — pill-shaped
------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 0.75rem 1.625rem;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
              transform var(--ease-spring), box-shadow var(--ease);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

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

.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }

/* Primary */
.btn-primary {
  background-color: var(--clr-primary);
  color: var(--clr-white);
  border-color: var(--clr-primary);
}
.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(15, 52, 96, 0.35);
}

/* Accent */
.btn-accent {
  background-color: var(--clr-accent);
  color: var(--clr-white);
  border-color: var(--clr-accent);
}
.btn-accent:hover {
  background-color: var(--clr-accent-dark);
  border-color: var(--clr-accent-dark);
  box-shadow: var(--shadow-glow);
}

/* Outline dark */
.btn-outline {
  background-color: transparent;
  color: var(--clr-primary);
  border-color: var(--clr-primary);
}
.btn-outline:hover {
  background-color: var(--clr-primary);
  color: var(--clr-white);
}

/* Outline light */
.btn-outline-light {
  background-color: transparent;
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-light:hover {
  background-color: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

/* Sizes */
.btn-lg { padding: 1.0625rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.125rem;   font-size: 0.875rem; }

/* ------------------------------------------------
   8. NAVIGATION
   Architecture: Logo | [spacer] | CTA · Lang · ☰
   The hamburger opens a side drawer at ALL widths.
   This means the nav bar NEVER overflows regardless
   of language or screen size.
------------------------------------------------- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--ease), box-shadow var(--ease);
}

#site-header.scrolled {
  background-color: var(--clr-white);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 72px;
}

/* Logo */
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  line-height: 0;
  position: relative;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.logo-white { opacity: 1; }
.logo-blue  { opacity: 0; position: absolute; pointer-events: none; left: 0; }

#site-header.scrolled .logo-white { opacity: 0; pointer-events: none; }
#site-header.scrolled .logo-blue  { opacity: 1; position: static; pointer-events: auto; }

/* Footer logo */
.footer-logo { display: inline-flex; margin-bottom: var(--space-4); }
.footer-logo img { height: 32px; width: auto; }

/* ---- Always-visible right-side group ---- */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-left: auto;
}

/* Hamburger — always shown */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  min-width: 44px; min-height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--clr-white);
  border-radius: var(--radius-pill);
  transition: transform var(--ease), opacity var(--ease);
}

#site-header.scrolled .menu-toggle span { background: var(--clr-primary); }

.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Side-drawer navigation ---- */
.nav-links {
  /* Off-screen by default — slides in from right */
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 72px; right: 0; bottom: 0;
  width: min(340px, 92vw);
  background: var(--clr-white);
  padding: var(--space-8) var(--space-6);
  gap: 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -6px 0 40px rgba(15, 52, 96, 0.18);
  z-index: 999;
}

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

/* Backdrop overlay when drawer is open */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(15, 52, 96, 0.40);
  z-index: 998;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-backdrop.open { display: block; }

.nav-links li { width: 100%; }

.nav-links li a {
  display: flex;
  align-items: center;
  color: var(--clr-text);
  font-size: 1.0625rem;
  font-weight: 500;
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--ease), padding-left var(--ease);
  white-space: nowrap;
}

.nav-links li a:hover {
  color: var(--clr-accent);
  padding-left: var(--space-3);
}

.nav-links li:last-child a { border-bottom: none; }

/* ------------------------------------------------
   9. HERO
------------------------------------------------- */
@keyframes kenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(15, 52, 96, 0.35); }
  50%       { box-shadow: 0 6px 32px rgba(15, 52, 96, 0.55), var(--shadow-glow); }
}

.section-hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding-top: 72px;
  overflow: hidden;
  background-color: var(--clr-primary); /* fallback */
}

/* Ken Burns + parallax on hero photo via pseudo-element */
.section-hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center 30%;
  animation: kenBurns 16s ease-in-out alternate infinite;
  z-index: 0;
  transform: translateY(var(--parallax, 0px));
  will-change: transform;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(8, 20, 32, 0.85) 0%,
    rgba(8, 20, 32, 0.65) 55%,
    rgba(8, 20, 32, 0.30) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-18) var(--space-14);
  max-width: 760px;
}

.hero-content .eyebrow {
  animation: heroFadeUp 0.6s ease 0.2s both;
}

.hero-content h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  animation: heroFadeUp 0.7s ease 0.4s both;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: var(--space-8);
  animation: heroFadeUp 0.7s ease 0.6s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  animation: heroFadeUp 0.7s ease 0.8s both;
}

/* Pulsing glow on primary CTA */
.hero-actions .btn-primary {
  animation: heroFadeUp 0.7s ease 0.8s both, heroPulse 3s ease-in-out 1.5s infinite;
}

.social-proof-line {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  animation: heroFadeUp 0.7s ease 1.0s both;
}

.sp-number {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--clr-accent);
}

/* Wave at bottom of hero */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg { width: 100%; display: block; }

/* Floating plane panel */
.hero-flight-panel {
  position: absolute;
  top: calc(72px + var(--space-8));
  right: clamp(1rem, 5vw, 4rem);
  width: 98px;
  height: 98px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  z-index: 2;
  pointer-events: none;
  animation: float 8.5s ease-in-out infinite;
}

.hero-flight-scene {
  position: relative;
  width: 100%;
  height: 100%;
  background: transparent;
  overflow: visible;
}

.hero-flight-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-flight-path {
  fill: none;
  stroke: transparent;
}

.hero-flight-plane {
  transform-origin: 60px 60px;
  animation: planeDrift 5.2s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(240, 78, 35, 0.5));
}

@keyframes planeDrift {
  0%, 100% { transform: translate(0, 0) rotate(-16deg); }
  35% { transform: translate(10px, -8px) rotate(-8deg); }
  70% { transform: translate(-8px, 6px) rotate(-20deg); }
}

@media (max-width: 1080px) {
  .hero-flight-panel { display: none; }
}

/* ------------------------------------------------
   10. CARDS — FEATURE
------------------------------------------------- */
.cards-grid { display: grid; gap: var(--space-6); }
.three-col  { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--clr-border);
  transition: box-shadow var(--ease), transform var(--ease-spring);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.card-feature {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.card-featured {
  border-color: transparent;
  background: linear-gradient(var(--clr-card), var(--clr-card)) padding-box,
              linear-gradient(135deg, var(--clr-accent), #e8b565) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
}

.card-icon {
  width: 60px; height: 60px;
  background: rgba(240, 78, 35, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
  flex-shrink: 0;
  transition: background var(--ease), transform var(--ease-spring);
}

.card:hover .card-icon {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: rotate(-6deg) scale(1.08);
}

.card-feature h3 {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--clr-primary);
}

.card-feature p {
  font-size: 0.9375rem;
  color: var(--clr-muted);
  line-height: 1.7;
  flex: 1;
}

/* ------------------------------------------------
   11. SITUATION CARDS (expandable)
------------------------------------------------- */
.situation-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  max-width: 840px;
  margin-inline: auto;
}

.situation-card {
  background: var(--clr-card);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--ease), border-color var(--ease), transform var(--ease);
}

.situation-card[open] {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent);
  transform: scale(1.01);
}

.situation-card summary {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background var(--ease);
}

.situation-card summary::-webkit-details-marker { display: none; }
.situation-card summary:hover { background: rgba(240, 78, 35, 0.04); }
.situation-card[open] summary { border-bottom: 1px solid var(--clr-border); }

.situation-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-md);
  background: rgba(15, 52, 96, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-primary);
  flex-shrink: 0;
  transition: background var(--ease-spring), color var(--ease), transform var(--ease-spring);
}

.situation-card[open] .situation-icon {
  background: var(--clr-accent);
  color: var(--clr-white);
  transform: rotate(-8deg) scale(1.05);
}

.situation-title {
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--clr-primary);
}

.situation-chevron {
  color: var(--clr-muted);
  transition: transform 0.35s var(--ease-spring);
  flex-shrink: 0;
}

.situation-card[open] .situation-chevron {
  transform: rotate(180deg);
  color: var(--clr-accent);
}

.situation-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.situation-lead {
  font-size: 1rem;
  color: var(--clr-text);
  line-height: 1.7;
}

.situation-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.situation-details li {
  font-size: 0.9375rem;
  color: var(--clr-muted);
  padding-left: var(--space-5);
  position: relative;
}

.situation-details li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--clr-accent);
}

/* ------------------------------------------------
   12. PROCESS TIMELINE
------------------------------------------------- */
.process-timeline {
  display: flex;
  flex-direction: column;
  max-width: 760px;
  margin-inline: auto;
}

.process-step {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-6);
}

.step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background var(--ease), transform var(--ease-spring), box-shadow var(--ease);
}

.process-step.in-view .step-number {
  background: var(--clr-accent);
  box-shadow: var(--shadow-glow);
  transform: scale(1.1);
}

.step-line {
  flex: 1;
  width: 2px;
  background: linear-gradient(to bottom, var(--clr-accent) 0%, var(--clr-border) 100%);
  margin-block: var(--space-2);
  min-height: var(--space-8);
  border-radius: var(--radius-pill);
}

.step-content {
  padding-bottom: var(--space-10);
}

.process-step:last-child .step-content { padding-bottom: 0; }

.step-meta {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-2);
}

.step-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: var(--space-3);
}

.step-content p {
  font-size: 0.9375rem;
  color: var(--clr-muted);
  line-height: 1.7;
  margin-bottom: var(--space-4);
}

.step-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.step-details li {
  font-size: 0.875rem;
  color: var(--clr-muted);
  padding-left: var(--space-5);
  position: relative;
}

.step-details li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--clr-accent);
  font-size: 0.75rem;
  top: 0.1em;
}

/* ------------------------------------------------
   13. STORY CARDS
------------------------------------------------- */
.card-story {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.card-story-featured {
  border-color: transparent;
  background: linear-gradient(var(--clr-card), var(--clr-card)) padding-box,
              linear-gradient(135deg, var(--clr-accent), #e8b565) border-box;
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
}

.story-meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.story-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-bg-warm), var(--clr-border));
  flex-shrink: 0;
  border: 2px solid var(--clr-border);
}

.story-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--clr-primary);
  display: block;
  margin-bottom: 2px;
}

.story-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--clr-accent);
  letter-spacing: 0.04em;
}

.card-story blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--clr-text);
  line-height: 1.7;
  flex: 1;
  border-left: 3px solid var(--clr-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding-left: var(--space-4);
  quotes: none;
}

.story-footer {
  font-size: 0.8125rem;
  color: var(--clr-muted);
}

/* ------------------------------------------------
   14. CTA SECTION
------------------------------------------------- */
.section-cta {
  background: linear-gradient(135deg, var(--clr-primary) 0%, #1a3d52 100%);
  padding-block: var(--space-24);
  position: relative;
  overflow: hidden;
}

/* Decorative circle blob */
.section-cta::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 78, 35, 0.12) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  position: relative;
}

.section-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--clr-white);
  margin-bottom: var(--space-4);
}

.cta-subtitle {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
  margin-bottom: var(--space-6);
}

.section-cta .btn-outline {
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.6);
}

.section-cta .btn-outline:hover {
  background: var(--clr-white);
  color: var(--clr-primary);
  border-color: var(--clr-white);
}

.cta-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ------------------------------------------------
   15. QUIZ SECTION
------------------------------------------------- */
.quiz-section { padding-block: var(--space-20); }

.quiz-inner {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.quiz-inner h2 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-4);
}

.quiz-placeholder {
  margin-top: var(--space-8);
  padding: var(--space-12);
  background: var(--clr-bg-warm);
  border: 2px dashed var(--clr-border);
  border-radius: var(--radius-lg);
  color: var(--clr-muted);
  font-size: 0.9375rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* ------------------------------------------------
   16. BLOG — LISTING PAGE
------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.blog-card {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease-spring);
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-image { transform: scale(1.04); }

.blog-card-image-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-3);
}

.blog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-accent);
}

.blog-card-body h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.3;
}

.blog-card-body p {
  font-size: 0.9375rem;
  color: var(--clr-muted);
  line-height: 1.65;
  flex: 1;
}

.blog-read-more {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-accent);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--ease);
  margin-top: var(--space-2);
}

.blog-read-more:hover { gap: var(--space-3); opacity: 1; color: var(--clr-accent-dark); }

/* ------------------------------------------------
   17. BLOG — POST PAGE
------------------------------------------------- */
.post-hero {
  position: relative;
  height: 480px;
  margin-top: 72px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 52, 96, 0.75) 0%, transparent 60%);
}

.post-hero-content {
  position: absolute;
  bottom: var(--space-10);
  left: 0; right: 0;
}

.post-hero-content .container { max-width: 860px; }

.post-hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--clr-white);
  line-height: 1.2;
  margin-top: var(--space-3);
}

.post-body {
  max-width: 860px;
  margin-inline: auto;
  padding: var(--space-12) var(--container-pad);
}

.post-body h2 {
  font-size: 1.5rem;
  margin: var(--space-10) 0 var(--space-4);
}

.post-body h3 {
  font-size: 1.2rem;
  margin: var(--space-8) 0 var(--space-3);
}

.post-body p {
  font-size: 1.0625rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: var(--space-5);
}

.post-body img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-block: var(--space-8);
  box-shadow: var(--shadow-md);
}

.post-body img.img-half {
  max-width: 520px;
}

.post-cta-box {
  background: linear-gradient(135deg, var(--clr-primary), #1a3d52);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
  margin-top: var(--space-12);
  color: var(--clr-white);
}

.post-cta-box h3 {
  color: var(--clr-white);
  font-size: 1.5rem;
  margin-bottom: var(--space-4);
}

.post-cta-box p {
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-6);
}

/* ------------------------------------------------
   18. FOOTER
------------------------------------------------- */
.site-footer {
  background: var(--clr-primary);
  color: rgba(255, 255, 255, 0.8);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  padding-block: var(--space-16);
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--ease);
}

.footer-col a:hover { color: var(--clr-white); opacity: 1; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-5);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.35); }

.footer-legal { display: flex; gap: var(--space-6); }

.footer-legal a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--ease);
}

/* ── Social media icons in footer ── */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  transition: background var(--ease), color var(--ease), transform var(--ease);
  flex-shrink: 0;
}
.social-link:hover {
  background: var(--clr-accent);
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

.footer-legal a:hover { color: var(--clr-white); opacity: 1; }

/* ------------------------------------------------
   19. SHARED PAGE HEADER (for inner pages)
------------------------------------------------- */
.page-header {
  padding-top: calc(72px + var(--space-16));
  padding-bottom: var(--space-12);
  background: linear-gradient(135deg, var(--clr-primary), #1a3d52);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--clr-white);
  margin-bottom: var(--space-4);
}

.page-header p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.7;
}

/* ------------------------------------------------
   20. RESPONSIVE — TABLET / MEDIUM
------------------------------------------------- */

/* Nav drawer is always a side panel — no breakpoint overrides needed */

@media (max-width: 1024px) {
  .three-col { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }
}

/* Nav drawer styles are in Section 8 — no breakpoint overrides needed */

/* ------------------------------------------------
   RESPONSIVE — MOBILE ONLY (≤768px)
   Layout adjustments specific to phones
------------------------------------------------- */
@media (max-width: 768px) {
  /* Sections */
  .section { padding-block: var(--space-16); }

  /* Hero */
  .hero-content { padding-block: var(--space-20) var(--space-16); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Cards */
  .three-col { grid-template-columns: 1fr; }
  .blog-grid  { grid-template-columns: 1fr; }

  /* Process */
  .process-step { grid-template-columns: 48px 1fr; gap: var(--space-4); }

  /* CTA */
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 360px; }

  /* Footer */
  .footer-inner { gap: var(--space-8); }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: var(--space-3); }

  /* Blog post */
  .post-hero { height: 300px; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
}

@media (max-width: 480px) {
  :root { --container-pad: 1rem; }
  .footer-nav { grid-template-columns: 1fr; }
  .situation-card summary { padding: var(--space-4); gap: var(--space-3); }
  .situation-title { font-size: 1rem; }
}

/* ------------------------------------------------
   22. ACCESSIBILITY
------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .section-hero::before { animation: none; }
  .hero-flight-panel,
  .hero-flight-path,
  .hero-cloud,
  .hero-flight-plane {
    animation: none !important;
  }
}

/* ------------------------------------------------
   23. NEW KEYFRAMES
------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-22px) rotate(4deg); }
  66%       { transform: translateY(10px) rotate(-3deg); }
}

@keyframes gradientShift {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@keyframes pulseRing {
  0%   { box-shadow: 0 0 0 0 rgba(240, 78, 35, 0.5); }
  70%  { box-shadow: 0 0 0 14px rgba(240, 78, 35, 0); }
  100% { box-shadow: 0 0 0 0 rgba(240, 78, 35, 0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes lineGrow {
  from { transform: scaleY(0); transform-origin: top; }
  to   { transform: scaleY(1); transform-origin: top; }
}

/* ------------------------------------------------
   24. SCROLL PROGRESS BAR
------------------------------------------------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--clr-accent), #e8b565, var(--clr-accent));
  background-size: 200% auto;
  z-index: 2000;
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  transition: width 0.1s linear;
  animation: gradientShift 2s linear infinite;
}

/* ------------------------------------------------
   25. HERO — GRADIENT TEXT HIGHLIGHT & ORBS
------------------------------------------------- */
.hero-highlight {
  background: linear-gradient(90deg, var(--clr-accent), #f0c96a, var(--clr-accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s linear infinite;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-orb-1 {
  width: 400px; height: 400px;
  top: 5%; right: 3%;
  background: radial-gradient(circle, rgba(240, 78, 35, 0.18) 0%, transparent 65%);
  animation: float 10s ease-in-out infinite;
}

.hero-orb-2 {
  width: 260px; height: 260px;
  bottom: 18%; right: 22%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 65%);
  animation: float 14s ease-in-out 3s infinite reverse;
}

.hero-orb-3 {
  width: 180px; height: 180px;
  top: 45%; left: 4%;
  background: radial-gradient(circle, rgba(240, 78, 35, 0.10) 0%, transparent 65%);
  animation: float 12s ease-in-out 6s infinite;
}

/* ------------------------------------------------
   26. STATS STRIP
------------------------------------------------- */
.stats-strip {
  background: var(--clr-primary);
  padding-block: var(--space-10);
  position: relative;
  overflow: hidden;
}

/* Animated shimmer line across strip */
.stats-strip::after {
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

.stats-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-16);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--clr-accent);
  display: block;
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .stats-inner { gap: var(--space-8); }
  .stat-divider { display: none; }
}

/* ------------------------------------------------
   27. FLOATING STICKY CTA
------------------------------------------------- */
#floating-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 900;
  opacity: 0;
  transform: translateY(16px) scale(0.92);
  transition: opacity 0.4s var(--ease-spring), transform 0.4s var(--ease-spring);
  pointer-events: none;
}

#floating-cta.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

#floating-cta .btn {
  box-shadow: var(--shadow-lg), 0 0 24px rgba(240, 78, 35, 0.4);
  animation: pulseRing 2.8s ease-out infinite;
}

/* ------------------------------------------------
   27.5 WEBSITE CHATBOT
------------------------------------------------- */
.guyven-chatbot {
  position: fixed;
  left: var(--space-6);
  bottom: var(--space-6);
  z-index: 950;
  font-family: var(--font-sans);
}

.guyven-chatbot-panel {
  width: min(22.5rem, calc(100vw - 2rem));
  border-radius: 24px;
  overflow: hidden;
  background: var(--clr-white);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 52, 96, 0.12);
  margin-bottom: var(--space-3);
}

.guyven-chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  color: var(--clr-white);
  background: linear-gradient(135deg, var(--clr-primary), #113f71);
}

.guyven-chatbot-kicker {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.2rem;
}

.guyven-chatbot-header h3 {
  color: var(--clr-white);
  font-size: 1rem;
}

.guyven-chatbot-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.guyven-chatbot-messages {
  max-height: 16rem;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.guyven-chatbot-message {
  max-width: 88%;
  border-radius: 18px;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  line-height: 1.45;
  box-shadow: 0 1px 0 rgba(15, 52, 96, 0.04);
}

.guyven-chatbot-message.bot {
  background: #eef3fb;
  color: var(--clr-text);
}

.guyven-chatbot-message.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-dark));
  color: var(--clr-white);
}

.guyven-chatbot-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 var(--space-4) var(--space-4);
  background: #f8fafc;
}

.guyven-chatbot-chip {
  border: 1px solid rgba(15, 52, 96, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--clr-primary);
  font-size: 0.78rem;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  transition: transform var(--ease), background var(--ease), color var(--ease);
}

.guyven-chatbot-chip:hover {
  transform: translateY(-1px);
  background: var(--clr-primary);
  color: #fff;
}

.guyven-chatbot-form {
  display: flex;
  gap: 0.5rem;
  padding: var(--space-4);
  border-top: 1px solid rgba(15, 52, 96, 0.08);
  background: #fff;
}

.guyven-chatbot-input {
  flex: 1;
  border: 1px solid rgba(15, 52, 96, 0.16);
  border-radius: 14px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  outline: none;
}

.guyven-chatbot-input:focus {
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(240, 78, 35, 0.14);
}

.guyven-chatbot-send {
  border: 0;
  border-radius: 14px;
  background: var(--clr-accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0 1rem;
  cursor: pointer;
}

.guyven-chatbot-send:hover { background: var(--clr-accent-dark); }

.guyven-chatbot-launcher {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--clr-primary), #1a4e8a);
  color: #fff;
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.guyven-chatbot-launcher span {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.72);
}

.guyven-chatbot-launcher strong {
  font-size: 0.98rem;
  color: #fff;
}

.guyven-chatbot-launcher:hover {
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  .guyven-chatbot {
    left: var(--space-4);
    right: var(--space-4);
    bottom: calc(var(--space-4) + 58px);
  }

  .guyven-chatbot-panel,
  .guyven-chatbot-launcher {
    width: 100%;
  }

  .guyven-chatbot-launcher {
    align-items: center;
  }
}

/* ------------------------------------------------
   28. INLINE QUIZ
------------------------------------------------- */
.quiz-form { margin-top: var(--space-8); }

.quiz-progress-dots {
  display: flex;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.quiz-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--clr-border);
  transition: background var(--ease), transform var(--ease-spring);
}

.quiz-dot.active  { background: var(--clr-accent); transform: scale(1.4); }
.quiz-dot.done    { background: var(--clr-primary); }

.quiz-step { display: none; }
.quiz-step.active {
  display: block;
  animation: scaleIn 0.4s var(--ease-spring) both;
}

.quiz-question {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  color: var(--clr-primary);
  margin-bottom: var(--space-6);
  line-height: 1.35;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  max-width: 580px;
  margin-inline: auto;
}

.quiz-option {
  background: #FFFFFF;
  border: 2px solid #C8D3E0;
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  cursor: pointer;
  text-align: left;
  transition: border-color var(--ease), background var(--ease), transform var(--ease-spring), box-shadow var(--ease);
  font-family: var(--font-sans);
  color: var(--clr-text);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  box-shadow: 0 2px 8px rgba(15,52,96,0.08);
}

.quiz-option:hover {
  border-color: var(--clr-accent);
  background: rgba(240, 78, 35, 0.04);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(15,52,96,0.14);
}

.quiz-option.selected {
  border-color: var(--clr-accent);
  background: rgba(240, 78, 35, 0.06);
  box-shadow: var(--shadow-glow);
}

.quiz-option-icon {
  font-size: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-bg-warm);
  border-radius: 50%;
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}
.quiz-option-label { font-size: 0.9375rem; font-weight: 700; color: var(--clr-primary); }
.quiz-option-hint  { font-size: 0.8125rem; color: var(--clr-muted); line-height: 1.4; }

/* Result card */
.quiz-result {
  display: none;
  background: var(--clr-card);
  border: 2px solid var(--clr-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-10);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.quiz-result.active {
  display: block;
  animation: scaleIn 0.5s var(--ease-spring) both;
}

.quiz-result-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: var(--space-3);
}

.quiz-result-visa {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--space-4);
}

.quiz-result-desc {
  font-size: 1rem;
  color: var(--clr-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
}

.quiz-result-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.quiz-restart {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--clr-muted);
  margin-top: var(--space-4);
  text-decoration: underline;
  font-family: var(--font-sans);
  transition: color var(--ease);
}
.quiz-restart:hover { color: var(--clr-primary); }

@media (max-width: 560px) {
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-result-actions { flex-direction: column; align-items: center; }
  .quiz-result-actions .btn { width: 100%; max-width: 320px; }
}

/* ------------------------------------------------
   29. PROCESS TIMELINE — animated line on scroll
------------------------------------------------- */
.step-line {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
  transform-origin: top;
  transform: scaleY(0);
}

.process-step.in-view .step-line { transform: scaleY(1); }

/* ------------------------------------------------
   30. WORD REVEAL ANIMATION
------------------------------------------------- */
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.word-reveal.in-view .word { opacity: 1; transform: none; }
.word-reveal.in-view .word:nth-child(1) { transition-delay: 0.05s; }
.word-reveal.in-view .word:nth-child(2) { transition-delay: 0.12s; }
.word-reveal.in-view .word:nth-child(3) { transition-delay: 0.19s; }
.word-reveal.in-view .word:nth-child(4) { transition-delay: 0.26s; }
.word-reveal.in-view .word:nth-child(5) { transition-delay: 0.33s; }
.word-reveal.in-view .word:nth-child(6) { transition-delay: 0.40s; }
.word-reveal.in-view .word:nth-child(7) { transition-delay: 0.47s; }

/* ------------------------------------------------
   31. CURSOR GLOW (hero section)
------------------------------------------------- */
.hero-cursor-glow {
  position: absolute;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 78, 35, 0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

.section-hero:hover .hero-cursor-glow { opacity: 1; }

/* ------------------------------------------------
   32. 3D TILT CARDS
------------------------------------------------- */
.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt-card .card-icon {
  transform: translateZ(12px);
  transition: background var(--ease), color var(--ease), transform var(--ease-spring);
}

/* ------------------------------------------------
   33. BLOG LISTING — FEATURED POST
------------------------------------------------- */
.blog-featured { padding-block: var(--space-16) var(--space-6); }

.blog-featured-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 500px;
  background: var(--clr-primary);
  cursor: pointer;
}

.blog-featured-image {
  position: relative;
  overflow: hidden;
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-featured-card:hover .blog-featured-image img { transform: scale(1.06); }

.blog-featured-content {
  padding: var(--space-12) var(--space-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--space-5);
}

.blog-featured-content .blog-tag { color: var(--clr-accent); }

.blog-featured-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--clr-white);
  line-height: 1.2;
}

.blog-featured-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.blog-featured-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.blog-featured-meta::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--clr-accent);
}

/* ------------------------------------------------
   34. BLOG LISTING — GRID SECTION
------------------------------------------------- */
.blog-grid-section { padding-block: var(--space-6) var(--space-20); }

.blog-section-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--clr-border);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.blog-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border);
}

/* Updated 3-col blog cards */
.blog-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.blog-card-v2 {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-border);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--ease), transform var(--ease-spring);
}

.blog-card-v2:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.blog-card-v2 .blog-card-image-wrap { overflow: hidden; }

.blog-card-v2 .blog-card-image {
  aspect-ratio: 16 / 9;
  width: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card-v2:hover .blog-card-image { transform: scale(1.06); }

.blog-card-v2 .blog-card-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: var(--space-3);
}

.blog-card-v2 h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-primary);
  line-height: 1.3;
  transition: color var(--ease);
}

.blog-card-v2:hover h3 { color: var(--clr-accent); }

.blog-card-v2 p {
  font-size: 0.9125rem;
  color: var(--clr-muted);
  line-height: 1.65;
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--clr-border);
}

.blog-read-time {
  font-size: 0.8125rem;
  color: var(--clr-muted);
}

@media (max-width: 900px) {
  .blog-featured-card { grid-template-columns: 1fr; min-height: auto; }
  .blog-featured-image { height: 280px; }
  .blog-featured-content { padding: var(--space-8); }
  .blog-grid-3 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .blog-grid-3 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------
   35. BLOG POST — IMAGE FRAMES
------------------------------------------------- */
.post-body figure {
  margin-block: var(--space-10);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.post-body figure .img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  display: block;
}

.post-body figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.post-body figure:hover img { transform: scale(1.03); }

.post-body figcaption {
  padding: var(--space-3) var(--space-5);
  font-size: 0.8125rem;
  color: var(--clr-muted);
  background: var(--clr-bg-warm);
  border-top: 1px solid var(--clr-border);
  font-style: italic;
}

/* ------------------------------------------------
   35b. BLOG POST EXTRAS (lead, blockquote, list, pillars)
------------------------------------------------- */
.post-lead {
  font-size: 1.1875rem;
  color: var(--clr-text);
  line-height: 1.7;
  font-weight: 400;
  border-left: 4px solid var(--clr-accent);
  padding-left: var(--space-5);
  margin-bottom: var(--space-8);
}

.post-blockquote {
  border-left: 4px solid var(--clr-accent);
  padding: var(--space-5) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--clr-bg-warm);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.post-blockquote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--clr-primary);
  line-height: 1.6;
  margin: 0;
}

.post-list {
  padding-left: var(--space-6);
  margin: var(--space-4) 0 var(--space-6);
}

.post-list li {
  font-size: 1.0625rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: var(--space-3);
}

.post-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  margin: var(--space-8) 0;
}

.pillar-card {
  background: var(--clr-bg-warm);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
}

.pillar-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: var(--space-2);
}

.pillar-card strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--space-2);
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--clr-muted);
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .post-pillars { grid-template-columns: 1fr; }
}

/* ------------------------------------------------
   36. RELATED POSTS
------------------------------------------------- */
.related-posts {
  border-top: 2px solid var(--clr-border);
  padding-top: var(--space-12);
  margin-top: var(--space-12);
}

.related-posts h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

.related-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--clr-card);
  transition: box-shadow var(--ease), border-color var(--ease), transform var(--ease-spring);
  text-decoration: none;
}

.related-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--clr-accent);
  transform: translateY(-3px);
}

.related-card-img {
  width: 100%;
  height: 140px;
  border-radius: 0;
  object-fit: cover;
  flex-shrink: 0;
}

.related-card-text {
  padding: var(--space-4);
}

.related-card-text .blog-tag { display: block; margin-bottom: var(--space-1); }

.related-card-text h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--clr-primary);
  line-height: 1.35;
  transition: color var(--ease);
}

.related-card:hover .related-card-text h4 { color: var(--clr-accent); }

@media (max-width: 600px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------
   37. READING PROGRESS (blog posts reuse #scroll-progress)
------------------------------------------------- */
.post-reading-label {
  position: fixed;
  top: 8px;
  right: var(--space-6);
  z-index: 2001;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--clr-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
  letter-spacing: 0.06em;
  pointer-events: none;
}

.post-reading-label.visible { opacity: 1; }

/* ------------------------------------------------
   38. REAL STORIES — DYNAMIC SECTION
------------------------------------------------- */
.stories-section {
  position: relative;
  overflow: hidden;
}

/* Floating decorative orbs */
.stories-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.stories-deco-1 {
  width: 320px; height: 320px;
  top: -80px; right: -60px;
  background: radial-gradient(circle, rgba(240, 78, 35, 0.12) 0%, transparent 70%);
  animation: float 12s ease-in-out infinite;
}

.stories-deco-2 {
  width: 200px; height: 200px;
  bottom: 40px; left: -50px;
  background: radial-gradient(circle, rgba(15, 52, 96, 0.07) 0%, transparent 70%);
  animation: float 16s ease-in-out 4s infinite reverse;
}

.stories-deco-3 {
  width: 140px; height: 140px;
  top: 50%; left: 48%;
  background: radial-gradient(circle, rgba(240, 78, 35, 0.08) 0%, transparent 70%);
  animation: float 10s ease-in-out 2s infinite;
}

.stories-section .container { position: relative; z-index: 1; }

/* Typewriter cursor */
.typed-cursor {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: inherit;
  color: var(--clr-accent);
  font-weight: 400;
  animation: blink 0.85s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* Rating row */
.stories-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* ================================================
   TRUSTPILOT TRUST BADGE
================================================ */
.tp-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background: var(--clr-card);
  border: 1.5px solid var(--clr-border);
  border-radius: var(--radius-pill);
  padding: 10px 22px;
  margin-top: var(--space-5);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}
.tp-star-icon { flex-shrink: 0; }
.tp-wordmark {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  color: #191919;
  letter-spacing: -0.01em;
}
.tp-badge-pipe {
  width: 1px;
  height: 18px;
  background: var(--clr-border);
  flex-shrink: 0;
}
.tp-green-stars {
  color: #00B67A;
  font-size: 1rem;
  letter-spacing: 1px;
  line-height: 1;
}
.tp-score {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--clr-primary);
}
.tp-score-denom {
  font-size: 0.78rem;
  color: var(--clr-muted);
  margin-left: 2px;
}
.tp-micro-inline { line-height: 1; }
.tp-see-all-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--clr-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--ease);
}
.tp-see-all-link:hover { color: #00B67A; }

/* ================================================
   TESTIMONIAL CARDS (featured grid)
================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
  align-items: start;
}

.tcard {
  background: var(--clr-card);
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-7) var(--space-7);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border: 1px solid var(--clr-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.tcard:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Center card — deep navy featured */
.tcard--featured {
  background: linear-gradient(150deg, var(--clr-primary) 0%, #112a50 100%);
  border-color: transparent;
  box-shadow: 0 10px 48px rgba(15,52,96,0.28);
  transform: translateY(-12px);
}
.tcard--featured:hover { transform: translateY(-20px); box-shadow: 0 16px 60px rgba(15,52,96,0.36); }

/* Large decorative opening quote */
.tcard-open-quote {
  font-family: var(--font-serif);
  font-size: 7rem;
  line-height: 0.6;
  color: var(--clr-accent);
  opacity: 0.18;
  position: absolute;
  top: 18px; left: 18px;
  pointer-events: none;
  user-select: none;
}
.tcard--featured .tcard-open-quote { color: #ffffff; opacity: 0.12; }

.tcard-stars {
  color: #00B67A;
  font-size: 0.9rem;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
  padding-top: var(--space-4);
}
.tcard--featured .tcard-stars { color: #4ee8ae; }

.tcard blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--clr-text);
  flex: 1;
  quotes: none;
  position: relative;
  z-index: 1;
}
.tcard--featured blockquote { color: rgba(255,255,255,0.9); }

.tcard-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--space-5);
  margin-top: auto;
}
.tcard--featured .tcard-author { border-top-color: rgba(255,255,255,0.14); }

.tcard-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-accent), #e8a040);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
  color: white;
  font-family: var(--font-serif);
  flex-shrink: 0;
  letter-spacing: 0.03em;
}
.tcard--featured .tcard-avatar {
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.1));
  border: 1px solid rgba(255,255,255,0.2);
}

.tcard-info { flex: 1; min-width: 0; }

.tcard-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-primary);
  display: block;
  margin-bottom: 2px;
}
.tcard--featured .tcard-name { color: white; }

.tcard-badge {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--clr-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.tcard--featured .tcard-badge { color: #7de8bf; }

.tcard-location {
  font-size: 0.75rem;
  color: var(--clr-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}
.tcard--featured .tcard-location { color: rgba(255,255,255,0.45); }

/* ================================================
   MINI QUOTE STRIP (real client testimonials)
================================================ */
.tquotes-mini {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-top: var(--space-8);
  background: var(--clr-bg-warm);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  padding: var(--space-6) var(--space-8);
  justify-content: center;
  flex-wrap: wrap;
}
.tquote-mini {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: center;
}
.tquote-mini-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--clr-primary);
  font-weight: 500;
}
.tquote-mini-author {
  font-size: 0.78rem;
  color: var(--clr-muted);
  font-weight: 500;
}
.tquote-mini-badge {
  background: var(--clr-primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 2px 8px;
  vertical-align: middle;
}
.tquote-mini-sep {
  width: 1px;
  height: 48px;
  background: var(--clr-border);
  flex-shrink: 0;
}

/* ================================================
   TRUSTPILOT CAROUSEL SECTION
================================================ */
.tp-carousel-section {
  margin-top: var(--space-12);
  border-top: 1px solid var(--clr-border);
  padding-top: var(--space-8);
}
.tp-carousel-label {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--clr-muted);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-4);
  justify-content: center;
}
.tp-carousel-label::before,
.tp-carousel-label::after {
  content: '';
  height: 1px;
  background: var(--clr-border);
  flex: 1;
  max-width: 100px;
}

/* ================================================
   TESTIMONIALS RESPONSIVE
================================================ */
@media (max-width: 900px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .tcard--featured { transform: none; }
  .tcard--featured:hover { transform: translateY(-8px); }
}
@media (max-width: 560px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .tquotes-mini { gap: var(--space-5); padding: var(--space-5) var(--space-5); }
  .tquote-mini-sep { width: 40px; height: 1px; }
  .tp-trust-badge { gap: var(--space-2); padding: 10px 16px; }
}

.stars {
  color: var(--clr-accent);
  font-size: 1.125rem;
  letter-spacing: 2px;
}

.rating-text {
  font-size: 0.9375rem;
  color: var(--clr-muted);
}

.rating-text strong {
  color: var(--clr-primary);
  font-weight: 700;
}

/* Story ribbon badge */
.story-ribbon {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  pointer-events: none;
}

.story-ribbon-gold {
  background: linear-gradient(135deg, var(--clr-accent), #e8b565);
  color: #fff;
}

/* Stars on each card */
.story-stars {
  color: var(--clr-accent);
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-2);
}

.story-stars-gold { color: var(--clr-accent); }

/* Avatar with initials */
.story-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--clr-primary);
  background: linear-gradient(135deg, var(--clr-bg-warm), #e8ddd0);
  border: 2px solid var(--clr-border);
}

.story-avatar-gold {
  background: linear-gradient(135deg, rgba(240, 78, 35, 0.2), rgba(245, 121, 90, 0.3));
  border-color: var(--clr-accent);
  color: var(--clr-accent-dark);
}

/* Card position context for ribbon */
.card-story { position: relative; }

/* Footer with location icon */
.story-footer {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8125rem;
  color: var(--clr-muted);
}

/* ------------------------------------------------
   39. CTA SECTION — DYNAMIC ELEMENTS
------------------------------------------------- */

/* Eyebrow in CTA (override default accent) */
.cta-eyebrow {
  color: var(--clr-accent) !important;
  margin-bottom: var(--space-4);
}

/* Decorative particles */
.cta-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-particle-1 {
  width: 180px; height: 180px;
  top: -60px; left: 8%;
  background: radial-gradient(circle, rgba(240, 78, 35, 0.15) 0%, transparent 70%);
  animation: float 11s ease-in-out infinite;
}

.cta-particle-2 {
  width: 120px; height: 120px;
  bottom: 20px; right: 12%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  animation: float 14s ease-in-out 3s infinite reverse;
}

.cta-particle-3 {
  width: 80px; height: 80px;
  top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(240, 78, 35, 0.1) 0%, transparent 70%);
  animation: float 9s ease-in-out 1.5s infinite;
}

/* Shimmer line across CTA */
.cta-shimmer-line {
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: shimmer 5s ease-in-out 1s infinite;
  pointer-events: none;
}

/* Word-by-word heading entrance */
.cta-heading-anim {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--clr-white);
  margin-bottom: var(--space-6);
}

.cta-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-heading-anim.in-view .cta-word   { opacity: 1; transform: none; }
.cta-heading-anim.in-view .cta-word-1 { transition-delay: 0.05s; }
.cta-heading-anim.in-view .cta-word-2 { transition-delay: 0.15s; }
.cta-heading-anim.in-view .cta-word-3 { transition-delay: 0.25s; }
.cta-heading-anim.in-view .cta-word-4 {
  transition-delay: 0.35s;
  background: linear-gradient(90deg, var(--clr-accent), #f0c96a, var(--clr-accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s linear infinite 0.35s;
}

/* Trust badges */
.cta-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.cta-trust-badge {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.02em;
}

/* ------------------------------------------------
   40. QUIZ HEADING — DYNAMIC ENTRANCE
------------------------------------------------- */
.quiz-heading-anim {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin-bottom: var(--space-4);
  line-height: 1.2;
}

.quiz-head-line {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-head-line-1 { transition-delay: 0.05s; }
.quiz-head-line-2 { transition-delay: 0.18s; }

.quiz-heading-anim.in-view .quiz-head-line {
  opacity: 1;
  transform: none;
}

.quiz-head-accent {
  font-style: italic;
  background: linear-gradient(90deg, var(--clr-accent), #e8b565, var(--clr-accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s linear infinite;
}

@media (max-width: 600px) {
  .cta-trust-row { gap: var(--space-2); }
  .cta-trust-badge { font-size: 0.75rem; padding: 5px 10px; }
  .stories-rating { flex-direction: column; gap: var(--space-2); }
}

/* ------------------------------------------------
   41. BLOG GRID — 2-COLUMN OVERRIDE & IMAGE POLISH
------------------------------------------------- */
.blog-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}

/* Polished image overlay on blog cards */
.blog-card-image-overlay {
  position: relative;
  display: block;
}

.blog-card-image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(15, 52, 96, 0.45) 100%
  );
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  pointer-events: none;
  transition: opacity var(--ease);
}

.blog-card-v2:hover .blog-card-image-overlay::after {
  opacity: 0.7;
}

/* Ensure images always fill properly and never stretch */
.blog-card-v2 .blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  background: linear-gradient(135deg, var(--clr-bg-warm), var(--clr-border));
}

@media (max-width: 860px) {
  .blog-grid-2col { grid-template-columns: 1fr; }
}

/* ------------------------------------------------
   42. LANGUAGE SWITCHER
------------------------------------------------- */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  padding: 3px;
}

#site-header.scrolled .lang-switcher {
  background: rgba(15, 52, 96, 0.07);
}

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.65);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  transition: background var(--ease), color var(--ease);
  font-family: var(--font-sans);
  line-height: 1;
  white-space: nowrap;
}

#site-header.scrolled .lang-btn { color: var(--clr-muted); }

.lang-btn:hover {
  background: rgba(240, 78, 35, 0.15);
  color: var(--clr-accent);
}

.lang-btn.active,
#site-header.scrolled .lang-btn.active {
  background: var(--clr-accent);
  color: var(--clr-white);
}

/* Lang switcher lives in .nav-actions — always visible, no breakpoint needed */

/* ------------------------------------------------
   43. MOBILE & TOUCH UX ENHANCEMENTS
   iOS safe areas, 44px tap targets, touch states
------------------------------------------------- */

/* Safe area insets for iPhone notch / Dynamic Island */
@supports (padding: env(safe-area-inset-bottom)) {
  #site-header { padding-top: env(safe-area-inset-top, 0); }
  .site-footer { padding-bottom: env(safe-area-inset-bottom, 0); }
  .mobile-cta-bar { padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0)); }
}

/* Minimum 44×44 px tap targets for all interactive elements */
.btn, .nav-links a, .lang-btn, .menu-toggle,
.quiz-option, .blog-read-more, .footer-nav a {
  min-height: 44px;
}

/* Menu toggle — ensure 44px */
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Touch: no hover flicker on links */
@media (hover: none) and (pointer: coarse) {
  .btn:hover { transform: none; }
  .btn:active {
    transform: scale(0.97);
    opacity: 0.88;
  }

  /* Cards: highlight on tap instead of hover */
  .why-card:hover,
  .situation-card:hover,
  .story-card:hover,
  .blog-card-v2:hover,
  .tcard:hover {
    transform: none;
    box-shadow: var(--shadow-md);
  }
  .why-card:active,
  .situation-card:active,
  .story-card:active,
  .blog-card-v2:active {
    transform: scale(0.985);
    box-shadow: var(--shadow-lg);
  }
  .tcard:active {
    transform: scale(0.985);
    box-shadow: var(--shadow-md);
  }
  .tcard--featured:hover { transform: none; }
  .tcard--featured:active { transform: scale(0.985); }

  /* Quiz options — larger tap area */
  .quiz-option {
    padding: var(--space-5) var(--space-4);
  }

  /* Nav link tap highlight */
  .nav-links a:active { color: var(--clr-accent); }
}

/* ---- Floating sticky CTA bar (mobile only) ---- */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 900;
    background: var(--clr-primary);
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
    box-shadow: 0 -4px 24px rgba(15, 52, 96, 0.28);
  }

  .mobile-cta-bar .btn {
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
    padding: 0.75rem var(--space-4);
  }

  /* Push main content above the bar */
  body { padding-bottom: 76px; }

  /* Hero adjustments for small screens */
  .hero-content { text-align: center; }
  .hero-actions { justify-content: center; }
  .social-proof-line { justify-content: center; }

  /* Better card tap areas on mobile */
  .why-card,
  .story-card,
  .blog-card-v2 {
    -webkit-tap-highlight-color: rgba(240, 78, 35, 0.08);
  }

  /* Process steps — full width */
  .process-step { width: 100%; }

  /* Section vertical rhythm tightened */
  .section { padding-block: var(--space-12); }

  /* Typography: slightly tighter for small viewports */
  h1 { font-size: clamp(1.85rem, 8vw, 2.5rem); }
  h2 { font-size: clamp(1.5rem, 6vw, 2rem); }

  /* Quiz — single column always */
  .quiz-options { grid-template-columns: 1fr 1fr; }
  .quiz-option-hint { font-size: 0.75rem; }

  /* Blog grid — single column */
  .blog-grid-2col { grid-template-columns: 1fr; }
}

/* ---- Android-friendly overrides ---- */
/* Ripple-style tap feedback via background transition */
@media (hover: none) and (pointer: coarse) {
  .btn-accent:active {
    background-color: var(--clr-accent-dark);
    box-shadow: var(--shadow-glow);
  }

  .btn-primary:active {
    background-color: #0a1f2e;
    box-shadow: 0 6px 24px rgba(15, 52, 96, 0.45);
  }

  /* Prevent double-tap zoom on buttons */
  .btn, .quiz-option, .lang-btn {
    touch-action: manipulation;
  }
}

/* ---- Very small screens (< 380px) ---- */
@media (max-width: 380px) {
  .quiz-options { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; }
}

