/*
 * MIDNIGHT GOLD v1.0
 * acimaleasingonline.com Design System
 * Colors : Midnight #050A18 | Gold #F0C040 | Ember #FF7A30
 * Fonts  : Playfair Display (display) + DM Sans (body)
 * Built  : 2026-08-07
 */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* ── Midnight Palette ── */
  --mg-0:     #020913;
  --mg-1:     #050A18;
  --mg-2:     #0B1635;
  --mg-3:     #162144;
  --mg-4:     #1E2B5A;
  --mg-5:     #253370;

  /* ── Gold Palette ── */
  --gold:         #F0C040;
  --gold-bright:  #FFE080;
  --gold-dark:    #C89010;
  --gold-pale:    rgba(240,192,64,0.10);
  --gold-border:  rgba(240,192,64,0.22);
  --gold-glow:    rgba(240,192,64,0.35);

  /* ── Ember ── */
  --ember:        #FF7A30;
  --ember-dark:   #D45510;

  /* ── Compatibility aliases ── */
  --navy:         var(--mg-3);
  --navy-mid:     var(--mg-2);
  --navy-dark:    var(--mg-1);
  --blue:         #4B8EF0;
  --blue-light:   rgba(75,142,240,0.15);
  --amber:        var(--gold);
  --amber-dark:   var(--gold-dark);
  --amber-pale:   var(--gold-pale);
  --amber-bg:     rgba(240,192,64,0.07);
  --success:      #10B981;
  --success-pale: rgba(16,185,129,0.12);
  --danger:       #EF4444;

  /* ── Surfaces (all dark) ── */
  --white:        #FFFFFF;
  --surface:      var(--mg-2);
  --surface2:     var(--mg-3);
  --border:       rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.04);
  --border-gold:  var(--gold-border);

  /* ── Text ── */
  --text:   rgba(255,255,255,0.92);
  --muted:  rgba(255,255,255,0.62);
  --faint:  rgba(255,255,255,0.35);

  /* ── Glass ── */
  --glass:    rgba(255,255,255,0.04);
  --glass-2:  rgba(255,255,255,0.07);
  --glass-b:  rgba(255,255,255,0.09);

  /* ── Typography ── */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;

  /* ── Shadows ── */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.50);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.60);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.70);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.80);
  --shadow-gold: 0 0 28px rgba(240,192,64,0.40), 0 4px 16px rgba(0,0,0,0.50);
  --shadow-amber: var(--shadow-gold);

  /* ── Spacing (8px grid) ── */
  --s1:4px; --s2:8px; --s3:16px; --s4:24px; --s5:32px;
  --s6:40px; --s8:56px; --s10:72px; --s12:88px; --s16:120px;

  /* ── Radius ── */
  --r-xs:4px; --r-sm:6px; --r-md:10px; --r-lg:16px;
  --r-xl:24px; --r-2xl:32px; --r-full:9999px;

  /* ── Layout ── */
  --container:   1200px;
  --container-sm: 800px;
  --nav-h:       72px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--mg-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; font-size: 16px; }

/* ============================================================
   3. TYPOGRAPHY + SHIMMER ANIMATION
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--white);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.25rem; font-weight: 600; }

p { line-height: 1.75; color: var(--muted); }
strong { font-weight: 600; color: var(--white); }

/* Gold shimmer on accent spans */
@keyframes shimmer {
  0%   { background-position: 250% center; }
  100% { background-position: -250% center; }
}

.accent, .text-amber {
  background: linear-gradient(90deg,
    var(--gold) 0%, var(--gold-bright) 35%,
    var(--gold) 55%, var(--ember) 80%, var(--gold) 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4.5s linear infinite;
}
.text-blue  { color: var(--blue);   -webkit-text-fill-color: unset; }
.text-navy  { color: var(--white);  -webkit-text-fill-color: unset; }
.text-white { color: var(--white);  -webkit-text-fill-color: unset; }
.text-muted { color: var(--muted);  -webkit-text-fill-color: unset; }
.text-center { text-align: center; }

/* Section eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--ember));
  border-radius: 2px; flex-shrink: 0;
}

/* Section head */
.section-head { text-align: center; max-width: 640px; margin: 0 auto var(--s8); }
.section-head h2 { margin-bottom: 12px; }
.section-head p  { font-size: 1.1rem; }

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

.section { padding-block: var(--s12); }
.section--gray        { background: var(--mg-2); }
.section--navy        { background: var(--mg-1); }
.section--amber-pale  { background: rgba(240,192,64,0.06); }

.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--s6); }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s4); }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s4); }
.flex        { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-2 { gap: var(--s3); } .gap-3 { gap: var(--s4); } .gap-4 { gap: var(--s5); }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: 1rem; font-weight: 600; line-height: 1;
  cursor: pointer; border: 2px solid transparent;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* Gold primary */
.btn--amber {
  background: linear-gradient(135deg, var(--gold) 0%, var(--ember) 100%);
  color: #0A0C14;
  border: none;
  animation: pulse-gold 3s infinite;
}
.btn--amber:hover { box-shadow: var(--shadow-gold); animation: none; }

/* Navy variant (now a dark glass button) */
.btn--navy {
  background: var(--glass-2);
  color: var(--white);
  border-color: var(--glass-b);
}
.btn--navy:hover { background: var(--glass); border-color: var(--gold-border); }

/* Ghost (outline on dark) */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.30);
}
.btn--ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.55); }

/* Outline */
.btn--outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold-border);
}
.btn--outline:hover { background: var(--gold-pale); border-color: var(--gold); }

/* Sizes */
.btn--sm  { padding: 8px 18px; font-size: 0.875rem; }
.btn--lg  { padding: 15px 34px; font-size: 1.1rem; }
.btn--xl  { padding: 18px 42px; font-size: 1.2rem; }
.btn--block { width: 100%; }
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }

@keyframes pulse-gold {
  0%,100% { box-shadow: 0 0 0 0 rgba(240,192,64,0); }
  50%      { box-shadow: 0 0 0 8px rgba(240,192,64,0.12); }
}

/* ============================================================
   6. BADGES & PILLS
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: var(--r-full);
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
}
.badge--success { background: var(--success-pale); color: #34D399; }
.badge--amber   { background: var(--gold-pale);    color: var(--gold); }
.badge--blue    { background: var(--blue-light);   color: var(--blue); }
.badge--navy    { background: var(--glass-2);       color: var(--white); }
.badge--white   { background: rgba(255,255,255,0.12); color: var(--white); }

/* ============================================================
   7. CARDS (GLASSMORPHISM)
   ============================================================ */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-lg);
  padding: var(--s5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-border);
}

.card__icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s4); font-size: 24px;
}
.card__icon--amber { background: rgba(240,192,64,0.12); }
.card__icon--blue  { background: rgba(75,142,240,0.12); }
.card__icon--navy  { background: rgba(255,255,255,0.06); }
.card__icon--green { background: var(--success-pale); }

