/* ============================================================
   Port St. Lucie Electricians, "Charged & precise"
   Deep midnight navy surfaces + electric amber accent, on crisp light
   content sections. Hairline borders, soft elevation, a live-wire circuit
   motif. Technical, safety-forward, trustworthy. Distinct + fast.
   ============================================================ */

:root {
  /* Color: midnight navy + electric amber */
  --navy-900: #0b1320;
  --navy-800: #131c2e;
  --navy-700: #1c2740;
  --navy-600: #28344f;
  --amber: #f5b301;
  --amber-600: #d99a00;
  --amber-300: #ffd766;
  --paper: #f7f9fc;
  --paper-200: #eef2f8;
  --white: #ffffff;
  --ink: #0f1626;
  --ink-soft: #2a3142;
  --muted: #5b6678;
  --muted-light: #9aa6bc;
  --line: rgba(15, 22, 38, 0.10);
  --line-strong: rgba(15, 22, 38, 0.16);
  --line-dark: rgba(255, 255, 255, 0.10);
  --accent-600: #d99a00; /* used by main.js form-status success */

  /* Type */
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;

  /* Space + form */
  --maxw: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(11, 19, 32, 0.06), 0 4px 14px rgba(11, 19, 32, 0.06);
  --shadow-md: 0 12px 34px rgba(11, 19, 32, 0.12);
  --shadow-lg: 0 26px 64px rgba(11, 19, 32, 0.22);
  --glow: 0 0 0 4px rgba(245, 179, 1, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  overflow-x: clip;
}

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.18rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: inherit; }
img { max-width: 100%; display: block; height: auto; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
section { padding-block: clamp(56px, 8vw, 104px); }

/* ---------- Eyebrow: live-wire circuit rule ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--body); font-weight: 600; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--amber-600);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--amber);
  position: relative; box-shadow: 0 0 8px rgba(245,179,1,.7);
}
.eyebrow::after {
  content: ""; width: 7px; height: 7px; border-radius: 50%; margin-left: -6px;
  background: var(--amber); box-shadow: 0 0 10px rgba(245,179,1,.9);
}

.section-head { max-width: 680px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { color: var(--muted); font-size: 1.06rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--body); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 10px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, border-color .2s;
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn-primary { background: var(--amber); color: var(--navy-900); border-color: var(--amber); box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); background: var(--amber-300); box-shadow: 0 10px 26px rgba(245,179,1,.32); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 19, 32, 0.86);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-dark);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 13px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.18rem; color: var(--white); letter-spacing: -0.02em; }
.brand .mark { width: 34px; height: 34px; flex: none; }
.site-header .brand { color: var(--white); }
.header-cta { display: none; align-items: center; gap: 14px; }
@media (min-width: 560px) { .header-cta { display: inline-flex; } }
.header-phone { display: none; font-weight: 600; color: var(--amber); text-decoration: none; letter-spacing: .01em; }
@media (min-width: 720px) { .header-phone { display: inline; } }

/* ---------- Primary nav ---------- */
.nav { display: none; }
@media (min-width: 880px) {
  .nav { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; }
  .nav a {
    display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px;
    font-family: var(--body); font-weight: 500; font-size: .97rem; color: var(--muted-light);
    text-decoration: none; border-radius: 8px; transition: background .15s, color .15s;
  }
  .nav a:hover { background: var(--navy-700); color: var(--white); }
  .nav a[aria-current="page"] { color: var(--amber); }
  .header-cta { margin-left: 16px; }
}
.nav a:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* mobile nav toggle */
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
  background: var(--navy-700); border: 1px solid var(--line-dark); border-radius: 10px;
  cursor: pointer; color: var(--white);
}
.nav-toggle:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.nav-toggle svg { width: 24px; height: 24px; }
@media (min-width: 880px) { .nav-toggle { display: none; } }

