/* ==========================================================================
   Shakthi Solar — shakthisolar.com
   Design tokens derived from the printed brochure: deep navy, solar gold,
   export-green. Display: Archivo. Body: IBM Plex Sans. Data: IBM Plex Mono.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #06183a;
  --navy-800: #0a2350;
  --navy-700: #0c2e63;
  --navy-500: #1a4fa0;
  --navy-300: #4d80d6;
  --gold: #ffc42e;
  --gold-deep: #e39b00;
  --export: #17a673;   /* units exported to grid */
  --import: #e2574c;   /* units drawn from grid */

  /* Neutrals */
  --paper: #f4f7fc;
  --white: #ffffff;
  --ink: #0e1726;
  --muted: #56688a;
  --line: #dae2f0;

  /* Type */
  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --step--1: clamp(0.82rem, 0.79rem + 0.13vw, 0.89rem);
  --step-0: clamp(1rem, 0.96rem + 0.19vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.36vw, 1.42rem);
  --step-2: clamp(1.44rem, 1.3rem + 0.68vw, 1.85rem);
  --step-3: clamp(1.73rem, 1.5rem + 1.14vw, 2.4rem);
  --step-4: clamp(2.07rem, 1.7rem + 1.8vw, 3.13rem);
  --step-5: clamp(2.49rem, 1.9rem + 2.8vw, 4.06rem);

  /* Space */
  --gutter: clamp(1.15rem, 0.8rem + 1.6vw, 2.5rem);
  --section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(6, 24, 58, .06), 0 4px 14px rgba(6, 24, 58, .07);
  --shadow-lg: 0 18px 50px -18px rgba(6, 24, 58, .38);
  --maxw: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-500); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
ul, ol { padding-left: 1.15rem; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); letter-spacing: -0.01em; }
p { text-wrap: pretty; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--navy-900); padding: .75rem 1.25rem;
  font-weight: 600; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .62); }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy-800); color: #e8eefb; position: relative; }
.section--navy h2, .section--navy h3 { color: var(--white); }

/* Photovoltaic busbar texture for navy panels */
.section--navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .3;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.055) 0 1px, transparent 1px 78px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.055) 0 1px, transparent 1px 78px);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 0%, #000 25%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 70% 0%, #000 25%, transparent 78%);
}
.section--navy > * { position: relative; z-index: 1; }

