﻿/* ============================================================
   Bitumen Calculator - Redesigned Stylesheet 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* -- Design Tokens -------------------------------------------- */
:root {
  /* Brand */
  --navy:         #0b1628;
  --navy-700:     #162240;
  --navy-600:     #1e3058;
  --gold:         #f59e0b;
  --gold-dark:    #d97706;
  --gold-light:   #fde68a;
  --gold-50:      #fffbeb;
  --sky:          #0ea5e9;
  --sky-dark:     #0284c7;
  --sky-light:    #e0f2fe;
  --green:        #10b981;
  --green-dark:   #059669;
  --purple:       #8b5cf6;

  /* Surfaces */
  --bg:           #f8fafc;
  --bg-2:         #f1f5f9;
  --surface:      #ffffff;
  --border:       #e2e8f0;
  --border-2:     #cbd5e1;

  /* Text */
  --text:         #0b1628;
  --text-2:       #1e293b;
  --text-muted:   #475569;
  --text-light:   #94a3b8;

  /* Gradients */
  --grad-gold:    linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  --grad-sky:     linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
  --grad-hero:    linear-gradient(150deg, #0b1628 0%, #1a3060 55%, #0b2215 100%);
  --grad-dark:    linear-gradient(135deg, #0b1628, #162240);

  /* Shadows */
  --sh-xs:  0 1px 2px rgba(0,0,0,.05);
  --sh-sm:  0 2px 8px rgba(0,0,0,.07);
  --sh:     0 4px 16px rgba(0,0,0,.09);
  --sh-md:  0 8px 32px rgba(0,0,0,.1);
  --sh-lg:  0 16px 48px rgba(0,0,0,.12);
  --sh-xl:  0 24px 64px rgba(0,0,0,.2);
  --sh-gold: 0 4px 20px rgba(245,158,11,.35);

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

  /* Transitions */
  --t:      all .2s ease;
  --t-slow: all .35s cubic-bezier(.4,0,.2,1);
}

/* -- Reset & Base ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--gold); text-decoration: none; transition: var(--t); }
a:hover { color: var(--gold-dark); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

/* -- Typography --------------------------------------------- */
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.12; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-muted); }

.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: #fff; }
.font-bold    { font-weight: 700; }
.font-semibold{ font-weight: 600; }

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

/* -- Layout ------------------------------------------------- */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 820px;  margin: 0 auto; padding: 0 1.5rem; }

.section      { padding: 5.5rem 0; }
.section-sm   { padding: 3rem 0; }
.section-alt  { background: var(--bg-2); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark p { color: rgba(255,255,255,.65); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}
.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-50);
  border: 1px solid var(--gold-light);
  padding: .3rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}
.section-header h2 { margin-bottom: .75rem; }
.section-header p  { font-size: 1.1rem; line-height: 1.7; }

/* Legacy eyebrow compat */
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  background: var(--gold-50);
  border: 1px solid var(--gold-light);
  padding: .3rem 1rem;
  border-radius: var(--r-full);
  margin-bottom: 1rem;
}

