/* OneCare Diagnostics — shared styles for every page */

:root {
  --blue: #0047AB;
  --blue-2: #1565D8;
  --blue-dark: #0A2A66;
  --navy: #0F1E3D;
  --green: #00BF63;
  --green-dark: #00A055;
  --green-text: #00874A;
  --teal: #0FB5A6;
  --ink: #1B2537;
  --muted: #55657C;
  --line: #E1E9F4;
  --bg: #F5F9FF;
  --soft-blue: #E8F1FF;
  --soft-green: #E4F8EE;
  --amber: #B45309;
  --soft-amber: #FEF3E2;
  --card: #FFFFFF;
  --shadow: 0 10px 30px rgba(15, 50, 110, .08);
  --shadow-lg: 0 24px 60px rgba(15, 50, 110, .14);
  --radius: 18px;
  --head: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--head); color: var(--navy); line-height: 1.2; letter-spacing: -.01em; }
a { color: inherit; text-decoration: none; }
p a, li a, .link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.foot li a, .menu a, .contact-list a { text-decoration: none; color: inherit; }
svg { display: block; }
img { max-width: 100%; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(860px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue-2); outline-offset: 2px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 12px; min-height: 48px;
  font-family: var(--head); font-size: 15px; font-weight: 700; line-height: 1;
  border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  white-space: nowrap; text-decoration: none;
}
.btn-primary { background: linear-gradient(135deg, var(--green) 0%, var(--teal) 100%); color: #fff; box-shadow: 0 8px 20px rgba(0,191,99,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,191,99,.36); }
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 8px 20px rgba(0,71,171,.25); }
.btn-blue:hover { transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--blue); border: 1.5px solid #CFDDF3; }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--blue); }
.btn-sm { padding: 10px 16px; min-height: 40px; font-size: 14px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.logo img { height: 56px; width: auto; display: block; }
.menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.menu a {
  display: block; padding: 9px 12px; border-radius: 10px;
  font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--ink);
}
.menu a:hover { background: var(--soft-blue); color: var(--blue); }
.menu a[aria-current="page"] { color: var(--green-text); background: var(--soft-green); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang {
  display: inline-flex; background: #EEF3FA; border-radius: 999px; padding: 3px;
  font-family: var(--head); font-size: 13px; font-weight: 700;
}
.lang button {
  border: 0; background: transparent; cursor: pointer; font: inherit; color: var(--muted);
  padding: 7px 12px; border-radius: 999px; min-height: 34px;
}
.lang button[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: 0 2px 6px rgba(15,50,110,.12); }
.burger {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; color: var(--navy); cursor: pointer; place-items: center;
}

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(0,191,99,.10), transparent 60%),
    radial-gradient(800px 500px at 10% 0%, rgba(0,71,171,.10), transparent 60%),
    linear-gradient(180deg, #EEF5FF 0%, var(--bg) 100%);
  padding: 72px 0 150px; min-height: 660px; overflow: hidden;
}
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 560px) 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--head); font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-text); background: rgba(0,191,99,.12);
  padding: 8px 14px; border-radius: 999px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.06; font-weight: 800; letter-spacing: -.02em; margin: 22px 0 18px; }
.accent { color: var(--green); }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--navy); }
.hero-facts svg { color: var(--green-dark); flex: none; }
.hero-photo {
  position: absolute; top: 0; right: 0; bottom: 0; width: 66%; z-index: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 14%, #000 40%);
          mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 14%, #000 40%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 30%; display: block; filter: brightness(.76) contrast(1.15) saturate(1.1); }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(45% 75% at 12% 15%, rgba(238,245,255,.92) 0%, rgba(238,245,255,.72) 50%, rgba(238,245,255,0) 85%),
    linear-gradient(0deg, var(--bg) 0%, rgba(245,249,255,0) 24%);
}
.hero-cards { display: flex; flex-direction: column; gap: 14px; justify-self: end; align-self: end; margin-bottom: -40px; }
.float {
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.8); border-radius: 16px;
  padding: 14px 16px; display: flex; align-items: center; gap: 12px; width: 210px;
  box-shadow: var(--shadow-lg);
}
.float .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.float b { display: block; font-family: var(--head); font-size: 14px; color: var(--navy); line-height: 1.2; }
.float small { font-size: 12px; color: var(--muted); line-height: 1.3; display: block; }