.card__title { font-size: 1.2rem; font-weight: 600; margin-bottom: 6px; color: var(--white); font-family: var(--font-body); }
.card__body  { color: var(--muted); }

/* ============================================================
   8. NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(5,10,24,0.90);
  border-bottom: 1px solid rgba(240,192,64,0.08);
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.is-scrolled {
  background: rgba(5,10,24,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.50);
  border-bottom-color: rgba(240,192,64,0.12);
}
.nav__inner {
  display: flex; align-items: center; height: 100%; gap: var(--s5);
}
.nav__logo { display: flex; align-items: center; flex-shrink: 0; }
.nav__logo img { height: 36px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 7px 13px; border-radius: var(--r-sm);
  font-size: 0.875rem; font-weight: 500;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}
.nav__links a:hover, .nav__links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}
.nav__cta { margin-left: 12px; flex-shrink: 0; }

.nav__toggle {
  display: none; flex-direction: column; justify-content: center;
  gap: 5px; width: 40px; height: 40px;
  background: transparent; border: none; cursor: pointer; margin-left: auto; padding: 4px;
}
.nav__toggle span {
  display: block; height: 2px; background: var(--muted);
  border-radius: 2px; transition: transform 0.25s, opacity 0.2s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none; flex-direction: column;
  background: var(--mg-0);
  border-top: 1px solid rgba(240,192,64,0.08);
  padding: var(--s4) var(--s5);
  gap: 4px;
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a { color: var(--muted); padding: 11px; border-radius: var(--r-sm); font-weight: 500; }
.nav__mobile a:hover { background: rgba(255,255,255,0.05); color: var(--white); }

/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  background:
    linear-gradient(135deg,
      rgba(2,9,19,0.90) 0%,
      rgba(5,10,24,0.82) 40%,
      rgba(11,22,53,0.72) 100%),
    url('../img/hero-bg.webp') center 40% / cover no-repeat;
  padding-top: calc(var(--nav-h) + var(--s12));
  padding-bottom: var(--s12);
  position: relative; overflow: hidden;
}
/* Gold radial glow top-right */
.hero::before {
  content: '';
  position: absolute; top: -10%; right: -8%;
  width: 650px; height: 650px;
  background: radial-gradient(circle, rgba(240,192,64,0.10) 0%, transparent 65%);
  pointer-events: none;
}
/* Blue-teal glow bottom-left */
.hero::after {
  content: '';
  position: absolute; bottom: -80px; left: -5%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(75,142,240,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.hero__grid {
  display: grid; grid-template-columns: 1.15fr 1fr;
  gap: var(--s10); align-items: center; position: relative; z-index: 1;
}
.hero__eyebrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s4); }

.hero__h1 {
  color: var(--white); font-size: clamp(2rem,4.5vw,3.4rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: var(--s4);
}
.hero__h1 .soften { color: rgba(255,255,255,0.55); font-style: italic; display: block; margin-top: 0.15em; font-size: 0.80em; font-weight: 700; }

.hero__sub { font-size: 1.1rem; color: rgba(255,255,255,0.72); line-height: 1.75; margin-bottom: var(--s5); max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-bottom: var(--s5); }
.hero__trust-row { display: flex; flex-wrap: wrap; gap: var(--s4); }
.trust-item { display: flex; align-items: center; gap: 7px; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.55); }
.trust-item__icon {
  width: 20px; height: 20px;
  background: rgba(240,192,64,0.15); border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; color: var(--gold); flex-shrink: 0;
}

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__img-wrap { position: relative; width: 100%; max-width: 520px; }
.hero__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-xl); border: 1px solid rgba(255,255,255,0.08); }

.hero__float-badge {
  position: absolute; bottom: -18px; left: -16px;
  background: var(--mg-3); border: 1px solid var(--gold-border);
  border-radius: var(--r-lg); padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-gold);
}
.hero__float-badge .fb-icon {
  width: 42px; height: 42px; background: var(--success-pale);
  border-radius: var(--r-full); display: flex; align-items: center;
  justify-content: center; color: var(--success); font-size: 20px; flex-shrink: 0;
}
.fb-text-top { font-weight: 700; font-size: 0.875rem; color: var(--white); display: block; }
.fb-text-bot { font-size: 0.75rem; color: var(--muted); display: block; }

/* ── Hero Form Card (Apiflag form embedded) ── */
.hero-form-card {
  background: rgba(10,18,45,0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
  position: relative; z-index: 2; max-width: 520px; width: 100%;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hero-form-card__hd {
  background: linear-gradient(135deg, var(--gold) 0%, var(--ember) 100%);
  padding: var(--s4) var(--s5); text-align: center;
}
.hero-form-card__title {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 900;
  color: #0A0C14; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 4px;
}
.hero-form-card__sub { font-size: 0.875rem; color: rgba(10,12,20,0.70); font-weight: 600; margin: 0; }
.hero-form-card__trust-row {
  display: flex; justify-content: center; gap: 10px;
  padding: 10px var(--s4);
  background: rgba(240,192,64,0.08);
  border-bottom: 1px solid rgba(240,192,64,0.15);
  flex-wrap: wrap;
}
.hero-form-card__body { padding: var(--s4) var(--s4) var(--s3); min-height: 120px; }
.hero-form-card__footer {
  background: rgba(0,0,0,0.20);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 10px var(--s4); text-align: center;
}
.hero-form-card__footer p { font-size: 11px; color: var(--faint); margin: 0; line-height: 1.55; }
.hero-form-card__footer a { color: var(--gold); text-decoration: underline; }

/* ============================================================
   10. TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--mg-2);
  border-bottom: 1px solid rgba(240,192,64,0.08);
  padding-block: var(--s5);
}
.trust-bar__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s4); }
.trust-stat { text-align: center; padding: var(--s4) var(--s3); }
.trust-stat__num {
  display: block; font-family: var(--font-display);
  font-size: clamp(2rem,4vw,2.6rem); font-weight: 900; color: var(--white);
  line-height: 1; margin-bottom: 4px; letter-spacing: -0.04em;
}
.trust-stat__num .amber-num { color: var(--gold); }
.trust-stat__label { font-size: 0.875rem; color: var(--muted); font-weight: 500; }

/* ============================================================
   11. WHAT IS ACIMA LEASING
   ============================================================ */
.what-is { padding-block: var(--s12); }
.what-is__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: start; }
.what-is__content h2 { margin-bottom: var(--s4); }
.what-is__content p  { margin-bottom: var(--s4); font-size: 1.1rem; }

.what-is__highlight {
  background: rgba(240,192,64,0.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s4) var(--s5); margin-top: var(--s4);
}
.what-is__highlight p { color: var(--text); font-weight: 500; margin: 0; }
.what-is__highlight a { color: var(--gold); }

.what-is__sidebar { display: flex; flex-direction: column; gap: var(--s3); }
.info-card {
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); padding: var(--s4);
  display: flex; gap: var(--s4); align-items: flex-start;
  transition: border-color 0.2s;
}
.info-card:hover { border-color: var(--gold-border); }
.info-card__icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.info-card h4 { margin-bottom: 4px; font-size: 1rem; color: var(--white); font-family: var(--font-body); font-weight: 600; }
.info-card p  { font-size: 0.875rem; margin: 0; }

