/* Whitney Insurance Agency — mobile-first stylesheet.
   Palette roles:
   --blue      #0853A6 primary: headings, links, header accents, secondary buttons
   --bright    #1281E1 icons, kicks, focus, decorative
   --orange    #F78B13 ONE role: the main action (primary CTA) + arc accents
   --green     #5DAF3E positive indicators + WhatsApp action + arc accents
   Derived tones only (tints/shades of the above). No gradients, no shadows. */

:root {
  --blue: #0853A6;
  --blue-dark: #06407F;
  --blue-deep: #0B2E59;
  --bright: #1281E1;
  --bright-ink: #0F63AC;
  --orange: #F78B13;
  --orange-dark: #D97706;
  --orange-ink: #3D2403;
  --green: #5DAF3E;
  --green-ink: #35661F;
  --ink: #14273F;
  --ink-soft: #46586E;
  --bg: #FFFFFF;
  --bg-soft: #F3F6FA;
  --line: #D9E2EE;
  --line-soft: #E8EFF7;
  --danger: #B3261E;
  --radius: 10px;
  --maxw: 1160px;
  --aspect-hero: 4/3;
  --aspect-card: 16/9;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { color: var(--blue-deep); line-height: 1.2; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 6vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 4.5vw, 2.05rem); }
h3 { font-size: 1.12rem; }

p { margin: 0 0 1rem; max-width: 72ch; }

a { color: var(--blue); }
a:hover { color: var(--blue-dark); }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 780px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--blue-deep); color: #fff;
  padding: 12px 18px; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip: rect(0 0 0 0); overflow: hidden; white-space: nowrap;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: 10px 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.btn-lg { min-height: 54px; padding: 14px 30px; font-size: 1.08rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--orange); color: var(--orange-ink); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: var(--orange-ink); }