/* ---------- Inner page header ---------- */
.page-hero {
  background:
    radial-gradient(700px 400px at 90% 0%, rgba(0,191,99,.10), transparent 60%),
    radial-gradient(700px 400px at 0% 0%, rgba(0,71,171,.10), transparent 60%),
    linear-gradient(180deg, #EEF5FF 0%, var(--bg) 100%);
  padding: 56px 0 46px;
}
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; margin: 16px 0 12px; }
.page-hero .lead { max-width: 680px; }

/* ---------- Help strip ---------- */
.help {
  position: relative; z-index: 2; margin-top: -72px;
  background: #fff; border-radius: 24px; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); padding: 30px 28px;
}
.help h2 { text-align: center; font-size: 22px; margin-bottom: 22px; }
.help-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.help-item {
  display: flex; gap: 12px; padding: 16px; border-radius: 14px;
  border: 1px solid var(--line); background: #FAFCFF; transition: .25s;
}
.help-item:hover { border-color: #BFE9D3; background: #F3FBF7; transform: translateY(-3px); }
.ic-box {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--soft-blue); color: var(--blue); display: grid; place-items: center;
}
.ic-box.green { background: var(--soft-green); color: var(--green-dark); }
.ic-box.amber { background: var(--soft-amber); color: var(--amber); }
.help-item b { font-family: var(--head); font-size: 14.5px; color: var(--navy); display: block; line-height: 1.3; }
.help-item p { font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 3px; }