/* -- Grid --------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }

/* -- Cards -------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--sh-sm);
  transition: var(--t-slow);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
  opacity: 0;
  transition: var(--t);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.card:hover::before { opacity: 1; }

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.card-icon.gold   { background: var(--gold-50); }
.card-icon.orange { background: var(--gold-50); }
.card-icon.sky    { background: var(--sky-light); }
.card-icon.blue   { background: var(--sky-light); }
.card-icon.green  { background: #d1fae5; }
.card-icon.purple { background: #ede9fe; }

/* -- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r-full);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--t);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--grad-gold);
  color: var(--navy);
  box-shadow: 0 4px 24px rgba(245,158,11,.5);
  font-weight: 700;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(245,158,11,.65);
  color: var(--navy);
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-ghost {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,.2); color: #fff; }
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1.2rem; font-size: .82rem; }

/* -- Badges ------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .25rem .8rem;
  border-radius: var(--r-full);
  font-size: .78rem; font-weight: 600;
}
.badge-gold   { background: var(--gold-50); color: var(--gold-dark); border: 1px solid var(--gold-light); }
.badge-orange { background: var(--gold-50); color: var(--gold-dark); }
.badge-sky    { background: var(--sky-light); color: var(--sky-dark); }
.badge-blue   { background: var(--sky-light); color: var(--sky-dark); }
.badge-green  { background: #d1fae5; color: #065f46; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: .65rem;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
  width: 40px; height: 40px;
  background: var(--grad-gold);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900; color: var(--navy);
}
.nav-logo-text {
  font-size: 1.15rem; font-weight: 800; color: #fff; line-height: 1.2;
}
.nav-logo-text span { color: var(--gold); }

/* Links */
.nav-links { display: flex; align-items: center; gap: .15rem; }
.nav-links a {
  color: rgba(255,255,255,.7);
  font-size: .875rem; font-weight: 500;
  padding: .5rem .9rem;
  border-radius: var(--r-full);
  transition: var(--t);
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav-links a.active { color: var(--gold); background: rgba(245,158,11,.1); }
.nav-cta { margin-left: .5rem; }

/* -- Nav Dropdown ------------------------------------------- */
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-dropdown-btn {
  color: rgba(255,255,255,.7);
  font-size: .875rem; font-weight: 500;
  padding: .5rem .9rem;
  border-radius: var(--r-full);
  display: flex; align-items: center; gap: .3rem;
  transition: var(--t);
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.nav-dropdown-btn:hover,
.nav-dropdown.open .nav-dropdown-btn,
.nav-dropdown.hovering .nav-dropdown-btn,
.nav-dropdown:focus-within .nav-dropdown-btn { color: #fff; background: rgba(255,255,255,.1); }
.nav-dropdown-arrow { font-size: .65rem; transition: transform .2s; }
.nav-dropdown.open .nav-dropdown-arrow,
.nav-dropdown.hovering .nav-dropdown-arrow,
.nav-dropdown:focus-within .nav-dropdown-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + .35rem);
  left: 50%;
  transform: translate(-50%, 10px);
  background: var(--navy-700);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  min-width: 700px;
  box-shadow: var(--sh-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem 2rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
/* Invisible bridge fills the gap so hover doesn't break */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -0.7rem;
  left: 0;
  right: 0;
  height: 0.7rem;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown.hovering .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav-dropdown-col h6 {
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: .5rem;
  margin-top: 0;
  padding-bottom: .35rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav-dropdown-col h6 + h6,
.nav-dropdown-col h6.mt { margin-top: .9rem; }
.nav-dropdown-col a {
  display: block;
  padding: .22rem 0;
  font-size: .82rem;
  color: rgba(255,255,255,.65);
  transition: var(--t);
  background: none;
}
.nav-dropdown-col a:hover { color: var(--gold); padding-left: .3rem; background: none; }

/* Mobile: hide dropdown, show hamburger menu links instead */
@media (max-width: 900px) {
  .nav-dropdown-menu { display: none !important; }
  .nav-dropdown-btn { display: none; }
}

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  padding: .5rem; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px; transition: var(--t);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  background: var(--navy-700);
  border-top: 1px solid rgba(255,255,255,.06);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: .9rem 1.5rem;
  color: rgba(255,255,255,.8); font-weight: 500;
  font-size: .95rem; border-bottom: 1px solid rgba(255,255,255,.04);
  transition: var(--t);
}
.mobile-menu a:hover { color: var(--gold); background: rgba(255,255,255,.03); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background-image: url('/assets/hero-road.jpg');
  background-size: cover;
  background-position: center 40%;
  background-color: #0b1628;
  position: relative; overflow: hidden;
  padding: 3rem 0 4rem;
  height: calc(100vh - 72px);
  min-height: 620px;
  max-height: 900px;
  display: flex;
  align-items: center;
}

/* Dark overlay */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(4,8,18,.65) 0%, rgba(4,8,18,.72) 50%, rgba(4,8,18,.90) 100%);
  z-index: 0;
}

/* Road stripe */
.hero-road {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0, var(--gold) 50px,
    transparent 50px, transparent 72px
  );
  opacity: .65;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative; z-index: 1;
  padding-top: 3rem;
  width: 100%;
}
.hero-content { color: #fff; max-width: 860px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(245,158,11,.18);
  border: 1px solid rgba(245,158,11,.5);
  color: var(--gold-light);
  padding: .35rem 1rem;
  border-radius: var(--r-full);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 4.2vw, 4.2rem);
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-bottom: 1.2rem;
  color: #fff;
  max-width: 100%;
  text-align: justify;
  text-align-last: center;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}