.btn-green { background: var(--green); color: #0E2506; border-color: var(--green); }
.btn-green:hover { background: #4F9B34; border-color: #4F9B34; color: #0E2506; }

.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }

.btn-line { background: #fff; color: var(--blue); border-color: var(--blue); }
.btn-line:hover { background: var(--bg-soft); color: var(--blue-dark); }

.btn-ghost-light { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.btn-danger { background: #fff; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: #FBEDEC; color: var(--danger); }

/* ---------- Header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.brand img { display: block; width: 168px; height: auto; }

.nav-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: auto; min-height: 44px; padding: 8px 14px;
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius);
  font: inherit; font-weight: 700; color: var(--blue); cursor: pointer;
}
.site-nav { display: none; }
html.js .site-nav.open { display: flex; }
html:not(.js) .site-nav { display: flex; }

.site-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column; gap: 0;
  background: #fff; border-bottom: 2px solid var(--blue);
  padding: 8px 20px 16px;
}
.site-nav a {
  display: block; padding: 12px 4px;
  color: var(--ink); text-decoration: none; font-weight: 600;
  border-bottom: 1px solid var(--line-soft);
}
.site-nav a:last-child { border-bottom: 0; }
.site-nav a[aria-current="page"] { color: var(--blue); font-weight: 800; }

.head-actions { display: none; }
.head-phone {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 6px 10px;
  color: var(--blue-deep); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.head-phone:hover { color: var(--blue); }

/* ---------- Flash ---------- */

.flash {
  margin: 16px 0 0; padding: 14px 18px;
  border-radius: var(--radius); border: 1px solid var(--line);
  font-weight: 600;
}
.flash-success { background: #EDF7E8; border-color: var(--green); color: var(--green-ink); }
.flash-error { background: #FBEDEC; border-color: var(--danger); color: var(--danger); }

/* ---------- Hero ---------- */

.hero { padding: 34px 0 44px; border-bottom: 1px solid var(--line-soft); }
.hero-grid { display: grid; gap: 28px; }
.kicker {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 0 14px; font-size: .82rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em; color: var(--bright-ink);
}
.lede { font-size: 1.12rem; color: var(--ink-soft); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
.hero-cta .btn { flex: 1 1 auto; }

.hero-chips {
  display: flex; flex-wrap: wrap; gap: 10px 18px;
  margin: 0; padding: 0; list-style: none;
}
.hero-chips li {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .92rem; font-weight: 700; color: var(--blue-deep);
}
.hero-chips .ic { color: var(--bright); flex: none; }

.hero-media { display: grid; gap: 14px; align-content: start; }
.hero-card {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px;
  background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--orange);
  border-radius: var(--radius); font-size: .95rem;
}
.hero-card .ic { color: var(--blue); flex: none; }
.hero-card a { font-weight: 800; white-space: nowrap; }

/* ---------- Image slots ---------- */

.img-slot {
  position: relative;
  background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.img-slot::before {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='72' height='72' viewBox='0 0 24 24' fill='none' stroke='%230853A6' stroke-opacity='0.09' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M3 12a9 9 0 0 1 18 0'/%3E%3Cpath d='M3 12a2.25 2.25 0 0 0 4.5 0 2.25 2.25 0 0 0 4.5 0 2.25 2.25 0 0 0 4.5 0 2.25 2.25 0 0 0 4.5 0'/%3E%3Cpath d='M12 2.6V5M12 12v6a2 2 0 0 0 4 0'/%3E%3C/svg%3E");
}
.img-slot::after {
  content: attr(data-label);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; text-align: center;
  font-size: .85rem; font-weight: 600; color: var(--ink-soft);
}
.img-slot img {
  position: relative; z-index: 1;
  display: block; width: 100%;
  aspect-ratio: var(--aspect, var(--aspect-card));
  object-fit: cover;
}
.img-slot img.is-missing { display: none; }

/* ---------- Sections ---------- */

.section { padding: 46px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-blue { background: var(--blue); color: #fff; }
.bg-blue h2, .bg-blue h3 { color: #fff; }
.bg-blue p { color: #E3EEFA; }

.sec-head { margin-bottom: 26px; max-width: 640px; }
.sec-head.light h2, .sec-head.light p { color: #fff; }

/* ---------- Tiles ---------- */

.tile-grid { display: grid; gap: 14px; }
.tile {
  display: block; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.tile:hover { border-color: var(--bright); }
.tile-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; margin-bottom: 12px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--blue);
}
.tile-icon.green { color: var(--green-ink); }
.tile-icon-lg { width: 72px; height: 72px; flex: none; }
.tile h3 { margin-bottom: 6px; }
.tile h3 a { color: var(--blue-deep); text-decoration: none; }
.tile h3 a:hover { color: var(--blue); }
.tile p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 12px; }
.tile-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .95rem; color: var(--blue); text-decoration: none;
}
a.tile-link:hover { color: var(--blue-dark); }
a.tile { color: inherit; text-decoration: none; }
a.tile:hover .tile-link { color: var(--blue-dark); }

/* ---------- Quick quote ---------- */

.qq-grid { display: grid; gap: 26px; }
.tick-list { margin: 0; padding: 0; list-style: none; }
.tick-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0; font-weight: 600;
}
.tick-list .ic { color: var(--green); flex: none; margin-top: 4px; }
.tick-list.light li { color: #EAF3FD; }
.tick-list a { color: inherit; font-weight: 700; }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.qq-form h3 { margin-top: 0; }

/* ---------- Forms ---------- */

fieldset { border: 0; padding: 0; margin: 0 0 22px; }
legend {
  font-weight: 800; color: var(--blue-deep); font-size: 1.08rem;
  margin-bottom: 14px; padding: 0;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .98rem; }
.req { color: var(--danger); }
.opt { color: var(--ink-soft); font-weight: 400; font-size: .9rem; }
.hint { font-size: .88rem; color: var(--ink-soft); margin: 6px 0 0; }

input[type="text"], input[type="tel"], input[type="email"], input[type="number"],
input[type="date"], input[type="password"], input[type="search"],
select, textarea {
  width: 100%; min-height: 48px;
  padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
}
textarea { resize: vertical; }
select { appearance: auto; }
input:focus, select:focus, textarea:focus {
  border-color: var(--bright); outline: 2px solid var(--bright); outline-offset: 0;
}
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.error-text { color: var(--danger); font-size: .9rem; font-weight: 600; margin: 6px 0 0; }
.form-error {
  background: #FBEDEC; border: 1px solid var(--danger); color: var(--danger);
  border-radius: var(--radius); padding: 12px 16px; margin-bottom: 18px; font-weight: 600;
}
.consent {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 6px 0 16px; font-size: .94rem; cursor: pointer;
}
.consent input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--blue); }
.consent.has-error { color: var(--danger); }
.hp { position: absolute; left: -9999px; top: -9999px; height: 1px; overflow: hidden; }
.form-note { font-size: .88rem; color: var(--ink-soft); margin-top: 12px; }
.form-actions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.field-row { display: grid; gap: 0 16px; }
.quote-form { min-width: 0; }

/* ---------- Steps ---------- */

.steps {
  display: grid; gap: 14px;
  margin: 0; padding: 0; list-style: none; counter-reset: step;
}
.steps li {
  position: relative; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 4px solid var(--blue);
}
.steps li:nth-child(2) { border-top-color: var(--bright); }
.steps li:nth-child(3) { border-top-color: var(--orange); }
.steps li:nth-child(4) { border-top-color: var(--green); }
.step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-bottom: 10px;
  background: var(--bg-soft); border-radius: var(--radius); color: var(--blue);
}
.steps p { font-size: .95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Split / why ---------- */

.split { display: grid; gap: 28px; }
.split-side p { color: var(--ink-soft); }
.why-list { margin: 0; padding: 0; list-style: none; }
.why-list li {
  display: flex; gap: 14px; padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.why-list li:last-child { border-bottom: 0; }
.why-list h3 { margin-bottom: 4px; font-size: 1.05rem; }
.why-list p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; flex: none; margin-top: 2px;
  background: var(--green); color: #fff; border-radius: 50%;
}

/* ---------- Details band ---------- */

.details-band { background: var(--blue-deep); color: #fff; padding-bottom: 50px; }
.details-band .sec-head { padding-top: 40px; }
.details-band h2 { color: #fff; }
.details-band p { color: #C9DBF0; }
.band-cols { display: grid; gap: 14px; }
.band-col {
  padding: 20px; border: 1px solid #2C4E7C; border-radius: var(--radius);
  background: #103663;
}
.band-col .ic { color: var(--orange); }
.band-col h3 { color: #fff; margin: 10px 0 6px; }
.band-col p { margin: 0; font-size: .95rem; }

.arc-strip { display: block; line-height: 0; }
.arc-strip svg { display: block; width: 100%; height: 10px; }

/* ---------- Reviews ---------- */

.review-marquee { overflow: hidden; }
.review-track {
  display: flex; gap: 14px; width: max-content;
  padding: 4px 0 10px;
  animation: review-scroll 62s linear infinite;
}
.review-marquee:hover .review-track,
.review-marquee:focus-within .review-track { animation-play-state: paused; }
.review {
  flex: none; width: 300px; margin: 0; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--bright);
  border-radius: var(--radius);
}
.review p { font-size: .97rem; margin: 10px 0 16px; }
.review footer { font-size: .9rem; font-weight: 700; color: var(--blue-deep); }
.review footer .rev-cover { display: block; margin-top: 2px; font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.stars { font-size: .95rem; letter-spacing: 2px; }
.star { color: #C7D3E0; }
.star.on { color: var(--orange); }
@keyframes review-scroll { to { transform: translateX(-50%); } }

/* ---------- FAQ ---------- */

.faq-list { display: grid; gap: 10px; max-width: 780px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary {
  padding: 16px 18px; cursor: pointer;
  font-weight: 700; color: var(--blue-deep); list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; font-weight: 700; color: var(--bright); flex: none;
}
.faq[open] summary::after { content: "–"; }
.faq-body { padding: 0 18px 16px; }
.faq-body p { margin: 0; color: var(--ink-soft); }
.faq-more { margin-top: 20px; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--blue); color: #fff; padding: 40px 0; }
.cta-inner { display: grid; gap: 20px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 4px; }
.cta-band p { color: #D9E8F8; margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-actions .btn { flex: 1 1 auto; }

/* ---------- Page head / cover pages ---------- */

.page-head {
  position: relative; overflow: hidden;
  padding: 52px 0 44px; background: var(--blue-deep);
}
.ph-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%;
}
.ph-shade { position: absolute; inset: 0; background: rgba(8, 45, 90, .80); }
.page-head .wrap { position: relative; }
.page-head h1, .page-head .post-title { color: #fff; }
.page-head .lede { margin-bottom: 0; color: #D4E5F6; }
.page-head .post-date { color: #B9D2EA; }
.page-head .kicker, .page-head .kicker .ic { color: var(--orange); }
.page-head .crumbs { color: #AECDE8; }
.page-head .crumbs a { color: #EAF3FC; }
.page-head .tile-icon { background: #fff; border-color: #fff; }
.cover-head { display: flex; gap: 18px; align-items: flex-start; }
.crumbs { font-size: .88rem; color: var(--ink-soft); margin-bottom: 10px; }
.crumbs a { color: var(--blue); }

.cover-layout { display: grid; gap: 26px; padding-top: 34px; padding-bottom: 40px; }
.cover-sec { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line-soft); }
.cover-sec:last-child { border-bottom: 0; margin-bottom: 0; }
.point-grid { display: grid; gap: 14px; }
.point {
  padding: 18px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.point h3 { font-size: 1.02rem; margin-bottom: 5px; }
.point p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.doc-list { margin: 0 0 8px; padding: 0; list-style: none; }
.doc-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 6px 0; font-size: .97rem;
}
.doc-list .ic { color: var(--bright); flex: none; margin-top: 4px; }
.doc-list.compact li { font-size: .92rem; padding: 4px 0; }

.cover-photo {
  margin: 0 0 28px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.cover-photo img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.cover-photo figcaption {
  padding: 10px 14px; font-size: .86rem; color: var(--ink-soft);
  background: #fff; border-top: 1px solid var(--line-soft);
}

.exclusions {
  padding: 20px; background: #FDF3E6;
  border: 1px solid #F0D4AE; border-left: 4px solid var(--orange);
  border-radius: var(--radius);
}
.exclusions p { margin: 0; }

.risk-box {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; margin-bottom: 26px;
  background: #FDF3E6; border: 1px solid #F0D4AE; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
}
.risk-box .ic { color: var(--orange-dark); flex: none; margin-top: 2px; }
.risk-box p { margin: 0; }

.note-box {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; margin: 26px 0 0;
  border: 1px solid var(--line); border-left: 4px solid var(--bright);
  border-radius: var(--radius);
}
.note-box.soft { border-left-color: var(--line); background: var(--bg-soft); }
.note-box .ic { color: var(--blue); flex: none; margin-top: 3px; }
.note-box p { margin: 0; }

.muted { color: var(--ink-soft); font-size: .9rem; }
.slot-tag {
  display: inline-block; padding: 2px 10px;
  background: #FDF3E6; border: 1px dashed var(--orange);
  border-radius: 999px; font-size: .8rem; font-weight: 700; color: var(--orange-dark);
}

/* ---------- Cover rows (index) ---------- */

.cover-list { display: grid; gap: 14px; }
.cover-row {
  display: grid; gap: 10px;
  padding: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.cover-row h2 { font-size: 1.25rem; margin-bottom: 4px; }
.cover-row h2 a { color: var(--blue-deep); text-decoration: none; }
.cover-row h2 a:hover { color: var(--blue); }
.cover-row p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.cover-row-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cover-row .tile-icon { margin-bottom: 0; }

/* ---------- Sidebar cards ---------- */

.cover-side { display: grid; gap: 16px; align-content: start; }
.side-card {
  padding: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.side-card h2 { font-size: 1.15rem; margin-bottom: 8px; }
.side-card p { font-size: .94rem; color: var(--ink-soft); }
.side-card .btn { margin-bottom: 10px; }
.side-card .btn:last-child { margin-bottom: 0; }
.side-soft { background: var(--bg-soft); }
.side-phone {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; font-weight: 800; font-size: 1.05rem;
  color: var(--blue-deep); text-decoration: none;
  border: 1.5px solid var(--line); border-radius: var(--radius);
}
.next-steps { margin: 0; padding-left: 20px; }
.next-steps li { padding: 6px 0; font-size: .95rem; }

/* ---------- Thank you / states ---------- */

.thank-you { padding-top: 60px; padding-bottom: 70px; }
.thank-you.has-photo { position: relative; overflow: hidden; background: var(--blue-deep); }
.thank-you.has-photo .wrap { position: relative; }
.thank-you.has-photo .ty-card { border-color: var(--line); }

/* white version of the transparent brand logo for the dark footer */
.logo-white { filter: brightness(0) invert(1); }
.ty-card { text-align: center; padding: 34px 26px; }
.ty-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 64px; height: 64px; margin-bottom: 14px;
  background: var(--green); color: #fff; border-radius: 50%;
}
.ty-icon-404 { background: var(--bg-soft); color: var(--blue); border: 1px solid var(--line); }
.ty-steps { text-align: left; margin: 22px 0; }
.ty-steps h2 { font-size: 1.1rem; }
.ty-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ty-actions .btn { flex: 1 1 auto; }
.link-list { margin: 0; padding: 0; list-style: none; }
.link-list a {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0; font-weight: 600; text-decoration: none;
}

.empty-state {
  text-align: center; padding: 44px 20px;
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  color: var(--ink-soft);
}
.empty-state .ic { color: var(--bright); margin-bottom: 8px; }
.empty-state h2 { font-size: 1.3rem; }

/* ---------- Contact ---------- */

.contact-layout { display: grid; gap: 18px; padding-top: 34px; padding-bottom: 40px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: block; padding: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: inherit;
}
.contact-card:hover { border-color: var(--bright); }
.contact-card h2 { font-size: 1.15rem; margin-bottom: 4px; }
.contact-big { font-size: 1.15rem; font-weight: 800; color: var(--blue); margin-bottom: 4px; }
.contact-mail { font-size: 1rem; word-break: break-all; }

/* ---------- Blog ---------- */

.post-list { display: grid; gap: 18px; }
.post-card {
  display: grid; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.post-thumb { border: 0; border-radius: 0; overflow: hidden; }
.post-thumb img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post-card-body { padding: 18px 20px 20px; }
.post-date { font-size: .85rem; color: var(--ink-soft); font-weight: 600; margin-bottom: 6px; }
.post-card-body h2 { font-size: 1.3rem; }
.post-card-body h2 a { color: var(--blue-deep); text-decoration: none; }
.post-card-body h2 a:hover { color: var(--blue); }
.post-card-body p { font-size: .95rem; color: var(--ink-soft); }
.post-title { margin-bottom: 6px; }
.post-body { font-size: 1.05rem; }
.post-body h2 { font-size: 1.35rem; margin-top: 1.4em; }
.post-body p { max-width: 70ch; }
.post-cta { margin-top: 34px; background: var(--bg-soft); }

/* ---------- Legal ---------- */

.legal h2 { font-size: 1.3rem; margin-top: 1.5em; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 8px; }

/* ---------- Floaters / callbar ---------- */

.floaters {
  position: fixed; right: 14px; bottom: 16px; z-index: 90;
  display: flex; flex-direction: column; gap: 10px;
}
.fab {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  color: #fff; text-decoration: none;
  border: 2px solid #fff;
}
.fab-wa { background: var(--green); }
.fab-wa:hover { background: #4F9B34; color: #fff; }
.fab-call { background: var(--blue); }
.fab-call:hover { background: var(--blue-dark); color: #fff; }

.callbar { display: none; }
@media (max-width: 899px) {
  .has-callbar { padding-bottom: 64px; }
  .has-callbar .floaters { bottom: 76px; }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: flex; gap: 10px; padding: 8px 12px;
    background: #fff; border-top: 1px solid var(--line);
  }
  .callbar-phone {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; border-radius: var(--radius);
    background: var(--blue); color: #fff; font-weight: 800; font-size: .98rem;
    text-decoration: none;
  }
  .callbar-quote { flex: none; min-height: 48px; }
}

/* ---------- Admin ---------- */

.admin-head { background: var(--blue-deep); padding: 10px 0; }
.admin-head-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.admin-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-left: auto; }
.admin-nav a {
  color: #C9DBF0; text-decoration: none; font-weight: 600; font-size: .95rem;
  padding: 8px 2px;
}
.admin-nav a[aria-current="page"], .admin-nav a:hover { color: #fff; }
.admin-main { min-height: 60vh; }
.admin-foot { padding: 20px 0; border-top: 1px solid var(--line); font-size: .88rem; color: var(--ink-soft); }
.admin-title-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-title-row h1 { margin: 0; }
.admin-sub { margin-top: 30px; font-size: 1.3rem; }
.inline-form { display: inline; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.stat {
  padding: 16px; background: var(--bg-soft);
  border: 1px solid var(--line); border-top: 4px solid var(--blue);
  border-radius: var(--radius);
}
.stat-num { font-size: 1.8rem; font-weight: 800; color: var(--blue-deep); margin: 0; }
.stat-label { margin: 0; font-size: .85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.stat-won { border-top-color: var(--green); }
.stat-lost { border-top-color: var(--danger); }
.stat-new { border-top-color: var(--orange); }
.stat-contacted, .stat-quoted { border-top-color: var(--bright); }

.lead-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 18px; }
.lead-card { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.lead-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.lead-meta { font-size: .85rem; color: var(--ink-soft); margin: 4px 0; }
.lead-phone { margin: 0; font-weight: 700; }

.status {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
}
.status-new { background: #FDF3E6; color: var(--orange-dark); }
.status-contacted { background: #E5F1FC; color: var(--bright-ink); }
.status-quoted { background: #E5F1FC; color: var(--blue); }
.status-won { background: #EDF7E8; color: var(--green-ink); }
.status-lost { background: #FBEDEC; color: var(--danger); }

.lead-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.chip {
  padding: 6px 14px; border: 1.5px solid var(--line); border-radius: 999px;
  font-size: .9rem; font-weight: 700; color: var(--ink-soft); text-decoration: none;
}
.chip-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.lead-search { display: flex; gap: 8px; margin-left: auto; }
.lead-search input { min-height: 40px; width: 210px; font-size: .95rem; }

.lead-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.lead-table th {
  text-align: left; padding: 10px 12px; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft);
  border-bottom: 2px solid var(--line);
}
.lead-table td { padding: 12px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.lead-details { margin: 0; font-size: .88rem; }
.lead-details dt { font-weight: 700; color: var(--ink-soft); display: inline; }
.lead-details dd { display: inline; margin: 0 0 4px; }
.lead-details dd::after { content: "\A"; white-space: pre; }
.lead-wa { font-size: .85rem; font-weight: 700; display: inline-flex; gap: 4px; align-items: center; margin-top: 6px; }
.status-form select { min-height: 38px; font-size: .9rem; padding: 5px 8px; }
.row-actions { white-space: nowrap; }
.row-actions .btn { margin-right: 6px; }
.login-card { max-width: 420px; margin: 40px auto; }
.login-card .tile-icon { margin-bottom: 8px; }
.faq-add { margin-bottom: 20px; }
.faq-edit { margin-bottom: 14px; }

/* ---------- Footer ---------- */

.site-foot { background: var(--blue-deep); color: #C9DBF0; }
.foot-grid {
  display: grid; gap: 26px;
  padding-top: 34px; padding-bottom: 30px;
}
.foot-brand img { display: block; width: 190px; height: auto; margin-bottom: 12px; }
.foot-tag { font-weight: 700; color: #fff; font-size: .95rem; }
.foot-note, .foot-license { font-size: .85rem; color: #A8C2DD; }
.foot-col h2 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 12px; }
.foot-col a {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0; color: #C9DBF0; text-decoration: none; font-size: .95rem;
}
.foot-col a:hover { color: #fff; }
.foot-addr { font-size: .9rem; margin: 8px 0 0; }
.foot-social { display: flex; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.foot-bar { border-top: 1px solid #2C4E7C; padding: 16px 0; }
.foot-bar-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.foot-bar p { margin: 0; font-size: .85rem; color: #A8C2DD; }
.foot-bar .credit a { color: #fff; font-weight: 700; }

/* ---------- Quote pick / misc ---------- */

.quote-alt { margin-top: 26px; font-size: .98rem; }
.fact-grid { display: grid; gap: 14px; margin-top: 24px; }
.fact {
  padding: 18px; background: var(--bg-soft);
  border: 1px solid var(--line); border-left: 4px solid var(--bright);
  border-radius: var(--radius);
}
.fact h3 { font-size: 1rem; margin-bottom: 6px; }
.fact p { margin: 0 0 6px; font-size: .95rem; }
.fact .tick-list li { font-size: .93rem; padding: 3px 0; }

.claim-steps { padding-left: 22px; margin-bottom: 34px; }
.claim-steps li { margin-bottom: 14px; padding-left: 6px; }

/* ---------- Photo sections ---------- */

.side-photo { margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.side-photo img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.side-photo figcaption { padding: 10px 14px; font-size: .86rem; color: var(--ink-soft); }

.photo-strip { display: grid; gap: 14px; }
.photo-card {
  position: relative; display: block; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
}
.photo-card img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.photo-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 11px 14px; font-weight: 700; font-size: .94rem; color: #fff;
  background: rgba(11, 46, 89, .88);
}
.photo-card:hover .photo-cap, .photo-card:focus-visible .photo-cap { background: var(--blue-deep); }

.photo-trio { display: grid; gap: 12px; margin-bottom: 30px; }
.photo-trio img {
  display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius);
}

/* ---------- Responsive: ≥600px ---------- */

@media (min-width: 600px) {
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .band-cols { grid-template-columns: repeat(3, 1fr); }
  .review { width: 330px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn, .cta-actions .btn, .ty-actions .btn { flex: 0 1 auto; }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip, .photo-trio { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Responsive: ≥900px ---------- */

@media (min-width: 900px) {
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 64px; }
  .page-head { padding: 76px 0 64px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; }
  .nav-toggle { display: none; }
  .site-nav {
    position: static; display: flex; flex-direction: row; gap: 4px 20px;
    border: 0; padding: 0; margin-left: auto;
  }
  .site-nav a { border: 0; padding: 10px 2px; font-size: .98rem; }
  .site-nav a[aria-current="page"] { border-bottom: 2.5px solid var(--orange); }
  .head-actions { display: flex; align-items: center; gap: 14px; }
  .split { grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: start; }
  .split-side { position: sticky; top: 90px; }
  .cover-layout { grid-template-columns: 1fr 320px; gap: 44px; }
  .cover-side { position: sticky; top: 90px; }
  .cover-row { grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; }
  .cover-row-actions { flex-direction: column; }
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .tile-grid.three { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .qq-grid { grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
  .cta-inner { grid-template-columns: 1fr auto; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
  .post-card { grid-template-columns: 240px 1fr; }
  .post-thumb img { height: 100%; aspect-ratio: auto; }
  .point-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive: ≥1200px ---------- */

@media (min-width: 1200px) {
  .tile-grid { grid-template-columns: repeat(3, 1fr); }
  .point-grid { grid-template-columns: 1fr 1fr; }
  .brand img { width: 210px; }
}

/* ---------- Responsive: ≥1600px ---------- */

@media (min-width: 1600px) {
  :root { --maxw: 1280px; }
  body { font-size: 1.125rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .review-track { animation: none; }
  .review-marquee { overflow-x: auto; }
}
