/* =========================================================================
   LEVEL TILING – styles (mobile-first, 375px up)
   ========================================================================= */
:root {
  --navy: #0b1f3a;
  --navy-900: #071528;
  --navy-700: #143056;
  --navy-100: #e6ebf3;
  --brass: #b98a3e;
  --brass-light: #d9b46a;
  --brass-dark: #8a6528;
  --ink: #10213a;
  --muted: #55657c;
  --bg: #f7f5f0;
  --card: #ffffff;
  --line: #e3ded2;
  --wa: #17963f;
  --wa-dark: #107a32;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .10);
  --shadow-lg: 0 24px 60px rgba(7, 21, 40, .28);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 96px;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; stroke: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-head { margin-bottom: 32px; max-width: 620px; }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--brass-dark); margin-bottom: 10px;
}
h2 { font-family: var(--font-display); font-size: 2rem; line-height: 1.15; color: var(--navy); font-weight: 700; }
.section-head p:not(.eyebrow) { margin-top: 12px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 14px 28px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1.05rem; text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, opacity .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn-primary { background: var(--brass); color: var(--navy-900); box-shadow: 0 8px 22px rgba(185, 138, 62, .35); }
.btn-primary:hover:not([disabled]) { background: var(--brass-light); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy-100); border-width: 2px; }
.btn-outline:hover { border-color: var(--navy); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(23, 150, 63, .35); }
.btn-wa:hover { background: var(--wa-dark); transform: translateY(-1px); }
.btn-xl { min-height: 68px; font-size: 1.15rem; width: 100%; }
.btn svg { width: 24px; height: 24px; flex: none; }
.link-btn {
  background: none; border: 0; padding: 14px 8px; min-height: 52px; cursor: pointer;
  color: var(--brass-dark); font-weight: 700; text-decoration: underline; text-underline-offset: 4px;
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.logo-mark { width: 46px; height: 46px; color: #fff; flex: none; }
.logo-mark .lm-vial { fill: var(--brass-light); }
.logo-mark .lm-bubble { fill: #fff; }
.logo-mark .lm-tick { stroke: rgba(11, 31, 58, .55); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text b { font-size: 1.55rem; font-weight: 800; letter-spacing: .2em; }
.logo-text i { font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .62em; margin-top: 6px; color: var(--brass-light); }
.logo--dark { color: var(--navy); }
.logo--dark .logo-mark { color: var(--navy); }
.logo--dark .logo-text i { color: var(--brass-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(120% 90% at 85% 0%, var(--navy-700) 0%, var(--navy) 55%, var(--navy-900) 100%);
  padding-bottom: 64px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(90% 80% at 80% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(90% 80% at 80% 20%, #000 0%, transparent 75%);
}
.hero-bar { position: relative; display: flex; align-items: center; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; }
.hero-call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .28); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.hero-call svg { width: 20px; height: 20px; }
.hero-body { position: relative; padding-top: 44px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700; font-size: 2.55rem; line-height: 1.08; letter-spacing: -.01em;
  max-width: 12ch;
}
.hero h1 em { font-style: normal; color: var(--brass-light); }
.hero-sub { margin-top: 18px; max-width: 30ch; color: rgba(255, 255, 255, .78); font-size: 1.15rem; }
.level-vial {
  position: relative; width: 210px; height: 22px; margin-top: 30px; border-radius: 999px;
  background: linear-gradient(#e3c485, var(--brass) 55%, var(--brass-dark));
  box-shadow: inset 0 2px 3px rgba(255, 255, 255, .45), 0 6px 18px rgba(0, 0, 0, .3);
}
.level-vial::before, .level-vial::after {
  content: ""; position: absolute; top: 5px; bottom: 5px; width: 2px; background: rgba(11, 31, 58, .5); border-radius: 2px;
}
.level-vial::before { left: calc(50% - 20px); }
.level-vial::after { right: calc(50% - 20px); }
.level-vial span {
  position: absolute; top: 3px; left: calc(50% - 8px); width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #e8f3ff 60%, #b9d6ee);
  animation: bubble 2.6s var(--ease) .5s both;
}
@keyframes bubble {
  0% { transform: translateX(-70px); }
  35% { transform: translateX(34px); }
  60% { transform: translateX(-14px); }
  80% { transform: translateX(5px); }
  100% { transform: translateX(0); }
}
.hero .btn { margin-top: 34px; width: 100%; max-width: 380px; min-height: 66px; font-size: 1.2rem; }
.trust { margin-top: 26px; display: grid; gap: 4px; color: rgba(255, 255, 255, .72); font-size: .95rem; }
.trust small { color: rgba(255, 255, 255, .45); font-size: .78rem; }

/* ---------- Services ---------- */
.services { display: grid; gap: 14px; }
.service {
  display: flex; gap: 18px; align-items: center; background: var(--card); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.ico-circle {
  flex: none; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  background: var(--navy); color: var(--brass-light);
}
.ico-circle svg { width: 30px; height: 30px; }
.service h3 { font-size: 1.15rem; color: var(--navy); line-height: 1.25; }
.service p { color: var(--muted); font-size: 1rem; margin-top: 2px; line-height: 1.4; }

/* ---------- Gallery (placeholder tile art) ---------- */
.work { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.work-card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden;
  cursor: pointer; background: var(--navy); aspect-ratio: 4 / 5; text-align: left;
  box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.work-art { position: absolute; inset: 0; transition: transform .6s var(--ease); }
.work-card:hover .work-art { transform: scale(1.06); }
.work-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; color: #fff;
  background: linear-gradient(transparent, rgba(7, 21, 40, .88));
}
.work-cap strong { display: block; font-size: 1rem; line-height: 1.2; }
.work-cap small { display: block; margin-top: 2px; font-size: .85rem; color: rgba(255, 255, 255, .78); line-height: 1.3; }

.p-subway { background-color: #c9d1dc; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='40'%3E%3Crect width='60' height='40' fill='%23c9d1dc'/%3E%3Cg fill='%23f3f6fa'%3E%3Crect x='1' y='1' width='28' height='18' rx='1.5'/%3E%3Crect x='31' y='1' width='28' height='18' rx='1.5'/%3E%3Crect x='-14' y='21' width='28' height='18' rx='1.5'/%3E%3Crect x='16' y='21' width='28' height='18' rx='1.5'/%3E%3Crect x='46' y='21' width='28' height='18' rx='1.5'/%3E%3C/g%3E%3C/svg%3E"); background-size: 72px 48px; }
.p-large { background-color: #d8d4cc; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Crect width='140' height='140' fill='%23d3cec4'/%3E%3Cg fill='%23efece6'%3E%3Crect x='1.5' y='1.5' width='67' height='67' rx='1'/%3E%3Crect x='71.5' y='1.5' width='67' height='67' rx='1'/%3E%3Crect x='1.5' y='71.5' width='67' height='67' rx='1'/%3E%3Crect x='71.5' y='71.5' width='67' height='67' rx='1'/%3E%3C/g%3E%3Cg fill='none' stroke='%23c4bcad' stroke-width='1'%3E%3Cpath d='M6 24Q30 38 62 10'/%3E%3Cpath d='M76 118Q104 96 134 126'/%3E%3Cpath d='M80 20Q100 44 132 30'/%3E%3Cpath d='M10 100Q34 80 60 112'/%3E%3C/g%3E%3C/svg%3E"); background-size: 170px 170px; }
.p-hex { background-color: #e7ecf3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Crect width='56' height='100' fill='%23e7ecf3'/%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%2399a7bb' stroke-width='2.5'/%3E%3Cpath d='M28 0L28 34L0 50L0 84L28 100L56 84L56 50L28 34' fill='none' stroke='%2399a7bb' stroke-width='2.5'/%3E%3C/svg%3E"); background-size: 56px 100px; }
.p-mosaic { background-color: #cfd8e3; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Crect width='40' height='40' fill='%23dde3ec'/%3E%3Crect x='1.5' y='1.5' width='17' height='17' rx='1.5' fill='%233b6ea5'/%3E%3Crect x='21.5' y='1.5' width='17' height='17' rx='1.5' fill='%235d8cc0'/%3E%3Crect x='1.5' y='21.5' width='17' height='17' rx='1.5' fill='%232f5c92'/%3E%3Crect x='21.5' y='21.5' width='17' height='17' rx='1.5' fill='%237aa3d0'/%3E%3C/svg%3E"); background-size: 44px 44px; }
.p-chevron { background-color: #b79c78; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Crect width='48' height='48' fill='%23a98d68'/%3E%3Cg fill='none' stroke-width='20'%3E%3Cpath d='M-1 0L24 -12L49 0' stroke='%23c8ac7e' transform='translate(0 -12)'/%3E%3Cpath d='M-1 12L24 0L49 12' stroke='%23d6bd92'/%3E%3Cpath d='M-1 36L24 24L49 36' stroke='%23c8ac7e'/%3E%3Cpath d='M-1 60L24 48L49 60' stroke='%23d6bd92'/%3E%3C/g%3E%3C/svg%3E"); background-size: 64px 64px; }
.p-slate { background-color: #b98a3e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect width='100' height='100' fill='%23b98a3e'/%3E%3Cg fill='%23152c4f'%3E%3Crect x='1.5' y='1.5' width='47' height='47'/%3E%3Crect x='51.5' y='1.5' width='47' height='47'/%3E%3Crect x='1.5' y='51.5' width='47' height='47'/%3E%3Crect x='51.5' y='51.5' width='47' height='47'/%3E%3C/g%3E%3Cg stroke='%23ffffff' stroke-opacity='.07' stroke-width='6'%3E%3Cpath d='M10 40L40 10'/%3E%3Cpath d='M60 90L90 60'/%3E%3C/g%3E%3C/svg%3E"); background-size: 110px 110px; }
.work-note { margin-top: 18px; color: var(--muted); font-size: .9rem; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; width: min(560px, calc(100vw - 32px)); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(7, 21, 40, .82); backdrop-filter: blur(4px); }
.lightbox[open] { animation: pop .35s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.lightbox-art { aspect-ratio: 1 / 1; border-radius: var(--radius) var(--radius) 0 0; position: relative; overflow: hidden; }
.lightbox-art span { position: absolute; inset: 0; }
.lightbox-cap { background: #fff; padding: 18px 20px 22px; border-radius: 0 0 var(--radius) var(--radius); }
.lightbox-cap strong { display: block; color: var(--navy); font-size: 1.15rem; }
.lightbox-cap small { color: var(--muted); font-size: .9rem; }
.lightbox-close {
  position: absolute; top: -12px; right: -6px; z-index: 2; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--brass); color: var(--navy-900); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow);
}

/* ---------- Quote calculator ---------- */
.quote { background: linear-gradient(var(--bg), #efeadd); }
.calc {
  background: var(--card); border-radius: 24px; box-shadow: var(--shadow); border: 1px solid var(--line);
  overflow: hidden; scroll-margin-top: 16px; max-width: 760px; margin: 0 auto;
}
.calc-top { padding: 22px 22px 0; }
.progress-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .9rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; min-height: 22px; }
.ai-status { display: inline-flex; align-items: center; gap: 8px; color: var(--brass-dark); font-weight: 600; font-size: .85rem; }
.ai-status::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--brass-light); border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.progress { height: 8px; border-radius: 999px; background: var(--navy-100); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--brass), var(--brass-light)); transition: width .5s var(--ease); }

.calc-body { padding: 26px 22px 12px; min-height: 340px; }
.calc-body.enter-fwd { animation: stepFwd .45s var(--ease); }
.calc-body.enter-back { animation: stepBack .45s var(--ease); }
@keyframes stepFwd { from { opacity: 0; transform: translateX(26px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-26px); } to { opacity: 1; transform: none; } }

.step-title { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.2; color: var(--navy); font-weight: 700; outline: none; }
.step-hint { margin-top: 8px; color: var(--muted); font-size: 1rem; }
.step-opt { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: var(--navy-100); color: var(--navy); font-family: var(--font-body); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; vertical-align: middle; }
.badge {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 6px 12px; border-radius: 999px;
  background: #fbf3e1; color: var(--brass-dark); border: 1px solid #ecd9a8; font-size: .85rem; font-weight: 700;
  animation: pop .4s var(--ease);
}
.badge::before { content: "✦"; }

.opts { display: grid; gap: 12px; margin-top: 22px; }
.opt {
  position: relative; display: flex; align-items: center; gap: 16px; width: 100%; min-height: 76px; padding: 14px 54px 14px 16px;
  text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 16px; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s var(--ease), box-shadow .2s;
  -webkit-tap-highlight-color: transparent;
}
.opt:hover { border-color: var(--brass-light); }
.opt:active { transform: scale(.985); }
.opt.selected { border-color: var(--brass); background: #fdf8ec; box-shadow: 0 6px 18px rgba(185, 138, 62, .18); }
.opt-ico { flex: none; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; background: var(--navy); color: var(--brass-light); transition: background .2s; }
.opt-ico svg { width: 26px; height: 26px; }
.opt.selected .opt-ico { background: var(--brass); color: var(--navy-900); }
.opt-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.opt-txt strong { font-size: 1.08rem; line-height: 1.25; color: var(--navy); }
.opt-txt small { font-size: .93rem; color: var(--muted); line-height: 1.35; }
.opt-check {
  position: absolute; right: 16px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  border: 2px solid var(--line); transition: all .2s var(--ease);
}
.opt.selected .opt-check { border-color: var(--brass); background: var(--brass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f3a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 16px no-repeat; }

.field { margin-top: 22px; }
.field label, .label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; font-size: 1rem; }
.input {
  width: 100%; min-height: 62px; padding: 12px 18px; border-radius: 14px; border: 2px solid var(--line); background: #fff;
  font-size: 1.15rem; transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 4px rgba(185, 138, 62, .2); }
.input-unit { position: relative; }
.input-unit .input { padding-right: 64px; font-size: 1.5rem; font-weight: 700; }
.input-unit span { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; pointer-events: none; }

.mini { margin-top: 18px; border: 2px dashed var(--line); border-radius: 16px; background: #fcfbf8; }
.mini summary { cursor: pointer; padding: 16px 18px; font-weight: 700; color: var(--brass-dark); list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 58px; }
.mini summary::-webkit-details-marker { display: none; }
.mini summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .25s var(--ease); }
.mini[open] summary::after { transform: rotate(45deg); }
.mini-body { padding: 0 18px 18px; }
.mini-row { display: flex; align-items: flex-end; gap: 10px; }
.mini-row > div { flex: 1; min-width: 0; }
.mini-row .times { padding-bottom: 18px; font-size: 1.3rem; color: var(--muted); }
.mini-row .input { min-height: 56px; font-size: 1.1rem; padding: 10px 14px; }
.mini-row label { font-size: .85rem; margin-bottom: 6px; color: var(--muted); font-weight: 600; }
.mini-out { margin-top: 12px; font-weight: 700; color: var(--navy); min-height: 1.5em; }
.mini-note { margin-top: 4px; font-size: .85rem; color: var(--muted); }

.upload {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin-top: 22px; min-height: 130px;
  border: 2px dashed var(--brass-light); border-radius: 18px; background: #fdf8ec; color: var(--brass-dark); font-weight: 700; cursor: pointer; text-align: center; padding: 16px;
  transition: background .2s, transform .2s var(--ease);
}
.upload:hover { background: #faf1da; }
.upload:active { transform: scale(.985); }
.upload svg { width: 34px; height: 34px; }
.upload small { font-weight: 500; color: var(--muted); }
.upload input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.upload.full { opacity: .5; pointer-events: none; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); animation: pop .35s var(--ease); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button {
  position: absolute; top: 6px; right: 6px; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(7, 21, 40, .78); color: #fff; font-size: 1.3rem; line-height: 1;
}
.privacy { margin-top: 14px; font-size: .88rem; color: var(--muted); }

.calc-nav { display: flex; gap: 12px; padding: 18px 22px 24px; }
.calc-nav .btn-ghost { flex: 0 0 auto; min-width: 110px; }
.calc-nav .btn-primary { flex: 1; }
.calc-nav .btn-ghost.is-hidden { visibility: hidden; }

/* Calculating + result */
.calculating { display: grid; place-items: center; gap: 18px; min-height: 340px; text-align: center; color: var(--muted); }
.spinner { width: 54px; height: 54px; border-radius: 50%; border: 5px solid var(--navy-100); border-top-color: var(--brass); animation: spin .9s linear infinite; }

.result { padding: 30px 22px 18px; animation: stepFwd .5s var(--ease); }
.result .eyebrow { text-align: center; }
.price {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; column-gap: 12px; text-align: center;
  font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 2.35rem; line-height: 1.15; font-variant-numeric: tabular-nums;
}
.price .dash { color: var(--brass); }
.price-sub { text-align: center; margin-top: 8px; color: var(--muted); font-size: 1rem; }
.toggle {
  display: flex; width: 100%; justify-content: space-between; align-items: center; margin-top: 24px; min-height: 60px; padding: 0 18px;
  border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; font-weight: 700; color: var(--navy);
}
.toggle svg { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.collapse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.collapse.open { grid-template-rows: 1fr; }
.collapse > div { overflow: hidden; }
.breakdown { margin-top: 10px; padding: 6px 18px; border-radius: 16px; background: #fcfbf8; border: 1px solid var(--line); }
.row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.row:last-child { border-bottom: 0; }
.row .what { min-width: 0; }
.row .what small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.row .amt { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.row.total { font-weight: 800; color: var(--navy); }
.row.total .amt { color: var(--brass-dark); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--navy-100); color: var(--navy); font-size: .9rem; font-weight: 600; }
.chip b { color: var(--brass-dark); font-weight: 700; }
.photo-notes { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: #fbf3e1; border: 1px solid #ecd9a8; }
.photo-notes h3 { font-size: 1rem; color: var(--brass-dark); }
.photo-notes ul { margin: 8px 0 0; padding-left: 20px; }
.photo-notes li { margin: 3px 0; font-size: .98rem; }
.photo-notes p { margin-top: 8px; font-size: .85rem; color: var(--muted); }
.result-photos { display: flex; gap: 8px; margin-top: 14px; }
.result-photos img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; border: 2px solid var(--line); }
.note { margin-top: 22px; padding-left: 14px; border-left: 4px solid var(--brass); color: var(--muted); font-size: 1rem; }

.cta-card { margin-top: 26px; padding: 22px 18px; border-radius: 20px; background: var(--navy); color: #fff; text-align: center; }
.cta-card .cta-line { font-family: var(--font-display); font-size: 1.3rem; line-height: 1.3; margin-bottom: 16px; }
.cta-card .small { margin-top: 12px; font-size: .88rem; color: rgba(255, 255, 255, .65); }
.cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.cta-row .btn { padding: 12px 10px; min-height: 58px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.cta-row .btn:hover { border-color: #fff; }
.result-actions { text-align: center; padding-top: 6px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .8); padding: 48px 0 36px; }
.footer-grid { display: grid; gap: 28px; margin-top: 26px; }
.footer h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 8px; }
.footer a { text-decoration: none; display: inline-block; padding: 4px 0; }
.footer a:hover { color: var(--brass-light); }
.footer .fine { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer .fine a { text-decoration: underline; padding: 0; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 50; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px;
  min-height: 62px; min-width: 62px; padding: 0 18px; border-radius: 999px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 26px rgba(16, 122, 50, .5); justify-content: center;
  animation: waPulse 3.2s ease-out 2s 2;
}
.wa-float svg { width: 32px; height: 32px; flex: none; }
.wa-float span { display: none; }
@keyframes waPulse { 0% { box-shadow: 0 10px 26px rgba(16, 122, 50, .5), 0 0 0 0 rgba(23, 150, 63, .5); } 70%, 100% { box-shadow: 0 10px 26px rgba(16, 122, 50, .5), 0 0 0 20px rgba(23, 150, 63, 0); } }

/* ---------- Owner page ---------- */
.owner-wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.owner-head { background: var(--navy); color: #fff; padding: 20px 0; }
.owner-head .owner-wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.owner-head a.back { color: rgba(255, 255, 255, .75); font-size: .95rem; text-decoration: none; padding: 10px 0; }
.owner-title { font-family: var(--font-display); font-size: 1.6rem; color: var(--navy); margin: 30px 0 6px; line-height: 1.2; }
.pin-card { max-width: 420px; margin: 40px auto; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px 24px; box-shadow: var(--shadow); text-align: center; }
.pin-card h1 { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }
.pin-card .demo-tag { display: inline-block; margin: 12px 0 18px; padding: 6px 14px; border-radius: 999px; background: #fbf3e1; color: var(--brass-dark); font-weight: 700; font-size: .88rem; }
.pin-input { text-align: center; letter-spacing: .6em; font-size: 1.8rem; font-weight: 700; }
.pin-error { color: #b3261e; font-weight: 600; margin-top: 10px; min-height: 1.5em; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-8px); } 40%, 80% { transform: translateX(8px); } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px; margin-top: 18px; box-shadow: var(--shadow); }
.panel h2 { font-size: 1.3rem; }
.panel .sub { color: var(--muted); font-size: .95rem; margin-top: 4px; }
.fields { display: grid; gap: 12px; margin-top: 16px; }
.fields.two { grid-template-columns: 1fr; }
.frow label { display: block; font-size: .92rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.frow .input { min-height: 54px; font-size: 1.1rem; }
.frow .input-unit .input { font-size: 1.1rem; font-weight: 600; padding-right: 66px; }
.owner-actions { display: grid; gap: 10px; margin-top: 20px; }
.status-line { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.status-line b { color: var(--brass-dark); }
.notice { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: #fbf3e1; border: 1px solid #ecd9a8; font-size: .98rem; }
.sticky-test { position: sticky; top: 8px; z-index: 5; }
.test-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy); margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.qr-box { display: grid; place-items: center; padding: 18px; margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; min-height: 250px; }
.qr-box img, .qr-box canvas { max-width: 100%; height: auto !important; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; z-index: 60;
  background: var(--navy); color: #fff; padding: 14px 24px; border-radius: 999px; font-weight: 600; transition: all .35s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  body { padding-bottom: 40px; }
  .section { padding: 88px 0; }
  h2 { font-size: 2.5rem; }
  .hero h1 { font-size: 3.6rem; max-width: 14ch; }
  .hero-body { padding-top: 70px; }
  .services { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .work-cap strong { font-size: 1.1rem; }
  .opts.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .opts.cols-3 .opt { flex-direction: column; align-items: flex-start; padding: 18px 16px 18px; min-height: 150px; }
  .opts.cols-3 .opt-check { top: 14px; right: 14px; margin-top: 0; }
  .calc-top, .calc-nav { padding-left: 36px; padding-right: 36px; }
  .calc-body { padding: 34px 36px 12px; }
  .result { padding: 40px 36px 18px; }
  .step-title { font-size: 2rem; }
  .price { font-size: 3.4rem; }
  .cta-card { padding: 28px; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
  .wa-float span { display: inline; }
  .fields.two { grid-template-columns: 1fr 1fr; }
  .owner-actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .services { grid-template-columns: repeat(3, 1fr); }
  .hero { padding-bottom: 96px; }
  .hero h1 { font-size: 4.4rem; }
  .test-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
