/* Clear Sky Builders estimator. Mobile-first; builds on the brand tokens in /styles.css. */
.est {
  --ink: #0B1929;
  --ink-2: #33414f;
  --muted: #5a6472;
  --blue: #1A5FA8;
  --sky: #4FA3DC;
  --gold: #C9A84C;
  --gold-soft: #f5edd8;
  --card: #f2f5f9;
  --card-hover: #e9eef5;
  --card-sel: #e6f0fb;
  --line: #e0e6ed;
  --ok: #1f7a4d;
  --err: #b42318;
  --grad: linear-gradient(100deg, #0d2d52 0%, #1A5FA8 55%, #3d95d3 100%);
  --r: 18px;
  --dock-h: 84px;
  background: #fff;
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}
.est *, .est *::before, .est *::after { box-sizing: border-box; }
.est [hidden] { display: none !important; }
.est .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.est :focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 10px; }

/* ---------- buttons ---------- */
.est-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 28px; width: 100%;
  background: var(--grad); color: #fff; border: 0; border-radius: 16px;
  font: 600 17px/1.2 'Inter', system-ui, sans-serif; letter-spacing: 0.01em;
  cursor: pointer; text-decoration: none; box-shadow: 0 8px 24px rgba(26, 95, 168, 0.25);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.est-btn:hover { box-shadow: 0 10px 30px rgba(26, 95, 168, 0.33); }
