/* ==========================================================================
   E CARE BIO FUELS - brand stylesheet
   Palette lifted from the company letterhead:
     crimson bar   CMYK 14/100/59/12  -> #c10a50
     wordmark      CMYK 30/100/100/0 -> 0/100/100/0   (#b01118 -> #ed1c24)
     label yellow  CMYK 0/0/100/0     -> #fff200
   Greens / blue / orange sampled from the logo mark.
   ========================================================================== */

:root {
  --crimson:        #c10a50;
  --crimson-dark:   #8d0038;
  --crimson-light:  #e2437c;
  --red:            #ed1c24;
  --red-dark:       #b01118;
  --yellow:         #fff200;
  --green:          #35bf4a;
  --green-dark:     #1c8a37;
  --green-light:    #7ede73;
  --blue:           #2c4fd8;
  --orange:         #ff7a1a;

  --ink:            #17121a;
  --body:           #4a4553;
  --muted:          #7b7484;
  --line:           #e8e2ea;
  --surface:        #ffffff;
  --surface-2:      #fbf7f9;
  --surface-3:      #f4eef1;

  --wrap: 1180px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(23, 18, 26, .06);
  --shadow:    0 14px 40px rgba(23, 18, 26, .10);
  --shadow-lg: 0 26px 70px rgba(141, 0, 56, .18);

  --font-display: "Tinos", "Times New Roman", Times, serif;
  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--surface);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--crimson); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p  { margin: 0 0 1.1em; }
ul { margin: 0 0 1.1em; padding-left: 1.2em; }
li { margin-bottom: .45em; }
:focus-visible { outline: 3px solid var(--crimson); outline-offset: 3px; border-radius: 4px; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tint { background: var(--surface-2); }
.section--line { border-top: 1px solid var(--line); }
.grid { display: grid; gap: 26px; }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.narrow { max-width: 720px; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--body); }
.mt-0 { margin-top: 0; }
.mb-40 { margin-bottom: 40px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-cond);
  font-size: .86rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--crimson); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--crimson)); }
