/* ══════════════════════════════════════════════════════════
   JavatideUSA — style.css
   System fonts only: Georgia (headings) / Arial (body)
   Colour palette: coffee/dark brown + gold
   ══════════════════════════════════════════════════════════ */

/* ── CSS VARIABLE FALLBACK (already in inline :root) ─────── */
:root{
  --coffee:#1a0a00;--coffee-dk:#0d0500;--gold:#b8860b;--gold-lt:#d4a017;
  --gold-pale:#f5e6c0;--warm:#7c4a1e;--muted:#6b5344;--white:#fff;
  --cream:#fdf8f2;--slate-lt:#f7f3ee;--radius:12px;--radius-sm:8px;
  --radius-lg:16px;--trans:.2s ease;
  --shadow-sm:0 2px 12px rgba(26,10,0,.12);
  --shadow:0 4px 24px rgba(26,10,0,.18);
  --shadow-lg:0 8px 40px rgba(26,10,0,.24);
  --ann-h-d:44px;--ann-h-m:56px;--nav-h:68px;--off-white:#fdf8f2
}

/* ── CONTENT VISIBILITY ──────────────────────────────────── */
#science,#ingredients,#benefits,#how-to-use,#pricing,#reviews,#guarantee,#faq,#final-cta{
  content-visibility:auto;
  contain-intrinsic-size:0 600px
}

/* ── FAQ ACCORDION (display:none — required) ─────────────── */
.faq-a{display:none}
.faq-item.open .faq-a{display:block}

/* ── FOCUS / ACCESSIBILITY ───────────────────────────────── */
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
a:focus-visible,button:focus-visible{border-radius:4px}

/* ── SELECTION ───────────────────────────────────────────── */
::selection{background:var(--gold);color:var(--coffee-dk)}

/* ── SMOOTH ANCHOR PADDING (for fixed nav) ───────────────── */
[id]{scroll-margin-top:calc(var(--ann-h-d) + var(--nav-h) + 16px)}
@media(max-width:640px){[id]{scroll-margin-top:calc(var(--ann-h-m) + var(--nav-h) + 16px)}}

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link{position:absolute;top:-60px;left:1rem;background:var(--gold);color:var(--coffee-dk);padding:.5rem 1rem;border-radius:4px;font-weight:700;z-index:9999;text-decoration:none;transition:top .2s}
.skip-link:focus{top:.5rem}

/* ── GENERAL LINK STYLE ──────────────────────────────────── */
a{color:var(--gold);text-decoration:none;transition:color var(--trans)}
a:hover{color:var(--warm)}
.content-section a{text-decoration:underline;text-underline-offset:3px}
.content-section a:hover{color:var(--warm)}

/* ── BREADCRUMB NAV ──────────────────────────────────────── */
.breadcrumb-nav{padding:.6rem 1.5rem;background:var(--slate-lt);font-size:.78rem;color:var(--muted)}
.breadcrumb-nav a{color:var(--gold);text-decoration:none}
.breadcrumb-nav a:hover{text-decoration:underline}
.breadcrumb-sep{margin:0 .4rem;color:var(--muted)}

/* ── PRICING SECTION EXTRA ───────────────────────────────── */
.price-supply{font-size:.85rem;color:var(--muted);margin-bottom:.4rem}
.price-card.popular .price-btn{background:linear-gradient(135deg,var(--coffee),var(--warm))}
.price-card.popular .price-btn:hover{background:linear-gradient(135deg,var(--warm),var(--coffee))}

/* ── INGREDIENTS — external link indicator ───────────────── */
.ingr-card a::after{content:" ↗";font-size:.7em;opacity:.6}

/* ── MOBILE FLOATING ANIMATION (OFF ≤1024px) ─────────────── */
@media(max-width:1024px){
  .bottle-float{animation:none}
}

/* ── PRINT STYLES ────────────────────────────────────────── */
@media print{
  .ann-bar,header#navbar,.mobile-menu,.hero-btns,.btn-primary,.btn-secondary,.price-btn{display:none!important}
  body{color:#000;background:#fff}
  a{color:#000;text-decoration:underline}
  .hero{background:#fff;color:#000;padding:2rem 0}
  h1.hero-h1,h1.hero-h1 em{color:#000}
  .bg-coffee{background:#fff;color:#000}
  .benefit-card{border:1px solid #ccc}
}

/* ── RESPONSIVE UTILITIES ────────────────────────────────── */
@media(max-width:768px){
  .content-section{padding:3rem 1.25rem}
  .section-title{font-size:1.6rem}
  .section-intro{font-size:.97rem}
  .howto-steps{grid-template-columns:1fr}
  .pricing-grid{grid-template-columns:1fr;max-width:360px;margin:0 auto}
  .price-card.popular{transform:none}
  .price-card.popular:hover{transform:translateY(-4px)}
}

@media(max-width:480px){
  .stats-inner{flex-direction:column;gap:1.25rem}
  .ingr-grid{grid-template-columns:1fr}
  .benefits-grid{grid-template-columns:1fr}
}