/* ============================================================
   12. BENEFITS
   ============================================================ */
.benefits { padding-block: var(--s12); }
.benefits__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s4); }

.benefit-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); padding: var(--s5);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease;
}
.benefit-card:hover { transform: translateY(-5px); box-shadow: 0 0 30px rgba(240,192,64,0.10); border-color: var(--gold-border); }

.benefit-card__icon {
  width: 54px; height: 54px; background: rgba(240,192,64,0.10);
  border-radius: var(--r-md); display: flex; align-items: center;
  justify-content: center; font-size: 26px; margin-bottom: var(--s4);
}
.benefit-card h3 { font-size: 1.2rem; margin-bottom: 6px; color: var(--white); font-family: var(--font-body); font-weight: 600; }
.benefit-card p  { font-size: 0.875rem; margin: 0; }

/* ============================================================
   13. HOW IT WORKS
   ============================================================ */
.hiw { padding-block: var(--s12); }
.hiw__steps { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s6); position: relative; margin-top: var(--s8); }
.hiw__steps::before {
  content: ''; position: absolute; top: 40px;
  left: calc(16.67% + 20px); right: calc(16.67% + 20px);
  height: 1px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--ember) 50%, rgba(255,255,255,0.08) 100%);
}

.step { text-align: center; padding: var(--s4); position: relative; }
.step__num {
  width: 80px; height: 80px;
  background: var(--mg-3);
  border: 2px solid rgba(240,192,64,0.30);
  border-radius: var(--r-full);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s4);
  font-family: var(--font-display); font-size: 1.875rem; font-weight: 900; color: var(--gold);
  position: relative; z-index: 1;
  box-shadow: 0 0 24px rgba(240,192,64,0.14);
}
.step h3 { font-size: 1.2rem; margin-bottom: var(--s3); color: var(--white); font-family: var(--font-body); font-weight: 600; }
.step p  { font-size: 0.9375rem; }

/* ============================================================
   14. PRODUCTS GRID
   ============================================================ */
.products { padding-block: var(--s12); }
.products__grid { display: grid; grid-template-columns: repeat(6,1fr); gap: var(--s3); margin-top: var(--s6); }

.product-chip {
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); padding: var(--s4) var(--s3); text-align: center;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; cursor: default;
}
.product-chip:hover {
  transform: translateY(-4px); border-color: var(--gold-border);
  box-shadow: 0 0 20px rgba(240,192,64,0.08);
}
.product-chip__icon { font-size: 34px; margin-bottom: 8px; display: block; }
.product-chip__name { font-weight: 600; font-size: 0.8rem; color: var(--white); }
.product-chip__sub  { font-size: 0.72rem; color: var(--muted); margin-top: 2px; }

/* ============================================================
   15. REVIEWS
   ============================================================ */
.reviews { padding-block: var(--s12); }
.reviews__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s4); margin-top: var(--s6); }

.review-card {
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); padding: var(--s5); position: relative;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.review-card::before {
  content: '"'; position: absolute; top: 12px; right: 18px;
  font-family: var(--font-display); font-size: 72px; color: rgba(240,192,64,0.07);
  line-height: 1; font-weight: 900;
}

.review-stars { color: var(--gold); font-size: 1.1rem; margin-bottom: var(--s3); letter-spacing: 2px; }
.review-text  { font-size: 0.9375rem; color: var(--muted); margin-bottom: var(--s4); line-height: 1.75; }
.review-author { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--border); padding-top: var(--s3); }
.review-avatar {
  width: 44px; height: 44px; border-radius: var(--r-full);
  background: var(--mg-3); border: 1px solid var(--gold-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-weight: 700; font-size: 1.1rem; flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: 0.875rem; color: var(--white); }
.review-meta { font-size: 0.75rem; color: var(--faint); }
.reviews__disclaimer { text-align: center; margin-top: var(--s4); font-size: 0.72rem; color: var(--faint); }

/* ============================================================
   16. EXPERT PANEL (E-E-A-T)
   ============================================================ */
.experts { padding-block: var(--s12); }
.experts__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); margin-top: var(--s8); }

.expert-card {
  background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s;
}
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.expert-card__header { background: var(--mg-3); padding: var(--s4); display: flex; align-items: center; gap: var(--s3); }
.expert-photo { width: 64px; height: 64px; border-radius: var(--r-full); object-fit: cover; border: 2px solid var(--gold); flex-shrink: 0; }
.expert-name  { font-family: var(--font-body); font-weight: 700; color: var(--white); font-size: 0.9375rem; }
.expert-cred  { font-size: 0.72rem; color: var(--gold); font-weight: 600; }
.expert-title { font-size: 0.72rem; color: rgba(255,255,255,0.45); margin-top: 2px; }
.expert-card__body { padding: var(--s4); }
.expert-card__body p { font-size: 0.875rem; margin: 0; }

/* ============================================================
   17. COMPARISON TABLE
   ============================================================ */
.compare { padding-block: var(--s12); }
.compare-table-wrap { overflow-x: auto; margin-top: var(--s8); border-radius: var(--r-lg); border: 1px solid var(--glass-b); box-shadow: var(--shadow-md); }

.compare-table { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare-table thead { background: var(--mg-3); }
.compare-table thead th {
  padding: var(--s4) var(--s5); text-align: center;
  font-family: var(--font-body); font-weight: 700; font-size: 0.875rem;
  color: var(--muted); letter-spacing: 0.04em;
}
.compare-table thead th.highlight { background: linear-gradient(135deg, var(--gold), var(--ember)); color: #0A0C14; }
.compare-table thead th.highlight::after { content: '★ Recommended'; display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.06em; margin-top: 2px; opacity: 0.85; }
.compare-table thead th:first-child { text-align: left; }
.compare-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.compare-table tbody tr:hover { background: rgba(240,192,64,0.04); }
.compare-table td { padding: var(--s3) var(--s5); font-size: 0.875rem; text-align: center; border-bottom: 1px solid var(--border); color: var(--muted); }
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--white); }
.compare-table td.highlight { background: rgba(240,192,64,0.06); font-weight: 600; color: var(--white); }
.compare-table .check  { color: var(--success); font-size: 1.1rem; }
.compare-table .x-mark { color: var(--danger); }
.compare-table .dot    { color: var(--faint); }