.est-btn:active { transform: scale(0.985); }
.est-btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.est-btn-sm { min-height: 44px; width: auto; padding: 0 20px; font-size: 15px; }
.est-btn-outline { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.est-btn-outline:hover { border-color: var(--blue); box-shadow: none; }
.est-btn-text { background: none; border: 0; color: var(--blue); font: 600 15px 'Inter', sans-serif; cursor: pointer; padding: 10px 6px; min-height: 44px; }
.est-btn-text:hover { text-decoration: underline; }
.est-link { color: var(--blue); font-weight: 600; text-decoration: none; }
.est-link:hover { text-decoration: underline; }

/* ---------- landing ---------- */
.est-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.est-top img { height: 52px; width: auto; display: block; }
.est-top-phone { color: var(--ink); font: 600 14px 'Inter', sans-serif; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.est-hero { padding: 26px 18px 8px; max-width: 1140px; margin: 0 auto; }
.est-hero-grid { display: grid; gap: 26px; }
.est-eyebrow { display: inline-block; font: 600 11px 'Inter', sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.est-hero h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: clamp(36px, 9vw, 60px); line-height: 1.02; letter-spacing: -0.015em; color: var(--ink); margin: 0 0 16px; }
.est-hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.est-hero p.lede { font: 400 17px/1.65 'Inter', sans-serif; color: var(--muted); margin: 0 0 22px; max-width: 540px; }
.est-hero-img { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--card); }
.est-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.est-hero-img figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(11, 25, 41, .72); color: #fff; font: 500 12px 'Inter', sans-serif; padding: 6px 10px; border-radius: 8px; }
.est-trust { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.est-trust li { display: flex; align-items: center; gap: 10px; font: 500 15px 'Inter', sans-serif; color: var(--ink-2); }
.est-trust svg { color: var(--ok); flex-shrink: 0; }
.est-resume { margin-top: 14px; padding: 14px 16px; background: var(--gold-soft); border-radius: 14px; font: 500 14px/1.5 'Inter', sans-serif; color: #5b4512; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.est-license { margin-top: 18px; font: 500 13px 'Inter', sans-serif; color: var(--muted); }
.est-license a { color: var(--muted); }
.est-section { padding: 44px 18px; max-width: 1140px; margin: 0 auto; }
.est-section h2 { font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(28px, 6vw, 40px); font-weight: 700; margin: 0 0 22px; color: var(--ink); line-height: 1.1; }
.est-how { display: grid; gap: 14px; counter-reset: how; }
.est-how li { list-style: none; background: var(--card); border-radius: var(--r); padding: 20px; }
.est-how li strong { display: block; font: 600 17px 'Inter', sans-serif; margin-bottom: 6px; }
.est-how li span { font: 400 15px/1.6 'Inter', sans-serif; color: var(--muted); }
.est-how .n { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; align-items: center; justify-content: center; font: 600 14px 'Inter', sans-serif; margin-bottom: 12px; }
.est-why { background: var(--card); }
.est-why-grid { display: grid; gap: 16px; }
.est-why-item { display: flex; gap: 14px; }
.est-why-item svg { color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.est-why-item strong { display: block; font: 600 16px 'Inter', sans-serif; }
.est-why-item span { font: 400 14px/1.6 'Inter', sans-serif; color: var(--muted); }
.est-foot { padding: 28px 18px 120px; text-align: center; font: 400 13px/1.7 'Inter', sans-serif; color: var(--muted); border-top: 1px solid var(--line); }
.est-foot a { color: var(--muted); }
.est-landing-dock { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--line); z-index: 30; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform: translateY(110%); transition: transform .25s ease; }
.est-landing-dock.show { transform: none; }

/* ---------- quiz shell ---------- */
.est-app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.est-bar { position: sticky; top: 0; z-index: 20; background: #fff; padding: 8px 10px 0; }
.est-bar-row { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; }
.est-bar-row img { height: 40px; width: auto; justify-self: center; display: block; }
.est-back { width: 44px; height: 44px; border: 0; background: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); cursor: pointer; }
.est-back:hover { background: var(--card); }
.est-progress { height: 4px; background: #edf1f6; border-radius: 4px; margin: 8px 8px 0; overflow: hidden; }
.est-progress > span { display: block; height: 100%; background: var(--grad); border-radius: 4px; transition: width .35s ease; }
.est-main { flex: 1; width: 100%; max-width: 600px; margin: 0 auto; padding: 22px 18px calc(var(--dock-h) + 30px + env(safe-area-inset-bottom)); }
.est-main.wide { max-width: 760px; }
.est-q h1, .est-h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: clamp(30px, 7.6vw, 42px); line-height: 1.08; letter-spacing: -0.01em; margin: 6px 0 10px; color: var(--ink); outline: none; }
.est-q h1 .hl, .est-h1 .hl { color: var(--blue); }
.est-sub { font: 400 16px/1.6 'Inter', sans-serif; color: var(--muted); margin: 0 0 22px; }
.est-step-anim { animation: estIn .28s ease both; }
@keyframes estIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- options ---------- */
.est-opts { display: grid; gap: 12px; margin-top: 18px; }
.est-opts.two { grid-template-columns: 1fr 1fr; }
.est-opt {
  position: relative; display: flex; align-items: flex-start; gap: 14px; width: 100%; text-align: left;
  background: var(--card); border: 1.5px solid transparent; border-radius: var(--r); padding: 18px;
  font: 500 16px/1.35 'Inter', sans-serif; color: var(--ink); cursor: pointer; min-height: 60px;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.est-opt:hover { background: var(--card-hover); }
.est-opt:active { transform: scale(.99); }
.est-opt[aria-checked="true"] { background: var(--card-sel); border-color: var(--blue); color: #0f3b6b; }
.est-opt .ic { width: 26px; height: 26px; color: var(--blue); flex-shrink: 0; }
.est-opt .t { display: block; font-weight: 600; }
.est-opt .d { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 3px; }
.est-opt[aria-checked="true"] .d { color: #36597f; }
.est-opt .tick { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: none; align-items: center; justify-content: center; }
.est-opt[aria-checked="true"] .tick { display: flex; }
.est-opt.stack { flex-direction: column; gap: 10px; min-height: 118px; }
.est-opt.pill { justify-content: center; text-align: center; border-radius: 999px; padding: 16px 22px; font-weight: 500; }
.est-opt.pill .d { margin-top: 2px; }
.est-opt.pill.has-d { flex-direction: column; align-items: center; gap: 0; }
.est-opt.layout { flex-direction: column; align-items: stretch; padding: 14px; gap: 10px; }
.est-opt.layout svg { width: 100%; height: auto; }
.est-opt.finish { flex-direction: column; gap: 10px; }
.est-swatch { height: 64px; border-radius: 12px; width: 100%; }
.est-swatch.essential { background: linear-gradient(135deg, #e9e4dc, #cfc7ba); }
.est-swatch.midrange { background: linear-gradient(135deg, #f4f2ee 0 55%, #b9a389 55% 100%); }
.est-swatch.premium { background: linear-gradient(135deg, #fbfaf7 0 40%, #d9d3c8 40% 62%, #7b6247 62%); }
.est-swatch.luxury { background: linear-gradient(135deg, #f7f4ee 0 30%, #c9a84c 30% 38%, #efe8dc 38% 70%, #2c2a28 70%); }
.est-extra { margin-top: 18px; }

/* ---------- counters ---------- */
.est-counters { display: grid; gap: 12px; margin-top: 18px; }
.est-counter { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card); border-radius: var(--r); padding: 14px 16px; }
.est-counter .t { font: 600 16px 'Inter', sans-serif; display: block; }
.est-counter .d { font: 400 13px 'Inter', sans-serif; color: var(--muted); display: block; margin-top: 2px; }
.est-stepper { display: flex; align-items: center; gap: 4px; }
.est-stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.est-stepper button:hover:not([disabled]) { border-color: var(--blue); color: var(--blue); }
.est-stepper button[disabled] { opacity: .35; cursor: not-allowed; }
.est-stepper output { min-width: 40px; text-align: center; font: 600 18px 'Inter', sans-serif; }

/* ---------- fields ---------- */
.est-field { display: block; margin-bottom: 16px; }
.est-field > span, .est-label { display: block; font: 600 13px 'Inter', sans-serif; color: var(--ink-2); margin-bottom: 7px; }
.est-field .opt-tag { font-weight: 400; color: var(--muted); }
.est-input {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line);
  background: #f8fafc; font: 400 16px 'Inter', sans-serif; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none;
}
textarea.est-input { min-height: 110px; resize: vertical; line-height: 1.5; }
select.est-input { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 44px; }
.est-input:focus { border-color: var(--blue); background: #fff; }
.est-input[aria-invalid="true"] { border-color: var(--err); }
.est-input-icon { position: relative; }
.est-input-icon svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.est-input-icon .est-input { padding-left: 46px; }
.est-field > .est-err, .est-err { display: block; color: var(--err); font: 500 13px 'Inter', sans-serif; margin-top: 6px; }
.est-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; background: var(--card); padding: 5px; border-radius: 14px; }
.est-seg button { min-height: 44px; border: 0; border-radius: 10px; background: transparent; font: 500 15px 'Inter', sans-serif; color: var(--ink-2); cursor: pointer; }
.est-seg button[aria-checked="true"] { background: #fff; color: var(--blue); font-weight: 600; box-shadow: 0 1px 4px rgba(11,25,41,.12); }
.est-area { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--card); font: 500 14px 'Inter', sans-serif; color: var(--ink-2); display: flex; gap: 8px; align-items: center; }
.est-area.warn { background: var(--gold-soft); color: #5b4512; }
.est-check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; font: 400 14px/1.55 'Inter', sans-serif; color: var(--ink-2); cursor: pointer; }
.est-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue); flex-shrink: 0; }
.est-fine { font: 400 13px/1.6 'Inter', sans-serif; color: var(--muted); }
.est-fine a { color: var(--blue); }
.est-alert { padding: 14px 16px; border-radius: 14px; background: #fdecea; color: #7a1d14; font: 500 14px/1.5 'Inter', sans-serif; margin: 12px 0; }

/* ---------- dock ---------- */
.est-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; background: linear-gradient(180deg, rgba(255,255,255,0), #fff 28%); padding: 22px 18px calc(14px + env(safe-area-inset-bottom)); }
.est-dock-inner { max-width: 600px; margin: 0 auto; }
.est-dock.wide .est-dock-inner { max-width: 760px; }

/* ---------- calculating ---------- */
.est-calc { text-align: center; padding-top: 18vh; }
.est-spinner { width: 54px; height: 54px; border-radius: 50%; border: 4px solid #e3ebf5; border-top-color: var(--blue); margin: 0 auto 22px; animation: estSpin 0.9s linear infinite; }
@keyframes estSpin { to { transform: rotate(360deg); } }

/* ---------- results ---------- */
.est-res-head { background: linear-gradient(150deg, #071423 0%, #0d2442 55%, #1a4a7a 100%); color: #fff; border-radius: 22px; padding: 22px 18px 18px; margin-bottom: 22px; }
.est-res-head .addr { display: flex; gap: 8px; align-items: flex-start; font: 500 15px/1.45 'Inter', sans-serif; }
.est-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.est-chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.12); font: 500 13px 'Inter', sans-serif; }
.est-chip.light { background: var(--card-sel); color: #0f3b6b; }
.est-preview { margin-bottom: 18px; padding: 14px 16px; border-radius: 14px; background: var(--gold-soft); color: #5b4512; font: 500 14px/1.55 'Inter', sans-serif; display: flex; gap: 10px; }
.est-review { margin-bottom: 18px; padding: 16px; border-radius: 14px; border: 1.5px solid var(--gold); background: #fffdf7; font: 400 14px/1.6 'Inter', sans-serif; color: var(--ink-2); }
.est-review strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.est-review ul { margin: 6px 0 0 18px; padding: 0; }
.est-res-title { text-align: center; margin: 6px 0 18px; }
.est-res-title h1 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 700; font-size: clamp(28px, 7vw, 38px); margin: 0 0 6px; outline: none; }
.est-res-title p { font: 400 15px/1.6 'Inter', sans-serif; color: var(--muted); margin: 0; }
.est-pkgs { display: grid; gap: 16px; }
.est-pkg { background: var(--card); border-radius: 22px; padding: 22px 20px; border: 1.5px solid transparent; }
.est-pkg.sel { border-color: var(--blue); background: var(--card-sel); }
.est-pkg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.est-pkg-top svg { color: var(--blue); }
.est-tier { font: 600 11px 'Inter', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #8a6a1f; background: var(--gold-soft); padding: 4px 10px; border-radius: 999px; }
.est-pkg h2 { font: 600 19px 'Inter', sans-serif; color: var(--blue); margin: 12px 0 6px; }
.est-range { font: 700 clamp(30px, 8vw, 38px)/1.05 'Inter', sans-serif; letter-spacing: -0.02em; color: var(--ink); }
.est-plan { font: 500 14px 'Inter', sans-serif; color: var(--ink-2); margin-top: 8px; }
.est-plan.held { color: #8a6a1f; }
.est-time { font: 400 14px/1.6 'Inter', sans-serif; color: var(--muted); margin-top: 6px; }
.est-pkg hr { border: 0; border-top: 1px solid #d9e1ea; margin: 16px 0; }
.est-pkg p.desc { font: 400 15px/1.6 'Inter', sans-serif; color: var(--ink-2); margin: 0 0 12px; }
.est-pkg .est-chips { margin: 0 0 4px; }
.est-cats { display: grid; gap: 10px; margin: 0; }
.est-cat { display: flex; justify-content: space-between; gap: 12px; font: 500 15px 'Inter', sans-serif; color: #0f3b6b; }
.est-cat.soft { color: var(--ink-2); font-weight: 400; font-size: 14px; }
.est-cat.total { border-top: 1px solid #d9e1ea; padding-top: 10px; font-weight: 700; color: var(--ink); }
.est-details > summary { list-style: none; cursor: pointer; display: flex; justify-content: flex-end; align-items: center; gap: 6px; font: 600 15px 'Inter', sans-serif; color: var(--blue); min-height: 44px; }
.est-details > summary::-webkit-details-marker { display: none; }
.est-details > summary .when-open { display: none; }
.est-details[open] > summary .when-open { display: inline; }
.est-details[open] > summary .when-closed { display: none; }
.est-lines { margin-top: 14px; }
.est-lines summary { cursor: pointer; font: 600 14px 'Inter', sans-serif; color: var(--ink-2); padding: 10px 0; min-height: 44px; display: flex; align-items: center; }
.est-line { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 0; border-bottom: 1px dashed #d9e1ea; font: 400 14px 'Inter', sans-serif; }
.est-line .q { grid-column: 1; font-size: 12px; color: var(--muted); }
.est-line .amt { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 600; }
.est-tag { display: inline-block; font: 600 10px 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); background: #fff; border: 1px solid #c8daf0; padding: 1px 6px; border-radius: 5px; margin-left: 6px; vertical-align: 1px; }
.est-drivers { margin: 14px 0 0; padding: 14px; border-radius: 14px; background: #fff; }
.est-drivers strong { display: block; font: 600 13px 'Inter', sans-serif; margin-bottom: 8px; color: var(--ink-2); }
.est-drivers div { display: flex; justify-content: space-between; font: 400 14px 'Inter', sans-serif; padding: 3px 0; }
.est-choose { margin-top: 14px; }
.est-table-wrap { margin-top: 26px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.est-table { width: 100%; border-collapse: collapse; font: 400 14px 'Inter', sans-serif; min-width: 420px; }
.est-table caption { text-align: left; font: 600 17px 'Inter', sans-serif; padding-bottom: 10px; color: var(--ink); }
.est-table th, .est-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.est-table th:first-child, .est-table td:first-child { text-align: left; }
.est-table thead th { font-weight: 600; color: var(--ink-2); font-size: 13px; }
.est-table tr.soft td { color: var(--muted); }
.est-table tfoot td { font-weight: 700; color: var(--ink); border-bottom: 0; }
.est-box { margin-top: 22px; padding: 18px; border-radius: 18px; background: var(--card); }
.est-box h3 { font: 600 17px 'Inter', sans-serif; margin: 0 0 10px; }
.est-box ul { margin: 0; padding-left: 18px; font: 400 14px/1.7 'Inter', sans-serif; color: var(--ink-2); }
.est-notice { margin-top: 22px; padding: 18px; border-radius: 16px; border: 1px solid var(--line); text-align: center; font: 400 13px/1.65 'Inter', sans-serif; color: var(--muted); }
.est-notice svg { color: var(--muted); display: block; margin: 0 auto 8px; }
.est-notice strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.est-inline-actions { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: center; margin-top: 18px; }

/* investor scenario */
.est-scn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.est-scn-grid .est-field { margin-bottom: 4px; }
.est-scn-out { display: grid; gap: 12px; margin-top: 14px; }
.est-scn-card { background: #fff; border-radius: 14px; padding: 14px; }
.est-scn-card h4 { font: 600 14px 'Inter', sans-serif; margin: 0 0 8px; color: var(--blue); }
.est-scn-row { display: flex; justify-content: space-between; font: 400 14px 'Inter', sans-serif; padding: 3px 0; }
.est-scn-row.big { font-weight: 700; font-size: 16px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.est-neg { color: var(--err); }

/* ---------- next steps / consult ---------- */
.est-steps { display: grid; gap: 14px; margin-top: 8px; }
.est-stepcard { border-radius: 22px; padding: 20px; border: 1.5px solid #d7e2ef; }
.est-stepcard.first { background: var(--card-sel); border-color: transparent; }
.est-stepcard .num { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font: 600 16px 'Inter', sans-serif; background: var(--card); color: var(--ink); margin-bottom: 12px; }
.est-stepcard.first .num { background: var(--blue); color: #fff; }
.est-stepcard h2 { font: 600 18px 'Inter', sans-serif; margin: 0 0 6px; }
.est-stepcard p { font: 400 15px/1.6 'Inter', sans-serif; color: var(--muted); margin: 0 0 12px; }
.est-stepcard .note { display: flex; gap: 8px; align-items: center; background: #fff; border-radius: 12px; padding: 10px 12px; font: 500 14px 'Inter', sans-serif; color: var(--blue); }
.est-actions { display: grid; gap: 10px; margin-top: 22px; }
.est-action { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font: 600 16px 'Inter', sans-serif; color: var(--ink); text-decoration: none; min-height: 60px; }
.est-action:hover { border-color: var(--blue); }
.est-action svg { color: var(--blue); flex-shrink: 0; }
.est-action .d { display: block; font: 400 13px 'Inter', sans-serif; color: var(--muted); margin-top: 2px; }
.est-cal-head { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 4px 0 18px; font: 500 14px 'Inter', sans-serif; color: var(--blue); }
.est-cal-head span { display: inline-flex; gap: 6px; align-items: center; }
.est-cal { user-select: none; }
.est-cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.est-cal-nav strong { font: 600 16px 'Inter', sans-serif; }
.est-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.est-cal-grid .dow { font: 500 12px 'Inter', sans-serif; color: var(--muted); padding: 6px 0; }
.est-day { aspect-ratio: 1; max-width: 48px; width: 100%; margin: 0 auto; border-radius: 50%; border: 0; background: var(--card); font: 500 15px 'Inter', sans-serif; color: var(--ink); cursor: pointer; }
.est-day[disabled] { background: none; color: #c3cad3; cursor: default; }
.est-day[aria-pressed="true"] { background: var(--blue); color: #fff; }
.est-picked { margin-top: 10px; font: 500 14px 'Inter', sans-serif; color: var(--ink-2); }
.est-confirm-card { background: var(--card); border-radius: 18px; padding: 18px; margin-bottom: 12px; }
.est-confirm-card svg { color: var(--ink-2); margin-bottom: 8px; }
.est-confirm-card strong { display: block; font: 600 16px 'Inter', sans-serif; margin-bottom: 4px; }
.est-confirm-card span { display: block; font: 400 15px/1.6 'Inter', sans-serif; color: var(--muted); }
.est-embed { width: 100%; min-height: 680px; border: 0; border-radius: 16px; background: var(--card); }
.est-done { text-align: center; padding-top: 6vh; }
.est-done .badge { width: 72px; height: 72px; border-radius: 50%; background: #e7f6ee; color: var(--ok); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.est-done .badge.pending { background: var(--gold-soft); color: #8a6a1f; }
.est-ref { display: inline-block; margin-top: 10px; font: 600 14px 'Inter', sans-serif; padding: 8px 12px; border-radius: 10px; background: var(--card); letter-spacing: .04em; }
.est-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.est-photo { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--card); }
.est-photo img { width: 100%; height: 100%; object-fit: cover; }
.est-photo span { position: absolute; inset: auto 0 0 0; font: 600 11px 'Inter', sans-serif; padding: 4px 6px; background: rgba(11,25,41,.7); color: #fff; }
.est-drop { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; border: 2px dashed #c8d4e2; border-radius: 18px; text-align: center; cursor: pointer; font: 500 15px 'Inter', sans-serif; color: var(--ink-2); }
.est-drop svg { color: var(--blue); }

/* ---------- consent banner ---------- */
.est-consent { position: fixed; left: 12px; right: 12px; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 60; background: var(--ink); color: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.25); font: 400 14px/1.5 'Inter', sans-serif; max-width: 520px; margin: 0 auto; }
.est-consent p { margin: 0 0 10px; }
.est-consent a { color: #9cc9ee; }
.est-consent-actions { display: flex; justify-content: flex-end; gap: 10px; align-items: center; }
.est-consent .est-btn-text { color: #cfe3f5; }

/* ---------- larger screens ---------- */
@media (min-width: 640px) {
  .est-opts.grid-2 { grid-template-columns: 1fr 1fr; }
  .est-how { grid-template-columns: repeat(3, 1fr); }
  .est-why-grid { grid-template-columns: 1fr 1fr; }
  .est-scn-out { grid-template-columns: 1fr 1fr; }
  .est-photos { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  .est-top { padding: 14px 32px; }
  .est-hero { padding: 56px 32px 24px; }
  .est-hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 56px; }
  .est-hero .est-btn { width: auto; min-width: 340px; }
  .est-landing-dock { display: none; }
  .est-pkgs { grid-template-columns: 1fr 1fr; align-items: start; }
  .est-why-grid { grid-template-columns: repeat(4, 1fr); }
  .est-foot { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .est *, .est *::before, .est *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- print: results only ---------- */
@media print {
  .est-bar, .est-dock, .est-landing-dock, .est-consent, .est-inline-actions, .est-choose, .est-top, .no-print { display: none !important; }
  .est-main { padding: 0 !important; max-width: none !important; }
  .est-pkg, .est-box { break-inside: avoid; background: #fff !important; border: 1px solid #ccc !important; }
  .est-res-head { background: #fff !important; color: #000 !important; border: 1px solid #ccc; }
  .est-chip { background: #eee !important; color: #000 !important; }
  .est-details > summary { display: none; }
}
