/* ==========================================================================
   at-insurance.health — design system
   Jost (Futura-like) + medical white + crimson.
   Windows-safe: no backdrop-filter, no heavy blurs, no filter animations.
   ========================================================================== */

:root {
  --font-family: 'Jost', 'Century Gothic', 'Futura', 'Trebuchet MS', -apple-system,
                 BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-tint: #fbf7f7;
  --bg-card: #ffffff;
  --bg-ink: #111111;

  --text-main: #111111;
  --text-muted: #555555;
  --text-faint: #8a8a8a;

  --primary-red: #d90429;
  --primary-red-hover: #ef233c;
  --accent-red-light: #ffebee;
  --accent-red-line: rgba(217, 4, 41, 0.22);

  --ok-green: #1b7f4f;
  --warn-amber: #a86400;

  --border-color: #e5e5e5;
  --border-strong: #d5d5d5;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 10px 28px rgba(17, 17, 17, 0.06);
  --shadow-hover: 0 12px 30px rgba(217, 4, 41, 0.12);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  --nav-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; }
a { color: var(--primary-red); }

::selection { background: var(--accent-red-light); color: var(--primary-red); }

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

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 2000;
  background: var(--bg-ink); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ==========================================================================
   The plus mark — the site's recurring, non-living avatar
   ========================================================================== */

.plus-mark { display: inline-block; color: var(--primary-red); line-height: 1; }
.plus-mark svg { display: block; width: 100%; height: 100%; }

/* Breathes only — never rotates. A rotated plus reads as a multiplication sign. */
.mark-breathe { animation: markBreathe 4.5s var(--ease) infinite; transform-origin: 50% 50%; }
@keyframes markBreathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.12); opacity: 0.82; }
}

.mark-orbit {
  position: relative; width: 148px; height: 148px;
  display: flex; align-items: center; justify-content: center;
}
.mark-orbit .ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--accent-red-line);
}
.mark-orbit .ring.r2 { inset: 16px; border-style: dashed; animation: spinSlow 26s linear infinite; }
.mark-orbit .core {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--primary-red); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(217, 4, 41, 0.22);
}
.mark-orbit .core svg { width: 38px; height: 38px; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* Faint watermark plus behind hero blocks */
.mark-watermark {
  position: absolute; color: var(--accent-red-light);
  pointer-events: none; z-index: 0; opacity: 0.85;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
  position: sticky; top: 0; z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
}
.nav-container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: var(--nav-h); gap: 16px;
}

.brand-logo {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 1.28rem; font-weight: 700; color: var(--text-main);
  text-decoration: none; letter-spacing: -0.5px; text-transform: lowercase;
  white-space: nowrap;
}
.brand-logo .plus-mark { width: 20px; height: 20px; }
.brand-logo span { color: var(--primary-red); }

.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a {
  text-decoration: none; color: var(--text-muted);
  font-weight: 500; font-size: 0.95rem; transition: color 0.25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-red); }

.nav-links .btn-nav {
  background-color: var(--text-main); color: #fff;
  padding: 9px 18px; border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}