.hero-title em {
  font-style: normal;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 1.8rem;
  max-width: 100%;
  line-height: 1.7;
  text-align: justify;
  text-align-last: center;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.hero-bullets {
  display: grid;
  gap: .7rem;
  margin-bottom: 2rem;
  max-width: 620px;
}
.hero-bullet {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}
.hero-bullet-icon {
  width: 1.2rem;
  color: var(--gold);
  line-height: 1.5;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; justify-content: center; }

.hero-stats {
  display: flex; gap: 2rem; flex-wrap: wrap;
  justify-content: center;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-val {
  font-size: 1.85rem; font-weight: 900; color: #fff;
  line-height: 1; font-variant-numeric: tabular-nums;
}
.hero-stat-val span { color: var(--gold); }
.hero-stat-label {
  font-size: .72rem; color: rgba(255,255,255,.5);
  margin-top: .25rem; text-transform: uppercase; letter-spacing: .08em;
}

/* Hero calculator card */
.hero-visual {
  position: relative;
  min-height: 620px;
}
.hero-image-shell {
  position: relative;
  min-height: 620px;
  border-radius: var(--r-3xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  border: 1px solid rgba(255,255,255,.14);
  background: #0f172a;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8,15,26,.12) 0%, rgba(8,15,26,.5) 42%, rgba(8,15,26,.88) 100%),
    linear-gradient(90deg, rgba(8,15,26,.68) 0%, rgba(8,15,26,.18) 100%);
  z-index: 1;
}
.hero-image-copy {
  position: absolute;
  left: 2rem;
  right: 2rem;
  top: 2rem;
  z-index: 2;
  max-width: 420px;
}
.hero-image-kicker {
  display: inline-block;
  margin-bottom: .85rem;
  padding: .35rem .9rem;
  border-radius: var(--r-full);
  background: rgba(15,23,42,.52);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.84);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-image-copy h2 {
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  margin-bottom: .75rem;
}
.hero-image-copy p {
  color: rgba(255,255,255,.76);
  max-width: 34ch;
}
.hero-calc-card {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  background: rgba(11,22,40,.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-2xl);
  padding: 2rem;
  box-shadow: var(--sh-xl);
}
.hero-calc-title {
  font-size: .875rem; font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .5rem;
}
.hero-results-empty {
  color: rgba(255,255,255,.58);
  font-size: .88rem;
  text-align: center;
  padding: .9rem 1rem 0;
}
.hero-calc-link {
  margin-top: 1rem;
  text-align: center;
}
.hero-calc-link a {
  font-size: .82rem;
  color: rgba(255,255,255,.68);
  text-decoration: underline;
}
.hero-calc-link a:hover {
  color: #fff;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.trust-bar-inner {
  display: flex; align-items: center;
  justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 600;
  color: var(--text-muted);
}
.trust-item-icon {
  width: 30px; height: 30px;
  background: var(--gold-50);
  border: 1px solid var(--gold-light);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; flex-shrink: 0;
}

/* ============================================================
   MAIN CALCULATOR SECTION
   ============================================================ */
.calc-section {
  padding: 5.5rem 0;
  background: linear-gradient(160deg, #0d1b2e 0%, #0f2236 50%, #0b1628 100%);
  position: relative;
}
.calc-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,158,11,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.calc-section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
  position: relative; z-index: 1;
}
.calc-section-header h2 { color: #fff; }
.calc-section-header p { color: rgba(255,255,255,.6); }

.calc-wrap {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-2xl);
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative; z-index: 1;
}

.calc-tabs {
  display: flex;
  background: rgba(0,0,0,.3);
  padding: 0 2rem;
  gap: .25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.calc-tab {
  padding: 1.1rem 1.5rem;
  font-size: .875rem; font-weight: 600;
  color: rgba(255,255,255,.4);
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: var(--t);
  background: none;
  border-top: none; border-left: none; border-right: none;
  cursor: pointer;
}
.calc-tab.active, .calc-tab:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.calc-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Inputs panel */
.calc-inputs {
  padding: 2.5rem;
  border-right: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}
.calc-inputs > h3 {
  font-size: .78rem; font-weight: 700;
  color: rgba(255,255,255,.5); text-transform: uppercase;
  letter-spacing: .1em; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .5rem;
}
.input-set { margin-bottom: 2rem; }
.input-set-title {
  font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  color: var(--gold);
  margin-bottom: 1rem; padding-bottom: .5rem;
  border-bottom: 1px solid rgba(245,158,11,.2);
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.65); margin-bottom: .4rem;
  letter-spacing: .02em;
}
.field-hint { font-size: .72rem; color: rgba(255,255,255,.35); margin-top: .3rem; }
.input-row { display: flex; gap: .5rem; }
.input-row input { flex: 1; min-width: 0; }
.input-row select { flex: 0 0 auto; }

/* Inputs inside calc panel — dark styled */
.calc-inputs input[type="number"],
.calc-inputs select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg);
  font-size: .95rem;
  color: #fff;
  background: rgba(255,255,255,.07);
  transition: var(--t);
  appearance: none; -webkit-appearance: none;
}
.calc-inputs input[type="number"]::placeholder { color: rgba(255,255,255,.25); }
.calc-inputs input:focus,
.calc-inputs select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(245,158,11,.07);
  box-shadow: 0 0 0 3px rgba(245,158,11,.18);
}
.calc-inputs select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f59e0b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}
.calc-inputs select option { background: #0f2236; color: #fff; }

/* Global field styles (non-calc pages) */
input[type="number"],
input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-lg);
  font-size: .95rem; color: var(--text);
  background: var(--surface);
  transition: var(--t);
  appearance: none; -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,158,11,.15);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem; cursor: pointer;
}