/* ============================================================
   18. STATS SECTION
   ============================================================ */
.stats-section {
  background: var(--mg-1);
  padding-block: var(--s12);
  position: relative; overflow: hidden;
}
.stats-section::before {
  content: ''; position: absolute; top: -40%; left: 50%; transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse, rgba(240,192,64,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.stats-section .section-head h2 { color: var(--white); }
.stats-section .section-head p  { color: var(--muted); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s6); margin-top: var(--s8); position: relative; z-index: 1; }
.stat-item { text-align: center; }
.stat-item__num {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.5rem,5vw,4rem); font-weight: 900; color: var(--gold);
  line-height: 1; margin-bottom: 6px; letter-spacing: -0.04em;
}
.stat-item__label { font-size: 0.9375rem; color: var(--muted); }

/* ============================================================
   19. FAQ
   ============================================================ */
.faq-section { padding-block: var(--s12); }
.faq-list { display: flex; flex-direction: column; gap: 10px; margin-top: var(--s6); max-width: 800px; margin-inline: auto; }
.faq-item { background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-lg); overflow: hidden; transition: border-color 0.2s; }
.faq-item.is-open { border-color: var(--gold-border); box-shadow: 0 0 20px rgba(240,192,64,0.06); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--s4) var(--s5); background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--font-body); font-size: 0.9375rem; font-weight: 600; color: var(--text);
  transition: color 0.15s;
}
.faq-item.is-open .faq-q { color: var(--gold); }
.faq-q__icon {
  width: 28px; height: 28px; border-radius: var(--r-full);
  background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.2s, transform 0.25s; font-size: 18px; font-weight: 300; color: var(--muted);
}
.faq-item.is-open .faq-q__icon { transform: rotate(45deg); background: var(--gold); color: #0A0C14; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a__inner { padding: 0 var(--s5) var(--s4); color: var(--muted); line-height: 1.75; }

/* ============================================================
   20. BLOG PREVIEW
   ============================================================ */
.blog-preview { padding-block: var(--s12); }
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); margin-top: var(--s6); }

.blog-card {
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.2s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-border); }
.blog-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card__body { padding: var(--s4); flex: 1; display: flex; flex-direction: column; }
.blog-card__cat  { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.blog-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 10px; line-height: 1.3; }
.blog-card__excerpt { font-size: 0.875rem; color: var(--muted); flex: 1; margin-bottom: var(--s3); }
.blog-card__meta { font-size: 0.72rem; color: var(--faint); display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--border); padding-top: 10px; margin-top: auto; }

/* ============================================================
   21. CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--mg-0) 0%, var(--mg-2) 100%);
  padding-block: var(--s12); text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(240,192,64,0.12) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); margin-bottom: var(--s3); }
.cta-section p  { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin: 0 auto var(--s6); }
.cta-badges { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: var(--s4); }

/* ============================================================
   22. FOOTER
   ============================================================ */
.footer { background: var(--mg-0); padding-top: var(--s12); padding-bottom: var(--s6); color: var(--muted); border-top: 1px solid rgba(240,192,64,0.07); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s8); padding-bottom: var(--s8); border-bottom: 1px solid rgba(255,255,255,0.05); }
.footer__brand p { font-size: 0.875rem; margin-top: var(--s3); line-height: 1.7; max-width: 300px; }
.footer__brand .footer-logo { height: 34px; }
.footer__col h4 { font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; color: var(--white); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: var(--s3); }
.footer__col ul { display: flex; flex-direction: column; gap: 4px; }
.footer__col a { font-size: 0.875rem; color: var(--faint); transition: color 0.15s; padding: 3px 0; }
.footer__col a:hover { color: var(--gold); }
.footer__bottom { padding-top: var(--s5); display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: space-between; align-items: flex-start; }
.footer__copyright { font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer__disclaimer { font-size: 11px; line-height: 1.65; color: rgba(255,255,255,0.20); max-width: 780px; border-top: 1px solid rgba(255,255,255,0.04); padding-top: var(--s4); margin-top: var(--s3); }

/* ============================================================
   23. DISCLAIMER BAR
   ============================================================ */
.disclaimer-bar {
  background: rgba(240,192,64,0.06);
  border-bottom: 1px solid rgba(240,192,64,0.12);
  padding: 10px var(--s5); text-align: center;
  font-size: 0.72rem; color: rgba(240,192,64,0.70); line-height: 1.5;
}

/* ============================================================
   24. BREADCRUMB
   ============================================================ */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.875rem; color: var(--faint); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--faint); }
.breadcrumb .current { color: var(--gold); }
.breadcrumb--light { color: var(--faint); }
.breadcrumb--light a:hover { color: var(--gold); }

/* ============================================================
   25. BLOG / ARTICLE STYLES
   ============================================================ */
.article-hero { background: var(--mg-2); padding: calc(var(--nav-h) + var(--s10)) 0 var(--s10); }
.article-hero h1 { color: var(--white); margin-top: var(--s3); }
.article-hero .article-meta { color: var(--muted); font-size: 0.875rem; display: flex; gap: var(--s4); flex-wrap: wrap; }

.article-layout { padding-block: var(--s10); }
.article-layout__inner { display: grid; grid-template-columns: 1fr 320px; gap: var(--s8); align-items: start; }

.article-content h2 { margin: var(--s6) 0 var(--s3); font-size: 1.875rem; }
.article-content h3 { margin: var(--s5) 0 var(--s3); font-size: 1.5rem; }
.article-content p  { margin-bottom: var(--s3); font-size: 1.1rem; }
.article-content ul, .article-content ol { padding-left: var(--s5); margin-bottom: var(--s3); display: flex; flex-direction: column; gap: 8px; }
.article-content li { font-size: 1.1rem; color: var(--muted); list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-content strong { color: var(--white); }
.article-content a { color: var(--gold); text-decoration: underline; }
.article-content a:hover { color: var(--ember); }

.article-content .callout {
  background: rgba(240,192,64,0.07);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s4) var(--s5); margin-block: var(--s5);
}
.article-content .callout p { color: var(--text); margin: 0; }

.article-sidebar { position: sticky; top: calc(var(--nav-h) + var(--s4)); }
.sidebar-cta { background: var(--mg-3); border: 1px solid var(--gold-border); border-radius: var(--r-lg); padding: var(--s5); text-align: center; margin-bottom: var(--s4); }
.sidebar-cta h4 { color: var(--white); margin-bottom: var(--s3); }
.sidebar-cta p  { color: var(--muted); font-size: 0.875rem; margin-bottom: var(--s3); }
.sidebar-links { background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-lg); padding: var(--s4); }
.sidebar-links h4 { margin-bottom: var(--s3); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--faint); font-family: var(--font-body); }
.sidebar-links ul { display: flex; flex-direction: column; gap: 6px; }
.sidebar-links a { font-size: 0.875rem; color: var(--gold); text-decoration: underline; }