.nav-links .btn-nav:hover { background-color: var(--primary-red); color: #fff; }

/* Dropdown */
.nav-item { position: relative; }
.nav-item > button {
  font: inherit; font-size: 0.95rem; font-weight: 500; color: var(--text-muted);
  background: none; border: 0; cursor: pointer; padding: 0;
  display: inline-flex; align-items: center; gap: 6px;
  transition: color 0.25s var(--ease);
}
.nav-item > button:hover, .nav-item[data-open="true"] > button { color: var(--primary-red); }
.nav-item > button .chev { transition: transform 0.3s var(--ease); font-size: 0.7em; }
.nav-item[data-open="true"] > button .chev { transform: rotate(180deg); }

.nav-dropdown {
  position: absolute; top: calc(100% + 16px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  width: 300px; background: #fff;
  border: 1px solid var(--border-color); border-radius: var(--radius);
  box-shadow: var(--shadow-card); padding: 8px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
}
.nav-item[data-open="true"] .nav-dropdown {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block; padding: 10px 12px; border-radius: 8px;
  font-size: 0.92rem; font-weight: 600; color: var(--text-main);
}
.nav-dropdown a small {
  display: block; font-weight: 400; font-size: 0.82rem;
  color: var(--text-muted); line-height: 1.45;
}
.nav-dropdown a:hover { background: var(--bg-secondary); color: var(--primary-red); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border-color);
  border-radius: 8px; width: 42px; height: 40px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; background: var(--text-main);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; border-top: 1px solid var(--border-color);
  background: #fff; padding: 12px 0 24px;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu.open { display: block; animation: slideDown 0.35s var(--ease); }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mobile-menu a {
  display: block; padding: 12px 4px; text-decoration: none;
  color: var(--text-main); font-weight: 600; font-size: 1rem;
  border-bottom: 1px solid var(--border-color);
}
.mobile-menu a small { display: block; font-weight: 400; font-size: 0.84rem; color: var(--text-muted); }
.mobile-menu .m-label {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 1.4px;
  color: var(--text-faint); font-weight: 700; padding: 18px 4px 6px;
}
.mobile-menu .m-cta {
  margin-top: 18px; background: var(--primary-red); color: #fff;
  text-align: center; border-radius: var(--radius-sm); border: 0; padding: 14px;
}

/* ==========================================================================
   Type scale & shared blocks
   ========================================================================== */

h1, h2, h3, h4 { letter-spacing: -0.6px; line-height: 1.18; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.6vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.08rem; font-weight: 600; letter-spacing: -0.2px; }

.eyebrow {
  display: inline-flex; align-items: flex-start; gap: 9px;
  color: var(--primary-red); text-transform: uppercase;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 1.6px;
  margin-bottom: 14px;
}
/* flex-start so the mark stays on the first line when the label wraps */
.eyebrow .plus-mark { width: 11px; height: 11px; flex: 0 0 auto; margin-top: 0.45em; }

.badge {
  display: inline-block; background-color: var(--accent-red-light);
  color: var(--primary-red); font-size: 0.78rem; font-weight: 600;
  padding: 6px 16px; border-radius: 20px; margin-bottom: 22px;
  text-transform: uppercase; letter-spacing: 1.2px;
}

.lede { font-size: clamp(1.02rem, 2.4vw, 1.2rem); color: var(--text-muted); }
.em-line { color: var(--primary-red); }

.section { padding: clamp(56px, 9vw, 100px) 0; }
.section-tint { background: var(--bg-secondary); border-block: 1px solid var(--border-color); }

.section-header { max-width: 720px; margin-bottom: clamp(34px, 5vw, 54px); }
.section-header.center { margin-inline: auto; text-align: center; }
.section-header p { color: var(--text-muted); margin-top: 14px; }

/* Buttons */
.btn-primary, .btn-dark, .btn-ghost, .btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 28px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; font-size: 0.98rem;
  font-family: var(--font-family); border: 1px solid transparent; cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-primary { background-color: var(--primary-red); color: #fff; }
.btn-primary:hover { background-color: var(--primary-red-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(217,4,41,0.25); }

.btn-dark { background-color: var(--bg-ink); color: #fff; }
.btn-dark:hover { background-color: var(--primary-red); transform: translateY(-2px); }

.btn-ghost { color: var(--text-main); border-color: var(--border-strong); background: #fff; }
.btn-ghost:hover { border-color: var(--primary-red); color: var(--primary-red); transform: translateY(-2px); }

.btn-wa { background-color: #128c7e; color: #fff; }
.btn-wa:hover { background-color: #0f7a6d; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(18,140,126,0.25); }
.btn-wa svg { width: 19px; height: 19px; fill: currentColor; }

.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.text-link {
  color: var(--primary-red); text-decoration: none; font-weight: 600;
  display: inline-flex; align-items: center; gap: 7px;
}
.text-link .arw { transition: transform 0.3s var(--ease); }
.text-link:hover .arw { transform: translateX(5px); }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero { padding: clamp(56px, 9vw, 104px) 0 clamp(40px, 6vw, 64px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 20px; }
.hero .lede { margin-bottom: 30px; max-width: 56ch; }
.hero .mark-watermark { top: 10px; right: 8px; width: 210px; height: 210px; }

.hero-card {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-xl); padding: 40px 32px; text-align: center;
  position: relative;
}
.hero-card .hand-note {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--primary-red); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 1.2px; text-transform: uppercase; padding: 5px 16px; border-radius: 20px;
  white-space: nowrap;
}
.hero-card .mark-orbit { margin: 14px auto 20px; }
.hero-card h3 { margin-bottom: 6px; }
.hero-card p { color: var(--text-muted); font-size: 0.94rem; }
.hero-card .card-foot {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border-color);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 0.86rem; color: var(--text-muted);
}
.hero-card .card-foot strong { color: var(--text-main); font-size: 0.95rem; }

/* Page hero (interior pages) */
.page-hero { padding: clamp(44px, 7vw, 80px) 0 clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.page-hero .inner { max-width: 780px; position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .mark-watermark { top: 4px; right: 8px; width: 170px; height: 170px; }
@media (max-width: 900px) { .page-hero .mark-watermark { display: none; } }

.breadcrumb { font-size: 0.84rem; color: var(--text-faint); margin-bottom: 18px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary-red); }
.breadcrumb span { margin: 0 7px; }

/* Trust row */
.trust-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px; padding: 34px 0; border-top: 1px solid var(--border-color);
  margin-top: 34px;
}
.trust-row div strong {
  display: block; font-size: 1.5rem; font-weight: 700; color: var(--primary-red);
  letter-spacing: -0.5px; line-height: 1.2;
}
.trust-row div small { display: block; font-size: 0.85rem; color: var(--text-muted); }

/* ==========================================================================
   Interstitial line band (one quotable line between sections)
   ========================================================================== */

.line-band {
  background: var(--bg-ink); color: #fff; padding: clamp(40px, 6vw, 62px) 0;
  text-align: center; position: relative; overflow: hidden;
}
.line-band p {
  font-size: clamp(1.15rem, 3vw, 1.75rem); font-weight: 500;
  letter-spacing: -0.5px; line-height: 1.4; max-width: 800px; margin: 0 auto;
}
.line-band p i { font-style: normal; color: #ff5d75; }
.line-band .plus-mark { width: 22px; height: 22px; color: #ff5d75; margin-bottom: 18px; }

.line-band-light {
  background: var(--bg-tint); border-block: 1px solid var(--border-color);
  color: var(--text-main); padding: clamp(36px, 5vw, 56px) 0; text-align: center;
}
.line-band-light p { font-size: clamp(1.05rem, 2.6vw, 1.4rem); font-weight: 500; max-width: 760px; margin: 0 auto; }
.line-band-light p i { font-style: normal; color: var(--primary-red); }

/* ==========================================================================
   Cards
   ========================================================================== */

.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); gap: 22px; }

.card {
  background: var(--bg-card); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 34px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex; flex-direction: column; position: relative;
}
.card:hover { transform: translateY(-6px); border-color: var(--accent-red-line); box-shadow: var(--shadow-hover); }
.card-featured { border-top: 3px solid var(--primary-red); }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.96rem; }

.card-num {
  font-size: 0.76rem; font-weight: 700; color: var(--primary-red);
  letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 14px;
}
.card-icon { width: 42px; height: 42px; color: var(--primary-red); margin-bottom: 20px; }
.card-icon svg { width: 100%; height: 100%; }

.feature-list { list-style: none; margin: 18px 0 24px; }
.feature-list li {
  font-size: 0.92rem; color: var(--text-main); margin-bottom: 9px;
  padding-left: 22px; position: relative;
}
.feature-list li::before {
  content: "+"; position: absolute; left: 0; top: -1px;
  color: var(--primary-red); font-weight: 700;
}
.card .push { margin-top: auto; }

/* Read-next / link cards */
.link-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none;
  background: #fff; border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 26px 24px; color: var(--text-main);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.link-card:hover { transform: translateY(-5px); border-color: var(--accent-red-line); box-shadow: var(--shadow-hover); }
.link-card .lc-top { display: flex; align-items: center; gap: 10px; }
.link-card .plus-mark { width: 14px; height: 14px; }
.link-card .lc-kicker { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--primary-red); }
.link-card h3 { font-size: 1.14rem; }
.link-card p { color: var(--text-muted); font-size: 0.92rem; }
.link-card .go { color: var(--primary-red); font-weight: 600; font-size: 0.9rem; margin-top: 6px; }

/* Numbered steps */
.steps { list-style: none; display: grid; gap: 20px; counter-reset: st; }
.steps li {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start;
  padding-bottom: 20px; border-bottom: 1px solid var(--border-color);
}
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps li .n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent-red-light);
  color: var(--primary-red); font-weight: 700; display: flex; align-items: center;
  justify-content: center; font-size: 0.95rem;
}
.steps li h4 { margin-bottom: 5px; }
.steps li p { color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   Prose (explainer pages)
   ========================================================================== */

.prose { max-width: 760px; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 52px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.prose h3 { margin-top: 34px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { color: #333; }
.prose strong { color: var(--text-main); font-weight: 600; }
.prose ul, .prose ol { padding-left: 22px; color: #333; }
.prose li { margin-bottom: 9px; }
.prose ul li::marker { color: var(--primary-red); }
.prose ol li::marker { color: var(--primary-red); font-weight: 700; }
.prose a { color: var(--primary-red); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }

.callout {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-left: 3px solid var(--primary-red); border-radius: var(--radius);
  padding: 24px 26px;
}
.callout .ct {
  font-size: 0.74rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary-red); margin-bottom: 8px; display: flex; align-items: center; gap: 8px;
}
.callout .ct .plus-mark { width: 11px; height: 11px; }
.callout p { color: var(--text-muted); font-size: 0.97rem; }
.callout.neutral { border-left-color: var(--text-faint); }
.callout.neutral .ct { color: var(--text-muted); }

.pull-quote {
  border-left: 3px solid var(--primary-red); padding: 6px 0 6px 26px;
  font-size: clamp(1.1rem, 2.6vw, 1.35rem); font-weight: 500;
  letter-spacing: -0.4px; line-height: 1.45; color: var(--text-main);
}

/* Definition rows */
.def-list { display: grid; gap: 0; border-top: 1px solid var(--border-color); }
.def-list > div {
  display: grid; grid-template-columns: 220px 1fr; gap: 22px;
  padding: 18px 0; border-bottom: 1px solid var(--border-color);
}
.def-list dt, .def-list .dt { font-weight: 600; color: var(--text-main); font-size: 0.98rem; }
.def-list dd, .def-list .dd { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* Comparison / do-dont */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panel {
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 28px; background: #fff;
}
.panel h4 { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; }
.panel ul { list-style: none; }
.panel li { font-size: 0.94rem; color: var(--text-muted); padding-left: 24px; position: relative; margin-bottom: 10px; }
.panel.good li::before { content: "✓"; position: absolute; left: 0; color: var(--ok-green); font-weight: 700; }
.panel.bad li::before  { content: "×"; position: absolute; left: 0; color: var(--primary-red); font-weight: 700; font-size: 1.15em; }
.panel.good h4 { color: var(--ok-green); }
.panel.bad h4 { color: var(--primary-red); }

/* Table */
.table-wrap { overflow-x: auto; border: 1px solid var(--border-color); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.93rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--border-color); vertical-align: top; }
th { background: var(--bg-secondary); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-muted); }
tbody tr:last-child td { border-bottom: 0; }
td strong { font-weight: 600; }
.verdict-yes { color: var(--ok-green); font-weight: 600; }
.verdict-maybe { color: var(--warn-amber); font-weight: 600; }
.verdict-no { color: var(--primary-red); font-weight: 600; }

/* ==========================================================================
   Accordion (FAQ / mistakes)
   ========================================================================== */

.accordion { border-top: 1px solid var(--border-color); }
.acc-item { border-bottom: 1px solid var(--border-color); }
.acc-head {
  width: 100%; background: none; border: 0; cursor: pointer;
  font-family: var(--font-family); text-align: left;
  padding: 22px 44px 22px 0; position: relative;
  font-size: 1.03rem; font-weight: 600; color: var(--text-main); line-height: 1.4;
  transition: color 0.25s var(--ease);
}
.acc-head:hover { color: var(--primary-red); }
.acc-head .ind {
  position: absolute; right: 4px; top: 50%; width: 18px; height: 18px;
  margin-top: -9px; color: var(--primary-red);
  transition: transform 0.4s var(--ease);
}
.acc-item[data-open="true"] .acc-head .ind { transform: rotate(135deg); }
.acc-item[data-open="true"] .acc-head { color: var(--primary-red); }
.acc-panel {
  overflow: hidden; height: 0;
  transition: height 0.42s var(--ease);
}
.acc-panel .acc-inner { padding: 0 44px 24px 0; color: var(--text-muted); font-size: 0.97rem; }
.acc-panel .acc-inner > * + * { margin-top: 12px; }
.acc-panel .acc-inner ul { padding-left: 20px; }
.acc-panel .acc-inner li { margin-bottom: 7px; }

/* ==========================================================================
   Checklists
   ========================================================================== */

.checklist-layout { display: grid; grid-template-columns: 1fr 300px; gap: 44px; align-items: start; }

.check-aside { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 16px; }
.progress-card {
  background: var(--bg-secondary); border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); padding: 24px;
}
.progress-card .pnum { font-size: 2.1rem; font-weight: 700; color: var(--primary-red); letter-spacing: -1px; line-height: 1.1; }
.progress-card .plab { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 14px; }
.progress-track { height: 6px; background: #e8e8e8; border-radius: 99px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: var(--primary-red); border-radius: 99px; transition: width 0.6s var(--ease); }
.aside-actions { display: grid; gap: 10px; }
.aside-actions button, .aside-actions a {
  font-size: 0.9rem; padding: 11px 16px; width: 100%;
}

.check-group {
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  padding: 28px; margin-bottom: 20px; background: #fff;
}
.check-group > header { margin-bottom: 6px; }
.check-group .cg-kicker {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--primary-red); margin-bottom: 6px;
}
.check-group h3 { margin-bottom: 8px; }
.check-group .cg-note { color: var(--text-muted); font-size: 0.94rem; margin-bottom: 18px; }

.check-item {
  display: flex; gap: 14px; align-items: flex-start; padding: 13px 0;
  border-top: 1px solid var(--border-color); cursor: pointer;
}
.check-item:first-of-type { border-top: 0; }
.check-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.check-box {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 2px;
  border: 1.5px solid var(--border-strong); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.check-box svg { width: 12px; height: 12px; stroke: #fff; opacity: 0; transform: scale(0.5); transition: opacity 0.25s var(--ease), transform 0.35s var(--ease); }
.check-item input:checked ~ .check-box { background: var(--primary-red); border-color: var(--primary-red); }
.check-item input:checked ~ .check-box svg { opacity: 1; transform: scale(1); }
.check-item input:focus-visible ~ .check-box { outline: 2px solid var(--primary-red); outline-offset: 3px; }
.check-item:hover .check-box { border-color: var(--primary-red); }
.check-text strong { display: block; font-weight: 600; font-size: 0.98rem; transition: color 0.3s var(--ease); }
.check-text span { display: block; font-size: 0.89rem; color: var(--text-muted); line-height: 1.55; }
.check-item input:checked ~ .check-text strong { color: var(--text-faint); text-decoration: line-through; }

/* Estimator */
.estimator {
  border: 1px solid var(--border-color); border-radius: var(--radius-lg);
  background: #fff; overflow: hidden;
}
.est-head { padding: 28px 28px 0; }
.est-body { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.est-inputs { padding: 24px 28px 28px; display: grid; gap: 16px; }
.est-out { background: var(--bg-ink); color: #fff; padding: 32px 28px; }
.est-fieldset { border: 0; }
.est-fieldset legend {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary-red); margin-bottom: 10px;
}
.est-row { display: grid; grid-template-columns: 1fr 130px; gap: 12px; align-items: center; margin-bottom: 10px; }
.est-row label { font-size: 0.92rem; color: var(--text-muted); }
.est-row input, .est-row select {
  font-family: var(--font-family); font-size: 0.95rem; padding: 9px 12px;
  border: 1px solid var(--border-color); border-radius: var(--radius-sm);
  width: 100%; background: #fff; color: var(--text-main); outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.est-row input:focus, .est-row select:focus { border-color: var(--primary-red); box-shadow: 0 0 0 3px rgba(217,4,41,0.1); }

.est-out .eo-label { font-size: 0.74rem; letter-spacing: 1.5px; text-transform: uppercase; color: #ff8a9c; font-weight: 700; }
.est-out .eo-big { font-size: clamp(2rem, 6vw, 2.9rem); font-weight: 700; letter-spacing: -1.5px; line-height: 1.1; margin: 6px 0 4px; }
.est-out .eo-range { font-size: 0.95rem; color: #c9c9c9; margin-bottom: 22px; }
.est-out .eo-break { border-top: 1px solid #333; padding-top: 16px; display: grid; gap: 9px; }
.est-out .eo-break div { display: flex; justify-content: space-between; gap: 14px; font-size: 0.9rem; color: #bdbdbd; }
.est-out .eo-break div b { color: #fff; font-weight: 600; }
.est-out .eo-break div.minus b { color: #ff8a9c; }
.est-out .eo-note { font-size: 0.8rem; color: #8f8f8f; margin-top: 18px; line-height: 1.55; }

/* ==========================================================================
   Forms
   ========================================================================== */

.form-card {
  background: #fff; border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle); border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 44px);
}
.enquiry-form { display: grid; gap: 16px; }
.field label {
  display: block; font-size: 0.84rem; font-weight: 600;
  color: var(--text-main); margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--border-color);
  border-radius: var(--radius-sm); font-family: var(--font-family);
  font-size: 1rem; outline: none; background: #fff; color: var(--text-main);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { min-height: 108px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary-red); box-shadow: 0 0 0 3px rgba(217, 4, 41, 0.1);
}
.field .hint { font-size: 0.8rem; color: var(--text-faint); margin-top: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 0.82rem; color: var(--text-faint); line-height: 1.6; }

.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.86rem; color: var(--text-muted); }
.consent input { margin-top: 5px; accent-color: var(--primary-red); }

.form-status {
  display: none; padding: 14px 18px; border-radius: var(--radius-sm);
  background: #edf7f1; border: 1px solid #cfe8dc; color: var(--ok-green);
  font-size: 0.92rem; font-weight: 500;
}
.form-status.show { display: block; animation: slideDown 0.4s var(--ease); }
.form-status.err { background: #fdecee; border-color: #f6ccd3; color: var(--primary-red); }

/* Contact rails */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-rail { display: grid; gap: 14px; }
.contact-row {
  display: flex; gap: 16px; align-items: flex-start; text-decoration: none;
  border: 1px solid var(--border-color); border-radius: var(--radius);
  padding: 18px 20px; background: #fff; color: var(--text-main);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.contact-row:hover { transform: translateY(-3px); border-color: var(--accent-red-line); box-shadow: var(--shadow-hover); }
.contact-row .ci {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  background: var(--accent-red-light); color: var(--primary-red);
  display: flex; align-items: center; justify-content: center;
}
.contact-row .ci svg { width: 19px; height: 19px; }
.contact-row.wa .ci { background: #e3f5f1; color: #128c7e; }
.contact-row .cl { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-faint); font-weight: 700; }
.contact-row .cv { font-weight: 600; font-size: 1rem; word-break: break-word; }
.contact-row .cs { font-size: 0.85rem; color: var(--text-muted); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 900;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
  transition: transform 0.35s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ==========================================================================
   Areas / SEO block
   ========================================================================== */

.area-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.area-chips span, .area-chips a {
  font-size: 0.85rem; padding: 7px 14px; border-radius: 99px;
  background: #fff; border: 1px solid var(--border-color); color: var(--text-muted);
  text-decoration: none; transition: var(--transition-smooth);
}
.area-chips a:hover { border-color: var(--primary-red); color: var(--primary-red); }

/* ==========================================================================
   CTA + Footer
   ========================================================================== */

.cta-band {
  background: var(--bg-ink); color: #fff; border-radius: var(--radius-xl);
  padding: clamp(34px, 6vw, 60px); display: grid;
  grid-template-columns: 1fr auto; gap: 30px; align-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band h2 i { font-style: normal; color: #ff5d75; }
.cta-band p { color: #b8b8b8; margin-top: 10px; max-width: 46ch; }
.cta-band .btn-row .btn-ghost { background: transparent; color: #fff; border-color: #454545; }
.cta-band .btn-row .btn-ghost:hover { border-color: #fff; color: #fff; }

.footer { border-top: 1px solid var(--border-color); padding: 56px 0 34px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; max-width: 34ch; }
.footer h5 {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--text-faint); font-weight: 700; margin-bottom: 14px;
}
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a, .footer ul span { font-size: 0.9rem; color: var(--text-muted); text-decoration: none; }
.footer ul a:hover { color: var(--primary-red); }

.social-row { display: flex; gap: 10px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted);
  transition: var(--transition-smooth);
}
.social-row a:hover { border-color: var(--primary-red); color: var(--primary-red); transform: translateY(-2px); }
.social-row svg { width: 16px; height: 16px; fill: currentColor; }
.social-handle { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; }
.social-handle b { color: var(--text-main); font-weight: 600; }

.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border-color);
  font-size: 0.82rem; color: var(--text-faint); display: flex;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-disclaimer {
  font-size: 0.78rem; color: var(--text-faint); line-height: 1.65;
  margin-top: 18px; max-width: 90ch;
}

/* ==========================================================================
   Reveal on scroll
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.reveal.d1.in { transition-delay: 0.07s; }
.reveal.d2.in { transition-delay: 0.14s; }
.reveal.d3.in { transition-delay: 0.21s; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .checklist-layout { grid-template-columns: 1fr; }
  .check-aside { position: static; grid-template-columns: 1fr; }
  .est-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .cta-band { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .def-list > div { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container, .container-narrow { padding: 0 18px; }
  .card, .panel, .check-group { padding: 24px 20px; }
  .field-row { grid-template-columns: 1fr; }
  .est-row { grid-template-columns: 1fr; }
  .est-row input, .est-row select { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .btn-row > * { width: 100%; }
  .hero .mark-watermark { display: none; }
  .trust-row { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   Motion / print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .navbar, .footer, .wa-float, .cta-band, .check-aside, .line-band, .btn-row { display: none !important; }
  body { font-size: 12pt; }
  .check-group { break-inside: avoid; border-color: #999; }
  .reveal { opacity: 1 !important; transform: none !important; }
  a { text-decoration: none; color: #000; }
}