.calc-btn {
  width: 100%; padding: 1rem 1.5rem;
  background: var(--grad-gold);
  color: var(--navy); font-size: 1rem; font-weight: 700;
  border-radius: var(--r-full); border: none; cursor: pointer;
  transition: var(--t);
  box-shadow: 0 4px 24px rgba(245,158,11,.45);
  letter-spacing: .03em; margin-top: 1.25rem;
}
.calc-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,158,11,.6); }
.calc-btn:active { transform: translateY(0); }

.reset-btn {
  width: 100%; padding: .7rem;
  background: transparent; color: rgba(255,255,255,.4);
  font-size: .875rem; font-weight: 600;
  border-radius: var(--r-full); border: 1.5px solid rgba(255,255,255,.12);
  cursor: pointer; transition: var(--t); margin-top: .5rem;
}
.reset-btn:hover { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.75); }

/* Results panel */
.calc-results {
  padding: 2.5rem;
  background: rgba(0,0,0,.2);
  display: flex; flex-direction: column; gap: .85rem;
}
.results-header { margin-bottom: .25rem; }
.results-header h3 {
  font-size: .75rem; font-weight: 700;
  color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .12em;
}

.result-placeholder {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 2rem;
}
.result-placeholder .placeholder-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .25; }
.result-placeholder p { font-size: .9rem; color: rgba(255,255,255,.35); line-height: 1.6; }

.result-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl);
  padding: 1.1rem 1.4rem;
  display: flex; align-items: center; gap: 1rem;
  transition: var(--t);
}
.result-card:hover {
  border-color: rgba(245,158,11,.4);
  background: rgba(255,255,255,.07);
  transform: translateX(4px);
}
.result-card.highlighted {
  background: linear-gradient(135deg, rgba(245,158,11,.18) 0%, rgba(251,191,36,.1) 100%);
  border-color: rgba(245,158,11,.5);
  box-shadow: 0 4px 20px rgba(245,158,11,.15);
}
.result-card-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.result-card-icon.orange { background: rgba(245,158,11,.2); }
.result-card-icon.blue   { background: rgba(14,165,233,.18); }
.result-card-icon.green  { background: rgba(16,185,129,.18); }
.result-card-icon.purple { background: rgba(139,92,246,.18); }
.result-card-icon.yellow { background: rgba(234,179,8,.18); }