.mobile-nav { display: none; border-top: 1px solid var(--line-dark); background: var(--navy-800); }
.mobile-nav.open { display: block; }
@media (min-width: 880px) { .mobile-nav { display: none !important; } }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.mobile-nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 22px;
  font-weight: 500; color: var(--muted-light); text-decoration: none;
}
.mobile-nav a[aria-current="page"] { color: var(--amber); }
.mobile-nav a:hover { background: var(--navy-700); color: var(--white); }

/* ---------- PCB grid texture (shared by dark sections) ---------- */
.pcb-grid {
  background-image:
    linear-gradient(rgba(245,179,1,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,179,1,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; background: var(--navy-900); color: var(--white); padding-block: clamp(56px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(820px 480px at 12% -8%, rgba(245,179,1,0.16), transparent 60%),
    radial-gradient(680px 520px at 92% 108%, rgba(40,52,79,0.7), transparent 60%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; opacity: .6;
  background-image:
    linear-gradient(rgba(245,179,1,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,179,1,0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 30%, #000, transparent 78%);
  mask-image: radial-gradient(70% 70% at 30% 30%, #000, transparent 78%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
@media (min-width: 920px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { color: var(--white); margin-top: .35em; }
.hero h1 .hl { color: var(--amber); }
.hero-sub { font-size: 1.18rem; color: #c2cbdc; max-width: 38em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero .eyebrow { color: var(--amber); }

/* hero badges row */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line-dark); }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 500; color: #d4dcea; }
.hero-badge svg { width: 19px; height: 19px; color: var(--amber); flex: none; }

.hero-media { position: relative; min-width: 0; }
.hero-media .media { box-shadow: var(--shadow-lg); border-color: rgba(255,255,255,.14); }
.hero-media::after {
  content: ""; position: absolute; left: -14px; bottom: -14px; width: 64%; height: 64%;
  border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); border-radius: 0 0 0 18px;
  opacity: .8; z-index: -1;
}

/* ---------- Trust strip ---------- */
.trust-band { display: grid; gap: 8px; align-items: stretch; }
@media (min-width: 760px) { .trust-band { grid-template-columns: repeat(4, 1fr); gap: 0; } }
.trust-item { text-align: center; padding: 22px 18px; position: relative; }
@media (min-width: 760px) { .trust-item + .trust-item::before { content: ""; position: absolute; left: 0; top: 18%; height: 64%; width: 1px; background: var(--line); } }
.trust-item .ico { margin: 0 auto 12px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 12px; background: var(--navy-900); color: var(--amber); }
.trust-item .ico svg { width: 25px; height: 25px; }
.trust-item strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--ink); }
.trust-item span { display: block; font-size: .88rem; color: var(--muted); margin-top: 3px; }

/* ---------- Intro ---------- */
.intro p { font-size: 1.12rem; color: var(--ink-soft); }
.intro a { color: var(--amber-600); font-weight: 600; }

/* ---------- Quote form ---------- */
.quote { background: var(--navy-900); color: var(--white); position: relative; overflow: clip; }
.quote .wrap { position: relative; z-index: 1; display: grid; gap: clamp(28px, 4vw, 52px); align-items: center; }
@media (min-width: 880px) { .quote .wrap { grid-template-columns: 1fr 1fr; } }
.quote h2 { color: var(--white); }
.quote .lead { color: #c2cbdc; font-size: 1.08rem; }
.quote .eyebrow { color: var(--amber); }
.quote ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.quote ul li { display: flex; gap: 11px; align-items: flex-start; color: #dde3ee; }
.quote ul .tick { color: var(--amber); flex: none; margin-top: 3px; }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber-600); box-shadow: var(--glow); }
.field textarea { resize: vertical; min-height: 92px; }
.hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
#form-status { min-height: 1.2em; margin: 10px 0 0; font-weight: 600; font-size: .94rem; color: var(--muted); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form-note a { color: var(--amber-600); }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card .ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--navy-900); color: var(--amber); margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 30px 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--amber-600);
  display: block; margin-bottom: 10px;
}
.step::after {
  content: ""; position: absolute; top: 30px; left: 22px; width: 38px; height: 2px;
  background: var(--amber); opacity: .35; transform: translateY(34px);
}
.step h3 { font-size: 1.05rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Tinted alt section ---------- */
.alt { background: var(--paper-200); }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--white); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 17px; font-weight: 500; font-size: .94rem; color: var(--ink-soft); box-shadow: var(--shadow-sm); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--line-strong); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 22px 44px 22px 2px; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.08rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-size: 1.7rem; color: var(--amber-600); font-family: var(--body); font-weight: 400; transition: transform .25s var(--ease);
}
.faq-item[open] summary::after { content: "\2013"; }
.faq-item p { color: var(--muted); padding: 0 44px 22px 2px; margin: 0; }
.faq-item a { color: var(--amber-600); font-weight: 600; }

/* ---------- Final CTA ---------- */
.cta-final { position: relative; overflow: clip; background: var(--navy-900); color: var(--white); text-align: center; }
.cta-final::before { content: ""; position: absolute; inset: 0; z-index: 0; background: radial-gradient(720px 360px at 50% -20%, rgba(245,179,1,.18), transparent 60%); }
.cta-final .wrap { position: relative; z-index: 1; }
.cta-final h2 { color: var(--white); }
.cta-final p { color: #c2cbdc; max-width: 40em; margin-inline: auto; font-size: 1.1rem; }
.cta-final .hero-actions { justify-content: center; }
.cta-final .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.cta-final .btn-ghost:hover { border-color: var(--white); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9aa6bc; padding-block: 52px 30px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.site-footer .brand { margin-bottom: 12px; }
.site-footer p { font-size: .95rem; }
.site-footer a { color: #b8c2d6; text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-col h4 { font-family: var(--display); font-weight: 700; color: var(--white); font-size: 1rem; margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-phone { font-family: var(--display); font-size: 1.28rem; color: var(--amber) !important; font-weight: 700; }
.disclaimer { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .85rem; color: #7e8aa1; }
.disclaimer .legal { margin-top: 8px; }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 760px; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.legal-page h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal-page p, .legal-page li { color: var(--ink-soft); }
.legal-page a { color: var(--amber-600); font-weight: 600; }
.back-link { display: inline-flex; gap: 6px; align-items: center; font-weight: 600; color: var(--amber-600); text-decoration: none; margin-bottom: 24px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding-block: 18px 0; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--muted);
}
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "\203A"; color: var(--line-strong); }
.breadcrumb a { color: var(--amber-600); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--muted); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--navy-900); color: var(--white); position: relative; overflow: clip; border-bottom: 1px solid var(--line-dark); }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(640px 360px at 8% -20%, rgba(245,179,1,0.14), transparent 60%);
}
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(28px, 5vw, 56px); }
.page-hero .breadcrumb a { color: var(--amber); }
.page-hero .breadcrumb { color: var(--muted-light); }
.page-hero .breadcrumb [aria-current="page"] { color: var(--muted-light); }
.page-hero .eyebrow { color: var(--amber); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3.2rem); max-width: 16em; }
.page-hero .lead { color: #c2cbdc; font-size: 1.15rem; max-width: 42em; margin-top: .4em; }

/* ---------- Media / image treatments ---------- */
.media {
  border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md); background: var(--paper-200); position: relative;
}
.media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-16x9 { aspect-ratio: 16 / 9; }
.media-4x3 { aspect-ratio: 4 / 3; }
.media-3x4 { aspect-ratio: 3 / 4; }
.media-square { aspect-ratio: 1 / 1; }

