/* ============================================================
   Manhattan Home Clean — v2 design system
   Cream paper, deep navy ink, coral action color, sun-yellow highlights.
   Display: Fraunces (serif). Body: DM Sans.
   Change brand colors once in :root.
   ============================================================ */
:root {
  --ink: #16202a;            /* headings, dark sections */
  --ink-2: #2b3a4c;
  --text: #3a4652;
  --muted: #6b7784;
  --paper: #ffffff;          /* page background */
  --paper-2: #f6f8fa;        /* soft section background */
  --white: #ffffff;
  --coral: #0e9f8a;          /* action color (teal) — name kept for compatibility */
  --coral-dark: #0b7f6e;
  --coral-soft: #e6f6f3;
  --sun: #ffd166;            /* highlight / stars */
  --sun-soft: #fff4d6;
  --mint: #bfeadd;
  --mint-soft: #e6f6f3;
  --sky: #dbeafe;
  --line: #e4e8ec;
  --danger: #c0392b;
  --r: 16px; --r-sm: 12px; --r-lg: 22px;
  --shadow-hard: 0 2px 4px rgba(22,32,42,.05), 0 20px 50px rgba(22,32,42,.10);
  --shadow-hard-sm: 0 1px 2px rgba(22,32,42,.04), 0 8px 24px rgba(22,32,42,.06);
  --shadow-soft: 0 10px 30px rgba(22,33,58,.08);
  --max: 1140px;
  --display: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--paper); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.03em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; font-family: var(--body); font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--ink); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: var(--ink); }
.container { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
em.hi { font-style: normal; color: var(--coral); }
em.hi-coral { font-style: normal; color: var(--coral); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .9rem 1.5rem; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 700; font-size: 1rem; line-height: 1; white-space: nowrap; color: var(--ink); background: var(--white);
  transition: transform .12s, box-shadow .12s, background .15s, color .15s; box-shadow: var(--shadow-hard-sm);
}
.btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--coral); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(14,159,138,.25); }
.btn-primary:hover { border-color: transparent; }
.btn-primary:hover { background: var(--coral-dark); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost { border-color: transparent; box-shadow: none; background: transparent; color: var(--ink); padding-inline: .5rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--coral); }
.btn-ghost:hover { transform: none; box-shadow: none; }
.btn-lg { padding: 1.1rem 1.9rem; font-size: 1.08rem; }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.9); backdrop-filter: blur(10px) saturate(150%); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1rem; position: relative; }
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -.01em; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--coral); display: grid; place-items: center; color: #fff; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--coral); transition: right .2s; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-cta { display: flex; gap: .7rem; align-items: center; }
.nav-phone { font-weight: 700; color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }
/* dropdown */
.has-menu { position: relative; }
.menu { display: none; position: absolute; top: calc(100% + 14px); left: -12px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-hard-sm); padding: .5rem; min-width: 260px; z-index: 5; }
.menu a { display: flex; gap: .7rem; align-items: center; padding: .6rem .7rem; border-radius: 10px; font-weight: 600; }
.menu a:hover { background: var(--paper-2); }
.menu a::after { content: none; }
.menu .mi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line); }
.menu small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.has-menu:hover .menu, .has-menu:focus-within .menu { display: block; }
@media (max-width: 900px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; left: -1.25rem; right: -1.25rem; top: 72px; background: var(--paper); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem; }
  .nav.open .nav-links > li > a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav.open .menu { display: block; position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 .5rem .5rem; min-width: 0; }
  .nav.open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-white { background: var(--paper-2); }
.section-dark { background: var(--ink); color: #d9deea; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: #9ea8c2; }
.section-head { max-width: 680px; margin-bottom: 2.75rem; }
.section-head.center { margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--coral); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--coral); }
.lead { font-size: 1.2rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; background: linear-gradient(180deg, #f3faf8 0%, #fff 80%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1.1rem; }
.hero .lead { margin-bottom: 1.9rem; max-width: 540px; }
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.75rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill { display: inline-flex; align-items: center; gap: .45rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .4rem .85rem; font-size: .88rem; font-weight: 600; color: var(--ink); }
.pill svg { width: 16px; height: 16px; color: var(--coral); }
.hero-visual { position: relative; }
.hero-scene { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-hard); }
.float-card { position: absolute; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; box-shadow: var(--shadow-hard-sm); font-size: .9rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: .6rem; animation: floaty 5s ease-in-out infinite; }
.float-card b { font-family: var(--display); font-size: 1.3rem; }
.float-card .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); }
.fc-1 { top: -18px; left: -22px; }
.fc-2 { bottom: 26px; right: -18px; animation-delay: -2.5s; }
.fc-3 { top: 42%; right: -30px; animation-delay: -1.2s; }
@keyframes floaty { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-8px) } }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; z-index: -1; pointer-events: none; }
.blob-1 { width: 420px; height: 420px; background: #d9f1ec; top: -120px; right: -80px; }
.blob-2 { width: 360px; height: 360px; background: #fff1cf; bottom: -140px; left: -100px; }
.blob-3 { width: 300px; height: 300px; background: var(--mint-soft); top: 30%; left: 40%; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; } .fc-1 { left: 0; } .fc-2, .fc-3 { right: 0; } }

/* sparkle animation */
.sparkle { transform-origin: center; animation: twinkle 2.4s ease-in-out infinite; }
.sparkle:nth-child(2) { animation-delay: -.8s; } .sparkle:nth-child(3) { animation-delay: -1.6s; }
@keyframes twinkle { 0%,100% { transform: scale(.6); opacity: .4 } 50% { transform: scale(1.15); opacity: 1 } }

/* zip check */
.zip-check { margin-bottom: 1.5rem; max-width: 420px; }
.zip-check label { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: .5rem; }
.zip-row { display: flex; gap: .5rem; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .3rem .3rem .3rem 1rem; box-shadow: var(--shadow-hard-sm); }
.zip-row input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1rem; font-weight: 600; outline: none; }
.zip-row .btn { }
.zip-row .btn:hover { transform: none; }
.zip-result { margin: .5rem 0 0 .5rem; font-size: .9rem; font-weight: 600; min-height: 1.3em; }
.zip-result.ok { color: #0d7a4f; } .zip-result.no { color: var(--danger); }

/* guarantee */
.guarantee { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow-hard); }
.guarantee h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.guarantee p { margin: 0; color: var(--text); max-width: 60ch; }
.g-seal { width: 110px; height: 110px; animation: spin-slow 24s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@media (max-width: 860px) { .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ---------- Marquee ---------- */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--coral); overflow: hidden; padding: .75rem 0; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: marquee 40s linear infinite; font-weight: 600; color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.marquee-track span { display: inline-flex; align-items: center; gap: 2.5rem; }
.marquee-track span::after { content: "✦"; color: rgba(255,255,255,.6); }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-hard-sm); }
.stat b { display: block; font-family: var(--display); font-size: 2.4rem; color: var(--ink); line-height: 1; margin-bottom: .3rem; }
.stat span { color: var(--muted); font-size: .95rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.6rem; box-shadow: var(--shadow-hard-sm); }