.result-card-body { flex: 1; min-width: 0; }
.result-card-label {
  font-size: .68rem; font-weight: 700;
  color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .2rem;
}
.result-card-value {
  font-size: 1.65rem; font-weight: 800; color: #fff; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.result-card-sub { font-size: .72rem; color: rgba(255,255,255,.35); margin-top: .2rem; }
.result-card.highlighted .result-card-value { color: var(--gold); font-size: 1.9rem; }

/* Breakdown bar */
.breakdown-bar {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); padding: 1.25rem 1.4rem; margin-top: .1rem;
}
.breakdown-bar-label {
  font-size: .68rem; font-weight: 700;
  color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: .85rem;
}
.breakdown-track {
  height: 14px; background: rgba(255,255,255,.08);
  border-radius: var(--r-full); overflow: hidden; display: flex;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.3);
}
.breakdown-fill-bitumen {
  height: 100%; background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: var(--r-full) 0 0 var(--r-full);
  transition: width .6s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 12px rgba(245,158,11,.5);
}
.breakdown-fill-aggregate {
  height: 100%; background: linear-gradient(90deg, #0ea5e9, #38bdf8);
  flex: 1; border-radius: 0 var(--r-full) var(--r-full) 0;
}
.breakdown-legend { display: flex; gap: 1.5rem; margin-top: .75rem; }
.legend-item {
  display: flex; align-items: center; gap: .45rem;
  font-size: .78rem; color: rgba(255,255,255,.55);
  font-weight: 500;
}
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.legend-dot.orange { background: var(--gold); box-shadow: 0 0 6px rgba(245,158,11,.6); }
.legend-dot.blue   { background: var(--sky);  box-shadow: 0 0 6px rgba(14,165,233,.5); }

/* Hidden/visible results */
#results-empty { display: flex; }
#results-data  { display: none; flex-direction: column; gap: .75rem; }
.has-results #results-empty { display: none; }
.has-results #results-data  { display: flex; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: calc(16.67% + 1rem);
  right: calc(16.67% + 1rem);
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--sky));
  opacity: .4;
  pointer-events: none;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  position: relative; z-index: 1;
  transition: var(--t-slow);
}
.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-lg);
  border-color: var(--gold);
}
.step-num {
  width: 44px; height: 44px;
  background: var(--grad-gold); color: var(--navy);
  font-weight: 900; font-size: 1rem;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: var(--sh-gold);
}
.step-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.step-card p  { font-size: .9rem; }

/* ============================================================
   FORMULA SECTION
   ============================================================ */