.center .eyebrow::after { content: ""; width: 26px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--crimson), var(--green)); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(120deg, var(--crimson), var(--red)); color: #fff; box-shadow: 0 10px 26px rgba(193, 10, 80, .32); }
.btn--primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(193, 10, 80, .4); }
.btn--green { background: linear-gradient(120deg, var(--green-dark), var(--green)); color: #fff; box-shadow: 0 10px 26px rgba(28, 138, 55, .3); }
.btn--green:hover { color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--crimson); color: var(--crimson); }
.btn--light { background: #fff; color: var(--crimson); }
.btn--light:hover { color: var(--red); }
.btn--outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--crimson); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- top contact strip ---------- */
.topbar {
  background: linear-gradient(90deg, var(--crimson-dark), var(--crimson) 55%, var(--red));
  color: #fff; font-family: var(--font-cond); font-size: .95rem;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: center; justify-content: space-between; padding-block: 8px; }
.topbar a { color: #fff; }
.topbar a:hover { color: var(--yellow); }
.topbar-items { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar-items span, .topbar-items a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; flex: none; color: var(--yellow); }
.topbar-tag { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; letter-spacing: .04em; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { width: 46px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.42rem); letter-spacing: .03em;
  background: linear-gradient(90deg, var(--red-dark), var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.brand-tag {
  font-family: var(--font-cond); font-size: .7rem; letter-spacing: .21em;
  text-transform: uppercase; color: var(--green-dark); margin-top: 5px; white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; color: var(--ink);
  transition: background .16s ease, color .16s ease;
}
.nav-links a:hover { background: var(--surface-3); color: var(--crimson); }
.nav-links a.is-active { color: var(--crimson); background: rgba(193,10,80,.08); }
.nav-cta { display: inline-flex; }
.nav-cta .btn { padding: 11px 22px; font-size: .95rem; }

.nav-toggle {
  display: none; width: 46px; height: 42px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span { position: relative; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s ease; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s ease; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 520px at 88% 14%, rgba(53,191,74,.30), transparent 62%),
    radial-gradient(760px 520px at 8% 86%, rgba(44,79,216,.34), transparent 60%),
    linear-gradient(135deg, #5d0027 0%, var(--crimson-dark) 38%, var(--crimson) 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: 54px; align-items: center;
  padding-top: clamp(56px, 8vw, 100px); padding-bottom: clamp(64px, 9vw, 108px);
}
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(90deg, var(--green-light), var(--yellow));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: rgba(255,255,255,.88); max-width: 56ch; }
.hero .eyebrow { color: var(--yellow); }
.hero .eyebrow::before { background: var(--yellow); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin: 22px 0 30px; }
.hero-points li { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-cond); font-size: 1.02rem; color: rgba(255,255,255,.92); margin: 0; }
.hero-points svg { width: 18px; height: 18px; color: var(--green-light); flex: none; }

.hero-card {
  position: relative; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px; padding: 34px; backdrop-filter: blur(8px); box-shadow: var(--shadow-lg);
}
.hero-card img { width: min(210px, 52%); margin: 0 auto 18px; filter: drop-shadow(0 12px 26px rgba(0,0,0,.28)); }
.hero-card h2 { color: #fff; font-size: 1.35rem; text-align: center; margin-bottom: 6px; }
.hero-card > p { text-align: center; font-family: var(--font-cond); color: rgba(255,255,255,.8); margin-bottom: 22px; }
.hero-card-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero-card-list li {
  display: flex; align-items: center; gap: 12px; margin: 0;
  background: rgba(255,255,255,.1); border-radius: 12px; padding: 11px 14px;
  font-family: var(--font-cond); font-size: 1rem; color: #fff;
}
.hero-card-list b { font-family: var(--font-body); font-weight: 600; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot--green { background: var(--green); }
.dot--yellow { background: var(--yellow); }
.dot--blue { background: #6f8cff; }
.dot--orange { background: var(--orange); }

/* ---------- page hero (inner pages) ---------- */
.page-hero {
  position: relative; color: #fff; padding: clamp(46px, 7vw, 84px) 0;
  background:
    radial-gradient(700px 420px at 92% 8%, rgba(53,191,74,.26), transparent 60%),
    linear-gradient(120deg, var(--crimson-dark), var(--crimson) 70%, #d8265f);
}
.page-hero h1 { color: #fff; margin-bottom: .25em; }
.page-hero p { color: rgba(255,255,255,.88); max-width: 62ch; margin: 0; }
.crumbs { font-family: var(--font-cond); font-size: .92rem; color: rgba(255,255,255,.75); margin-bottom: 14px; }
.crumbs a { color: var(--yellow); }
.crumbs a:hover { color: #fff; }
.crumbs span { padding: 0 8px; opacity: .6; }

/* ---------- cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(193,10,80,.24); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card ul { margin-bottom: 0; }
.card-tag {
  display: inline-block; font-family: var(--font-cond); font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark);
  background: rgba(53,191,74,.12); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}

.icon-badge {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 18px; color: #fff;
}
.icon-badge svg { width: 28px; height: 28px; }
.bg-crimson { background: linear-gradient(135deg, var(--crimson), var(--red)); }
.bg-green   { background: linear-gradient(135deg, var(--green-dark), var(--green)); }
.bg-blue    { background: linear-gradient(135deg, #1e3bb5, var(--blue)); }
.bg-orange  { background: linear-gradient(135deg, #e05a00, var(--orange)); }
.bg-ink     { background: linear-gradient(135deg, #2b2331, #574a60); }

/* numbered steps */
.step-no {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1;
  background: linear-gradient(120deg, var(--crimson), var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 10px;
}

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat b {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.1;
  background: linear-gradient(120deg, var(--crimson), var(--red));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-family: var(--font-cond); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* split media block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split--flip .split-media { order: 2; }
.figure {
  position: relative; border-radius: 24px; overflow: hidden; min-height: 340px;
  display: grid; place-items: center; padding: 40px;
  background:
    radial-gradient(520px 320px at 20% 20%, rgba(53,191,74,.22), transparent 62%),
    radial-gradient(520px 320px at 85% 80%, rgba(193,10,80,.18), transparent 62%),
    var(--surface-3);
  border: 1px solid var(--line);
}
.figure img { width: min(240px, 60%); filter: drop-shadow(0 16px 34px rgba(23,18,26,.16)); }
.figure-badge {
  position: absolute; left: 22px; bottom: 22px;
  background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow);
  font-family: var(--font-cond); font-size: .95rem; color: var(--ink);
  display: flex; align-items: center; gap: 11px; max-width: calc(100% - 44px);
}
.figure-badge strong { font-family: var(--font-body); color: var(--crimson); }

/* check list */
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.checks svg { width: 21px; height: 21px; flex: none; color: var(--green-dark); margin-top: 3px; }

/* product table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 620px; }
th, td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .98rem; }
thead th { background: linear-gradient(120deg, var(--crimson-dark), var(--crimson)); color: #fff; font-family: var(--font-cond); letter-spacing: .06em; text-transform: uppercase; font-size: .88rem; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:nth-child(even) { background: var(--surface-2); }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-weight: 600; color: var(--ink); font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--crimson); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq p { padding: 0 22px 20px; margin: 0; }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; color: #fff; border-radius: 26px;
  padding: clamp(34px, 5vw, 58px);
  background:
    radial-gradient(520px 300px at 88% 20%, rgba(53,191,74,.3), transparent 62%),
    linear-gradient(120deg, var(--crimson-dark), var(--crimson) 65%, var(--red));
  box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.88); margin: 0; }
.cta-band .btn-row { justify-content: flex-end; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 4vw, 50px); align-items: start; }
.info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.info-card h3 { font-size: 1.08rem; margin-bottom: .2em; }
.info-card p { margin: 0; font-size: .99rem; }
.info-card a { font-weight: 600; word-break: break-word; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.4vw, 38px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-cond); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; font-size: .85rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface-2);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--crimson); background: #fff; box-shadow: 0 0 0 4px rgba(193,10,80,.1);
}
.field .err { display: none; color: var(--red); font-size: .88rem; margin-top: 6px; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--red); }
.field.is-invalid .err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: .9rem; color: var(--muted); margin: 14px 0 0; }
.form-status { display: none; margin-top: 16px; padding: 14px 18px; border-radius: 12px; font-size: .98rem; }
.form-status.is-visible { display: block; }
.form-status.ok { background: rgba(53,191,74,.12); border: 1px solid rgba(28,138,55,.35); color: var(--green-dark); }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); line-height: 0; }
.map-embed iframe { width: 100%; height: 400px; border: 0; }

/* ---------- footer (mirrors the letterhead strip) ---------- */
.site-footer { background: #17121a; color: rgba(255,255,255,.72); padding-top: clamp(48px, 6vw, 72px); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-family: var(--font-cond); font-size: .95rem; letter-spacing: .17em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--yellow); }
.footer-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 16px; }
.footer-brand img { width: 48px; }
.footer-brand .brand-name { background: linear-gradient(90deg, #ff5b62, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer-brand .brand-tag { color: var(--green-light); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.footer-contact li { display: flex; gap: 11px; align-items: flex-start; margin: 0; font-family: var(--font-cond); font-size: 1rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--yellow); flex: none; margin-top: 4px; }

/* the crimson letterhead bar */
.letterhead-bar {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, var(--crimson-dark), var(--crimson) 60%, #d31459);
  color: #fff; font-family: var(--font-cond); font-size: .98rem;
}
.letterhead-bar .wrap { position: relative; z-index: 2; padding-block: 16px; }
.letterhead-bar .lh-address { margin: 0 0 4px; }
.letterhead-bar .lh-row { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.letterhead-bar .lbl { color: var(--yellow); font-weight: 600; }
.letterhead-bar a { color: #fff; }
.letterhead-bar a:hover { color: var(--yellow); }
.letterhead-bar .lh-mark {
  /* nudged clear of the floating call / WhatsApp buttons */
  position: absolute; right: 80px; bottom: -12px; width: 92px; opacity: .95; z-index: 1;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.25));
}
.copy-bar { background: #0f0b12; color: rgba(255,255,255,.55); font-size: .9rem; }
.copy-bar .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; padding-block: 14px; }
.copy-bar a { color: rgba(255,255,255,.55); }

/* floating call / whatsapp */
.float-actions { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: grid; gap: 10px; }
.float-actions a {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow); transition: transform .18s ease;
}
.float-actions a:hover { transform: scale(1.08); color: #fff; }
.float-actions svg { width: 25px; height: 25px; }
.fa-call { background: linear-gradient(135deg, var(--crimson), var(--red)); }
.fa-wa { background: linear-gradient(135deg, #12a44b, #25d366); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 520px; }
  .g-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed; left: 0; right: 0; top: var(--nav-top, 110px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 10px 16px 18px; box-shadow: var(--shadow);
    max-height: calc(100vh - var(--nav-top, 110px)); overflow-y: auto;
    /* hidden by visibility rather than an off-screen transform, so a tall
       menu can never peek out from behind the header */
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
  }
  .nav-links.is-open {
    opacity: 1; visibility: visible; transform: none;
    transition: opacity .22s ease, transform .22s ease, visibility 0s;
  }
  .nav-links a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .g-3, .g-2 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split-media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; text-align: center; }
  .cta-band .btn-row { justify-content: center; }
  .letterhead-bar .lh-mark { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .topbar .wrap { justify-content: center; text-align: center; }
  .topbar-tag { display: none; }
  .g-4, .stats { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .brand img { width: 40px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .figure { min-height: 260px; padding: 28px; }
  .figure-badge { position: static; margin-top: 18px; max-width: 100%; }
  .float-actions { right: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .float-actions, .cta-band, .btn { display: none !important; }
}