/* split row: text + image */
.split { display: grid; gap: clamp(24px, 4vw, 48px); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.05fr .95fr; } .split.reverse > .split-media { order: -1; } }
.split-media { align-self: stretch; min-width: 0; }
.split-media .media { width: 100%; min-height: 260px; }
.split .eyebrow { color: var(--amber-600); }

/* ---------- Testimonials ---------- */
.testimonials .grid { gap: 22px; }
.testimonial {
  margin: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.testimonial .stars { color: var(--amber); letter-spacing: 2px; font-size: 1.05rem; margin-bottom: 10px; }
.testimonial blockquote { margin: 0 0 16px; font-size: 1.02rem; color: var(--ink-soft); line-height: 1.6; }
.testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.testimonial .avatar {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-900); color: var(--amber); font-family: var(--display); font-weight: 700;
}
.testimonial .who strong { display: block; font-family: var(--display); color: var(--ink); font-size: 1rem; }
.testimonial .who span { font-size: .86rem; color: var(--muted); }

/* ---------- Linkable service / zone cards ---------- */
a.card { text-decoration: none; color: inherit; display: block; }
a.card:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; color: var(--amber-600); }
.card .card-link svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
a.card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Prose (articles + service body) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.7em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.4em; color: var(--ink); }
.prose p, .prose li { color: var(--ink-soft); font-size: 1.06rem; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; display: grid; gap: 8px; }
.prose li { padding-left: 4px; }
.prose a { color: var(--amber-600); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose .lead { font-size: 1.18rem; color: var(--ink-soft); }
.prose figure { margin: 28px 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; text-align: center; }

/* price/spec table for guides */
.spec-table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: .98rem; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--navy-900); color: var(--white); font-family: var(--display); font-weight: 700; font-size: .92rem; }
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody tr:nth-child(even) { background: var(--paper-200); }
.spec-table strong { color: var(--ink); }