.formula-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.formula-card {
  background: var(--navy);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-xl);
  padding: 2rem; position: relative; overflow: hidden;
}
.formula-card::after {
  content: '';
  position: absolute; top: -30%; right: -10%;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(245,158,11,.12), transparent 60%);
  pointer-events: none;
}
.formula-card h4 { color: #fff; margin-bottom: 1rem; font-size: 1rem; }
.formula-code {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 1rem 1.25rem;
  font-family: 'Courier New', monospace;
  font-size: .875rem; color: var(--gold-light);
  line-height: 1.9; margin-bottom: .75rem;
}
.formula-card p { font-size: .85rem; color: rgba(255,255,255,.5); }

/* ============================================================
   REFERENCE TABLES
   ============================================================ */
.table-tabs-wrap { }
.table-tabs { display: flex; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.table-tab {
  padding: .5rem 1.2rem; font-size: .85rem; font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border-2);
  border-radius: var(--r-full);
  background: var(--surface); cursor: pointer; transition: var(--t);
}
.table-tab.active, .table-tab:hover {
  background: var(--gold); border-color: var(--gold); color: var(--navy);
}
.table-panel { display: none; }
.table-panel.active { display: block; }

.ref-table {
  width: 100%; border-collapse: collapse;
  border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--sh-md);
}
.ref-table th {
  background: var(--navy); color: #fff;
  padding: 1rem 1.25rem; font-size: .85rem; font-weight: 600;
  text-align: left; letter-spacing: .03em;
}
.ref-table td {
  padding: .875rem 1.25rem; font-size: .9rem;
  color: var(--text); border-bottom: 1px solid var(--border);
}
.ref-table tr:last-child td { border-bottom: none; }
.ref-table tbody tr:nth-child(odd) { background: var(--bg); }
.ref-table tbody tr:hover { background: var(--gold-50); }
.ref-table td.highlight { font-weight: 700; color: var(--gold-dark); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  display: block;
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: .75rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden; transition: var(--t);
  box-sizing: border-box;
}
.faq-item.open { border-color: var(--gold); box-shadow: var(--sh-md); }
.faq-q {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
  width: 100%;
  padding: 1.2rem 1.5rem;
  font-weight: 600; font-size: .95rem;
  color: var(--text); cursor: pointer;
  background: var(--surface); transition: var(--t);
}
.faq-item.open .faq-q { color: var(--gold-dark); background: var(--gold-50); }
.faq-q:hover { background: var(--bg-2); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; flex-shrink: 0;
  transition: var(--t); color: var(--text-muted);
}
.faq-item.open .faq-icon { background: var(--gold); color: var(--navy); transform: rotate(45deg); }
.faq-a {
  display: none; padding: 1.2rem 1.5rem;
  font-size: .95rem; color: var(--text-muted); line-height: 1.75;
  border-top: 1px solid var(--border); background: var(--surface);
}
.faq-item.open .faq-a { display: block; }

/* ============================================================
   CALCULATOR DIRECTORY
   ============================================================ */