/* service cards (home) */
.svc { display: flex; flex-direction: column; padding: 0; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-hard); }
.svc-art { height: 170px; border-bottom: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.svc-art svg { width: 100%; height: 100%; }
.svc-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.svc-body h3 { margin: 0; font-size: 1.45rem; }
.svc-body p { margin: 0; color: var(--muted); flex: 1; font-size: .97rem; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .4rem; }
.svc-from { font-weight: 700; color: var(--ink); }
.svc-from b { font-family: var(--display); font-size: 1.5rem; color: var(--coral); }
.svc-tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-radius: 999px; padding: .3rem .65rem; }
.bg-sun { background: var(--sun-soft); } .bg-mint { background: var(--mint-soft); } .bg-coral { background: var(--coral-soft); } .bg-sky { background: var(--sky); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; position: relative; }
.step { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.8rem 1.6rem 1.6rem; position: relative; box-shadow: var(--shadow-hard-sm); }
.step .num { position: absolute; top: -18px; left: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--coral); color: #fff !important; border: 3px solid #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); }
.step h3 { margin: .4rem 0 .4rem; }
.step p { margin: 0; color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Verified pros ---------- */
.pros { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.badge-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.badge-list li { display: flex; gap: 1rem; align-items: flex-start; background: rgba(255,255,255,.06); border: 1.5px solid rgba(255,255,255,.15); border-radius: 14px; padding: 1rem 1.1rem; }
.badge-list .bi { width: 44px; height: 44px; border-radius: 12px; background: var(--coral); color: #fff; display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line); }
.badge-list .bi svg { width: 22px; height: 22px; }
.badge-list b { display: block; color: #fff; font-size: 1.02rem; margin-bottom: .15rem; }
.badge-list span { color: #b7c0d6; font-size: .93rem; }
.id-card { background: #fff; color: var(--ink); border-radius: 20px; padding: 1.4rem; box-shadow: var(--shadow-hard); max-width: 420px; margin-inline: auto; transform: rotate(-2deg); }
.id-card .id-top { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.id-card .id-main { display: flex; gap: 1rem; align-items: center; }
.id-card .avatar { width: 84px; height: 84px; border-radius: 18px; border: 1px solid var(--line); background: var(--mint); display: grid; place-items: center; overflow: hidden; }
.id-card h3 { margin: 0 0 .2rem; color: var(--ink); }
.id-card .checks { list-style: none; margin: 1rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .45rem; font-size: .92rem; font-weight: 600; }
.id-card .checks li::before { content: "✓ "; color: var(--coral); font-weight: 800; }
.id-card .stamp { position: absolute; right: 18px; bottom: 16px; border: 2.5px solid var(--coral); color: var(--coral); border-radius: 8px; padding: .2rem .5rem; font-weight: 800; font-size: .8rem; letter-spacing: .1em; transform: rotate(-12deg); text-transform: uppercase; }
.id-card { position: relative; }
@media (max-width: 860px) { .pros { grid-template-columns: 1fr; } .id-card { transform: none; } }

/* ---------- Before / After ---------- */
.ba-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 1.5rem; }
.ba-tab { border: 1px solid var(--line); background: var(--white); border-radius: 999px; padding: .5rem 1rem; font-weight: 700; }
.ba-tab[aria-selected="true"] { background: var(--coral); color: #fff; border-color: var(--coral); }
.ba { position: relative; max-width: 900px; margin-inline: auto; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-hard); background: var(--white); aspect-ratio: 16 / 9; user-select: none; touch-action: none; }
.ba img, .ba svg.scene { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08); transform: translateX(-50%); pointer-events: none; }
.ba .handle::after { content: "⟷"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px; border-radius: 50%; background: var(--coral); border: 3px solid #fff; color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 1.2rem; box-shadow: var(--shadow-hard-sm); }
.ba .label { position: absolute; top: 14px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 999px; pointer-events: none; }
.ba .label.before { left: 14px; } .ba .label.after { right: 14px; background: var(--coral); }
.ba input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.ba-caption { text-align: center; color: var(--muted); margin-top: 1rem; font-size: .95rem; }

/* ---------- Reviews ---------- */
.rev-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.3rem; margin-bottom: 1.5rem; box-shadow: var(--shadow-hard-sm); }
.rev-bar .g-logo { display: flex; align-items: center; gap: .6rem; font-weight: 700; }
.rev-bar .g-logo .glyph { width: 30px; height: 30px; }
.rev-bar .score { display: flex; align-items: center; gap: .6rem; }
.rev-bar .score b { font-family: var(--display); font-size: 1.6rem; }
.stars { color: #f5a623; font-size: 1rem; letter-spacing: 1px; }
.rev-grid { columns: 3 280px; column-gap: 1.2rem; }
.rev { break-inside: avoid; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem 1.25rem; margin-bottom: 1.2rem; position: relative; }
.rev header { display: flex; align-items: center; gap: .75rem; margin-bottom: .6rem; }
.rev .av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; border: 1px solid var(--line); flex-shrink: 0; }
.rev header b { display: block; color: var(--ink); font-size: .98rem; line-height: 1.2; }
.rev header small { color: var(--muted); }
.rev .gmark { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; }
.rev p { margin: .4rem 0 0; font-size: .96rem; }
.rev .verified { display: inline-flex; align-items: center; gap: .3rem; font-size: .75rem; color: #1a73e8; font-weight: 700; margin-left: .4rem; vertical-align: middle; }
.sample-tag { display: inline-block; background: var(--sun-soft); border: 1.5px dashed var(--ink); border-radius: 8px; padding: .25rem .6rem; font-size: .78rem; font-weight: 700; }

/* ---------- Areas ---------- */
.area-map { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.areas { display: flex; flex-wrap: wrap; gap: .55rem; }
.areas span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem; font-size: .9rem; font-weight: 600; color: var(--ink); transition: .12s; }
.areas span:hover { background: var(--coral-soft); border-color: var(--coral); transform: translateY(-2px); }
.island { width: 100%; max-width: 360px; margin-inline: auto; }
@media (max-width: 860px) { .area-map { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.2rem; transition: box-shadow .15s; }
.faq details[open] { box-shadow: var(--shadow-hard-sm); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.05rem 0; font-weight: 700; color: var(--ink); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--coral-soft); border-color: var(--coral); color: var(--coral); }
.faq details p { color: var(--text); margin: 0 0 1.1rem; max-width: 68ch; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--coral); color: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem); display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: space-between; box-shadow: var(--shadow-hard); position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; margin-bottom: .35rem; }
.cta-band p { margin: 0; color: #ffe4dc; font-size: 1.1rem; }
.cta-band .btn { background: var(--white); color: var(--ink); }
.cta-band .deco { position: absolute; right: -30px; top: -30px; width: 180px; opacity: .18; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3rem 0 2rem; color: var(--muted); font-size: .93rem; background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { margin-bottom: .6rem; color: var(--ink); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-grid a { color: var(--text); }
.footer-grid a:hover { color: var(--coral); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* mobile sticky CTA */
.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); z-index: 50; }
  .mobile-cta .btn { width: 100%; }
  body.has-mobile-cta { padding-bottom: 84px; }
}

/* ============================================================
   Service detail pages
   ============================================================ */
.svc-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; position: relative; }
.svc-hero .hero-grid { grid-template-columns: 1fr 1fr; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.price-strip { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.price-strip div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: .55rem .9rem; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow-hard); }
.price-strip b { font-family: var(--display); color: var(--coral); font-size: 1.2rem; margin-left: .35rem; }
.svc-hero-art { border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-hard); overflow: hidden; background: var(--white); }
.svc-hero-art svg { width: 100%; height: auto; }

.rooms { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }
.room { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem 1.5rem; box-shadow: var(--shadow-hard-sm); }
.room header { display: flex; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.room header .ri { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; }
.room header .ri svg { width: 22px; height: 22px; }
.room h3 { margin: 0; font-size: 1.25rem; }
.room ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; font-size: .96rem; }
.room li { display: flex; gap: .6rem; align-items: flex-start; }
.room li::before { content: "✓"; color: var(--coral); font-weight: 800; flex-shrink: 0; }
.room li.plus::before { content: "+"; background: var(--sun); border: 1px solid var(--line); border-radius: 50%; width: 18px; height: 18px; display: grid; place-items: center; font-size: .8rem; color: var(--ink); margin-top: .15rem; }
@media (max-width: 760px) { .rooms { grid-template-columns: 1fr; } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.list-x { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.list-x li { display: flex; gap: .6rem; align-items: flex-start; }
.list-x li::before { content: "✕"; color: var(--muted); font-weight: 800; }
.list-check li::before { content: "✓"; color: var(--coral); }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; counter-reset: tl; }
.tl { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.1rem 1rem; position: relative; }
.tl::before { counter-increment: tl; content: "0" counter(tl); font-family: var(--display); font-size: 1.6rem; color: var(--coral); display: block; margin-bottom: .3rem; }
.tl b { color: var(--ink); display: block; margin-bottom: .2rem; }
.tl span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .timeline { grid-template-columns: repeat(2, 1fr); } }

.svc-pricing { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-hard-sm); }
.svc-pricing th, .svc-pricing td { padding: 1rem 1.2rem; text-align: left; border-bottom: 1.5px solid var(--line); }
.svc-pricing th { background: var(--paper-2); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.svc-pricing tr:last-child td { border-bottom: 0; }
.svc-pricing td:last-child { text-align: right; font-family: var(--display); font-size: 1.4rem; color: var(--coral); font-weight: 600; }
.svc-pricing small { color: var(--muted); display: block; font-size: .85rem; }

.addon-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .9rem; }
.addon { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1rem; display: flex; gap: .8rem; align-items: center; }
.addon .ai { width: 44px; height: 44px; border-radius: 12px; background: var(--sun-soft); border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.addon .ai svg { width: 24px; height: 24px; }
.addon b { display: block; font-size: .95rem; color: var(--ink); line-height: 1.2; }
.addon span { color: var(--coral); font-weight: 700; font-size: .9rem; }

.other-svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.other-svcs a { display: flex; align-items: center; gap: .8rem; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; font-weight: 700; transition: .12s; }
.other-svcs a:hover { transform: translateY(-2px); box-shadow: var(--shadow-hard-sm); }
.other-svcs .oi { width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; flex-shrink: 0; }
.other-svcs small { display: block; font-weight: 500; color: var(--muted); }
@media (max-width: 760px) { .other-svcs { grid-template-columns: 1fr; } }

/* ============================================================
   Booking page
   ============================================================ */
.book-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 2rem; align-items: start; padding: 2.5rem 0 4rem; }
@media (max-width: 980px) { .book-layout { grid-template-columns: 1fr; } }
.book-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-hard); padding: clamp(1.25rem, 3vw, 2.4rem); }
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: .45rem; margin-bottom: 2rem; }
.progress div { font-size: .8rem; font-weight: 600; color: var(--muted); padding-top: .55rem; position: relative; }
.progress div::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; border-radius: 6px; background: var(--paper-2); border: 1.5px solid var(--line); }
.progress div.done::before { background: var(--coral); border-color: var(--coral); }
.progress div.current { color: var(--ink); }
.progress div.current::before { background: var(--coral); border-color: var(--coral); }
@media (max-width: 520px) { .progress div { font-size: 0; } }
.step-label { font-size: .85rem; font-weight: 700; color: var(--coral); letter-spacing: .08em; text-transform: uppercase; margin-bottom: .35rem; }
.book-step { display: none; }
.book-step.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.book-step h2 { margin-bottom: .3rem; font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.book-step > .lead { margin-bottom: 1.8rem; font-size: 1.05rem; }
.field-group { margin-bottom: 1.9rem; }
.group-title { display: block; font-weight: 700; color: var(--ink); margin-bottom: .7rem; font-size: 1.05rem; }
.hint { font-size: .87rem; color: var(--muted); margin-top: .55rem; }

.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.05rem; border-radius: 12px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; transition: .12s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--coral-soft); border-color: var(--coral); }
.chip .p { color: var(--coral); font-weight: 700; }
.chip .save { font-size: .75rem; font-weight: 700; background: var(--mint); color: var(--ink); border-radius: 999px; padding: .15rem .5rem; border: 1px solid var(--ink); }

