/* Legado v17.4 - white, Legado gray and Legado red. No cream, no patterns. */
:root {
  --bg: #ffffff;
  --soft: #f4f5f7;
  --soft-2: #e9ebef;
  --line: #e3e6ea;
  --ink: #1d2127;
  --ink-2: #4a515b;
  --mute: #7a818b;
  --gray: #2d3238;
  --gray-2: #3a4048;
  --red: #c4321f;
  --red-deep: #a32617;
  --red-soft: #fcebe8;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
  --gut: clamp(16px, 4vw, 40px);
  --sec: clamp(64px, 8vw, 112px);
  --r-lg: 22px;
  --r: 14px;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 1px 2px rgb(20 24 30 / .06), 0 14px 36px -18px rgb(20 24 30 / .28);
  --nav-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(38px, 5vw, 62px); font-stretch: 112%; letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.6vw, 46px); font-stretch: 110%; letter-spacing: -0.03em; }
h3 { font-size: 20px; font-stretch: 104%; }
.h-s { font-size: clamp(26px, 2.6vw, 34px); }
p { margin: 0; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 6px; }
p.lab, .lab { font: 700 12.5px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.lab a { text-decoration: none; }
.lab a:hover { text-decoration: underline; }
.lede { font-size: 18px; color: var(--ink-2); max-width: 56ch; margin-top: 16px; }
.sub { color: var(--ink-2); margin: 14px auto 0; max-width: 56ch; }
.fine { font-size: 13.5px; color: var(--mute); }
.k { font: 700 12.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.c-head { max-width: 760px; margin: 0 auto clamp(30px, 4vw, 46px); padding: 0 var(--gut); text-align: center; }
.c-head.row { max-width: var(--max); display: flex; justify-content: space-between; align-items: end; gap: 20px; text-align: left; flex-wrap: wrap; }
.band-soft { background: var(--soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; font: 600 15.5px/1 var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .25s var(--out), background-color .2s, box-shadow .25s; white-space: nowrap; }
.btn svg { flex: none; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px -10px rgb(196 50 31 / .7); }
.btn-red:hover { background: var(--red-deep); transform: translateY(-1px); }
.btn-red:active { transform: scale(.98); }
.btn-red:disabled { opacity: .6; cursor: wait; }
.btn-ghost { background: var(--bg); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--soft-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost-w { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .4); }
.btn-ghost-w:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.btn-ghost-w svg { width: 18px; height: 18px; fill: currentColor; }
.btn-glass { background: rgb(255 255 255 / .14); color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgb(255 255 255 / .26); }
.arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--red); padding-bottom: 3px; }
.arrow::after { content: "→"; color: var(--red); transition: transform .25s var(--out); }
.arrow:hover::after { transform: translateX(4px); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ticks svg, .trust svg { color: var(--red); flex: none; }

/* ---------- NAV ---------- */
.nav { position: fixed; inset: 12px 0 auto; z-index: 50; padding: 0 var(--gut); pointer-events: none; }
.nav-in { pointer-events: auto; max-width: calc(var(--max) + 60px); margin: 0 auto; height: var(--nav-h); padding: 0 12px 0 14px; display: flex; align-items: center; gap: 22px; border-radius: 18px; background: rgb(255 255 255 / .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 0 0 1px rgb(20 24 30 / .05), 0 10px 30px -16px rgb(20 24 30 / .35); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 42px; height: 42px; }
.brand-t { display: flex; flex-direction: column; line-height: 1; }
.brand-t b { font: 900 20px/1 var(--display); font-stretch: 118%; letter-spacing: .02em; }
.brand-t small { font: 600 10px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-top: 5px; }
.links { display: flex; gap: 24px; margin: 0 auto; }
.links a { text-decoration: none; font-weight: 500; font-size: 15px; color: var(--ink-2); position: relative; padding: 6px 0; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--out); }
.links a:hover, .links a[aria-current] { color: var(--ink); }
.links a:hover::after, .links a[aria-current]::after { transform: scaleX(1); }
.nav-r { display: flex; align-items: center; gap: 8px; }
.nav-r .btn { height: 44px; padding: 0 20px; }
.flag { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 0; background: transparent; cursor: pointer; }
.flag svg { border-radius: 3px; box-shadow: 0 0 0 1px rgb(0 0 0 / .08); }
.flag:hover { background: var(--soft); }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--soft); }
.lang button { height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-family: inherit; font-size: 13.5px; font-weight: 600; line-height: 1; cursor: pointer; }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgb(20 24 30 / .12); }
.lang .l-short { display: none; }
@media (max-width: 1100px) { .lang .l-full { display: none; } .lang .l-short { display: inline; } .lang button { padding: 0 10px; } }
.burger { display: none; width: 44px; height: 44px; border-radius: 14px; border: 0; background: var(--soft); cursor: pointer; place-items: center; }
.burger span { display: block; width: 18px; height: 2px; background: var(--ink); margin: 3px auto; transition: transform .3s var(--out); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.drawer { display: none; }

/* ---------- HOME HERO: one photo, readable text ---------- */
.hero { position: relative; margin: 10px; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(640px, 94svh, 960px); display: grid; place-items: center; padding: calc(var(--nav-h) + 50px) var(--gut) 60px; text-align: center; color: #fff; isolation: isolate; background: var(--gray); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(18 21 26 / .55) 0%, rgb(18 21 26 / .45) 45%, rgb(18 21 26 / .62) 100%); }
.hero-c { max-width: 880px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: .96; color: #fff; text-shadow: 0 2px 24px rgb(0 0 0 / .35); }
.h1-k { display: block; font: 700 13px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.hero .lede { color: #fff; margin: 20px auto 0; font-size: clamp(17px, 1.5vw, 20px); text-shadow: 0 1px 12px rgb(0 0 0 / .35); }
.hero-b { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.trust { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14.5px; font-weight: 600; }
.trust li { display: flex; align-items: center; gap: 8px; }
.hero .trust svg { color: var(--red); }

/* ---------- FIND US ON ---------- */
.seen { max-width: var(--max); margin: 0 auto; padding: clamp(34px, 5vw, 52px) var(--gut) 0; text-align: center; }
.seen p { font-size: 14px; color: var(--mute); margin-bottom: 18px; }
.seen ul { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px clamp(30px, 6vw, 70px); }
.seen a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #9aa0a8; font: 700 21px/1 var(--body); letter-spacing: -.01em; transition: color .25s; }
.seen a:hover { color: var(--ink); }
.seen svg { width: 26px; height: 26px; fill: currentColor; }
.wm-y { font: 900 26px/1 var(--display) !important; letter-spacing: -.04em !important; }
.wm-y small { font: 600 12px/1 var(--body); letter-spacing: .04em; margin-left: 4px; align-self: flex-end; }
.wm-m { font: 700 22px/1 var(--body) !important; letter-spacing: -.02em !important; }
.wm-m svg { width: 22px; height: 22px; }

/* ---------- WHO ---------- */
.who { max-width: var(--max); margin: 0 auto; padding: var(--sec) var(--gut); text-align: center; }
.who-t { max-width: 720px; margin: 0 auto; }
.who-t h2 { margin-bottom: 20px; }
.who-t p:not(.lab) { color: var(--ink-2); font-size: 18px; }
.who-t p:not(.lab) + p { margin-top: 12px; }
.who-t .arrow { margin-top: 26px; }
.who-pics { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 16px; align-items: center; margin-top: clamp(36px, 5vw, 56px); }
.wp { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 4 / 5; }
.wp img { width: 100%; height: 100%; object-fit: cover; }
.wp-2 { transform: translateY(-14px); box-shadow: var(--shadow); }
.wp figcaption { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); white-space: nowrap; padding: 8px 14px; border-radius: 10px; background: #fff; font-size: 14px; font-weight: 600; }

/* ---------- WHAT WE BUILD: tiles + funnel ---------- */
.build { padding: var(--sec) 0; }
.build.top { padding-top: calc(var(--nav-h) + 70px); padding-bottom: 8px; }
.build h1 { font-size: clamp(36px, 4.4vw, 56px); }
.tiles { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile { display: flex; flex-direction: column; text-align: left; background: #fff; border: 0; border-radius: var(--r); padding: 10px 10px 18px; cursor: pointer; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--out), box-shadow .35s var(--out); }
.tile:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.tile[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--red), var(--shadow); }
.tile-img { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 14px; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.tile:hover .tile-img img { transform: scale(1.05); }
.tile-n { position: absolute; left: 10px; top: 10px; min-width: 52px; height: 40px; padding: 0 14px; border-radius: 12px; font-size: 17px !important; letter-spacing: .02em; background: var(--red); color: #fff; display: grid; place-items: center; font: 800 14px/1 var(--display); }
.tile-t { font: 800 24px/1.1 var(--display); font-stretch: 110%; letter-spacing: -.02em; padding: 0 8px; }
.tile-d { font-size: 15px; color: var(--ink-2); padding: 6px 8px 0; flex: 1; }
.tile-go { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--red); padding: 14px 8px 0; }
.tile-links { text-align: center; margin-top: 26px; font-size: 15px; color: var(--mute); }
.tile-links a { color: var(--ink-2); font-weight: 500; }

.funnel { max-width: var(--max); margin: 20px auto 0; padding: 0 var(--gut); scroll-margin-top: 100px; }
.fn-card { display: grid; grid-template-columns: 0.85fr 1.15fr; background: #fff; border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow); overflow: hidden; }
.fn-side { background: var(--soft); }
.fn-info img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.fn-info-t { padding: 22px 24px 26px; }
.fn-info h3 { font-size: 26px; font-stretch: 110%; margin-bottom: 8px; }
.fn-info p { color: var(--ink-2); font-size: 15.5px; margin-bottom: 14px; }
.fn-info .ticks { grid-template-columns: 1fr 1fr; font-size: 14.5px; margin-bottom: 16px; }
.fn-main { padding: 24px 28px 22px; display: flex; flex-direction: column; min-height: 460px; }
.funnel[data-preset]:not([data-preset=""]) { max-width: 780px; }
.funnel[data-preset]:not([data-preset=""]) .fn-card { grid-template-columns: 1fr; }
.funnel[data-preset]:not([data-preset=""]) .fn-side { display: none; }
.fn-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.fn-trade { font-weight: 700; font-size: 15px; white-space: nowrap; }
.fn-trade span { color: var(--red); }
.fn-dots { list-style: none; margin: 0 0 0 auto; padding: 0; display: flex; gap: 6px; counter-reset: d; }
.fn-dots li { counter-increment: d; display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--mute); padding: 6px 10px 6px 6px; border-radius: 999px; background: var(--soft); }
.fn-dots li::before { content: counter(d); width: 20px; height: 20px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 11.5px; color: var(--mute); }
.fn-dots li.on { color: var(--ink); }
.fn-dots li.on::before { background: var(--red); color: #fff; }
.fn-dots li.now { background: var(--red-soft); }
.fn-x { border: 0; background: var(--soft); width: 34px; height: 34px; border-radius: 10px; cursor: pointer; flex: none; }
.fn-q h3 { font-size: clamp(22px, 2.2vw, 28px); font-stretch: 108%; margin-bottom: 18px; }
.fn-q, .es-q { animation: fnIn .4s var(--out); }
@keyframes fnIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.opt { display: flex; flex-direction: column; justify-content: center; text-align: left; border: 0; border-radius: 12px; padding: 14px 16px; min-height: 64px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 600; font-size: 15.5px; transition: box-shadow .2s, background-color .2s, transform .2s var(--out); }
.opt small { display: block; font-weight: 400; font-size: 13px; color: var(--mute); margin-top: 3px; line-height: 1.35; }
.opt:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.opt[aria-pressed="true"] { background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red); }
.opt:active { transform: scale(.98); }
.fn-hint { color: var(--mute); font-size: 14.5px; margin: -8px 0 14px; }
.fn-range { font: 900 clamp(36px, 4.4vw, 52px)/1.05 var(--display); font-stretch: 112%; letter-spacing: -.03em; margin: 10px 0 12px; font-variant-numeric: tabular-nums; }
.fn-lines { list-style: none; margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; background: var(--soft); display: grid; gap: 6px; font-size: 14.5px; color: var(--ink-2); }
.fn-res .btn { margin-bottom: 12px; }
.fn-nav, .est-nav { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; }
.fn-nav button, .est-nav button { border: 0; background: none; cursor: pointer; color: var(--mute); font-weight: 600; font-size: 14.5px; padding: 6px 0; }
.fn-nav button:hover, .est-nav button:hover { color: var(--ink); }

/* ---------- WORK ---------- */
.work { padding: var(--sec) 0 0; }
.work-row { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.ba { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; --p: 50%; user-select: none; touch-action: pan-y; box-shadow: var(--shadow); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-b { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--p); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; }
.ba-h { position: absolute; top: 50%; left: var(--p); width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; box-shadow: var(--shadow); pointer-events: none; z-index: 3; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 4; }
.ba-tag { position: absolute; bottom: 14px; z-index: 2; padding: 6px 12px; border-radius: 10px; font-weight: 700; font-size: 13px; background: #fff; }
.ba-tag.l { left: 14px; } .ba-tag.r { right: 14px; background: var(--red); color: #fff; }
.work-t h3 { font-size: 26px; font-stretch: 108%; margin-bottom: 10px; }
.work-t > p { color: var(--ink-2); margin-bottom: 20px; }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 110px; gap: 10px; margin-bottom: 22px; }
.g { margin: 0; border-radius: 12px; overflow: hidden; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.g:hover img { transform: scale(1.06); }
.g1 { grid-column: span 2; grid-row: span 2; }
.g5 { grid-column: span 2; }

/* ---------- WHY: photo + numbered promises ---------- */
.why { padding: var(--sec) 0 0; }
.why-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.why-img { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 4.4; }
.why-img img { width: 100%; height: 100%; object-fit: cover; }
.why-img figcaption { position: absolute; left: 18px; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--red); color: #fff; max-width: 280px; box-shadow: var(--shadow); }
.why-img figcaption b { font: 900 40px/1 var(--display); font-stretch: 115%; letter-spacing: -.03em; }
.why-img figcaption span { font-weight: 600; font-size: 15px; line-height: 1.3; }
.why-t h2 { margin-bottom: 26px; }
.promise { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.promise:last-child { border-bottom: 1px solid var(--line); }
.p-n { font: 900 30px/1 var(--display); font-stretch: 120%; color: var(--red); letter-spacing: -.03em; }
.promise h3 { margin-bottom: 6px; }
.promise p { color: var(--ink-2); font-size: 15.5px; }

/* ---------- REVIEWS: gray band ---------- */
.rev { padding: var(--sec) 10px 0; }
.rev-in { max-width: calc(var(--max) + 80px); margin: 0 auto; background: var(--gray); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px) clamp(22px, 4vw, 56px); display: grid; grid-template-columns: 0.8fr 1.6fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.rev-l .lab { color: #ff8a78; }
.rev-l h2 { color: #fff; margin-bottom: 14px; }
.rev-l p:not(.lab) { color: #c5cad1; margin-bottom: 22px; }
.rev-r { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rv { position: relative; background: #fff; color: var(--ink); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.rv .q { font: 900 56px/.6 var(--display); color: var(--red); height: 26px; }
.rv p { color: var(--ink-2); font-size: 15px; }
.rv-n { margin-top: auto; display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink) !important; font-size: 14px !important; }
.av { width: 32px; height: 32px; border-radius: 50%; background: var(--soft-2); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: var(--ink-2); }

/* ---------- HOW: photo steps ---------- */
.how { padding: var(--sec) 0 0; }
.steps { list-style: none; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step figure { position: relative; margin: 0 0 18px; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
.step figure img { width: 100%; height: 100%; object-fit: cover; }
.s-n { position: absolute; left: 14px; top: 14px; width: 44px; height: 44px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font: 900 20px/1 var(--display); box-shadow: 0 6px 16px -6px rgb(196 50 31 / .8); }
.step h3 { font-size: 22px; margin-bottom: 6px; }
.step p { color: var(--ink-2); font-size: 15.5px; max-width: 36ch; }

/* ---------- POST CARDS ---------- */
.res { padding: var(--sec) 0 0; }
.pgrid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pc { display: flex; flex-direction: column; text-decoration: none; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .35s var(--out), box-shadow .35s var(--out); }
.pc:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.pc-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.pc:hover .pc-img img { transform: scale(1.05); }
.pc-t { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.pc-meta { font-size: 13px; color: var(--mute); }
.pc-meta b { color: var(--red); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; }
.pc-h { font: 800 20px/1.18 var(--display); font-stretch: 104%; letter-spacing: -.015em; }
.pc-d { font-size: 15px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-go { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--red); }

/* ---------- SERVICE AREA: real map ---------- */
.area { padding: var(--sec) 0 0; }
.area-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.area-t h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.area-t > p:not(.lab) { color: var(--ink-2); font-size: 16px; margin-bottom: 20px; }
.cities { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cities li { padding: 7px 12px; border-radius: 10px; background: var(--soft); font-size: 14.5px; font-weight: 500; }
.map-wrap { border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
#map { height: 460px; background: var(--soft); }
#map .leaflet-tile-pane { filter: grayscale(1) contrast(.92) brightness(1.04); }
.leaflet-container { font-family: var(--body) !important; }
.tip { background: #fff !important; border: 0 !important; border-radius: 8px !important; box-shadow: 0 2px 8px rgb(0 0 0 / .18) !important; font-weight: 600; font-size: 12px; color: var(--ink) !important; padding: 2px 7px !important; }
.tip::before { display: none; }
.tip-main { background: var(--red) !important; color: #fff !important; font-size: 13px; font-weight: 800; }

/* ---------- FOOTER: Legado gray, with the CTA inside ---------- */
.foot { margin: var(--sec) 10px 10px; background: var(--gray); color: #c5cad1; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px) clamp(20px, 4vw, 48px) 22px; font-size: 14.5px; }
.cta-in { max-width: var(--max); margin: 0 auto 30px; display: flex; align-items: center; gap: 22px; padding: 22px 24px; border-radius: 18px; background: var(--gray-2); }
.cta-face { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 3px var(--red); }
.cta-t { flex: 1; }
.cta-t h2 { font-size: clamp(22px, 2.2vw, 28px); color: #fff; }
.cta-t p { color: #c5cad1; font-size: 15px; margin-top: 4px; }
.cta-b { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-in, .foot-b { max-width: var(--max); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px 28px; flex-wrap: wrap; }
.foot-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.foot-brand img { width: 44px; height: 44px; }
.foot-brand span { display: flex; flex-direction: column; line-height: 1.3; }
.foot-brand small { color: #9aa1aa; font-size: 13px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot-links a, .foot-b a { text-decoration: none; color: #c5cad1; }
.foot-links a:hover, .foot-b a:hover { color: #fff; }
.foot-b { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .1); color: #8f97a1; font-size: 13.5px; }
.mbar { display: none; }

/* ---------- INNER PAGES ---------- */
.phero { max-width: 820px; margin: 0 auto; padding: calc(var(--nav-h) + 80px) var(--gut) clamp(30px, 4vw, 48px); text-align: center; }
.phero .lede { margin-inline: auto; }
.thero { max-width: var(--max); margin: 0 auto; padding: calc(var(--nav-h) + 60px) var(--gut) 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.thero .hero-b { justify-content: flex-start; }
.thero-i { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 6 / 5; }
.thero-i img { width: 100%; height: 100%; object-fit: cover; }
.basics { max-width: var(--max); margin: 0 auto; padding: var(--sec) var(--gut); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(28px, 5vw, 72px); }
.basics h2 { margin-bottom: 16px; }
.basics p { color: var(--ink-2); }
.basics p + p { margin-top: 12px; }
.basics h3 { margin-bottom: 16px; }
.walk { padding: var(--sec) 0; }
.wk-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wk { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: 0 0 0 1px var(--line); }
.wk-l { font: 700 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.wk h3 { font-size: 19px; margin-bottom: 8px; }
.wk p { color: var(--ink-2); font-size: 15px; }
.price { padding: var(--sec) 0 0; }
.more-t { padding: var(--sec) 0 0; }
.minis { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mini { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; transition: box-shadow .25s; }
.mini:hover { box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.mini img { width: 92px; height: 70px; border-radius: 10px; object-fit: cover; }
.mini b { display: block; font: 800 18px/1.1 var(--display); }
.mini small { color: var(--mute); font-size: 13.5px; }
.qa { padding: var(--sec) var(--gut) 0; }
.qa-in { max-width: 820px; margin: 0 auto; }
.qa-in h2 { margin-bottom: 18px; text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--soft); transition: background-color .2s; }
.faq summary span::before, .faq summary span::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--ink); border-radius: 2px; }
.faq summary span::after { transform: rotate(90deg); transition: transform .3s var(--out); }
.faq details[open] summary span { background: var(--red); }
.faq details[open] summary span::before, .faq details[open] summary span::after { background: #fff; }
.faq details[open] summary span::after { transform: rotate(0); }
.faq details p { color: var(--ink-2); padding: 0 44px 20px 0; max-width: 64ch; }

/* work page */
.work-top { max-width: 900px; margin: 0 auto; padding: 0 var(--gut); }
.ba-big { aspect-ratio: 16 / 10; }
.work-grid { max-width: var(--max); margin: 0 auto; padding: clamp(40px, 5vw, 64px) var(--gut) 0; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tab { border: 0; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 600; font-size: 14.5px; }
.tab:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.tab.on { background: var(--gray); color: #fff; box-shadow: none; }
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wcard { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; aspect-ratio: 4 / 3; }
.wcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--out); }
.wcard:hover img { transform: scale(1.05); }
.wcard figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: rgb(255 255 255 / .95); font-size: 14px; }
.wcard figcaption span { color: var(--red); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }

/* calculator */
.calc { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; align-items: start; }
.calc-l { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); box-shadow: 0 0 0 1px var(--line); display: grid; gap: 26px; }
.cs-k { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; margin-bottom: 14px; }
.cs-k span { width: 26px; height: 26px; border-radius: 8px; background: var(--red); color: #fff; display: grid; place-items: center; font: 800 13px/1 var(--display); }
.ctypes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ctype { border: 0; padding: 6px 6px 10px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; text-align: center; font-weight: 700; font-size: 14.5px; transition: box-shadow .2s, background-color .2s; }
.ctype img { border-radius: 9px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 8px; }
.ctype[aria-pressed="true"] { background: var(--red-soft); box-shadow: inset 0 0 0 2px var(--red); }
.calc .opts { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.num-row { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; }
.num { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.num-in { display: flex; align-items: center; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); overflow: hidden; }
.num-in button { width: 42px; height: 48px; border: 0; background: var(--soft); cursor: pointer; font-size: 20px; font-weight: 600; }
.num-in button:hover { background: var(--soft-2); }
.num-in input { width: 70px; height: 48px; border: 0; text-align: center; font: 700 18px var(--body); -moz-appearance: textfield; }
.num-in input::-webkit-outer-spin-button, .num-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.num select { height: 48px; border-radius: 12px; border: 1.5px solid var(--line); padding: 0 14px; font: 700 16px var(--body); background: #fff; }
.x { font-size: 22px; color: var(--mute); padding-bottom: 10px; }
.eq { font-size: 15px; color: var(--ink-2); padding-bottom: 13px; }
.eq b { color: var(--red); font-size: 18px; }
.chks { display: grid; gap: 10px; }
.chk { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; font-weight: 600; font-size: 15px; }
.chk input { width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.chk small { display: block; font-weight: 400; color: var(--mute); font-size: 13px; }
.calc-r { position: sticky; top: calc(var(--nav-h) + 30px); background: var(--gray); color: #fff; border-radius: var(--r-lg); padding: 28px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.calc-r .k { color: #9aa1aa; }
.calc-r .fine { color: #9aa1aa; }
.calc-range { font: 900 clamp(34px, 3.6vw, 46px)/1.05 var(--display); font-stretch: 112%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.clines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.clines li { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 8px; border-bottom: 1px solid rgb(255 255 255 / .1); color: #d3d7dc; }
.clines b { white-space: nowrap; color: #fff; font-variant-numeric: tabular-nums; }
.how-fig { max-width: var(--max); margin: 0 auto; padding: var(--sec) var(--gut) 0; }
.how-fig h2 { text-align: center; margin-bottom: 24px; }
.fig-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fig { background: var(--soft); border-radius: var(--r); padding: 22px 24px; }
.fig h3 { font-size: 18px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.fig h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--red); }
.fig ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; display: grid; gap: 6px; }
.fig p { color: var(--ink-2); font-size: 15px; }

/* quote request page */
.est-page { min-height: 100svh; }
.est { max-width: 820px; margin: 0 auto; padding: calc(var(--nav-h) + 56px) var(--gut) 0; scroll-margin-top: 0; }
.est-top { margin-bottom: 26px; }
.est-step { font-size: 14px; font-weight: 600; color: var(--mute); margin-bottom: 10px; }
.est-bar { height: 6px; border-radius: 6px; background: var(--soft); overflow: hidden; }
.est-bar span { display: block; height: 100%; width: 20%; background: var(--red); border-radius: 6px; transition: width .5s var(--out); }
.est-sum { margin-top: 14px; padding: 10px 14px; border-radius: 10px; background: var(--red-soft); font-size: 14.5px; font-weight: 600; }
.es-q h1, .es-q h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 22px; }
.opts-t { grid-template-columns: repeat(3, 1fr); }
.opt-t { padding: 8px 8px 14px; justify-content: flex-start; }
.opt-t img { border-radius: 9px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 10px; }
.opt-t span { font-size: 17px; font-weight: 800; font-family: var(--display); padding: 0 4px; }
.opt-t small { padding: 0 4px; }
.opt-unsure { justify-content: center; background: var(--soft); }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 16px; }
.field input, .field textarea { width: 100%; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 12px 14px; font: 500 16px var(--body); color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgb(196 50 31 / .12); }
.field-l { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 8px; }
[data-q="4"] .opts { grid-template-columns: repeat(3, 1fr); margin-bottom: 22px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.fgrid .full { grid-column: 1 / -1; }
.es-q form, form.es-q { display: block; }
form.es-q .btn { margin: 4px 0 14px; }
.hp { position: absolute; left: -9999px; }
.fallback { margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--soft); display: grid; gap: 12px; justify-items: start; }
.es-done { text-align: center; padding: 30px 0; }
.done-i { display: inline-grid; color: var(--red); margin-bottom: 14px; }
.done-i svg { width: 56px; height: 56px; }
.es-done p { color: var(--ink-2); margin: 0 auto 22px; max-width: 46ch; }
.est-page ~ .foot { margin-top: var(--sec); }

/* blog */
.bhero { position: relative; margin: 10px; border-radius: var(--r-lg); overflow: hidden; min-height: 460px; display: grid; align-items: end; padding: calc(var(--nav-h) + 60px) clamp(22px, 5vw, 64px) clamp(30px, 5vw, 56px); color: #fff; isolation: isolate; background: var(--gray); }
.bhero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(18 21 26 / .78), rgb(18 21 26 / .35) 70%); }
.bhero-c { max-width: 640px; }
.bhero .lab { color: #ff8a78; }
.bhero h1 { color: #fff; }
.bhero .lede { color: #e8eaed; }
.blog { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 56px) var(--gut) 0; }
.blog .pgrid { padding: 0; }
.post-h { max-width: 820px; margin: 0 auto; padding: calc(var(--nav-h) + 70px) var(--gut) 28px; text-align: center; }
.post-h h1 { font-size: clamp(34px, 4.4vw, 54px); }
.post-h .lede { margin-inline: auto; }
.by { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 14.5px; color: var(--mute); }
.by img { width: 36px; height: 36px; }
.post-i { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.post-i img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 21 / 9; object-fit: cover; }
.post-l { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 5vw, 60px) var(--gut) 0; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); }
.post-l.one { grid-template-columns: minmax(0, 760px); justify-content: center; padding-top: 0; }
.prose { max-width: 68ch; font-size: 18px; line-height: 1.75; }
.prose h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 40px 0 12px; }
.prose h3 { margin: 26px 0 8px; }
.prose p { margin: 0 0 18px; color: var(--ink-2); }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 26px; color: var(--ink-2); }
.prose li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.prose strong { color: var(--ink); }
.prose a { color: var(--red); }
.side-card { position: sticky; top: calc(var(--nav-h) + 30px); background: var(--gray); color: #fff; border-radius: var(--r-lg); padding: 24px; display: grid; gap: 14px; }
.side-card img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--red); }
.side-card b { display: block; font: 800 20px/1.15 var(--display); margin-bottom: 4px; color: #fff; }
.side-card p { color: #c5cad1; font-size: 15px; }
.side-card .arrow { color: #fff; }

/* about */
.ab-hero { max-width: var(--max); margin: 0 auto; padding: calc(var(--nav-h) + 60px) var(--gut) 0; display: grid; grid-template-columns: 0.85fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ab-i { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 6; position: sticky; top: calc(var(--nav-h) + 30px); }
.ab-i img { width: 100%; height: 100%; object-fit: cover; }
.ab-t h1 { margin-bottom: 20px; }
.ab-t blockquote { margin: 0 0 22px; padding-left: 18px; border-left: 4px solid var(--red); font: 700 clamp(20px, 2vw, 24px)/1.35 var(--display); color: var(--ink); letter-spacing: -.01em; }
.ab-t p:not(.lab) { color: var(--ink-2); font-size: 17.5px; }
.ab-t p:not(.lab) + p { margin-top: 14px; }
.facts { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.facts li { font-size: 13.5px; color: var(--mute); line-height: 1.35; background: var(--soft); border-radius: 12px; padding: 14px; }
.facts b { display: block; font: 900 30px/1 var(--display); font-stretch: 115%; color: var(--red); letter-spacing: -.03em; margin-bottom: 6px; }
.standard { padding: var(--sec) 10px 0; }
.std-in { max-width: calc(var(--max) + 80px); margin: 0 auto; background: var(--gray); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px) clamp(22px, 4vw, 56px); }
.std-h { max-width: 720px; margin-bottom: 32px; }
.std-h .lab { color: #ff8a78; }
.std-h h2 { color: #fff; }
.std-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.std { background: var(--gray-2); border-radius: var(--r); padding: 24px; }
.std-i { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--red); margin-bottom: 16px; }
.std-i svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.std h3 { color: #fff; margin-bottom: 8px; }
.std p { color: #c5cad1; font-size: 15.5px; }
.qa2 { max-width: var(--max); margin: 0 auto; padding: var(--sec) var(--gut) 0; display: grid; grid-template-columns: 0.8fr 1.4fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.qa2-l h2 { margin-bottom: 12px; }
.qa2-l p:not(.lab) { color: var(--ink-2); margin-bottom: 20px; }

/* contact: fits one screen */
.ct { min-height: 100svh; display: grid; }
.ct-in { max-width: var(--max); width: 100%; margin: 0 auto; padding: calc(var(--nav-h) + 40px) var(--gut) 30px; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ct-l h1 { font-size: clamp(34px, 4vw, 52px); }
.ct-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.ct-list a, .ct-list span { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; }
.ct-list svg { width: 38px; height: 38px; padding: 9px; border-radius: 12px; background: var(--red-soft); fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ct-list a:hover { color: var(--red); }
.ct-alt { margin-top: 22px; color: var(--mute); font-size: 15px; }
.ct-f { background: #fff; border-radius: var(--r-lg); padding: clamp(20px, 3vw, 30px); box-shadow: 0 0 0 1px var(--line), var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ct-f label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.ct-f input, .ct-f select, .ct-f textarea { width: 100%; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; padding: 11px 13px; font: 500 16px var(--body); color: var(--ink); }
.ct-f textarea { resize: vertical; min-height: 84px; }
.ct-f input:focus, .ct-f select:focus, .ct-f textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgb(196 50 31 / .12); }
.ct-f .full { grid-column: 1 / -1; }
.ct-f .ok { background: var(--red-soft); border-radius: 12px; padding: 12px; font-weight: 600; }
.ct ~ .foot { display: none; }

/* reveal */
.rv-in { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--out), transform .7s var(--out); }
.rv-in.vis { opacity: 1; transform: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .links { display: none; }
  .nav-r { margin-left: auto; }
  .burger { display: grid; }
  .drawer { display: grid; pointer-events: auto; max-width: calc(var(--max) + 60px); margin: 8px auto 0; border-radius: 18px; background: #fff; box-shadow: var(--shadow); padding: 0 20px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .4s var(--out), opacity .3s, padding .3s; }
  .drawer.open { max-height: 520px; opacity: 1; padding: 8px 20px; }
  .drawer a { padding: 13px 0; text-decoration: none; font-weight: 600; font-size: 17px; border-bottom: 1px solid var(--line); }
  .drawer a:last-child { border-bottom: 0; color: var(--red); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .calc-r { position: static; }
  .rev-in { grid-template-columns: 1fr; }
  .opts-t { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  body { font-size: 16.5px; }
  :root { --nav-h: 60px; }
  .nav { inset: 10px 0 auto; }
  .nav-in { gap: 8px; padding: 0 8px 0 12px; border-radius: 16px; }
  .brand img { width: 36px; height: 36px; }
  .brand-t b { font-size: 17px; }
  .nav-cta { display: none !important; }
  .hero { margin: 8px; min-height: 0; padding: calc(var(--nav-h) + 56px) 18px 56px; }
  .hero h1 { font-size: clamp(36px, 10.5vw, 50px); }
  .hero-b .btn { flex: 1 1 100%; }
  .seen ul { gap: 16px 28px; }
  .seen a { font-size: 18px; }
  .who-pics { grid-template-columns: 1fr 1fr; }
  .wp-2 { grid-column: span 2; order: -1; transform: none; aspect-ratio: 4 / 3.4; }
  .tiles { gap: 10px; }
  .tile { padding: 8px 8px 14px; }
  .tile-t { font-size: 19px; padding: 0 6px; }
  .tile-d { display: none; }
  .tile-go { font-size: 13px; padding: 10px 6px 0; }
  .fn-card { grid-template-columns: 1fr; }
  .fn-info img, .fn-info .ticks, .fn-info .arrow { display: none; }
  .fn-info-t { padding: 16px 18px; }
  .fn-info h3 { font-size: 22px; }
  .fn-info p { margin: 0; font-size: 15px; }
  .fn-main { padding: 18px 16px; min-height: 0; }
  .fn-dots li { font-size: 0; padding: 4px; gap: 0; }
  .fn-head { gap: 10px; }
  .opts, .opts-t, [data-q="4"] .opts { grid-template-columns: 1fr 1fr; }
  .work-row, .why-in { grid-template-columns: 1fr; }
  .why-img { aspect-ratio: 4 / 3; }
  .rev { padding-left: 8px; padding-right: 8px; }
  .rev-r, .pgrid, .minis, .steps, .wgrid, .fig-row, .std-row { grid-template-columns: 1fr; }
  .area-in { grid-template-columns: 1fr; }
  #map { height: 340px; }
  .foot { margin: var(--sec) 8px 84px; }
  .cta-in { flex-direction: column; text-align: center; }
  .cta-b { justify-content: center; }
  .foot-in, .foot-b { flex-direction: column; align-items: flex-start; }
  .mbar { display: block; position: fixed; z-index: 55; left: 10px; right: 10px; bottom: 10px; }
  .mbar .btn { width: 100%; height: 54px; font-size: 16.5px; }
  .thero, .basics, .ab-hero, .qa2, .ct-in, .post-l { grid-template-columns: 1fr; }
  .thero { padding-top: calc(var(--nav-h) + 44px); }
  .ab-i, .side-card { position: static; }
  .ab-i { aspect-ratio: 4 / 3.4; }
  .facts { grid-template-columns: 1fr 1fr; }
  .wk-grid { grid-template-columns: 1fr; }
  .ctypes { grid-template-columns: repeat(2, 1fr); }
  .standard { padding-left: 8px; padding-right: 8px; }
  .post-i img { aspect-ratio: 16 / 10; }
  .ct { min-height: 0; }
  .ct-f, .fgrid { grid-template-columns: 1fr; }
  .ct ~ .foot { display: block; }
  .bhero { margin: 8px; min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .rv-in { opacity: 1; transform: none; }
}

/* ===== round 5 ===== */
/* why: clean badge + icon cards, no numbers, no lines */
.why-img figcaption { left: 16px; bottom: 16px; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px; background: #fff; color: var(--ink); max-width: 300px; }
.wb-i { width: 40px; height: 40px; border-radius: 10px; background: var(--red); display: grid; place-items: center; flex: none; }
.wb-i svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why-img figcaption span:last-child { font-size: 14px; color: var(--ink-2); line-height: 1.3; font-weight: 500; }
.why-img figcaption span:last-child b { display: block; font: 800 17px/1.2 var(--display); color: var(--ink); letter-spacing: -.01em; }
.why-t h2 { margin-bottom: 22px; }
.promise { grid-template-columns: 48px 1fr; gap: 16px; padding: 18px; border: 0 !important; border-radius: var(--r); background: var(--soft); margin-bottom: 10px; align-items: start; }
.pr-i { width: 48px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px var(--line); }
.pr-i svg { width: 24px; height: 24px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.promise h3 { font-size: 18px; margin-bottom: 4px; }
.promise p { font-size: 15px; }

/* map: chips are hover targets, California locator inset */
.cities button { border: 0; padding: 7px 12px; border-radius: 10px; background: var(--soft); font-size: 14.5px; font-weight: 500; cursor: pointer; transition: background-color .2s, color .2s; }
.cities button:hover, .cities button.on { background: var(--red); color: #fff; }
.cities li { padding: 0; background: none; }
.map-wrap { position: relative; }
.ca-inset { position: absolute; z-index: 500; right: 12px; top: 12px; width: 96px; padding: 8px 8px 6px; border-radius: 12px; background: rgb(255 255 255 / .95); box-shadow: 0 2px 10px rgb(0 0 0 / .15); pointer-events: none; }
.ca-inset svg { display: block; width: 100%; height: auto; }
.ca-inset p { font: 700 9.5px/1.2 var(--body); color: var(--mute); text-align: center; margin-top: 4px; letter-spacing: .06em; text-transform: uppercase; }
.city-line { animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -24; } }

/* price numbers: plain body face, not the wide display face */
.calc-range, .fn-range { font: 700 clamp(30px, 3.2vw, 40px)/1.15 var(--body) !important; letter-spacing: -.02em !important; font-stretch: 100% !important; }

/* how the range is figured */
.how-fig h2 { text-align: left; margin-bottom: 10px; }
.hf-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: var(--soft); align-items: start; }
.hf-h p { color: var(--ink-2); font-size: 15.5px; }
.hf-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hf-cols > div { background: #fff; border-radius: var(--r); padding: 20px; box-shadow: 0 0 0 1px var(--line); }
.hf-k { font-weight: 800; font-family: var(--display); font-size: 17px; margin-bottom: 12px; }
.hf-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.hf-list li { display: flex; gap: 10px; align-items: flex-start; }
.hf-list li::before { content: ""; width: 20px; height: 20px; flex: none; margin-top: 2px; border-radius: 50%; background-position: center; background-repeat: no-repeat; background-size: 12px; }
.hf-list.yes li::before { background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.2 2.2 4.8-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.hf-list.no li::before { background-color: var(--soft-2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5m0-5-5 5' fill='none' stroke='%234a515b' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* about: standard as photo cards, FAQ as cards */
.standard { padding: var(--sec) 0 0; }
.std-cards .step p { max-width: none; }
.qa3 { padding: var(--sec) 0 0; }
.qa3-in { max-width: 860px; margin: 0 auto; padding: 0 var(--gut); }
.faq-cards { display: grid; gap: 10px; }
.faq-cards details { border: 0; border-radius: var(--r); background: var(--soft); padding: 0 20px; transition: background-color .2s, box-shadow .2s; }
.faq-cards details[open] { background: #fff; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.faq-cards summary { padding: 18px 0; }
.faq-cards summary span { background: #fff; }
.faq-cards details p { padding: 0 44px 20px 0; }
.qa3-more { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; color: var(--ink-2); }

@media (max-width: 860px) {
  .hero { min-height: 0; }
  .hf-in, .hf-cols { grid-template-columns: 1fr; }
  .ca-inset { width: 76px; }
  .tile-n { min-width: 44px; height: 34px; font-size: 15px !important; padding: 0 10px; }
}

/* ===== round 6 ===== */
/* hero photos start under the nav bar instead of behind it */
.hero { margin: calc(var(--nav-h) + 22px) 10px 10px; padding: 56px var(--gut) 60px; min-height: clamp(600px, calc(94svh - var(--nav-h) - 22px), 900px); }
.bhero { margin: calc(var(--nav-h) + 22px) 10px 10px; padding-top: 70px; }

/* find Legado on: the real logos in their own colors */
.seen ul { gap: 18px clamp(30px, 5.5vw, 64px); }
.seen a { color: var(--ink); opacity: 1; transition: transform .25s var(--out); }
.seen a:hover { color: var(--ink); transform: translateY(-2px); }
.b-ig svg { width: 28px; height: 28px; }
.b-ig span { font: 600 21px/1 var(--body); letter-spacing: -.01em; }
.seen .bl { width: auto; fill: initial; display: block; }
.bl-google { height: 30px; }
.bl-yahoo { height: 24px; }
.bl-mapquest { height: 26px; }

/* reviews: Google colors */
.btn-goog { background: #fff; color: var(--ink); }
.btn-goog:hover { background: #f1f3f4; transform: translateY(-1px); }
.btn-goog .g-ico { width: 20px; height: 20px; }
.rv-top { display: flex; align-items: center; justify-content: space-between; }
.rv-top .g-ico { width: 22px; height: 22px; }
.g-stars { color: #FBBC05; font-size: 19px; letter-spacing: 2px; line-height: 1; }

/* map: plain basemap, no freeways, no labels */


/* about: gray intro band, story on soft gray */
.ab-top { margin: calc(var(--nav-h) + 22px) 10px 0; border-radius: var(--r-lg); background: var(--gray); color: #fff; padding: clamp(36px, 5vw, 64px) clamp(22px, 5vw, 64px) clamp(26px, 3vw, 36px); }
.ab-top-in { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ab-top .lab { color: #ff8a78; }
.ab-top h1 { color: #fff; }
.ab-top .lede { color: #d4d8de; }
.ab-top blockquote { margin: 26px 0 0; font: 700 clamp(20px, 2vw, 25px)/1.35 var(--display); letter-spacing: -.01em; color: #fff; max-width: 30ch; }
.ab-top blockquote { padding-left: 18px; border-left: 4px solid var(--red); }
.ab-top cite { display: block; margin-top: 12px; font: 500 14px/1.3 var(--body); font-style: normal; color: #aab0b8; letter-spacing: 0; }
.ab-top-i { margin: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 9 / 10; }
.ab-top-i img { width: 100%; height: 100%; object-fit: cover; }
.ab-top .facts { max-width: var(--max); margin: clamp(28px, 4vw, 44px) auto 0; padding-top: clamp(20px, 3vw, 28px); border-top: 1px solid rgb(255 255 255 / .14); }
.ab-top .facts li { background: transparent; padding: 0; color: #aab0b8; }
.ab-top .facts b { color: #fff; }
.ab-story { margin-top: var(--sec); padding: var(--sec) 0; }
.ab-story-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.ab-story-i { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.2; }
.ab-story-i img { width: 100%; height: 100%; object-fit: cover; }
.ab-story-t h2 { margin-bottom: 18px; }
.ab-story-t p:not(.lab) { color: var(--ink-2); }
.ab-story-t p:not(.lab) + p { margin-top: 14px; }
.ab-story + .standard { padding-top: var(--sec); }
.qa3.band-soft { margin-top: var(--sec); padding: var(--sec) 0; }
.qa3.band-soft .faq-cards details { background: #fff; }
.qa3.band-soft .faq-cards summary span { background: var(--soft); }

@media (max-width: 860px) {
  .hero { margin: calc(var(--nav-h) + 18px) 8px 8px; padding: 44px 18px 48px; min-height: 0; }
  .bhero { margin: calc(var(--nav-h) + 18px) 8px 8px; padding-top: 56px; min-height: 360px; }
  .seen ul { gap: 18px 30px; }
  .b-ig span { font-size: 18px; }
  .b-ig svg { width: 24px; height: 24px; }
  .bl-google { height: 25px; }
  .bl-yahoo { height: 20px; }
  .bl-mapquest { height: 22px; }
  .ab-top { margin: calc(var(--nav-h) + 18px) 8px 0; }
  .ab-top-in, .ab-story-in { grid-template-columns: 1fr; }
  .ab-top-i { aspect-ratio: 4 / 3; }
}
#map { background: #e6ebf0; }
#map .leaflet-overlay-pane svg path.leaflet-interactive { cursor: pointer; }

/* ===== round 7 ===== */
/* map stays under the nav bar when scrolling */
.map-wrap { isolation: isolate; z-index: 0; }

/* + more after the listings */
.b-more { font: 600 17px/1 var(--body) !important; color: var(--mute) !important; padding: 9px 14px; border-radius: 999px; background: var(--soft); }
.b-more:hover { color: var(--ink) !important; background: var(--soft-2); }

/* price check: bigger and easier to read */
.fn-card { grid-template-columns: 0.78fr 1.22fr; }
.fn-main { padding: 34px 40px 30px; min-height: 560px; }
.fn-head { display: grid; gap: 18px; padding-bottom: 24px; margin-bottom: 28px; }
.fn-title { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fn-trade { font: 800 clamp(24px, 2.2vw, 30px)/1.1 var(--display); font-stretch: 108%; letter-spacing: -.02em; white-space: normal; }
.fn-x { width: 42px; height: 42px; border-radius: 12px; font-size: 16px; }
.fn-x:hover { background: var(--soft-2); }
.fn-dots { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fn-dots li { display: grid; gap: 8px; padding: 0; background: none !important; border-radius: 0; font-size: 14.5px; font-weight: 600; color: var(--mute); }
.fn-dots li::before { content: ""; width: 100%; height: 6px; border-radius: 99px; background: var(--soft-2); }
.fn-dots li.on::before { background: var(--red); }
.fn-dots li.on { color: var(--ink-2); }
.fn-dots li.now { color: var(--ink); font-weight: 700; }
.fn-q h3 { font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 22px; }
.fn-main .fn-hint { font-size: 16px; color: var(--ink-2); margin: -10px 0 18px; }
.fn-main .opts { gap: 12px; }
.fn-main .opt { min-height: 82px; padding: 18px 20px; font-size: 18px; border-radius: 14px; }
.fn-main .opt small { font-size: 14.5px; margin-top: 5px; }
.fn-res .k { font-size: 13.5px; }
.fn-main .fn-range { font-size: clamp(38px, 4vw, 52px) !important; margin: 12px 0 16px; }
.fn-main .fn-lines { font-size: 16px; padding: 18px 20px; gap: 8px; }
.fn-res .btn { height: 56px; padding: 0 28px; font-size: 17px; }
.fn-res .fine { font-size: 14.5px; }
.fn-nav button { font-size: 16px; }

/* our work: text left, before/after right */
.wk-top { max-width: calc(var(--max) + 80px); margin: calc(var(--nav-h) + 22px) auto 0; padding: clamp(28px, 4vw, 52px); border-radius: var(--r-lg); background: var(--soft); display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.wk-top h1 { margin-bottom: 4px; }
.wk-top .lede { font-size: 17.5px; }
.wk-pills { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wk-pills a { display: inline-block; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s; }
.wk-pills a:hover { background: var(--ink); color: #fff; }
.wk-b { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.wk-top .ba-big { aspect-ratio: 4 / 3.1; }
.work-grid { scroll-margin-top: calc(var(--nav-h) + 30px); }

/* resources hero: brighter and warmer */
.bhero img { filter: brightness(1.22) saturate(1.12); }
.bhero::before { background: linear-gradient(90deg, rgb(18 21 26 / .62) 0%, rgb(18 21 26 / .28) 45%, rgb(18 21 26 / 0) 75%); }
.bhero-c { text-shadow: 0 1px 14px rgb(0 0 0 / .3); }

/* how the range is figured: green checks in, red X out */
.hf-list.yes li::before { background-color: #1e8e3e; }
.hf-list.no li::before { background-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5m0-5-5 5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); }

@media (max-width: 860px) {
  .fn-card { grid-template-columns: 1fr; }
  .fn-main { padding: 22px 18px; min-height: 0; }
  .fn-dots li { font-size: 12.5px; gap: 6px; padding: 0; }
  .fn-main .opt { min-height: 70px; padding: 14px 14px; font-size: 16.5px; }
  .fn-main .opt small { font-size: 13.5px; }
  .wk-top { margin: calc(var(--nav-h) + 18px) 8px 0; grid-template-columns: 1fr; padding: 26px 18px 18px; }
}

/* ===== round 8 ===== */
/* tighter home rhythm: who -> build -> work */
.who { padding-bottom: clamp(40px, 5vw, 64px); }
.build.band-soft { padding: clamp(48px, 6vw, 80px) 0; }
.work { padding-top: clamp(48px, 6vw, 80px); }

/* footer CTA sits closer to the content */
.foot { margin-top: clamp(40px, 5vw, 64px); }

/* map: orientation labels, softer ocean */
#map { background: #e3e9ef; }
.mlab { pointer-events: none; }
.mlab span { display: block; white-space: nowrap; transform: translate(-50%, -50%); }
.mlab-city { font: 600 12px/1 var(--body); color: #8a919b; letter-spacing: .02em; }
.mlab-sea { font: italic 500 13px/1 var(--body); color: #8ea2b5; letter-spacing: .12em; text-transform: uppercase; }
.mlab-svc { font: 600 11.5px/1 var(--body); color: var(--ink-2); }
.mlab-svc span { transform: translate(9px, -50%); }

/* resources hero: back to the darker tint */
.bhero img { filter: none; }
.bhero::before { background: linear-gradient(90deg, rgb(18 21 26 / .78), rgb(18 21 26 / .35) 70%); }
.bhero-c { text-shadow: none; }

/* about: light, compact intro */
.ab-top { max-width: 1040px; margin: calc(var(--nav-h) + 40px) auto 0; padding: 0 var(--gut); background: none; color: var(--ink); border-radius: 0; display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; }
.ab-top .lab { color: var(--red); }
.ab-top h1 { color: var(--ink); font-size: clamp(34px, 4vw, 50px); }
.ab-top .lede { color: var(--ink-2); margin-top: 12px; font-size: 17.5px; }
.ab-top blockquote { margin: 18px 0 0; padding-left: 14px; border-left: 3px solid var(--red); font: 700 clamp(17px, 1.6vw, 20px)/1.4 var(--display); color: var(--ink); max-width: none; }
.ab-top-i { margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1; }
.ab-top-i img { width: 100%; height: 100%; object-fit: cover; }
.ab-top .facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; border: 0; max-width: none; }
.ab-top .facts li { background: var(--soft); border-radius: 999px; padding: 8px 14px; font-size: 14px; color: var(--ink-2); display: flex; align-items: baseline; gap: 6px; }
.ab-top .facts b { display: inline; font: 800 16px/1 var(--display); color: var(--red); margin: 0; letter-spacing: -.01em; }

/* about: less dead space between sections */
.ab-story { margin-top: clamp(40px, 5vw, 64px); padding: clamp(48px, 6vw, 72px) 0; }
.ab-story + .standard { padding-top: clamp(48px, 6vw, 72px); }
.qa3.band-soft { margin-top: clamp(48px, 6vw, 72px); padding: clamp(48px, 6vw, 72px) 0; }
.qa3-more { margin-top: 20px; }

/* calculator: one question at a time */
.calc-l { gap: 0; padding: clamp(22px, 3vw, 34px); }
.cprog { display: grid; gap: 10px; margin-bottom: 26px; }
.cprog p { font-weight: 700; font-size: 14px; color: var(--mute); letter-spacing: .04em; text-transform: uppercase; }
.cbar { height: 6px; border-radius: 99px; background: var(--soft-2); overflow: hidden; }
.cbar span { display: block; height: 100%; width: 20%; background: var(--red); border-radius: 99px; transition: width .35s var(--out); }
.cstep { animation: fnIn .35s var(--out); }
.cs-q { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 20px; }
.cs-sub { color: var(--ink-2); margin: -10px 0 18px; font-size: 16px; }
.cstep .fn-hint { margin: 14px 0 0; }
.cnav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.cnav .btn { margin-left: auto; }
.cback { border: 0; background: none; cursor: pointer; color: var(--mute); font-weight: 600; font-size: 15.5px; padding: 6px 0; }
.cback:hover { color: var(--ink); }
.calc-r { scroll-margin-top: calc(var(--nav-h) + 30px); }

@media (max-width: 860px) {
  .ab-top { grid-template-columns: 1fr; margin-top: calc(var(--nav-h) + 30px); }
  .ab-top-i { aspect-ratio: 16 / 11; }
}

/* search pages: city pages, city + trade pages, cost guides */
.ctr { justify-content: center; text-align: center; }
.phero .hero-b { margin-top: 24px; }
.aw { padding: clamp(48px, 6vw, 80px) 0 0; }
.aw.band-soft { margin-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.aw-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.aw-in.narrow { max-width: 820px; }
.aw-in.narrow > p { color: var(--ink-2); margin-top: 12px; }
.aw-in .h-s { margin-bottom: 14px; }
.aw-in .h-s + .alinks + .h-s, .alinks + .h-s { margin-top: 36px; }
.aw .fine { margin-top: 14px; }
.ptable-w { max-width: 860px; margin: 0 auto; overflow-x: auto; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); }
.prose .ptable-w { margin: 0 0 12px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.4; }
.ptable th, .ptable td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.ptable thead th { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); background: var(--soft); }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tbody th { font-weight: 600; color: var(--ink); }
.ptable tbody th a { color: var(--ink); text-decoration-color: var(--red); text-underline-offset: 3px; }
.ptable tbody th small { display: block; font-weight: 500; color: var(--mute); font-size: 13.5px; }
.ptable td { color: var(--ink); font-weight: 600; white-space: nowrap; }
.alinks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.alinks a { display: inline-block; padding: 8px 14px; border-radius: 10px; background: var(--soft); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.alinks a:hover { background: var(--red); color: #fff; }
.acounty + .acounty { margin-top: 44px; }
.agrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.acard { display: grid; gap: 4px; padding: 22px; border-radius: var(--r); background: #fff; box-shadow: 0 0 0 1px var(--line); text-decoration: none; color: var(--ink); transition: box-shadow .25s; }
.acard:hover { box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.acard b { font: 800 19px/1.2 var(--display); }
.acard span { color: var(--red); font-weight: 700; font-size: 17px; }
.acard small { color: var(--mute); font-size: 14px; }
.area-more { margin-top: 18px; }
@media (max-width: 860px) {
  .agrid { grid-template-columns: 1fr; }
  .ptable th, .ptable td { padding: 12px 14px; font-size: 15px; }
  .ptable td { white-space: normal; }
}
.basics + .aw.band-soft { margin-top: 0; }
@media (max-width: 860px) {
  .prose { min-width: 0; }
  .prose .ptable-w { max-width: calc(100vw - 2 * var(--gut)); }
  .prose .ptable { min-width: 520px; }
  .prose .ptable td { white-space: nowrap; }
}