/* ============================================================
   26. PAGE-LEVEL HERO (about, faq, compare etc.)
   ============================================================ */
.page-hero { background: linear-gradient(135deg, var(--mg-0), var(--mg-2)); padding: calc(var(--nav-h) + var(--s10)) 0 var(--s8); }
.page-hero h1 { color: var(--white); }
.page-hero p  { color: var(--muted); margin-top: var(--s3); max-width: 560px; }

.page-content { padding-block: var(--s10); }
.page-content h2 { margin: var(--s6) 0 var(--s3); color: var(--white); }
.page-content h3 { margin: var(--s4) 0 var(--s3); color: var(--white); }
.page-content p  { margin-bottom: var(--s3); }
.page-content ul, .page-content ol { padding-left: var(--s5); margin-bottom: var(--s3); }
.page-content li { list-style: disc; margin-bottom: 6px; color: var(--muted); }
.page-content ol li { list-style: decimal; }

/* ============================================================
   27. APPLY PAGE
   ============================================================ */
.apply-hero { background: linear-gradient(135deg, var(--mg-0), var(--mg-2)); padding: calc(var(--nav-h) + var(--s5)) 0 var(--s4); text-align: center; }
.apply-hero h1 { color: var(--white); margin-bottom: var(--s3); }
.apply-hero p  { color: var(--muted); font-size: 1.1rem; max-width: 520px; margin: 0 auto var(--s5); }

.apply-wrap { max-width: 720px; margin: 0 auto; padding-block: var(--s10); }

.form-wrap {
  background: rgba(10,18,45,0.85);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-xl); padding: var(--s6);
  box-shadow: var(--shadow-gold);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.apply-trust-row { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s3); margin-top: var(--s8); }
.apply-trust-item { text-align: center; background: var(--glass); border-radius: var(--r-md); padding: var(--s3); border: 1px solid var(--glass-b); }
.apply-trust-item .icon { font-size: 28px; margin-bottom: 6px; display: block; }
.apply-trust-item p { font-size: 0.75rem; margin: 0; font-weight: 600; color: var(--white); }

/* ============================================================
   28. BLOG INDEX / HERO
   ============================================================ */
.blog-hero { background: linear-gradient(135deg, var(--mg-0), var(--mg-2)); padding: calc(var(--nav-h) + var(--s10)) 0 var(--s10); text-align: center; }
.blog-hero h1 { color: var(--white); }
.blog-hero p  { color: var(--muted); max-width: 540px; margin: var(--s3) auto 0; }
.blog-main { padding-block: var(--s10); }
.blog-index-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); }

/* ============================================================
   29. FADE-UP ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up:nth-child(1){transition-delay:0.0s} .fade-up:nth-child(2){transition-delay:0.10s}
.fade-up:nth-child(3){transition-delay:0.20s} .fade-up:nth-child(4){transition-delay:0.30s}
.fade-up:nth-child(5){transition-delay:0.40s} .fade-up:nth-child(6){transition-delay:0.50s}

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:0.01ms!important; transition-duration:0.01ms!important; }
  .fade-up { opacity:1; transform:none; }
}

/* ============================================================
   30. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero__grid   { grid-template-columns: 1fr; }
  .hero__visual { display: flex; justify-content: center; }
  .hero-form-card { max-width: 100%; }
  .hero__h1     { font-size: clamp(2rem,5vw,3rem); }
  .trust-bar__grid  { grid-template-columns: repeat(2,1fr); }
  .what-is__grid    { grid-template-columns: 1fr; }
  .benefits__grid   { grid-template-columns: repeat(2,1fr); }
  .products__grid   { grid-template-columns: repeat(3,1fr); }
  .reviews__grid    { grid-template-columns: 1fr; }
  .experts__grid    { grid-template-columns: 1fr; }
  .stats-grid       { grid-template-columns: repeat(2,1fr); }
  .blog-grid        { grid-template-columns: repeat(2,1fr); }
  .blog-index-grid  { grid-template-columns: repeat(2,1fr); }
  .footer__grid     { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .hiw__steps       { grid-template-columns: 1fr; }
  .hiw__steps::before { display: none; }
  .article-layout__inner { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .apply-trust-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --container: 100%; }
  .section { padding-block: var(--s8); }
  .nav__links,.nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding-top: calc(var(--nav-h) + var(--s8)); padding-bottom: var(--s8); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .benefits__grid  { grid-template-columns: 1fr; }
  .products__grid  { grid-template-columns: repeat(2,1fr); }
  .stats-grid      { grid-template-columns: repeat(2,1fr); }
  .blog-grid       { grid-template-columns: 1fr; }
  .blog-index-grid { grid-template-columns: 1fr; }
  .footer__grid    { grid-template-columns: 1fr; gap: var(--s5); }
  .footer__bottom  { flex-direction: column; align-items: center; text-align: center; }
  .cta-badges      { flex-direction: column; align-items: center; }
  .hero__float-badge { display: none; }
  .compare-table-wrap { border-radius: var(--r-md); }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--s3); }
  .btn--lg,.btn--xl { padding: 13px 22px; font-size: 1rem; }
  .products__grid { grid-template-columns: repeat(2,1fr); }
}

/* ============================================================
   31. SEO GUIDE SECTION (Midnight Gold)
   ============================================================ */
.seo-guide { padding-block: var(--s12); }

.seo-guide__intro {
  text-align: center; max-width: 700px; margin: 0 auto var(--s8);
}
.seo-guide__intro .article-meta {
  display: flex; justify-content: center; flex-wrap: wrap; gap: var(--s3);
  font-size: 0.8rem; color: var(--faint); margin-top: var(--s3);
}
.seo-guide__intro .article-meta span { display: flex; align-items: center; gap: 5px; }

.seo-guide__layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--s8);
  align-items: start;
}

/* Content blocks */
.seo-block {
  padding-left: var(--s4);
  border-left: 3px solid var(--gold-border);
  margin-bottom: var(--s8);
  transition: border-color 0.2s;
}
.seo-block:hover { border-left-color: var(--gold); }

.seo-block__num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: var(--r-full);
  background: var(--gold-pale); border: 1px solid var(--gold-border);
  font-size: 0.72rem; font-weight: 700; color: var(--gold);
  margin-bottom: var(--s3); font-family: var(--font-body);
}

.seo-block h3 {
  font-family: var(--font-display); font-size: clamp(1.25rem,2.2vw,1.6rem);
  font-weight: 700; color: var(--white); margin-bottom: var(--s3); line-height: 1.25;
}
.seo-block h3 .kw { color: var(--gold); }