.dir-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.dir-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-xl);
  padding: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: var(--text);
  transition: var(--t-slow);
}
.dir-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-lg);
  border-color: var(--gold); color: var(--text);
}
.dir-card-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.dir-card-text { flex: 1; min-width: 0; }
.dir-card-title { font-weight: 700; font-size: .95rem; margin-bottom: .15rem; }
.dir-card-desc  { font-size: .78rem; color: var(--text-muted); }
.dir-card-arrow { color: var(--text-light); font-size: 1rem; transition: var(--t); }
.dir-card:hover .dir-card-arrow { color: var(--gold); transform: translateX(4px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 5rem 0 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-brand p {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  margin-top: 1rem; max-width: 280px; line-height: 1.75;
}
.footer-col h5 {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col ul a {
  font-size: .875rem; color: rgba(255,255,255,.5); transition: var(--t);
}
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }

.footer-langs {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-langs-title {
  font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: rgba(255,255,255,.3); margin-bottom: .75rem;
}
.lang-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.lang-pill {
  padding: .3rem .8rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-full);
  font-size: .78rem; color: rgba(255,255,255,.5);
  cursor: pointer; transition: var(--t);
}
.lang-pill:hover, .lang-pill.active {
  background: var(--gold); border-color: var(--gold); color: var(--navy);
}
.footer-bottom {
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .82rem; color: rgba(255,255,255,.35); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-size: .82rem; color: rgba(255,255,255,.35); transition: var(--t);
}
.footer-bottom-links a:hover { color: var(--gold); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--grad-hero);
  padding: 4rem 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,158,11,.06) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(245,158,11,.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero .eyebrow {
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.3);
  color: var(--gold-light);
}
.page-hero h1 { color: #fff; margin-bottom: .75rem; }
.page-hero p  { font-size: 1.1rem; color: rgba(255,255,255,.7); max-width: 560px; }

.breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-size: .82rem; margin-top: 1.75rem;
  color: rgba(255,255,255,.45);
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(255,255,255,.3); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-pillars { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.pillar-card {
  text-align: center; padding: 2.5rem 2rem;
  background: var(--surface); border-radius: var(--r-2xl);
  border: 1px solid var(--border); transition: var(--t-slow);
  position: relative; overflow: hidden;
}
.pillar-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--grad-gold);
  opacity: 0; transition: var(--t);
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.pillar-card:hover::before { opacity: 1; }
.pillar-icon {
  width: 76px; height: 76px;
  border-radius: var(--r-2xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; margin: 0 auto 1.5rem;
}

/* Timeline */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute; left: 24px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--sky));
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 2.5rem; position: relative; }
.timeline-dot {
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--grad-gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--navy);
  flex-shrink: 0; box-shadow: var(--sh-gold);
  position: relative; z-index: 1;
}
.timeline-content {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 1.5rem; flex: 1;
}
.timeline-content h4 { margin-bottom: .5rem; }
.timeline-content p  { font-size: .9rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 3rem; align-items: start; }
.contact-info-card {
  background: var(--navy); border-radius: var(--r-2xl); padding: 2.5rem; color: #fff;
  position: relative; overflow: hidden;
}
.contact-info-card::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(245,158,11,.1), transparent 60%);
}
.contact-info-card h3 { color: #fff; margin-bottom: 1rem; }
.contact-info-card p  { color: rgba(255,255,255,.6); font-size: .95rem; margin-bottom: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item-icon {
  width: 44px; height: 44px; border-radius: var(--r-lg);
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.contact-item-text label {
  display: block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: rgba(255,255,255,.4); margin-bottom: .2rem;
}
.contact-item-text a { color: rgba(255,255,255,.8); font-size: .9rem; }
.contact-item-text a:hover { color: var(--gold); }

.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: 2.5rem;
  box-shadow: var(--sh-lg);
}
.form-card h3 { margin-bottom: 1.75rem; }
.form-grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }
.form-success { display: none; text-align: center; padding: 3rem 2rem; }
.form-success-icon { font-size: 4rem; margin-bottom: 1rem; }
.form-success h3 { margin-bottom: .5rem; }
textarea { resize: vertical; min-height: 130px; }

/* ============================================================
   TERMS / PRIVACY
   ============================================================ */
.legal-content {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-2xl); padding: 3rem 3.5rem;
  box-shadow: var(--sh-sm);
}
.legal-content h2 {
  font-size: 1.35rem; margin-top: 2.5rem; margin-bottom: .75rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-content p, .legal-content li {
  font-size: .95rem; color: var(--text-muted);
  line-height: 1.85; margin-bottom: .75rem;
}
.legal-content ul { list-style: disc; padding-left: 1.75rem; margin-bottom: 1rem; }
.legal-content strong { color: var(--text); }

/* ============================================================
   REGIONAL CALCULATOR PAGE
   ============================================================ */
.region-meta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.standards-table { margin-top: 2rem; }

/* ============================================================
   CALC DIRECTORY PAGE
   ============================================================ */
.dir-section-title {
  font-size: .875rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: 1.25rem; padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
  display: flex; align-items: center; gap: .75rem;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--grad-hero);
  position: relative; overflow: hidden;
  padding: 5.5rem 0; text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(245,158,11,.07) 1px, transparent 1px);
  background-size: 30px 30px; pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }

/* ============================================================
   UTILITIES
   ============================================================ */
.divider { height: 1px; background: var(--border); margin: 3rem 0; }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }  .mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; } .mb-4 { margin-bottom: 2rem; }