.type-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (max-width: 560px) { .type-grid { grid-template-columns: 1fr; } }
.type-card { display: flex; gap: .9rem; align-items: flex-start; text-align: left; padding: 1rem; border-radius: 14px; border: 2px solid var(--line); background: var(--white); transition: .12s; position: relative; }
.type-card:hover { border-color: var(--ink); }
.type-card[aria-pressed="true"] { border-color: var(--ink); background: var(--coral-soft); border-color: var(--coral); }
.type-card .ti { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--line); display: grid; place-items: center; }
.type-card .ti svg { width: 24px; height: 24px; }
.type-card h4 { margin: 0 0 .2rem; font-size: 1.02rem; }
.type-card p { margin: 0 0 .4rem; font-size: .88rem; color: var(--muted); }
.type-card .p { font-weight: 700; color: var(--coral); font-size: .95rem; }
.type-card .badge { position: absolute; top: 10px; right: 10px; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; background: var(--ink); color: #fff; border-radius: 999px; padding: .2rem .5rem; }

.extras-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 1rem; }
.extra { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; padding: 2rem .9rem 1.1rem; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--r); transition: transform .15s, box-shadow .15s, border-color .15s, background .15s; user-select: none; overflow: hidden; }
.extra::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 64px; background: var(--tint, var(--coral-soft)); opacity: .55; }
.extra .extra-art { position: relative; width: 72px; height: 72px; border-radius: 20px; background: var(--tint, var(--coral-soft)); display: grid; place-items: center; color: var(--tint-ink, var(--coral-dark)); margin-bottom: .3rem; transition: transform .2s, background .15s, color .15s; }
.extra .extra-art svg { width: 36px; height: 36px; }
.extra .extra-name { font-weight: 600; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.extra .extra-price { color: var(--coral-dark); font-weight: 700; font-size: .95rem; background: var(--coral-soft); border-radius: 999px; padding: .15rem .6rem; }
.extra .extra-hint { font-size: .8rem; color: var(--muted); line-height: 1.35; }
.extra .pop { position: absolute; top: 8px; left: 8px; z-index: 1; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: #fff; border-radius: 999px; padding: .2rem .5rem; }
.extra:hover { transform: translateY(-3px); box-shadow: var(--shadow-hard-sm); border-color: #cfd8df; }
.extra:hover .extra-art { transform: scale(1.06) rotate(-4deg); }
button.extra { cursor: pointer; }
button.extra[aria-pressed="true"] { border-color: var(--coral); background: var(--coral-soft); }
button.extra[aria-pressed="true"] .extra-art { background: var(--coral); color: #fff; }
button.extra .check { position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: #fff; display: none; place-items: center; z-index: 1; }
button.extra[aria-pressed="true"] .check { display: grid; }
.extra .qty { display: none; align-items: center; gap: .45rem; margin-top: .1rem; }
button.extra[aria-pressed="true"] .qty { display: inline-flex; }
.qty span.q-btn { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--coral); background: var(--white); color: var(--coral-dark); display: grid; place-items: center; font-weight: 800; line-height: 1; }
.qty b { min-width: 1.2em; text-align: center; color: var(--ink); }
.extras-foot { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: center; margin-top: 1.75rem; color: var(--muted); font-size: .92rem; }
.extras-foot span::before { content: "✓ "; color: var(--coral); font-weight: 700; }
.extras-grid.preview .extra { pointer-events: none; }

.calendar { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem; background: var(--white); }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.cal-head b { font-family: var(--display); color: var(--ink); font-size: 1.2rem; }
.cal-nav { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; color: var(--ink); }
.cal-nav[disabled] { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: .35rem; }
.cal-grid .dow { text-align: center; font-size: .75rem; color: var(--muted); padding: .25rem 0; font-weight: 700; }
.cal-day { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .05rem; border-radius: 10px; border: 2px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: .95rem; transition: .1s; }
.cal-day small { font-size: .6rem; color: var(--muted); font-weight: 600; }
.cal-day:hover:not([disabled]) { border-color: var(--ink); }
.cal-day[disabled] { background: var(--paper); color: #c3bdb2; border-color: transparent; cursor: default; }
.cal-day.selected { border-color: var(--coral); background: var(--coral-soft); font-weight: 700; }
.cal-day.empty { visibility: hidden; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.input label { display: block; font-weight: 700; color: var(--ink); font-size: .92rem; margin-bottom: .4rem; }
.input label .opt { font-weight: 400; color: var(--muted); }
.input input, .input select, .input textarea { width: 100%; padding: .85rem .95rem; border: 2px solid var(--line); border-radius: 12px; background: var(--white); transition: .12s; }
.input input:focus, .input select:focus, .input textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(14,159,138,.15); }
.input textarea { min-height: 110px; resize: vertical; }
.input.invalid input, .input.invalid select { border-color: var(--danger); }
.input .err { display: none; color: var(--danger); font-size: .82rem; margin-top: .35rem; font-weight: 600; }
.input.invalid .err { display: block; }
.check-row { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.check-row input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--coral); }

.step-actions { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.form-error { color: var(--danger); font-size: .92rem; font-weight: 600; margin-top: .75rem; display: none; }
.form-error.show { display: block; }

.summary { position: sticky; top: 92px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-hard); overflow: hidden; }
.summary-art { height: 120px; background: linear-gradient(135deg,#d9f1ec,#eef7f4); border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.summary-body { padding: 1.3rem 1.4rem 1.4rem; }
.summary h3 { margin-bottom: .8rem; }
.summary ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; font-size: .94rem; }
.summary li { display: flex; justify-content: space-between; gap: .75rem; }
.summary li span:first-child { display: flex; gap: .45rem; align-items: center; color: var(--text); }
.summary li span:first-child::before { content: "✓"; color: var(--coral); font-weight: 800; }
.summary li .amt { color: var(--muted); white-space: nowrap; }
.summary li.discount .amt { color: var(--ink); font-weight: 700; background: var(--mint); padding: 0 .4rem; border-radius: 6px; }
.summary .total-row { border-top: 1px solid var(--line); padding-top: .9rem; }
.summary .total { font-family: var(--display); font-size: 2.4rem; font-weight: 700; color: var(--ink); line-height: 1; }
.summary .total small { font-family: var(--body); font-size: .85rem; color: var(--muted); font-weight: 600; margin-left: .4rem; }
.summary .promise { list-style: none; padding: 1rem 0 0; margin: 1rem 0 0; display: grid; gap: .45rem; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); }
.summary .promise li { display: flex; gap: .5rem; align-items: center; justify-content: flex-start; }
.summary .promise li::before { content: none; }
.summary .promise svg { width: 16px; height: 16px; color: var(--coral); flex-shrink: 0; }
@media (max-width: 980px) { .summary { position: static; } .summary-art { display: none; } }

.mobile-total { display: none; }
@media (max-width: 980px) {
  .mobile-total { display: flex; justify-content: space-between; align-items: center; position: fixed; left: 0; right: 0; bottom: 0; padding: .7rem 1.25rem calc(.7rem + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); z-index: 50; }
  .mobile-total b { font-family: var(--display); font-size: 1.5rem; color: var(--ink); }
  .mobile-total .muted { font-size: .8rem; }
  body.booking { padding-bottom: 76px; }
}

.review-block { border: 2px solid var(--line); border-radius: 14px; padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.review-block h4 { display: flex; justify-content: space-between; align-items: center; margin: 0 0 .6rem; font-size: .98rem; }
.review-block h4 button { background: none; border: 0; color: var(--coral); font-weight: 700; font-size: .85rem; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.review-block dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; font-size: .93rem; }
.review-block dt { color: var(--muted); }
.review-block dd { margin: 0; color: var(--ink); }

.success { text-align: center; padding: 2rem 0; }
.success .big { width: 80px; height: 80px; border-radius: 50%; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; margin: 0 auto 1.25rem; box-shadow: var(--shadow-hard-sm); }
.success .big svg { width: 38px; height: 38px; }
.success p { max-width: 50ch; margin-inline: auto; }

.notice { background: var(--coral-soft); border: 1px solid #9fd9cf; color: var(--coral-dark); padding: .8rem 1rem; border-radius: 12px; font-size: .92rem; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s } .reveal-d2 { transition-delay: .2s } .reveal-d3 { transition-delay: .3s }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; }
  .float-card, .sparkle, .marquee-track { animation: none; }
}

/* ===== Booking step 1 — v3 ===== */
.group-title { display: flex; align-items: center; gap: .6rem; }
.gn { font-style: normal; width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.field-group { padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.field-group:last-of-type { border-bottom: 0; }

.size-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: .6rem; }
@media (max-width: 640px) { .size-tiles { grid-template-columns: repeat(3, 1fr); } }
.size-tile { --tile-room: #f2f5f7; --tile-living: #fff; display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .9rem .4rem .8rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: #9aa6b2; transition: .15s; }
.size-tile .plan { width: 56px; height: 48px; margin-bottom: .45rem; transition: transform .2s; }
.size-tile:hover { border-color: #c5ced6; transform: translateY(-2px); }
.size-tile:hover .plan { transform: scale(1.06); }
.st-name { font-weight: 700; color: var(--ink); font-size: .95rem; }
.st-sub { font-size: .75rem; color: var(--muted); }
.st-price { margin-top: .35rem; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.st-price.muted { color: var(--muted); font-weight: 600; font-size: .9rem; }
.size-tile[aria-pressed="true"] { --tile-room: #bfeadd; --tile-living: #e6f6f3; border-color: var(--coral); background: #fff; color: var(--coral-dark); box-shadow: 0 0 0 3px rgba(14,159,138,.14); }
.size-tile[aria-pressed="true"] .st-price { color: var(--coral-dark); }

.seg { --i: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper-2); border: 1px solid var(--line); border-radius: 14px; padding: 4px; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 4); border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(22,32,42,.1); transform: translateX(calc(var(--i) * 100%)); transition: transform .3s cubic-bezier(.3,1.3,.5,1); }
.seg-btn { position: relative; z-index: 1; background: none; border: 0; padding: .65rem .3rem; border-radius: 10px; display: flex; flex-direction: column; align-items: center; gap: .05rem; color: var(--muted); }
.seg-btn b { font-weight: 600; font-size: .92rem; }
.seg-btn small { font-size: .72rem; font-weight: 600; }
.seg-btn[aria-pressed="true"] b { color: var(--ink); }
.seg-btn[aria-pressed="true"] small { color: var(--coral-dark); }
.seg-btn[disabled] { opacity: .4; cursor: not-allowed; }
.save-line { color: var(--coral-dark); }
@media (max-width: 520px) { .seg-btn b { font-size: .8rem; } }

.type-list { display: grid; gap: .6rem; }
.type-row { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: .9rem; text-align: left; padding: .9rem 1.1rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: .15s; }
.type-row:hover { border-color: #c5ced6; }
.type-row .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c5ced6; transition: .15s; }
.type-row .ti { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--ink); border: 0; }
.type-row .ti svg { width: 22px; height: 22px; }
.tr-text { display: flex; flex-direction: column; min-width: 0; }
.tr-name { font-weight: 700; color: var(--ink); }
.tr-badge { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--coral-dark); background: var(--coral-soft); border-radius: 999px; padding: .15rem .5rem; margin-left: .35rem; vertical-align: 2px; }
.tr-desc { font-size: .86rem; color: var(--muted); }
.tr-price { text-align: right; font-weight: 700; font-size: 1.15rem; color: var(--ink); white-space: nowrap; }
.tr-price small { display: block; font-size: .7rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.type-row[aria-pressed="true"] { border-color: var(--coral); background: linear-gradient(90deg, var(--coral-soft), #fff 70%); }
.type-row[aria-pressed="true"] .radio { border-color: var(--coral); box-shadow: inset 0 0 0 4px #fff; background: var(--coral); }
.type-row[aria-pressed="true"] .ti { background: var(--coral); color: #fff; }
.type-row[aria-pressed="true"] .tr-price { color: var(--coral-dark); }
.type-list .hint a { color: var(--coral-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .type-row { grid-template-columns: auto 1fr auto; } .type-row .ti { display: none; } }

/* receipt summary */
.receipt { overflow: visible; border: 0; background: transparent; box-shadow: none; filter: drop-shadow(0 14px 30px rgba(22,32,42,.12)); }
.receipt .rc-head { background: var(--ink); color: #fff; border-radius: 20px 20px 0 0; padding: 1.4rem 1.5rem 1.3rem; }
.rc-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8fd5c8; }
.receipt .total { color: #fff; font-size: 2.8rem; font-weight: 800; letter-spacing: -.03em; margin: .2rem 0 0; transition: transform .2s; }
.receipt .total.bump { transform: scale(1.06); }
.rc-note { color: #b7c2cc; font-size: .88rem; }
.receipt .summary-body { background: #fff; padding: 1.3rem 1.5rem 1.2rem; position: relative; }
.receipt .summary-body::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 10px; background: radial-gradient(circle at 8px -2px, transparent 7px, #fff 7.5px) 0 0 / 16px 10px repeat-x; transform: translateY(-9px); }
.receipt ul#summaryList li { padding-bottom: .45rem; border-bottom: 1px dashed var(--line); }
.receipt ul#summaryList li:last-child { border-bottom: 0; }
.receipt .total-row { border-top: 0; padding-top: 0; }
.receipt .rc-foot { background: var(--paper-2); border-radius: 0 0 20px 20px; padding: .8rem 1.5rem; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }
.receipt .rc-foot a { color: var(--ink); font-weight: 600; }

/* ===== v5: size tiles (beds & baths) ===== */
.size-tile { gap: .3rem; padding: 1rem .5rem .9rem; color: var(--ink); }
.st-beds { display: flex; justify-content: center; gap: 2px; height: 30px; align-items: center; margin-bottom: .35rem; }
.st-beds i { width: 22px; height: 22px; color: #9aa6b2; display: grid; place-items: center; transition: color .15s, transform .2s; }
.st-beds i svg { width: 22px; height: 22px; }
.st-beds i.more { font-style: normal; font-weight: 800; font-size: .9rem; width: 14px; }
.size-tile:hover .st-beds i { transform: translateY(-2px); }
.st-sub { display: inline-flex; align-items: center; gap: .3rem; }
.st-sub i { width: 14px; height: 14px; display: inline-grid; } .st-sub i svg { width: 14px; height: 14px; }
.st-price { margin-top: .5rem; padding: .25rem .7rem; border-radius: 999px; background: var(--paper-2); font-size: 1rem; }
.st-price.q { font-size: .82rem; color: var(--muted); }
.size-tile[aria-pressed="true"] { background: linear-gradient(180deg, var(--coral-soft), #fff 75%); }
.size-tile[aria-pressed="true"] .st-beds i { color: var(--coral); }
.size-tile[aria-pressed="true"] .st-price { background: var(--coral); color: #fff; }

/* ===== v5: type rows ===== */
.type-row { padding: 1rem 1.2rem; }
.type-row .ti { width: 46px; height: 46px; }
.tr-meta { display: flex; flex-wrap: wrap; gap: .35rem .5rem; margin-top: .45rem; }
.tr-meta span { font-size: .74rem; font-weight: 600; color: var(--text); background: var(--paper-2); border-radius: 6px; padding: .15rem .45rem; }
.type-row[aria-pressed="true"] .tr-meta span { background: #fff; }
.type-row:hover { transform: translateX(2px); }

/* ===== v5: extras showcase ===== */
.xs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
@media (max-width: 1020px) { .xs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .xs-grid { grid-template-columns: 1fr; } }
.xs-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-hard-sm); transition: transform .2s, box-shadow .2s; }
.xs-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hard); }
.xs-card header { display: flex; gap: .9rem; align-items: center; padding: 1.3rem 1.3rem 1.1rem; background: var(--tint); position: relative; overflow: hidden; }
.xs-card header::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: #fff; opacity: .35; }
.xs-ic { width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--tint-ink); display: grid; place-items: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.xs-ic svg { width: 28px; height: 28px; }
.xs-card h3 { margin: 0; font-size: 1.15rem; }
.xs-card header p { margin: .1rem 0 0; font-size: .85rem; color: var(--text); opacity: .8; }
.xs-card ul { list-style: none; margin: 0; padding: .5rem .8rem .9rem; }
.xs-card li { display: flex; align-items: center; gap: .75rem; padding: .65rem .5rem; border-radius: 12px; transition: background .15s; position: relative; }
.xs-card li + li { border-top: 1px solid var(--line); }
.xs-card li:hover { background: var(--paper-2); }
.xs-mini { width: 38px; height: 38px; border-radius: 11px; background: var(--tint); color: var(--tint-ink); display: grid; place-items: center; flex-shrink: 0; transition: transform .2s; }
.xs-card li:hover .xs-mini { transform: rotate(-6deg) scale(1.08); }
.xs-mini svg { width: 20px; height: 20px; }
.xs-card li b { display: block; font-size: .93rem; color: var(--ink); font-weight: 600; line-height: 1.25; }
.xs-card li small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.xs-pop { font-style: normal; margin-left: .3rem; vertical-align: 2px; display: inline-block; font-size: .6rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--ink); color: #fff; border-radius: 999px; padding: .2rem .45rem; flex-shrink: 0; }

/* ===== v5: Manhattan map ===== */
.map-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: center; }
@media (max-width: 900px) { .map-wrap { grid-template-columns: 1fr; } }
.map-card { position: relative; background: #e3f1fb; border-radius: 24px; padding: 0; overflow: hidden; box-shadow: var(--shadow-hard); border: 1px solid var(--line); max-width: 380px; width: 100%; margin-inline: auto; }
.nyc-map { width: 100%; height: auto; display: block; }
.m-land { font: 700 11px Inter, sans-serif; letter-spacing: .2em; fill: #a3ad9f; }
.m-water { font: italic 600 12px Inter, sans-serif; letter-spacing: .08em; fill: #6aa7cf; }
.m-compass { font: 800 11px Inter, sans-serif; fill: #2b3a4c; }
.m-labels text { font: 700 10.5px Inter, sans-serif; fill: #2b3a4c; text-anchor: middle; pointer-events: none; }
.m-labels .m-park { fill: #1f6b3a; font-weight: 600; font-style: italic; }
.zone { transition: opacity .2s, filter .2s; cursor: pointer; }
.zone.dim { opacity: .35; }
.zone.on { filter: saturate(1.6) brightness(.95); }
.pin circle:last-child { fill: #0e9f8a; stroke: #fff; stroke-width: 2.5; }
.pin .pulse { fill: #0e9f8a; opacity: .35; transform-origin: center; transform-box: fill-box; animation: pinpulse 2s ease-out infinite; }
@keyframes pinpulse { 0% { transform: scale(.5); opacity: .5 } 100% { transform: scale(1.8); opacity: 0 } }

.map-tip { position: absolute; transform: translate(-50%, -140%); background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: .4rem .7rem; border-radius: 8px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .15s; }
.map-tip.show { opacity: 1; }
.zone-list { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: 1.5rem; }
@media (max-width: 560px) { .zone-list { grid-template-columns: 1fr; } }
.zl { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7rem .9rem; cursor: pointer; transition: .15s; }
.zl b { display: block; color: var(--ink); font-size: .92rem; }
.zl span { font-size: .8rem; color: var(--muted); line-height: 1.35; display: block; }
.zl:hover, .zl.on { border-color: var(--coral); background: var(--coral-soft); transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .pin .pulse { animation: none; } }

/* ===== v6: map callouts ===== */
.m-park { font: italic 600 9.5px Inter, sans-serif; fill: #1f6b3a; text-anchor: middle; pointer-events: none; letter-spacing: .02em; }
.m-land { font-size: 9.5px; letter-spacing: .24em; fill: #9aa69a; }
.m-water { font-size: 11px; }
.callout { cursor: pointer; }
.co-line { stroke: #2b3a4c; stroke-width: 1.2; stroke-dasharray: 2 3; opacity: .55; }
.co-pill { fill: #fff; stroke: #d5dee6; stroke-width: 1; filter: drop-shadow(0 2px 3px rgba(22,32,42,.12)); transition: fill .15s, stroke .15s; }
.co-text { font: 600 10.5px Inter, sans-serif; fill: #16202a; pointer-events: none; }
.co-dot { fill: #0e9f8a; stroke: #fff; stroke-width: 2; }
.callout .pulse { fill: #0e9f8a; opacity: .35; transform-origin: center; transform-box: fill-box; animation: pinpulse 2.2s ease-out infinite; }
.callout.on .co-pill, .callout:hover .co-pill { fill: #0e9f8a; stroke: #0e9f8a; }
.callout.on .co-text, .callout:hover .co-text { fill: #fff; }
.callout.on .co-line { opacity: 1; stroke: #0e9f8a; stroke-dasharray: none; }
.map-card { max-width: 420px; }

/* ===== v6: progress stepper ===== */
.progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 2.2rem; position: relative; }
.progress div { padding-top: 0 !important; display: flex; flex-direction: column; align-items: center; gap: .45rem; position: relative; font-size: .8rem; }
.progress div::before { content: "" !important; position: absolute; top: 15px !important; left: calc(-50% + 18px) !important; right: calc(50% + 18px) !important; height: 3px !important; border: 0 !important; border-radius: 3px; background: var(--line) !important; }
.progress div:first-child::before { display: none; }
.progress div.done::before, .progress div.current::before { background: var(--coral) !important; }
.progress i { font-style: normal; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; background: #fff; border: 2px solid var(--line); color: var(--muted); transition: .25s; position: relative; z-index: 1; }
.progress div.current i { border-color: var(--coral); color: var(--coral-dark); box-shadow: 0 0 0 5px rgba(14,159,138,.15); }
.progress div.done i { background: var(--coral); border-color: var(--coral); color: transparent; }
.progress div.done i::after { content: "✓"; position: absolute; color: #fff; font-size: .95rem; }
.progress span { font-weight: 600; color: var(--muted); }
.progress div.current span { color: var(--ink); }
.progress div.done span { color: var(--coral-dark); }
@media (max-width: 520px) { .progress span { font-size: .68rem; } .progress div { font-size: inherit; } }

/* ===== v6: clean type list ===== */
.type-list { gap: .7rem; }
.type-row { grid-template-columns: 22px 48px minmax(0,1fr) 96px; gap: 1rem; padding: 1.05rem 1.25rem; border-radius: 16px; position: relative; overflow: hidden; }
.type-row:hover { transform: none; border-color: #b9c4cd; box-shadow: var(--shadow-hard-sm); }
.type-row::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--coral); transform: scaleY(0); transition: transform .2s; }
.type-row[aria-pressed="true"] { background: #fff; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(14,159,138,.12), var(--shadow-hard-sm); }
.type-row[aria-pressed="true"]::before { transform: scaleY(1); }
.type-row .ti { width: 48px; height: 48px; border-radius: 14px; }
.type-row .ti.bg-sun { background: #fff4d6; color: #a16207; }
.type-row .ti.bg-mint { background: #e6f6f3; color: #0b7f6e; }
.type-row .ti.bg-sky { background: #dbeafe; color: #1d4ed8; }
.type-row .ti.bg-coral { background: #fde7e1; color: #c2410c; }
.type-row[aria-pressed="true"] .ti { background: var(--coral); color: #fff; }
.tr-name { font-size: 1.02rem; display: flex; align-items: center; flex-wrap: wrap; gap: .3rem; }
.tr-badge { margin-left: .2rem; }
.tr-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: .1rem; }
.tr-meta span { background: var(--paper-2); color: var(--text); }
.type-row[aria-pressed="true"] .tr-meta span { background: var(--coral-soft); color: var(--coral-dark); }
.tr-price { justify-self: end; text-align: right; font-size: 1.3rem; letter-spacing: -.02em; }
.type-row[aria-pressed="true"] .tr-price { color: var(--coral-dark); }
@media (max-width: 560px) { .type-row { grid-template-columns: 22px minmax(0,1fr) auto; } }
.field-group + .step-actions, .field-group + .form-error + .step-actions { border-top: 0; margin-top: .5rem; }