.seo-block p { font-size: 1rem; color: var(--muted); margin-bottom: var(--s3); line-height: 1.8; }
.seo-block ul, .seo-block ol { padding-left: var(--s4); margin-bottom: var(--s3); display: flex; flex-direction: column; gap: 8px; }
.seo-block li { font-size: 1rem; color: var(--muted); list-style: disc; line-height: 1.7; }
.seo-block ol li { list-style: decimal; }
.seo-block strong { color: var(--white); }
.seo-block a { color: var(--gold); text-decoration: underline; }

/* Callout box inside seo-block */
.seo-callout {
  background: rgba(240,192,64,0.07);
  border: 1px solid var(--gold-border);
  border-radius: var(--r-md);
  padding: var(--s4);
  margin-block: var(--s4);
  display: flex; gap: var(--s3); align-items: flex-start;
}
.seo-callout__icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.seo-callout p { margin: 0; color: var(--text); font-size: 0.9375rem; }
.seo-callout strong { color: var(--gold); }

/* Danger callout (cost warning) */
.seo-callout--warn {
  background: rgba(239,68,68,0.07);
  border-color: rgba(239,68,68,0.25);
}
.seo-callout--warn p { color: rgba(255,255,255,0.80); }
.seo-callout--warn strong { color: #FCA5A5; }

/* Cost table */
.seo-cost-table { width: 100%; border-collapse: collapse; margin-block: var(--s4); font-size: 0.875rem; }
.seo-cost-table thead tr { background: var(--mg-3); }
.seo-cost-table thead th {
  padding: 10px 14px; text-align: left; font-weight: 600; color: var(--muted);
  font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.04em;
}
.seo-cost-table thead th:first-child { border-radius: var(--r-sm) 0 0 0; }
.seo-cost-table thead th:last-child  { border-radius: 0 var(--r-sm) 0 0; }
.seo-cost-table tbody tr { border-bottom: 1px solid var(--border); }
.seo-cost-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.02); }
.seo-cost-table td { padding: 10px 14px; color: var(--muted); vertical-align: middle; }
.seo-cost-table td:first-child { font-weight: 600; color: var(--white); }
.seo-cost-table .best { color: var(--success); font-weight: 600; }
.seo-cost-table .mid  { color: var(--gold); }
.seo-cost-table .bad  { color: #FCA5A5; }
.seo-cost-table .row-gold { background: rgba(240,192,64,0.06) !important; }

/* Keyword list chips */
.kw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s3); }
.kw-chip { background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-sm); padding: 4px 12px; font-size: 0.8rem; color: var(--muted); }
.kw-chip--gold { border-color: var(--gold-border); color: var(--gold); background: var(--gold-pale); }

/* Requirements grid */
.req-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--s3); margin-block: var(--s4); }
.req-item { background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-md); padding: var(--s3) var(--s4); display: flex; gap: var(--s2); align-items: flex-start; }
.req-item__icon { color: var(--success); font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.req-item h4 { font-size: 0.875rem; font-weight: 600; color: var(--white); margin-bottom: 2px; font-family: var(--font-body); }
.req-item p  { font-size: 0.8rem; margin: 0; color: var(--muted); }

/* Product categories tag cloud */
.product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: var(--s3); }
.product-tag { background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-full); padding: 6px 14px; font-size: 0.8rem; color: var(--muted); }
.product-tag span { margin-right: 5px; }

/* Trust signals grid */
.trust-signals { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--s3); margin-block: var(--s4); }
.ts-item { background: var(--glass); border: 1px solid var(--glass-b); border-radius: var(--r-md); padding: var(--s3); text-align: center; }
.ts-item .ts-val { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--gold); display: block; margin-bottom: 3px; }
.ts-item .ts-lab { font-size: 0.75rem; color: var(--muted); }

/* Sidebar */
.seo-sidebar { position: sticky; top: calc(var(--nav-h) + 16px); display: flex; flex-direction: column; gap: var(--s3); }

.seo-quick-facts {
  background: var(--glass); border: 1px solid var(--gold-border);
  border-radius: var(--r-lg); padding: var(--s4);
}
.seo-quick-facts h4 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--s3); }
.fact-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.fact-row:last-child { border-bottom: none; }
.fact-label { font-size: 0.8rem; color: var(--muted); }
.fact-val { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.fact-val--gold { color: var(--gold); }

.seo-toc {
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); padding: var(--s4);
}
.seo-toc h4 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: var(--s3); }
.toc-list { display: flex; flex-direction: column; gap: 4px; }
.toc-link { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--muted); padding: 5px 0; transition: color 0.15s; text-decoration: none; }
.toc-link:hover { color: var(--gold); }
.toc-num { width: 20px; height: 20px; border-radius: 50%; background: var(--gold-pale); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--gold); flex-shrink: 0; }

.seo-author-card {
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: var(--r-lg); padding: var(--s4); display: flex; gap: var(--s3); align-items: center;
}
.seo-author-card img { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--gold); object-fit: cover; flex-shrink: 0; }
.sa-name { font-size: 0.875rem; font-weight: 600; color: var(--white); }
.sa-cred { font-size: 0.72rem; color: var(--gold); }
.sa-role { font-size: 0.72rem; color: var(--muted); }

/* Responsive */
@media (max-width: 1024px) {
  .seo-guide__layout { grid-template-columns: 1fr; }
  .seo-sidebar { position: static; }
  .req-grid { grid-template-columns: 1fr; }
  .trust-signals { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 580px) {
  .trust-signals { grid-template-columns: 1fr; }
}

/* ============================================================
   32. E-E-A-T EXPERT SECTION (enhanced)
   ============================================================ */
.eeat-section { padding-block: var(--s12); }

/* Editorial bar */
.editorial-bar {
  background: rgba(240,192,64,0.06);
  border: 1px solid rgba(240,192,64,0.15);
  border-radius: var(--r-lg);
  padding: var(--s3) var(--s5);
  display: flex; flex-wrap: wrap; gap: var(--s4);
  align-items: center; justify-content: center;
  margin-bottom: var(--s8);
}
.ed-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.8rem; color: var(--muted);
}
.ed-icon { color: var(--gold); font-size: 15px; }

/* Expert grid */
.eeat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); }

/* Expert card */
.eeat-card {
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: var(--r-xl); overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .2s;
  display: flex; flex-direction: column;
}
.eeat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-border); }

