/* ==========================================================================
   KleaNests — Home Services
   Brand palette sampled directly from the logo artwork:
     navy #002f6d  ·  red #ff3131
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand */
  --navy:          #002f6d;
  --navy-700:      #023a83;
  --navy-900:      #01224e;
  --red:           #ff3131;
  --red-600:       #df3131;
  --red-700:       #c11f1f;

  /* Neutrals */
  --ink:           #1a1a1a;
  --body:          #43505f;
  --muted:         #6b7785;
  --line:          #e4e8ee;
  --surface:       #ffffff;
  --surface-alt:   #f5f8fc;
  --surface-navy:  #002f6d;

  /* Type */
  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space & shape */
  --wrap:   1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7rem);
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Elevation */
  --sh-sm: 0 1px 2px rgba(0, 47, 109, .06), 0 2px 6px rgba(0, 47, 109, .05);
  --sh:    0 2px 6px rgba(0, 47, 109, .06), 0 12px 28px -12px rgba(0, 47, 109, .18);
  --sh-lg: 0 4px 12px rgba(0, 47, 109, .07), 0 28px 56px -20px rgba(0, 47, 109, .28);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.4rem); font-weight: 600; }
p  { margin: 0 0 1.15rem; text-wrap: pretty; }
a  { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { margin: 0 0 1.15rem; padding-left: 1.25rem; }
li { margin-bottom: .4rem; }
strong { color: var(--ink); font-weight: 600; }

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

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--alt { background: var(--surface-alt); }
.section--navy { background: var(--surface-navy); color: rgba(255,255,255,.85); }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.section-head { max-width: 44rem; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); text-align: center; }
.section-head p { font-size: 1.125rem; color: var(--muted); margin-bottom: 0; }
.section-head--left { margin-inline: 0; text-align: left; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .85rem;
}
.section--navy .eyebrow { color: #ff8a8a; }

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

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--red);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  padding: 1rem 1.9rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
  box-shadow: 0 4px 14px -4px rgba(255, 49, 49, .5);
}
.btn:hover { background: var(--red-600); transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(255, 49, 49, .6); }
.btn:active { transform: translateY(0); }