.grid { display: grid; gap: clamp(1rem, .6rem + 1.6vw, 1.75rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: .85rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); flex: none; }
.section--navy .eyebrow { color: var(--gold); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.4rem + 1.8vw, 3.25rem); }
.section-head p { color: var(--muted); font-size: var(--step-1); margin-top: 1rem; }
.section--navy .section-head p { color: #b9c9e8; }
.lede { font-size: var(--step-1); color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .82rem 1.5rem;
  font-family: var(--display); font-weight: 600; font-size: var(--step-0);
  letter-spacing: -.01em;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 8px 22px -10px rgba(227,155,0,.9); }
.btn--gold:hover { background: #ffd15c; color: var(--navy-900); }
.btn--navy { background: var(--navy-700); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn--outline { border-color: var(--navy-700); color: var(--navy-700); }
.btn--outline:hover { background: var(--navy-700); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy-900); color: #cfdcf5;
  font-size: var(--step--1); letter-spacing: .01em;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.topbar a { color: #cfdcf5; text-decoration: none; }
.topbar a:hover { color: var(--gold); }
.topbar-list { display: flex; flex-wrap: wrap; gap: 1.1rem; list-style: none; padding: 0; margin: 0; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 86px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; margin-right: auto; }
.brand img { height: 58px; width: auto; max-width: 230px; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  font-family: var(--display); font-weight: 600; font-size: .9rem;
  color: var(--navy-900); text-decoration: none;
  padding: .55rem .72rem; border-radius: 8px; white-space: nowrap;
}
.nav a:hover { background: var(--paper); color: var(--navy-700); }
.nav a { padding-inline: .58rem; }
.nav a[aria-current="page"] { color: var(--navy-500); box-shadow: inset 0 -3px 0 var(--gold); border-radius: 8px 8px 0 0; }
.header-cta { display: inline-flex; }
.nav-toggle {
  display: none; background: var(--navy-700); color: #fff; border: 0;
  width: 46px; height: 42px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center;
}

@media (max-width: 1320px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.25rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav[data-open="true"] { display: flex; }
  .nav a { padding: .85rem .4rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav .btn { margin-top: .9rem; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(90% 120% at 8% 0%, #123b7d 0%, transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 68%);
  color: #e8eefb; position: relative; overflow: hidden;
  padding-block: clamp(2.75rem, 1.8rem + 3.5vw, 5rem) 0;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 70px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 70px);
  -webkit-mask-image: radial-gradient(100% 80% at 15% 20%, #000 0%, transparent 70%);
  mask-image: radial-gradient(100% 80% at 15% 20%, #000 0%, transparent 70%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.02fr .98fr; } }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold); display: block; }
.hero p.lede { color: #bdcdea; margin-top: 1.15rem; max-width: 54ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; list-style: none; padding: 0; }
.hero-badges li {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: .38rem .8rem; color: #d6e2f8;
}
.hero .btn-row { margin-top: 1.9rem; }
.hero-photo {
  margin-top: 2.2rem; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(255,255,255,.16); max-width: 460px;
  box-shadow: var(--shadow-lg);
}
.hero-photo figcaption {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  color: #a9bde0; padding: .6rem .85rem; background: rgba(255,255,255,.05);
}
.hero-wave { display: block; width: 100%; margin-bottom: -1px; position: relative; z-index: 2; }

/* ---------- Net meter calculator (signature element) ---------- */
.meter {
  background: linear-gradient(180deg, #fdfefe 0%, #eef3fb 100%);
  border-radius: 18px; padding: clamp(1.15rem, .8rem + 1.2vw, 1.75rem);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.5);
  color: var(--ink);
}
.meter-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.meter-head h2, .meter-head h3 { font-size: var(--step-1); color: var(--navy-900); }
.meter-head span { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: .45rem; color: var(--navy-900); }
.field select, .field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); background: #fff;
}
.field select:focus, .field input:focus, .field textarea:focus { border-color: var(--navy-500); outline-offset: 1px; }
.slider-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .3rem; }
.slider-val { font-family: var(--mono); font-weight: 600; color: var(--navy-700); font-size: 1.05rem; }
input[type="range"] { width: 100%; accent-color: var(--navy-500); height: 26px; }

.readout {
  background: var(--navy-900);
  border-radius: 12px; padding: 1rem 1.1rem; margin-top: 1.2rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1rem;
  border: 1px solid #16346b;
}
.readout div { min-width: 0; }
.readout dt {
  font-family: var(--mono); font-size: .66rem; letter-spacing: .11em; text-transform: uppercase;
  color: #8fa8d6; margin-bottom: .2rem;
}
.readout dd {
  font-family: var(--mono); font-weight: 600; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem);
  color: var(--gold); margin: 0; line-height: 1.2;
}
.readout dd.export { color: #35d69b; }
.meter-note { font-size: .76rem; color: var(--muted); margin-top: .8rem; line-height: 1.5; }
.meter .btn { width: 100%; margin-top: 1rem; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.25rem, 1rem + .8vw, 1.85rem);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #b9cbec; box-shadow: var(--shadow-lg); }
.card h3 { font-size: var(--step-1); margin-bottom: .55rem; }
.card p { color: var(--muted); }
.card .card-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
  margin-bottom: 1rem; color: var(--navy-900);
}
.card--flat { box-shadow: none; }
.card--flat:hover { transform: none; }
.card ul { margin-top: .8rem; color: var(--muted); }
.card li { margin-bottom: .35rem; }
.card-link { font-family: var(--display); font-weight: 600; text-decoration: none; display: inline-block; margin-top: 1rem; }
.card-link::after { content: " →"; }

.section--navy .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section--navy .card p, .section--navy .card ul { color: #b9c9e8; }
.section--navy .card:hover { border-color: rgba(255,196,46,.5); }

/* numbered process — order carries meaning here (DISCOM sequence) */
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding-left: 3.6rem; margin-bottom: 1.6rem; }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -.15rem;
  font-family: var(--mono); font-weight: 600; font-size: 1rem;
  color: var(--navy-900); background: var(--gold);
  width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center;
}
.steps h3 { font-size: var(--step-1); margin-bottom: .3rem; }
.steps p { color: var(--muted); }
.section--navy .steps p { color: #b9c9e8; }

/* ---------- Stats ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: #fff; padding: 1.4rem 1.25rem; }
.stat b { display: block; font-family: var(--mono); font-weight: 600; font-size: var(--step-3); color: var(--navy-700); line-height: 1; }
.stat span { font-size: .85rem; color: var(--muted); display: block; margin-top: .5rem; }
.section--navy .stat-strip { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.16); }
.section--navy .stat { background: var(--navy-800); }
.section--navy .stat b { color: var(--gold); }
.section--navy .stat span { color: #b9c9e8; }

/* ---------- Tabs (system types) ---------- */
.tablist { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tablist button {
  font-family: var(--display); font-weight: 600; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); color: var(--navy-900);
  padding: .6rem 1.15rem; border-radius: 999px;
}
.tablist button[aria-selected="true"] { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }
.tabpanel[hidden] { display: none; }
.tabpanel { display: grid; gap: 1.75rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .tabpanel { grid-template-columns: 1fr 1fr; } }
.diagram { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }

/* ---------- Table ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 620px; }
caption { text-align: left; padding: 1rem 1.15rem; font-weight: 600; color: var(--navy-900); font-family: var(--display); }
th, td { text-align: left; padding: .85rem 1.15rem; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
thead th { background: var(--paper); font-family: var(--display); font-size: .88rem; letter-spacing: .01em; }
tbody tr:last-child td { border-bottom: 0; }
td .mono, .mono { font-family: var(--mono); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: var(--step-1); color: var(--navy-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .35rem; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.5rem; color: var(--gold-deep); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 1.3rem; color: var(--muted); max-width: 78ch; }
.faq details > div p + p { margin-top: .7rem; }

/* ---------- Areas served ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; }
.chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .42rem .95rem; font-size: .88rem; color: var(--navy-900);
}
.section--navy .chips li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #dbe6fa; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--gold) 0%, #ffd863 100%);
  color: var(--navy-900);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 1.2rem + 2.4vw, 3rem);
  display: grid; gap: 1.5rem; align-items: center;
}
@media (min-width: 820px) { .cta-band { grid-template-columns: 1.35fr .65fr; } }
.cta-band h2 { font-size: var(--step-3); }
.cta-band p { margin-top: .6rem; max-width: 56ch; color: #33280c; }
.cta-band .phone {
  font-family: var(--mono); font-weight: 600; font-size: var(--step-2);
  color: var(--navy-900); text-decoration: none; display: block;
}

/* ---------- Projects ---------- */
.project {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.project-media { background: var(--navy-800); aspect-ratio: 3 / 2; overflow: hidden; }
.project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-body { padding: 1.35rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.project-tag {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
}
.project h3 { font-size: var(--step-1); }
.project dl { display: grid; grid-template-columns: auto 1fr; gap: .3rem .9rem; margin-top: auto; padding-top: .9rem; font-size: .88rem; }
.project dt { color: var(--muted); }
.project dd { margin: 0; font-family: var(--mono); font-weight: 500; color: var(--navy-900); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 1rem + 1.2vw, 2.25rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .9rem; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-status[data-state="ok"] { display: block; background: #e6f7f0; color: #0c6647; border: 1px solid #9fe0c6; }
.form-status[data-state="error"] { display: block; background: #fdecea; color: #9c2318; border: 1px solid #f3b6b0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #b9c9e8; padding-block: clamp(2.75rem, 2rem + 2.5vw, 4.5rem) 0; font-size: .95rem; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: var(--step-0); font-family: var(--display); letter-spacing: .02em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: .6rem; }
.site-footer a { color: #b9c9e8; text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; }
.footer-brand img { height: 66px; width: auto; max-width: 240px; margin-bottom: 1.1rem; }
.footer-nap { font-style: normal; line-height: 1.8; }
.footer-nap .tel { font-family: var(--mono); font-weight: 600; color: var(--gold); font-size: 1.1rem; }
.footer-bottom {
  margin-top: 2.75rem; border-top: 1px solid rgba(255,255,255,.13); padding-block: 1.35rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; font-size: .85rem;
}
.social { display: flex; gap: .6rem; margin-top: 1rem; }
.social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }

/* ---------- Floating call / WhatsApp ---------- */
.floating {
  position: fixed; right: 14px; bottom: 14px; z-index: 80;
  display: flex; flex-direction: column; gap: .6rem;
}
.floating a {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 10px 26px -8px rgba(6,24,58,.55); color: #fff; text-decoration: none;
}
.floating .wa { background: #25d366; }
.floating .call { background: var(--navy-700); }
@media (max-width: 640px) {
  .brand img { height: 46px; }
  .floating { left: 0; right: 0; bottom: 0; flex-direction: row; gap: 0; }
  .floating a { flex: 1; width: auto; height: 56px; border-radius: 0; gap: .5rem; font-family: var(--display); font-weight: 600; }
  .floating a span { display: inline; }
  body { padding-bottom: 56px; }
}
.floating a span { display: none; }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding-block: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; }
.crumbs li::after { content: "/"; margin-left: .45rem; color: var(--line); }
.crumbs li:last-child::after { content: ""; }
.crumbs a { text-decoration: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(150deg, var(--navy-700) 0%, var(--navy-900) 75%);
  color: #fff; padding-block: clamp(2.5rem, 1.8rem + 3vw, 4.5rem);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,196,46,.34) 0%, transparent 68%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero p { color: #bdcdea; max-width: 62ch; margin-top: 1rem; font-size: var(--step-1); }
.page-hero .crumbs { color: #93aad9; }
.page-hero .crumbs a { color: #cfdcf5; }

/* ---------- Prose ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: var(--step-3); margin-top: 2.5rem; margin-bottom: .9rem; }
.prose h3 { margin-top: 1.9rem; margin-bottom: .6rem; }
.prose p, .prose ul, .prose ol { margin-bottom: 1rem; color: #354054; }
.prose li { margin-bottom: .45rem; }
.prose > :first-child { margin-top: 0; }

.callout {
  border-left: 4px solid var(--gold); background: var(--paper);
  padding: 1.15rem 1.35rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-block: 1.5rem;
}
.callout p { margin-bottom: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