/* Card header with photo */
.eeat-card__head {
  background: var(--mg-3);
  padding: var(--s5) var(--s5) var(--s4);
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.eeat-badge {
  position: absolute; top: var(--s3); right: var(--s3);
  background: var(--success-pale); color: #34D399;
  border-radius: var(--r-full); padding: 3px 10px;
  font-size: 10px; font-weight: 700;
}
.eeat-photo {
  width: 120px; height: 120px; border-radius: 50%;
  border: 3px solid var(--gold);
  object-fit: cover; object-position: top center;
  margin: 0 auto var(--s3); display: block;
  box-shadow: 0 0 24px rgba(240,192,64,0.22);
}
.eeat-name {
  font-family: var(--font-display); font-size: 1.3rem;
  font-weight: 700; color: var(--white); margin-bottom: 4px;
}
.eeat-cred {
  font-size: 0.8rem; font-weight: 700;
  background: linear-gradient(90deg,var(--gold),var(--ember));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 4px;
}
.eeat-org { font-size: 0.72rem; color: var(--muted); line-height: 1.4; }

/* Stats row */
.eeat-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-bottom: 1px solid var(--border);
}
.eeat-stat { padding: var(--s3) var(--s2); text-align: center; border-right: 1px solid var(--border); }
.eeat-stat:last-child { border-right: none; }
.eeat-stat__val { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--gold); display: block; line-height: 1.1; }
.eeat-stat__lab { font-size: 10px; color: var(--muted); line-height: 1.3; margin-top: 2px; display: block; }

/* Card body */
.eeat-card__body { padding: var(--s4) var(--s5); flex: 1; }

.eeat-spec-row { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: var(--s4); }
.eeat-spec-tag {
  background: var(--glass); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 3px 9px;
  font-size: 0.72rem; color: var(--muted);
}

.eeat-quote {
  background: rgba(240,192,64,0.05);
  border-left: 3px solid var(--gold-border);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s3) var(--s4); margin-bottom: var(--s4);
}
.eeat-quote p {
  font-size: 0.875rem; font-style: italic;
  color: var(--muted); line-height: 1.7; margin: 0;
}

.eeat-verdict { margin-bottom: var(--s3); }
.eeat-verdict__row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.eeat-verdict__score { display: flex; align-items: baseline; gap: 5px; }
.eeat-verdict__num { font-size: 1.375rem; font-weight: 700; color: var(--gold); }
.eeat-verdict__max { font-size: 0.75rem; color: var(--faint); }
.eeat-verdict__stars { color: var(--gold); font-size: 0.875rem; letter-spacing: 1px; }
.eeat-verdict__label { font-size: 0.72rem; color: var(--faint); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.eeat-verdict__rec { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.eeat-verdict__rec strong { color: var(--white); }

.eeat-card__foot {
  border-top: 1px solid var(--border);
  padding: var(--s3) var(--s5);
  display: flex; align-items: center; justify-content: space-between;
}
.eeat-articles { font-size: 0.8rem; color: var(--gold); text-decoration: underline; }
.eeat-verified { font-size: 0.72rem; color: var(--success); display: flex; align-items: center; gap: 4px; }

/* FAQ expert attribution */
.faq-expert-attr {
  display: flex; align-items: center; gap: 8px;
  margin-top: var(--s2); padding-top: var(--s2);
  border-top: 1px solid var(--border);
}
.faq-expert-attr img {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--gold-border); object-fit: cover; object-position: top;
}
.faq-expert-attr span { font-size: 0.72rem; color: var(--faint); }
.faq-expert-attr strong { color: var(--gold); }

/* Responsive */
@media (max-width: 1024px) { .eeat-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .editorial-bar { gap: var(--s2); } .eeat-stats { grid-template-columns: repeat(3,1fr); } }

/* ============================================================
   33. COOKIE CONSENT BAR
   ============================================================ */
.cookie-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: rgba(5,10,24,0.97);
  border-top: 1px solid rgba(240,192,64,0.12);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 14px var(--s5);
  display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap;
  transform: translateY(0); transition: transform 0.3s ease;
}
.cookie-bar.hidden { transform: translateY(100%); pointer-events: none; }
.cookie-bar p { font-size: 0.8rem; color: var(--muted); margin: 0; flex: 1; min-width: 220px; }
.cookie-bar a { color: var(--gold); }
.cookie-bar-btns { display: flex; gap: 8px; flex-shrink: 0; }

/* ============================================================
   34. STICKY CTA BUTTON
   ============================================================ */
.sticky-cta-wrap {
  position: fixed; bottom: var(--s5); right: var(--s4); z-index: 997;
  display: flex; flex-direction: column; align-items: flex-end; gap: 6px;
  transform: translateY(120px); opacity: 0; pointer-events: none;
  transition: transform 0.35s ease, opacity 0.3s ease;
}
.sticky-cta-wrap.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-cta-btn {
  background: linear-gradient(135deg, var(--gold), var(--ember));
  color: #0A0C14; font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 700;
  padding: 13px 22px; border-radius: var(--r-full); border: none; cursor: pointer;
  box-shadow: 0 4px 24px rgba(240,192,64,0.40);
  text-decoration: none; display: flex; align-items: center; gap: 6px;
  white-space: nowrap; transition: transform 0.15s, box-shadow 0.15s;
}
.sticky-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(240,192,64,0.50); }
.sticky-cta-close {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: var(--muted); font-size: 10px; padding: 4px 10px;
  border-radius: var(--r-full); cursor: pointer; transition: background 0.15s;
}
.sticky-cta-close:hover { background: rgba(255,255,255,0.14); }

/* Move sticky CTA up when cookie bar visible */
body.cookie-visible .sticky-cta-wrap { bottom: calc(var(--s5) + 64px); }

/* ============================================================
   35. BLOG DISCLAIMER BOX
   ============================================================ */
.blog-disclaimer {
  background: rgba(240,192,64,0.05); border: 1px solid rgba(240,192,64,0.15);
  border-radius: var(--r-md); padding: var(--s3) var(--s4);
  font-size: 0.8rem; color: var(--muted); line-height: 1.6; margin-bottom: var(--s5);
}
.blog-disclaimer strong { color: var(--white); }

@media (max-width: 768px) {
  .sticky-cta-wrap { bottom: var(--s3); right: var(--s3); }
  .sticky-cta-btn { font-size: 0.8rem; padding: 11px 18px; }
  body.cookie-visible .sticky-cta-wrap { bottom: calc(var(--s3) + 80px); }
}

/* ============================================================
   36. RESPONSIVE FIXES — PC / TABLET / MOBILE
   ============================================================ */