/* ---------- Sections ---------- */
section.block { padding: 90px 0 0; }
.sec-head { text-align: center; margin-bottom: 40px; }
.sec-head.left { text-align: left; }
.sec-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; }
.sec-head h2 span { color: var(--green); }
.sec-head p { color: var(--muted); margin-top: 8px; max-width: 640px; margin-inline: auto; }
.sec-head.left p { margin-inline: 0; }
h2.h-sm { font-size: 26px; font-weight: 800; margin-bottom: 14px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.card h3 { font-size: 19px; margin: 14px 0 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .ic-box { width: 50px; height: 50px; }

/* Service cards */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: .3s; display: flex; flex-direction: column;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-art { height: 200px; position: relative; overflow: hidden; background: var(--soft-blue); }
.svc-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.svc:hover .svc-art img { transform: scale(1.05); }
.svc-art.plain { display: grid; place-items: center; background: linear-gradient(135deg, var(--soft-blue), var(--soft-green)); }
.svc-art.plain svg { width: 64px; height: 64px; color: var(--blue); }
.svc-body { padding: 18px 20px 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex: 1; }
.svc-body b { font-family: var(--head); font-size: 17px; color: var(--navy); display: block; }
.svc-body p { font-size: 14px; color: var(--muted); line-height: 1.5; margin-top: 4px; }
.arrow {
  width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--green); color: #fff; display: grid; place-items: center;
}

/* Trust band */
.band {
  margin-top: 80px; border-radius: 22px; padding: 30px 20px;
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue-2) 45%, var(--teal) 100%);
  display: grid; grid-template-columns: repeat(4, 1fr); color: #fff;
  box-shadow: 0 20px 40px rgba(0,71,171,.25);
}
.stat { display: flex; align-items: center; gap: 14px; justify-content: center; padding: 6px 12px; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.22); }
.stat .ic { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.45); display: grid; place-items: center; flex: none; }
.stat b { font-family: var(--head); font-size: 16.5px; display: block; line-height: 1.2; color: #fff; }
.stat small { font-size: 13px; opacity: .9; }

/* Pillars */
.pillar .num { font-family: var(--head); font-weight: 800; font-size: 34px; color: var(--green); line-height: 1; }

/* Feature split (teasers) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature {
  border-radius: 22px; padding: 34px; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.feature.blue { background: linear-gradient(150deg, #0B63CE 0%, var(--blue) 60%, var(--blue-dark) 100%); color: #fff; border: 0; }
.feature.blue h3, .feature.blue p { color: #fff; }
.feature.blue p { opacity: .9; }
.feature h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.feature p { color: var(--muted); margin-bottom: 22px; }
.feature ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }

/* Check list */
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 16px; color: var(--ink); }
.checks li i {
  width: 24px; height: 24px; border-radius: 50%; flex: none; margin-top: 1px;
  background: var(--soft-green); color: var(--green-dark); display: grid; place-items: center;
}
.feature.blue .checks li { color: #fff; }
.feature.blue .checks li i { background: rgba(255,255,255,.18); color: #fff; }

/* CTA */
.cta {
  margin-top: 80px; border-radius: 22px; padding: 34px 40px;
  background: linear-gradient(100deg, var(--green-dark) 0%, var(--teal) 100%);
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  position: relative; overflow: hidden;
}
.cta::before {
  content: "+"; position: absolute; right: 30%; top: -40px; font-size: 220px; font-weight: 800;
  color: rgba(255,255,255,.08); line-height: 1; font-family: var(--head);
}
.cta h3 { font-size: 24px; font-weight: 800; color: #fff; }
.cta p { opacity: .92; font-size: 15px; }
.cta-actions { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.cta .btn-white { color: var(--green-text); }
.cta .btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.7); }

/* Notes */
.note-box {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--soft-blue); border: 1px solid #CFE0F8; color: var(--blue-dark);
  border-radius: 14px; padding: 14px 16px; font-size: 15px;
}
.note-box svg { flex: none; margin-top: 2px; }
.note-box.amber { background: var(--soft-amber); border-color: #F6D9AE; color: #7A3E06; }
.note-box.green { background: var(--soft-green); border-color: #BDEBD3; color: #065F3A; }
.note-box p { margin-top: 6px; }

/* Photo of the doctor's request */
.upload-card {
  background: #fff; border: 1.5px dashed #B9CDEB; border-radius: 18px; box-shadow: var(--shadow);
  padding: 20px; margin-bottom: 20px;
}
.upload-head { display: flex; gap: 14px; align-items: center; }
.upload-head .ic-box { flex: none; }
.upload-head h2 { font-size: 19px; margin: 0; }
.upload-head p { color: var(--muted); font-size: 15px; margin-top: 2px; }
.upload-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.upload-actions label.btn { cursor: pointer; }
.upload-privacy { color: var(--muted); font-size: 13px; margin-top: 10px; }
#up-status:not(:empty) { margin-top: 14px; }
.up-more { margin-top: 10px; }
.up-more .btn { background: #fff; }
.spinner {
  flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  border: 2.5px solid #CFE0F8; border-top-color: var(--blue); animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .upload-actions .btn { flex: 1 1 100%; justify-content: center; } }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; background: var(--soft-blue); color: var(--blue); line-height: 1.3;
}
.badge.amber { background: var(--soft-amber); color: var(--amber); }
.badge.green { background: var(--soft-green); color: var(--green-text); }
.badge.draft { background: #FFF1F1; color: #B42318; }

/* ---------- Lab flow steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal)); opacity: .25; border-radius: 3px;
}
.steps li { text-align: center; position: relative; }
.steps .n {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; position: relative;
  background: #fff; border: 3px solid var(--blue); color: var(--blue);
  display: grid; place-items: center; font-family: var(--head); font-weight: 800; font-size: 22px;
  box-shadow: var(--shadow);
}
.steps li:nth-child(even) .n { border-color: var(--green); color: var(--green-dark); }
.steps h3 { font-size: 17px; margin-bottom: 6px; }
.steps p { font-size: 14.5px; color: var(--muted); }

/* Prep cards */
.prep { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.prep .card ul { margin: 10px 0 0 20px; color: var(--ink); font-size: 15.5px; display: grid; gap: 6px; }
.prep .card .tests { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Test guide ---------- */
.guide-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

/* "Tell us what you feel" */
.feel-card {
  background: linear-gradient(135deg, var(--soft-blue), var(--soft-green)); border: 1px solid #CFE0F8;
  border-radius: 20px; padding: 22px; box-shadow: var(--shadow);
}
.feel-card h2 { font-size: 20px; margin: 0; }
.feel-card > p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.feel-row { display: flex; gap: 10px; margin-top: 14px; }
.feel-row .search { flex: 1; margin: 0; }
#feel-out:not(:empty) { margin-top: 16px; }
#feel-out h3 { font-size: 16px; margin: 4px 0 10px; }
.feel-urgent { margin-bottom: 12px; }
.feel-list { list-style: none; display: grid; gap: 8px; }
.feel-list li { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; }
.feel-list b { font-family: var(--head); color: var(--navy); display: block; }
.feel-list small { color: var(--muted); font-size: 14px; display: block; }
.feel-why { display: inline-block; margin-top: 6px; font-size: 13px; color: var(--green-text); font-weight: 600; }
.feel-actions { margin-top: 12px; }
.feel-none { color: var(--muted); font-size: 15px; }
.feel-disclaimer { margin-top: 14px; font-size: 13.5px; color: #7A3E06; background: var(--soft-amber); border: 1px solid #F6D9AE; border-radius: 12px; padding: 10px 12px; }
@media (max-width: 560px) { .feel-row { flex-direction: column; } .feel-row .btn { justify-content: center; } }
.chip-btn {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer;
  font-family: var(--head); font-weight: 600; font-size: 14px; padding: 9px 16px; border-radius: 999px; min-height: 42px;
}
.chip-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.guide { display: grid; gap: 12px; }
.guide details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  overflow: hidden;
}
.guide summary {
  list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 14px;
}
.guide summary::-webkit-details-marker { display: none; }
.guide summary .t { flex: 1; }
.guide summary b { font-family: var(--head); font-size: 17px; color: var(--navy); display: block; }
.guide summary small { color: var(--muted); font-size: 14px; }
.guide summary .chev { transition: transform .2s; color: var(--muted); flex: none; }
.guide details[open] .chev { transform: rotate(180deg); }
.guide .body { padding: 0 22px 20px 80px; color: var(--ink); font-size: 16px; display: grid; gap: 10px; }
.guide .body h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: 4px; }

/* ---------- Estimator ---------- */
.est { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
/* Estimate card stays in view; the test list scrolls on its own */
.est-side { position: sticky; top: 96px; max-height: calc(100vh - 116px); overflow-y: auto; border-radius: 20px; }
.est-listbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 12px; font-size: 14.5px; color: var(--muted); font-weight: 600;
}
.est-listbar #est-count.has { color: var(--green-text); }
@media (min-width: 981px) {
  #est-groups {
    max-height: calc(100vh - 170px); overflow-y: auto; overscroll-behavior: contain;
    padding: 2px 10px 2px 2px; scrollbar-gutter: stable;
  }
  #est-groups .est-group:last-child { margin-bottom: 4px; }
}
.est-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.search {
  flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; min-height: 50px;
}
.search input { border: 0; outline: 0; font: inherit; font-size: 16px; width: 100%; background: transparent; color: var(--ink); }
.search:focus-within { border-color: var(--blue-2); }
.est-group { margin-bottom: 26px; }
.est-group h2 { font-size: 20px; margin-bottom: 4px; }
.est-group > p { color: var(--muted); font-size: 14.5px; margin-bottom: 12px; }
.est-list { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.est-row {
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start;
  padding: 16px 18px; cursor: pointer; transition: background .15s;
}
.est-row + .est-row { border-top: 1px solid var(--line); }
.est-row:hover { background: #FAFCFF; }
.est-row input { position: absolute; opacity: 0; pointer-events: none; }
.est-row .box {
  width: 26px; height: 26px; border-radius: 8px; border: 2px solid #B9C8DC; background: #fff;
  display: grid; place-items: center; color: transparent; margin-top: 1px; transition: .15s;
}
.est-row input:checked + .box { background: var(--green); border-color: var(--green); color: #fff; }
.est-row input:focus-visible + .box { outline: 3px solid var(--blue-2); outline-offset: 2px; }
.est-row.on { background: #F3FBF7; }
.est-row .name, .est-row .desc, .est-row .tags { display: block; }
.est-row .tags { display: flex; }
.est-row .name { font-family: var(--head); font-weight: 700; color: var(--navy); font-size: 16px; }
.est-row .desc { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.est-row .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.est-row .price { font-family: var(--head); font-weight: 800; color: var(--navy); font-size: 17px; white-space: nowrap; }
.est-empty { padding: 30px; text-align: center; color: var(--muted); }

.summary {
  background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 24px;
}
.summary h2 { font-size: 20px; margin-bottom: 4px; }
.sum-list { list-style: none; margin: 14px 0; max-height: 260px; overflow: auto; display: grid; gap: 8px; }
.sum-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-empty { color: var(--muted); font-size: 15px; margin: 14px 0; }
.sum-row { display: flex; justify-content: space-between; font-size: 15px; padding: 6px 0; }
.sum-row.discount { color: var(--green-text); font-weight: 600; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--navy); margin-top: 8px; padding-top: 12px; }
.sum-total span { font-family: var(--head); font-weight: 700; color: var(--navy); }
.sum-total b { font-family: var(--head); font-size: 30px; font-weight: 800; color: var(--blue); }
.toggle-line {
  display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 4px; padding: 12px 14px;
  border-radius: 12px; background: #F6F9FE; border: 1px solid var(--line); cursor: pointer; font-size: 15px;
}
.toggle-line input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-dark); flex: none; }
.toggle-line small { display: block; color: var(--muted); font-size: 13px; }
.sum-actions { display: grid; gap: 10px; margin-top: 18px; }
.sum-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.est-prep { margin-top: 14px; display: grid; gap: 8px; }
.est-prep .note-box { font-size: 14px; padding: 10px 12px; }
.mobile-sum { display: none; }

/* ---------- Corners ---------- */
.corner { display: grid; grid-template-columns: 300px 1fr; gap: 30px; align-items: start; }
.corner-badge {
  border-radius: 22px; padding: 30px; color: #fff; min-height: 220px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
}
.corner-badge.blue { background: linear-gradient(150deg, var(--blue-2), var(--blue) 60%, var(--blue-dark)); }
.corner-badge.green { background: linear-gradient(150deg, var(--teal), var(--green-dark)); }
.corner-badge svg { width: 54px; height: 54px; margin-bottom: auto; opacity: .95; }
.corner-badge h2 { color: #fff; font-size: 26px; font-weight: 800; }
.corner-badge p { opacity: .92; font-size: 15px; }

/* ---------- About ---------- */
.license {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
}
.license dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: 15.5px; }
.license dt { color: var(--muted); }
.license dd { font-weight: 600; color: var(--navy); }
.seal {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--soft-green); color: var(--green-dark);
}
.contact-list { list-style: none; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list b { display: block; font-family: var(--head); color: var(--navy); }
.contact-list span { color: var(--muted); font-size: 15px; }
.map { border: 0; width: 100%; height: 320px; border-radius: 18px; box-shadow: var(--shadow); background: var(--soft-blue); }
.form-slot { min-height: 0; }
.form-placeholder {
  border: 2px dashed #C9D7EA; border-radius: 18px; padding: 30px; text-align: center; background: #FAFCFF;
}
.form-placeholder h3 { margin-bottom: 8px; }
.form-placeholder p { color: var(--muted); margin-bottom: 18px; }

/* Stories (hidden until videos exist) */
.stories[hidden] { display: none; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 80px; background: #fff; border-top: 1px solid var(--line); padding: 50px 0 24px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot .logo img { height: 52px; margin-left: -6px; }
.foot p { color: var(--muted); font-size: 14.5px; margin-top: 10px; max-width: 320px; }
.foot h4 { font-size: 15px; margin-bottom: 14px; }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.foot li a:hover { color: var(--blue); }
.foot li svg { color: var(--green-dark); flex: none; margin-top: 3px; }
.copy { text-align: center; color: #7D8BA0; font-size: 13px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 901px) and (max-width: 1200px) {
  .hero-grid { grid-template-columns: minmax(0, 450px) 1fr; }
  .hero-photo { width: 56%; }
}
@media (max-width: 1140px) {
  .menu a { padding: 9px 9px; font-size: 14px; }
  .nav-right .call-btn span { display: none; }
}
@media (max-width: 1060px) {
  .help-grid { grid-template-columns: repeat(6, 1fr); }
  .help-item { grid-column: span 2; }
  .help-item:nth-child(4) { grid-column: 2 / span 2; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
  .steps::before { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  /* collapse nav into a drawer */
  .burger { display: grid; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    padding: 10px 16px 18px; gap: 2px; display: none;
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 12px; font-size: 16px; }
  .nav-right .call-btn { display: none; }
  .est { grid-template-columns: 1fr; }
  .summary { position: static; }
  .est-side { display: none; }
  .mobile-sum {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(15,50,110,.12);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  }
  .mobile-sum .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .mobile-sum .bar small { display: block; color: var(--muted); font-size: 13px; }
  .mobile-sum .bar b { font-family: var(--head); font-size: 22px; color: var(--blue); }
  .mobile-sum .sheet { display: none; max-height: 70vh; overflow: auto; padding-top: 12px; }
  .mobile-sum.open .sheet { display: block; }
  .mobile-sum .summary { box-shadow: none; border: 0; padding: 0; }
  body.has-mobile-sum { padding-bottom: 90px; }
  body.has-mobile-sum .mobile-bar { display: none !important; }
}
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; min-height: 0; padding-bottom: 120px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { position: relative; order: 2; width: calc(100% - 40px); height: 380px; margin: 36px auto 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); -webkit-mask-image: none; mask-image: none; }
  .hero-photo::before { display: none; }
  .hero-cards { display: none; }
  .hero-grid > div:first-child { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .band { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .stat:nth-child(3) { border-left: 0; }
  .split, .grid-2, .prep, .corner { grid-template-columns: 1fr; }
  .corner-badge { min-height: 0; }
  .license { grid-template-columns: 1fr; }
  /* sticky call / book bar */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  body { padding-bottom: 76px; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap, .narrow { width: calc(100% - 32px); }
  .nav { height: 66px; }
  .logo img { height: 44px; }
  .lang button { padding: 7px 10px; }
  .hero { padding: 40px 0 100px; }
  .hero-photo { width: calc(100% - 32px); height: 260px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .eyebrow { letter-spacing: .06em; font-size: 11.5px; }
  .help { padding: 24px 16px; }
  .help-grid, .services, .grid-3 { grid-template-columns: 1fr; }
  .help-item, .help-item:nth-child(4) { grid-column: auto; }
  .band { grid-template-columns: 1fr; }
  .stat { justify-content: flex-start; }
  .stat + .stat { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); padding-top: 18px; }
  .steps { grid-template-columns: 1fr; text-align: left; }
  .steps li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; text-align: left; }
  .steps .n { width: 56px; height: 56px; margin: 0; font-size: 20px; }
  .feature, .card { padding: 22px; }
  .cta { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
  .foot { grid-template-columns: 1fr; gap: 28px; }
  .guide .body { padding: 0 18px 18px; }
  .est-row { grid-template-columns: 26px 1fr; }
  .est-row .price { grid-column: 2; }
  .page-hero { padding: 40px 0 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print (estimate) ---------- */
@media print {
  .site-header, .site-footer, .mobile-bar, .mobile-sum, .est-main, .page-hero .lead, .cta, .sum-actions, .no-print { display: none !important; }
  body { background: #fff; padding: 0; }
  .est { display: block; }
  .est-side { display: block !important; }
  .summary { position: static; box-shadow: none; border: 1px solid #999; }
  .sum-list { max-height: none; }
  .print-only { display: block !important; }
}
.print-only { display: none; }