/* layout wrapper for article + aside */
.article-layout { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 940px) { .article-layout { grid-template-columns: minmax(0,1fr) 320px; align-items: start; } }
.aside-card {
  background: var(--navy-900); color: var(--white); border: 1px solid var(--navy-600);
  border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-md); position: sticky; top: 88px;
}
.aside-card h3 { color: var(--white); }
.aside-card p { color: #c2cbdc; font-size: .98rem; }
.aside-card .btn { width: 100%; margin-top: 8px; }
.aside-card .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.aside-card .btn-ghost:hover { border-color: var(--white); }

/* ---------- Inline CTA band ---------- */
.inline-cta {
  background: var(--navy-900); color: var(--white); border-radius: var(--radius);
  border: 1px solid var(--navy-600); box-shadow: var(--shadow-md);
  padding: clamp(28px, 4vw, 44px); text-align: center; margin-top: 8px; position: relative; overflow: clip;
}
.inline-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(520px 240px at 50% -30%, rgba(245,179,1,.16), transparent 60%); }
.inline-cta > * { position: relative; z-index: 1; }
.inline-cta h2 { color: var(--white); }
.inline-cta p { color: #c2cbdc; max-width: 40em; margin-inline: auto; }
.inline-cta .hero-actions { justify-content: center; }
.inline-cta .btn-ghost { color: var(--white); border-color: rgba(255,255,255,.4); }
.inline-cta .btn-ghost:hover { border-color: var(--white); }

/* ---------- Check list ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-soft); }
.checklist .tick { color: var(--amber-600); flex: none; margin-top: 3px; }

/* ---------- Guides teaser ---------- */
.guide-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.guide-card .media { margin: 0; border: none; border-radius: 0; box-shadow: none; }
.guide-card .guide-body { padding: 24px; }
.guide-card h3 { margin-bottom: .4em; }
.guide-card p { color: var(--muted); margin: 0 0 14px; font-size: .98rem; }
.guide-card .card-link { margin-top: auto; }

/* ---------- Entrance animation ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; animation: rise .7s var(--ease) forwards; }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; } .d5 { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; animation: none; } }