/* ─── FIX 1: DISCLAIMER BAR — truncate on mobile ─────────── */
.disclaimer-bar { line-height: 1.35; }
@media (max-width: 768px) {
  .disclaimer-bar {
    font-size: 0.68rem; padding: 6px var(--s3);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
}

/* ─── FIX 2: HERO — CTA buttons must be above fold on mobile ─ */
@media (max-width: 768px) {
  .hero {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: var(--s6);
  }
  .hero__h1 {
    font-size: clamp(1.55rem, 7vw, 2.4rem);
    margin-bottom: var(--s3);
    letter-spacing: -0.025em;
  }
  .hero__sub {
    font-size: 0.9375rem; line-height: 1.65;
    margin-bottom: var(--s4);
  }
  .hero__eyebrow { margin-bottom: var(--s3); }
  .hero__trust-row { display: none; }
}
@media (max-width: 480px) {
  .hero { padding-top: calc(var(--nav-h) + 16px); }
  .hero__h1 { font-size: 1.5rem; }
  .hero__sub { font-size: 0.875rem; }
}

/* ─── FIX 3: COOKIE BAR — compact on mobile ──────────────── */
@media (max-width: 600px) {
  .cookie-bar {
    padding: 10px var(--s3); gap: 8px;
    flex-wrap: nowrap; align-items: center;
  }
  .cookie-bar p { font-size: 0.72rem; line-height: 1.45; min-width: 0; }
  .cookie-bar .btn--ghost { display: none; }
  .cookie-bar-btns { flex-shrink: 0; }
  body.cookie-visible .sticky-cta-wrap {
    bottom: calc(var(--s3) + 74px);
  }
}

/* ─── FIX 4: SECTION SPACING — tighter on mobile ─────────── */
@media (max-width: 768px) {
  :root { --s12: 64px; --s10: 52px; }
}
@media (max-width: 480px) {
  :root { --s12: 48px; --s10: 40px; }
}

/* ─── FIX 5: EXPERT GRID — 2 cols on tablet ──────────────── */
@media (min-width: 641px) and (max-width: 1024px) {
  .eeat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .eeat-grid { grid-template-columns: 1fr; }
  .eeat-stats { grid-template-columns: repeat(3, 1fr); }
  .eeat-stat__val { font-size: 1rem; }
  .eeat-stat__lab { font-size: 9px; }
}

/* ─── FIX 6: BENEFITS / REVIEWS / BLOG — 2-col on tablet ─── */
@media (min-width: 641px) and (max-width: 1024px) {
  .benefits__grid    { grid-template-columns: repeat(2,1fr); }
  .reviews__grid     { grid-template-columns: repeat(2,1fr); }
  .blog-grid,
  .blog-index-grid   { grid-template-columns: repeat(2,1fr); }
  .hiw__steps        { grid-template-columns: repeat(2,1fr); }
  .experts__grid     { grid-template-columns: repeat(2,1fr); }
  .stats-grid        { grid-template-columns: repeat(2,1fr); }
}

/* ─── FIX 7: ARTICLE LAYOUT — sidebar on tablet ──────────── */
@media (min-width: 641px) and (max-width: 1024px) {
  .article-layout__inner { grid-template-columns: 1fr 240px; }
  .article-sidebar { position: sticky; top: calc(var(--nav-h) + var(--s3)); }
}

/* ─── FIX 8: SEO GUIDE SIDEBAR — stack responsively ─────── */
@media (max-width: 1024px) {
  .seo-guide__layout { grid-template-columns: 1fr; }
  .seo-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--s3);
    position: static;
  }
}
@media (max-width: 640px) {
  .seo-sidebar { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
}

/* ─── TRUST BAR — compact on mobile ──────────────────────── */
@media (max-width: 640px) {
  .trust-bar__grid  { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .trust-stat { padding: var(--s3) var(--s2); }
  .trust-stat__num { font-size: 1.75rem; }
}

/* ─── COMPARE TABLE — readable on mobile ─────────────────── */
@media (max-width: 768px) {
  .compare-table td, .compare-table th {
    padding: 8px 10px; font-size: 0.78rem;
  }
  .compare-table thead th.highlight::after { display: none; }
}

/* ─── HOW IT WORKS — step connector line on tablet ───────── */
@media (max-width: 1024px) {
  .hiw__steps::before { display: none; }
}

/* ─── FOOTER — mobile stacking ───────────────────────────── */
@media (max-width: 768px) {
  .footer { padding-top: var(--s8); }
  .footer__grid { gap: var(--s5); }
  .footer__brand p { font-size: 0.8rem; max-width: 100%; }
}

/* ─── PRODUCTS GRID — 3 col tablet, 2 col mobile ─────────── */
@media (min-width: 641px) and (max-width: 1024px) {
  .products__grid { grid-template-columns: repeat(3, 1fr); }
}

/* ─── HERO FORM CARD — full width on mobile ──────────────── */
@media (max-width: 768px) {
  .hero-form-card { max-width: 100%; }
  .hero-form-card__hd { padding: var(--s3) var(--s4); }
  .hero-form-card__title { font-size: 1.25rem; }
}

/* ─── NAV MOBILE — better tap targets ────────────────────── */
@media (max-width: 768px) {
  .nav__mobile a { font-size: 1rem; padding: 13px var(--s3); }
  .nav__mobile .btn--amber { margin-top: 4px; padding: 13px; }
}

/* ─── BLOG DISCLAIMER — compact on mobile ─────────────────── */
@media (max-width: 768px) {
  .blog-disclaimer { font-size: 0.75rem; padding: var(--s2) var(--s3); }
}

/* ─── APPLY TRUST ROW — stack on mobile ──────────────────── */
@media (max-width: 768px) {
  .apply-trust-row { grid-template-columns: repeat(3, 1fr); }
}

/* ─── STICKY CTA — smaller on mobile ─────────────────────── */
@media (max-width: 480px) {
  .sticky-cta-btn { font-size: 0.8rem; padding: 11px 16px; }
  .sticky-cta-wrap { bottom: var(--s3); right: var(--s3); }
}

/* ─── CTA SECTION BADGES — wrap on mobile ────────────────── */
@media (max-width: 480px) {
  .cta-badges { gap: 6px; }
  .cta-badges .badge { font-size: 0.72rem; }
}

/* ─── WHAT IS SECTION — sidebar gap on tablet ────────────── */
@media (min-width: 641px) and (max-width: 1024px) {
  .what-is__grid { grid-template-columns: 1fr; gap: var(--s5); }
}

/* ============================================================
   37. MOBILE BLOG GRID — DEFINITIVE FIX
   (ต้องอยู่ท้ายสุด เพื่อ override ทุก rule ก่อนหน้า)
   ============================================================ */

/* Blog: 1 column บน mobile ทุก viewport ≤ 640px */
@media (max-width: 640px) {
  .blog-grid,
  .blog-preview .blog-grid,
  .blog-index-grid {
    grid-template-columns: 1fr !important;
    gap: var(--s4);
  }

  /* Card: compact layout */
  .blog-card { display: flex; flex-direction: row; min-height: 110px; }
  .blog-card__img {
    width: 120px; min-width: 120px;
    aspect-ratio: unset; height: auto;
    object-fit: cover;
  }
  .blog-card__body { padding: var(--s3); }
  .blog-card__title {
    font-size: 0.9rem !important;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-card__cat { font-size: 0.65rem; margin-bottom: 4px; }
  .blog-card__excerpt { display: none; }
  .blog-card__meta { font-size: 0.65rem; padding-top: 6px; }
}

/* Extra small (iPhone SE, 320px) */
@media (max-width: 380px) {
  .blog-card__img { width: 100px; min-width: 100px; }
  .blog-card__title { font-size: 0.85rem !important; }
}