.info-box {
  background: #f0f9ff; border: 1.5px solid #bae6fd;
  border-radius: var(--r-xl); padding: 1.25rem 1.5rem;
  display: flex; gap: .75rem; align-items: flex-start;
}
.info-box .info-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .1rem; }
.info-box p { font-size: .9rem; color: #075985; margin: 0; }

.warning-box {
  background: #fffbeb; border: 1.5px solid var(--gold-light);
  border-radius: var(--r-xl); padding: 1.25rem 1.5rem;
  display: flex; gap: .75rem; align-items: flex-start;
}
.warning-box p { font-size: .9rem; color: #92400e; margin: 0; }

/* ============================================================
   BLOG / RESOURCES
   ============================================================ */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, .9fr);
  gap: 2rem;
  align-items: start;
}
.article-card,
.resource-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-sm);
}
.article-card { padding: 2.25rem; }
.article-card h2 {
  font-size: 1.55rem;
  margin: 2rem 0 .85rem;
}
.article-card h2:first-child { margin-top: 0; }
.article-card h3 { margin: 1.35rem 0 .55rem; }
.article-card p,
.article-card li {
  font-size: .97rem;
  line-height: 1.82;
}
.article-card ul,
.article-card ol {
  margin: .75rem 0 1rem;
  padding-left: 1.35rem;
}
.article-card ul { list-style: disc; }
.article-card ol { list-style: decimal; }
.article-card strong { color: var(--text); }
.formula-inline {
  background: var(--navy);
  color: var(--gold-light);
  border-radius: var(--r-xl);
  padding: 1rem 1.2rem;
  font-family: 'Courier New', monospace;
  line-height: 1.8;
  margin: 1rem 0 1.25rem;
  overflow-x: auto;
}
.resource-stack {
  display: grid;
  gap: 1rem;
  position: sticky;
  top: 96px;
}
.resource-panel { padding: 1.4rem; }
.resource-panel h3 {
  font-size: .95rem;
  margin-bottom: .75rem;
}
.resource-panel ul {
  display: grid;
  gap: .7rem;
}
.resource-panel a {
  color: var(--text);
  font-weight: 600;
}
.resource-panel a:hover { color: var(--gold-dark); }
.resource-panel p,
.resource-panel li {
  font-size: .88rem;
  color: var(--text-muted);
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.link-card {
  display: block;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: var(--bg);
  color: var(--text);
}
.link-card strong {
  display: block;
  margin-bottom: .25rem;
}
.link-card span {
  font-size: .88rem;
  color: var(--text-muted);
}
.keyword-note {
  font-size: .84rem;
  color: var(--text-muted);
  padding: .9rem 1.1rem;
  background: var(--gold-50);
  border: 1px solid var(--gold-light);
  border-radius: var(--r-xl);
  margin-top: 1.25rem;
}

/* Scroll top */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 48px; height: 48px;
  background: var(--grad-gold); color: var(--navy);
  border: none; border-radius: 50%;
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--sh-gold);
  transition: var(--t);
  opacity: 0; pointer-events: none; z-index: 900;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); }

/* -- Animations --------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.15); opacity: .8; }
}
.animate-fadeInUp { animation: fadeInUp .55s ease forwards; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }

/* Live indicator */
.live-dot {
  width: 8px; height: 8px; background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
  display: inline-block; margin-right: .4rem; vertical-align: middle;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-title { font-size: clamp(2.4rem, 5vw, 3.6rem); }
  .calc-body { grid-template-columns: 1fr; }
  .calc-inputs { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps-grid::before { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-links .nav-dropdown { display: none; }
  .nav-toggle { display: flex; }
  .hero { height: auto; min-height: 100svh; padding: 2rem 0 3rem; }
  .hero-tag { display: none; }
  .hero-title { font-size: 2.1rem; letter-spacing: 0; margin-bottom: .85rem; }
  .hero-desc { font-size: .9rem; margin-bottom: 1.25rem; line-height: 1.6; }
  .hero-actions { gap: .75rem; margin-bottom: 1.25rem; }
  .hero-stats { gap: 1.25rem; padding-top: 1rem; }
  .hero-stat-val { font-size: 1.4rem; }
  .hero-stat-label { font-size: .65rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .formula-grid { grid-template-columns: 1fr; }
  .about-pillars { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .legal-content { padding: 2rem 1.5rem; }
  .article-layout, .link-grid { grid-template-columns: 1fr; }
  .article-card { padding: 1.5rem; }
  .resource-stack { position: static; }
  .section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
  .trust-bar-inner { gap: 1.25rem; }
  .cta-section { padding: 3.5rem 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .calc-inputs, .calc-results { padding: 1.5rem; }
  .input-row { flex-direction: column; }
  .input-row select { width: 100%; }
}