.btn--navy { --btn-bg: var(--navy); box-shadow: 0 4px 14px -4px rgba(0, 47, 109, .45); }
.btn--navy:hover { background: var(--navy-700); box-shadow: 0 10px 24px -8px rgba(0, 47, 109, .55); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: rgba(0, 47, 109, .25);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.btn--on-dark { background: #fff; color: var(--navy); box-shadow: none; }
.btn--on-dark:hover { background: #eef4ff; color: var(--navy-900); }

.btn--lg { padding: 1.15rem 2.4rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(1.6) blur(12px);
  -webkit-backdrop-filter: saturate(1.6) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: var(--sh); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 78px;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { width: 170px; height: auto; }

.nav { display: flex; align-items: center; gap: clamp(.35rem, 1.4vw, 1.1rem); }
.nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: .975rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: .5rem .35rem;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: .35rem; right: .35rem; bottom: .1rem;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { font-weight: 600; }

/* The in-menu CTA is for the mobile drawer only — the header already has one.
   `color` is restated here because `.nav a` (0,1,1) otherwise outranks `.btn` (0,1,0). */
.nav > .btn { display: none; color: var(--btn-fg); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .975rem;
  color: var(--navy);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.header-phone:hover { color: var(--red); }
.header-phone svg { width: 17px; height: 17px; flex-shrink: 0; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  color: var(--navy);
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .header-phone span { display: none; }
  .nav {
    position: fixed;
    inset: 78px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-lg);
    padding: .75rem var(--gutter) 1.5rem;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .24s var(--ease), transform .24s var(--ease), visibility .24s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: .9rem .25rem; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { color: var(--red); }
  .nav > .btn { display: inline-flex; margin-top: 1.15rem; border-bottom: 0; color: #fff; }
  .nav > .btn::after { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 620px at 88% -10%, rgba(255, 49, 49, .09), transparent 62%),
    linear-gradient(178deg, var(--surface-alt) 0%, #fff 72%);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 { margin-bottom: 1.15rem; }
.hero h1 .accent { color: var(--red); }
.hero-lede { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--body); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}
.hero-badge {
  position: absolute;
  left: -1.25rem;
  bottom: -1.35rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  background: #fff;
  border-radius: var(--r);
  box-shadow: var(--sh-lg);
  padding: .95rem 1.35rem;
}
.hero-badge .stars { color: #f5b301; font-size: 1rem; letter-spacing: .08em; line-height: 1; }
.hero-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: .95rem;
  color: var(--navy);
  line-height: 1.3;
}
.hero-badge small { color: var(--muted); font-size: .8rem; }

/* Phone callout under hero copy */
.hero-call {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.75rem;
  padding: .7rem 1.25rem .7rem .8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
  text-decoration: none;
  transition: box-shadow .22s var(--ease), transform .22s var(--ease);
}
.hero-call:hover { box-shadow: var(--sh); transform: translateY(-1px); }
.hero-call .ico {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255, 49, 49, .1);
  color: var(--red);
  flex-shrink: 0;
}
.hero-call .ico svg { width: 18px; height: 18px; }
.hero-call span { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.hero-call strong { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-badge { left: auto; right: 1rem; bottom: -1.1rem; }
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.page-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
  z-index: -2;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,47,109,.94) 12%, rgba(0,47,109,.68) 100%);
  z-index: -1;
}
.page-banner-inner { padding-block: clamp(3.25rem, 7vw, 5.5rem); max-width: 48rem; }
.page-banner h1 { color: #fff; margin-bottom: .65rem; }
.page-banner p { color: rgba(255,255,255,.82); font-size: 1.1rem; margin-bottom: 0; }
.page-banner .eyebrow { color: #ff9a9a; }

.crumbs { font-size: .875rem; color: rgba(255,255,255,.7); margin-bottom: 1rem; }
.crumbs a { color: rgba(255,255,255,.9); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { padding-inline: .45rem; opacity: .5; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 1.9rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2rem 1.75rem;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.card h3 { margin-bottom: .5rem; }
.card p { margin-bottom: 0; color: var(--muted); font-size: .975rem; }

.card-icon {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border-radius: 20px;
  background: var(--surface-alt);
  margin-bottom: 1.35rem;
  transition: background-color .28s var(--ease), transform .28s var(--ease);
}
.card:hover .card-icon { background: rgba(255, 49, 49, .09); transform: scale(1.05) rotate(-3deg); }
.card-icon img { width: 46px; height: 46px; }

.card-note {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(255, 49, 49, .09);
  padding: .35rem .8rem;
  border-radius: var(--r-pill);
}

/* ---------- Feature / trust list ---------- */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.feature-split img { border-radius: var(--r-lg); box-shadow: var(--sh); width: 100%; }
@media (max-width: 860px) { .feature-split { grid-template-columns: 1fr; } }

.trust-list { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; }
.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.03rem;
  color: var(--ink);
}
.trust-list .check {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 28px; height: 28px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(0, 47, 109, .08);
  color: var(--navy);
}
.trust-list .check svg { width: 15px; height: 15px; }
.section--navy .trust-list li { color: #fff; }
.section--navy .trust-list .check { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Stats / essentials ---------- */
.essentials { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); }
.essential {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.essential:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.essential .ico {
  display: grid; place-items: center;
  width: 64px; height: 64px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: rgba(0, 47, 109, .07);
  color: var(--navy);
}
.essential .ico svg { width: 30px; height: 30px; }
.essential h3 { margin-bottom: .35rem; }
.essential p { margin-bottom: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.15rem; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--r); box-shadow: var(--sh-sm); }
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1.25rem, 2.4vw, 1.9rem); }
.quote {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 2.5rem 1.85rem 1.85rem;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.quote:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.quote::before {
  content: "\201C";
  position: absolute;
  top: .45rem; left: 1.5rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(255, 49, 49, .18);
}
.quote .stars { color: #f5b301; letter-spacing: .1em; margin-bottom: .75rem; font-size: .95rem; }
.quote p { font-size: 1.02rem; color: var(--body); }
.quote cite {
  display: block;
  margin-top: 1.1rem;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
}
.quote cite small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-700) 100%);
  color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(2.5rem, 5vw, 3.75rem);
  text-align: center;
  box-shadow: var(--sh-lg);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 40rem; margin-inline: auto; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 1.9rem; }

/* ---------- Quote form ---------- */
.quote-shell {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (max-width: 900px) { .quote-shell { grid-template-columns: 1fr; } }

.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3.2vw, 2.75rem);
  box-shadow: var(--sh);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 620px) { .field-row, .field-row--3 { grid-template-columns: 1fr; } }

.field { margin-bottom: 1.15rem; }
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: .875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: .45rem;
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  padding: .8rem .95rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23002f6d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 15px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c7d2e0; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(0, 47, 109, .1);
}
.field input::placeholder, .field textarea::placeholder { color: #9aa6b4; }
.field-hint { font-size: .82rem; color: var(--muted); margin-top: .4rem; }

.form-note { font-size: .85rem; color: var(--muted); text-align: center; margin: 1.15rem 0 0; }

.form-status {
  display: none;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.15rem;
  border-radius: var(--r-sm);
  font-size: .95rem;
  line-height: 1.55;
}
.form-status.is-visible { display: flex; }
.form-status--ok { background: #e8f6ee; color: #11663a; border: 1px solid #bfe5d0; }
.form-status--info { background: #eef4ff; color: var(--navy); border: 1px solid #cfdcf5; }
.form-status svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* Contact detail cards beside the form */
.contact-cards { display: grid; gap: 1.15rem; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.6rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh); border-color: transparent; }
.contact-card .ico {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 49, 49, .1);
  color: var(--red);
}
.contact-card .ico svg { width: 21px; height: 21px; }
.contact-card h3 { font-size: 1rem; margin-bottom: .2rem; }
.contact-card p { margin: 0; font-size: 1.02rem; color: var(--body); }
.contact-card small { color: var(--muted); font-size: .85rem; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 50rem; margin-inline: auto; display: grid; gap: .85rem; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.faq-item[open] { box-shadow: var(--sh); border-color: transparent; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.6rem;
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  transition: background-color .2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--surface-alt); }
.faq-item summary .chev {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface-alt);
  color: var(--navy);
  transition: transform .3s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
}
.faq-item summary .chev svg { width: 15px; height: 15px; }
.faq-item[open] summary .chev { transform: rotate(180deg); background: var(--red); color: #fff; }
.faq-answer { padding: 0 1.6rem 1.5rem; }
.faq-answer p { margin-bottom: 0; color: var(--body); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: clamp(1.5rem, 3vw, 2.25rem); }
.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: transparent; }
.post-card .thumb { overflow: hidden; aspect-ratio: 16 / 9; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .body { padding: 1.6rem 1.6rem 1.85rem; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { margin-bottom: .6rem; }
.post-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
  color: var(--muted);
  margin-bottom: .85rem;
}
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .55; }
.read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  color: var(--red);
}
.read-more svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.post-card:hover .read-more svg { transform: translateX(4px); }

.empty-state {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  background: var(--surface-alt);
  border: 1px dashed #cfd8e4;
  border-radius: var(--r-lg);
}
.empty-state p { color: var(--muted); margin-bottom: 0; }

/* Article body */
.article { max-width: 46rem; margin-inline: auto; }
.article > img, .article figure img { border-radius: var(--r); box-shadow: var(--sh-sm); width: 100%; }
.article figure { margin: 2.5rem 0; }
.article figcaption { font-size: .875rem; color: var(--muted); text-align: center; margin-top: .8rem; }
.article h2 { font-size: clamp(1.5rem, 2.8vw, 1.95rem); margin-top: 2.75rem; }
.article h3 { margin-top: 2rem; }
.article ul { padding-left: 1.35rem; }
.article ul li { margin-bottom: .7rem; }
.article-lede { font-size: 1.18rem; line-height: 1.65; color: var(--ink); }
.article-hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.72); padding-block: clamp(3rem, 6vw, 4.5rem) 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 3rem;
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }
.footer-brand img { width: 190px; background: #fff; padding: .85rem 1rem; border-radius: var(--r-sm); }
.footer-brand p { margin-top: 1.25rem; max-width: 30rem; font-size: .97rem; }
.site-footer h4 {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 1.15rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a, .site-footer address a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: color .2s var(--ease), padding-left .2s var(--ease);
}
.footer-links a:hover { color: #fff; padding-left: 4px; }
.site-footer address { font-style: normal; line-height: 1.9; }
.site-footer address a:hover { color: #fff; }
.site-footer address strong { color: #fff; display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .15rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: .875rem;
}
.footer-bottom p { margin: 0; }

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