@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 85% 120%;
  font-display: swap;
  src: url(../fonts/archivo-latin.woff2) format("woff2");
}

:root {
  --bg: #F6F5F2;
  --paper: #FFFFFF;
  --ink: #131313;
  --ink-2: #2E2E2C;
  --ink-3: #9A9893;
  --mute: #6B6964;
  --line: rgba(19, 19, 19, .10);
  --line-2: rgba(19, 19, 19, .20);
  --stone: #E7E4DE;
  --accent: #FFC21A;

  --gut: clamp(16px, 4vw, 32px);
  --max: 1232px;
  --r: 14px;
  --r-lg: clamp(16px, 2vw, 24px);
  --ease: cubic-bezier(.2, .75, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  position: relative;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }

.ico { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-size: 16px; font-weight: 600; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s;
}
.btn:active { transform: scale(.98); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -12px rgba(19, 19, 19, .55); }
.btn--ink:hover { background: #000; transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(19, 19, 19, .6); }
.btn--line { border: 1px solid var(--line-2); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { height: 42px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn--sm .ico { width: 18px; height: 18px; }
.btn--lg { height: 60px; padding: 0 30px; font-size: 17px; }

/* ---------- nav (floating capsule) ---------- */
.nav { position: sticky; top: 14px; z-index: 40; margin-top: 14px; }
.nav__in {
  height: 62px; display: flex; align-items: center; gap: 22px; padding: 0 8px 0 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .66);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: inset 0 0 0 1px rgba(19, 19, 19, .07), 0 14px 34px -18px rgba(19, 19, 19, .3);
  transition: background-color .3s, box-shadow .3s;
}
.nav.is-scrolled .nav__in { background: rgba(255, 255, 255, .82); box-shadow: inset 0 0 0 1px rgba(19, 19, 19, .08), 0 18px 40px -18px rgba(19, 19, 19, .38); }
.nav__tag {
  display: none; padding-left: 18px; border-left: 1px solid var(--line-2);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute);
}
.nav__links { display: none; margin-left: auto; gap: 28px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { margin-left: auto; height: 46px; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__tag { display: block; }
  .nav .btn { margin-left: 8px; }
}
@media (max-width: 559px) {
  .nav { top: 10px; margin-top: 10px; }
  .nav__in { height: 56px; padding: 0 6px 0 16px; }
  .nav .btn { height: 44px; }
}

.logo { display: inline-flex; align-items: center; gap: .17em; font-size: 23px; line-height: 1; color: var(--ink); }
.logo__word { font-weight: 800; font-stretch: 118%; letter-spacing: -.01em; text-transform: uppercase; }
.logo__mark { width: .84em; height: .84em; flex: none; overflow: visible; }
.logo__mark path { fill: none; stroke: currentColor; }
.logo__mark .w { stroke-width: 8; stroke-linejoin: miter; }
.logo__mark .d { stroke-width: 3.2; }
.logo__mark .a { stroke-width: 2.4; }

/* ---------- type ---------- */
.cota { display: flex; align-items: center; gap: 12px; width: 100%; color: var(--ink); }
.cota__txt { display: flex; align-items: center; gap: 10px; white-space: nowrap; padding-inline: 4px; }
.cota__txt b { font-size: clamp(34px, 3.6vw, 52px); line-height: .9; font-weight: 800; font-stretch: 114%; letter-spacing: -.04em; }
.cota__txt span { font-size: 12px; line-height: 1.2; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.cota__line { position: relative; flex: 1; height: 1px; background: var(--ink); }
.cota__line::before, .cota__line::after { content: ""; position: absolute; top: 50%; background: var(--ink); }
.cota__line:first-child::before { left: 0; width: 1px; height: 16px; transform: translateY(-50%); }
.cota__line:first-child::after { left: -4px; width: 9px; height: 1.5px; transform: translateY(-50%) rotate(-45deg); }
.cota__line:last-child::before { right: 0; width: 1px; height: 16px; transform: translateY(-50%); }
.cota__line:last-child::after { right: -4px; width: 9px; height: 1.5px; transform: translateY(-50%) rotate(-45deg); }
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute);
}
.kicker::before { content: ""; width: 8px; height: 8px; background: var(--ink); }
.h2 {
  font-size: clamp(36px, 5.6vw, 76px); line-height: .96; font-weight: 800; font-stretch: 110%;
  letter-spacing: -.035em; margin-top: 14px; text-wrap: balance;
}

/* ---------- hero ---------- */
.hero { position: relative; padding-top: clamp(24px, 5vw, 64px); padding-bottom: clamp(40px, 7vw, 96px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(19, 19, 19, .045) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(19, 19, 19, .045) 0 1px, transparent 1px 72px);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero__top { display: grid; gap: 22px; margin-bottom: clamp(28px, 4.5vw, 56px); }
.hero__head { container-type: inline-size; }
.hero__title {
  margin-top: 18px;
  font-size: clamp(38px, 7vw, 84px); line-height: .9; font-weight: 800; font-stretch: 114%;
  letter-spacing: -.045em;
}
@supports (font-size: 1cqi) {
  .hero__title { font-size: clamp(36px, 11.6cqi, 120px); }
}
.hero__title .ln { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero__title .ln > span { display: inline-block; }
.hero__lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--ink-2); max-width: 36ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (min-width: 1024px) {
  .hero__top { grid-template-columns: 1.5fr 1fr; align-items: end; gap: 56px; }
  .hero__side { padding-bottom: 10px; }
}
.hero__ctas-m { display: none; }
@media (max-width: 767px) {
  .hero__side .hero__ctas { display: none; }
  .hero__ctas-m { display: flex; margin-top: 24px; }
  .hero__ctas-m .btn { flex: 1 1 100%; }
}
@media (max-width: 559px) {
  .hero__top { gap: 14px; margin-bottom: 26px; }
  .hero__title { margin-top: 14px; }
  .hero__ctas { margin-top: 18px; }
  .hero__ctas .btn--ink { flex: 1 1 100%; }
  .hero__ctas .btn--line { display: none; }
  .nav .btn--sm { width: 42px; padding: 0; }
  .nav__cta-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

.js .hero__title .ln > span { transform: translateY(108%); animation: rise 1.1s var(--ease) .1s forwards; }
.js .hero__title .ln + .ln > span { animation-delay: .22s; }
.js .hero__side { opacity: 0; animation: fade-up .9s var(--ease) .45s forwards; }
.js .cota__line { transform: scaleX(0); animation: draw 1s var(--ease-io) .25s forwards; }
.js .cota__line:first-child { transform-origin: right; }
.js .cota__line:last-child { transform-origin: left; }
.js .cota__txt { opacity: 0; animation: fade-up .7s var(--ease) .05s forwards; }
@keyframes draw { to { transform: none; } }
@keyframes rise { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- stage (hero 3D) ---------- */
.stage { --fx: .5; perspective: 1700px; perspective-origin: 50% 50%; }
.stage__card {
  position: relative; aspect-ratio: 2000 / 1116;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(var(--s, 1));
  will-change: transform;
}
.stage__card::before {
  --c: var(--ink-3);
  content: ""; position: absolute; inset: -18px; pointer-events: none;
  background:
    linear-gradient(var(--c), var(--c)) top left / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top left / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) top right / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom left / 1px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 16px 1px no-repeat,
    linear-gradient(var(--c), var(--c)) bottom right / 1px 16px no-repeat;
  transform: translateZ(-24px);
}
.stage__media {
  position: absolute; inset: 0; overflow: hidden; border-radius: var(--r-lg);
  background: var(--stone);
  box-shadow: 0 60px 90px -50px rgba(19, 19, 19, .55), 0 24px 40px -24px rgba(19, 19, 19, .3);
  transform: translateZ(0);
}
.stage__frame {
  position: absolute; top: 0; left: 50%; height: 100%; aspect-ratio: 2000 / 1116;
  transform: translateX(calc(var(--fx) * -100%));
}
.layer { position: absolute; inset: 0; opacity: 0; }
.layer.is-on { opacity: 1; z-index: 1; }
.layer.is-in { opacity: 1; z-index: 2; }
.layer img { width: 100%; height: 100%; object-fit: cover; }
.scan {
  position: absolute; top: 0; bottom: 0; left: 0; width: 2px; z-index: 3; opacity: 0;
  background: #fff;
  box-shadow: 0 0 18px 4px rgba(255, 255, 255, .75), 0 0 60px 14px rgba(255, 255, 255, .35);
  transform: translateX(-1px);
  pointer-events: none;
}
.scan.is-on { opacity: 1; }

.stage__pins { position: absolute; inset: 0; transform: translateZ(40px); pointer-events: none; overflow: hidden; border-radius: var(--r-lg); }
.pins { position: absolute; inset: 0; visibility: hidden; }
.pins.is-on { visibility: visible; }
.pin {
  position: absolute; left: var(--x); top: var(--y);
  display: flex; align-items: center; gap: 8px;
  transform: translate(-7px, -50%);
}
.pin--l { flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.pin i {
  position: relative; width: 14px; height: 14px; border-radius: 50%; flex: none;
  background: #fff; border: 3px solid var(--ink);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}
.pin i::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .9);
  animation: ping 2.2s var(--ease) infinite;
}
.pin b {
  font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap; color: #fff;
  background: rgba(19, 19, 19, .88); padding: 8px 11px; border-radius: 999px;
  box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5);
}
.pins.is-on .pin { animation: pin-in .7s var(--ease) backwards; }
.pins.is-on .pin:nth-child(2) { animation-delay: .12s; }
.pins.is-on .pin:nth-child(3) { animation-delay: .24s; }
.pins.is-on .pin:nth-child(4) { animation-delay: .36s; }
@keyframes pin-in { from { opacity: 0; translate: 0 10px; scale: .9; } }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 80%, 100% { transform: scale(1.4); opacity: 0; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 2vw, 24px); margin-top: clamp(18px, 2.4vw, 28px); }
.step {
  width: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; row-gap: 10px;
  padding: 6px 0; color: var(--mute); transition: color .3s;
}
.step__n { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 2px; }
.step__t { font-size: clamp(14px, 1.3vw, 17px); font-weight: 700; font-stretch: 104%; letter-spacing: -.01em; }
.step__bar { grid-column: 1 / -1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.step__bar span { display: block; height: 100%; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left; }
.step.is-on, .step:hover { color: var(--ink); }
.step.is-done .step__bar span { --p: 1; }

@media (max-width: 767px) {
  .stage { --fx: .56; }
  .stage__card { aspect-ratio: 1 / 1.06; }
  .stage__card::before { inset: -10px; }
  .pin--d { display: none; }
  .pin b { font-size: 12px; padding: 7px 9px; }
  .step { grid-template-columns: 1fr; row-gap: 4px; }
  .step__n { font-size: 12px; }
  .step__t { font-size: 12.5px; font-stretch: 88%; letter-spacing: 0; }
  .step__bar { margin-top: 4px; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(72px, 11vw, 150px) 0; }
.section__head { margin-bottom: clamp(32px, 5vw, 64px); }
.section__head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.section__note { font-size: 14px; color: var(--mute); max-width: 32ch; }

/* ---------- faint photo backgrounds ---------- */
[data-bg] { position: relative; isolation: isolate; }
[data-bg]::after {
  content: ""; position: absolute; inset: -48px 0; z-index: -2; pointer-events: none;
  background: var(--bg-img, none) var(--bg-pos, center) / var(--bg-size, cover) no-repeat;
  filter: grayscale(1) contrast(1.2);
  opacity: 0; transition: opacity 1.4s var(--ease);
  transform: translate3d(0, var(--py, 0px), 0);
  --edge-x: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  --edge-y: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: radial-gradient(ellipse var(--bg-mask, 62% 70% at 50% 50%), #000 25%, transparent 78%), var(--edge-x), var(--edge-y);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(ellipse var(--bg-mask, 62% 70% at 50% 50%), #000 25%, transparent 78%), var(--edge-x), var(--edge-y);
  mask-composite: intersect;
}
[data-bg].bg-on::after { opacity: var(--bg-o, .1); }
.hero[data-bg] { --bg-size: 100% auto; --bg-pos: 50% 0%; --bg-mask: 60% 55% at 62% 26%; --bg-o: .13; }
.band[data-bg] { --bg-mask: 140% 140% at 50% 40%; --bg-o: .1; --bg-size: cover; --bg-pos: 50% 30%; }
.band[data-bg]::after { inset: -80px 0 -420px; --edge-y: linear-gradient(180deg, transparent 0, #000 18%, #000 30%, rgba(0, 0, 0, .45) 55%, transparent 100%); }
.contact[data-bg] { --bg-mask: 46% 62% at 76% 50%; --bg-o: .1; }
@media (max-width: 899px) {
  .hero[data-bg] { --bg-mask: 90% 30% at 50% 18%; }
    .contact[data-bg] { --bg-mask: 80% 40% at 50% 74%; }
}

/* ---------- extra photo layers (move against the others) ---------- */
#antes-depois[data-par] { position: relative; isolation: isolate; }
#antes-depois[data-par]::before, .contact::before {
  content: ""; position: absolute; z-index: -2; pointer-events: none;
  filter: grayscale(1) contrast(1.15); opacity: .1;
  transform: translate3d(0, calc(var(--py, 0px) * -.8), 0);
}
#antes-depois[data-par]::before {
  inset: -60px 0 auto; height: 640px;
  background: url(../img/galeria/cozinha-led-640.webp) center / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 38% 48% at 82% 34%, #000 20%, transparent 76%);
  mask-image: radial-gradient(ellipse 38% 48% at 82% 34%, #000 20%, transparent 76%);
}
.contact::before {
  inset: -40px 0;
  background: url(../img/obra/04-acabado-960.webp) 30% center / cover no-repeat;
  -webkit-mask-image: radial-gradient(ellipse 34% 46% at 20% 44%, #000 20%, transparent 76%);
  mask-image: radial-gradient(ellipse 34% 46% at 20% 44%, #000 20%, transparent 76%);
}
@media (max-width: 899px) {
  #antes-depois[data-par]::before { -webkit-mask-image: radial-gradient(ellipse 70% 26% at 70% 22%, #000 20%, transparent 76%); mask-image: radial-gradient(ellipse 70% 26% at 70% 22%, #000 20%, transparent 76%); }
  .contact::before { -webkit-mask-image: radial-gradient(ellipse 80% 22% at 40% 18%, #000 20%, transparent 76%); mask-image: radial-gradient(ellipse 80% 22% at 40% 18%, #000 20%, transparent 76%); }
}

/* ---------- services band ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.band { padding-top: clamp(24px, 5vw, 64px); overflow: hidden; overflow: clip visible; }
.band__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.band:hover .band__track { animation-play-state: paused; }
.band__row { display: flex; align-items: center; flex: none; }
.band__row span {
  font-size: clamp(46px, 8.4vw, 124px); line-height: 1.05; font-weight: 800; font-stretch: 112%;
  letter-spacing: -.04em; white-space: nowrap; padding-inline: clamp(14px, 2vw, 30px);
}
.band__row span.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.band__row i {
  flex: none; width: clamp(30px, 4vw, 56px); aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23131313'%3E%3Cpath stroke-width='8' d='M42 16V6H6v36h36v-9'/%3E%3Cpath stroke-width='3.2' d='M42 16H25'/%3E%3Cpath stroke-width='2.4' d='M25 16a17 17 0 0 0 17 17'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- contact + 3D phone ---------- */
.contact {
  position: relative;
  display: grid; gap: clamp(36px, 6vw, 80px); align-items: center;
  padding-block: clamp(80px, 11vw, 150px) clamp(48px, 8vw, 110px);
}
@media (min-width: 900px) { .contact { grid-template-columns: 1.25fr .75fr; } }
.contact__title {
  font-size: clamp(44px, 5.8vw, 88px); line-height: .92; font-weight: 800; font-stretch: 112%;
  letter-spacing: -.045em; margin-top: 14px;
}
.contact__lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); max-width: 40ch; margin-top: 22px; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 559px) { .contact__btns .btn { flex: 1 1 100%; } }

.phone-stage { position: relative; display: grid; place-items: center; perspective: 1400px; padding-block: 10px 56px; }
.phone {
  --rx: 10deg; --ry: -24deg; --rz: 3deg;
  position: relative; display: block; width: clamp(236px, 25vw, 300px); aspect-ratio: 9 / 19.2;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz));
  will-change: transform;
}
.phone__edge, .phone__edge::before, .phone__body { position: absolute; inset: 0; border-radius: 15% / 7%; }
.phone__edge { background: #0b0b0b; transform: translateZ(-13px); transform-style: preserve-3d; }
.phone__edge::before { content: ""; background: #262626; transform: translateZ(6.5px); }
.phone__body {
  background: #161616; padding: 3.4%;
  box-shadow: inset 0 0 0 1.5px #3c3c3c, inset 0 0 0 4px #0c0c0c;
}
.phone__screen {
  position: relative; display: flex; flex-direction: column; height: 100%;
  border-radius: 12.5% / 5.8%; overflow: hidden; background: #EFEAE2;
}
.phone__screen::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .16) 0 34%, transparent 34%);
}
.phone__island { position: absolute; top: 1.7%; left: 50%; width: 31%; height: 3.3%; transform: translateX(-50%); background: #0b0b0b; border-radius: 999px; z-index: 2; }
.chat__head { display: flex; align-items: center; gap: 9px; padding: 15% 12px 10px; background: #F7F5F2; border-bottom: 1px solid rgba(0, 0, 0, .06); }
.chat__avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; flex: none; letter-spacing: .04em; }
.chat__who b { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; }
.chat__who small { display: block; font-size: 11px; color: var(--mute); }
.chat__body { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 10px; overflow: hidden; }
.msg {
  position: relative; display: block; max-width: 84%; padding: 7px 9px 17px; border-radius: 10px;
  font-size: 12.5px; line-height: 1.35; color: #111; box-shadow: 0 1px 1px rgba(0, 0, 0, .08);
}
.msg em { position: absolute; right: 8px; bottom: 4px; font-style: normal; font-size: 10px; color: rgba(0, 0, 0, .45); }
.msg--out { align-self: flex-end; background: #D9FDD3; border-top-right-radius: 3px; }
.msg--in { align-self: flex-start; background: #fff; border-top-left-radius: 3px; }
.msg--img { padding: 3px; width: 70%; }
.msg--img img { display: block; width: 100%; height: auto; border-radius: 8px; }
.msg--img em { color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.msg--typing { display: none; align-self: flex-start; background: #fff; padding: 10px 12px; gap: 4px; }
.msg--typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a9893; animation: dot 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__input { display: flex; align-items: center; gap: 8px; margin: 0 9px 10%; }
.chat__input span:first-child { flex: 1; background: #fff; border-radius: 999px; padding: 8px 12px; font-size: 12px; color: #8a8883; }
.chat__send { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); flex: none; }
.phone-shadow {
  position: absolute; bottom: 18px; left: 50%; width: 62%; height: 34px; transform: translateX(-46%);
  background: radial-gradient(closest-side, rgba(19, 19, 19, .3), transparent); pointer-events: none;
}
.js .chat__body .msg:not(.msg--typing) { display: none; }
.js .chat__body .msg.is-on { display: block; animation: msg-in .45s var(--ease); }
.js .chat__body .msg--typing.is-on { display: flex; }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }

/* ---------- before / after ---------- */
.ba {
  --p: 50%;
  position: relative; aspect-ratio: 2000 / 1116; border-radius: var(--r-lg); overflow: hidden;
  background: var(--stone); touch-action: pan-y; cursor: ew-resize; user-select: none;
  box-shadow: 0 40px 70px -46px rgba(19, 19, 19, .5);
}
.ba__img, .ba__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 0 0 var(--p)); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--p); width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, .25); pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 20px; font-weight: 700;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .45);
}
.ba__tag {
  position: absolute; top: 16px; z-index: 2; pointer-events: none;
  font-size: 13px; font-weight: 600; padding: 7px 12px; border-radius: 999px;
}
.ba__tag--l { left: 16px; background: rgba(255, 255, 255, .92); color: var(--ink); }
.ba__tag--r { right: 16px; background: rgba(19, 19, 19, .88); color: #fff; }
.ba__range {
  position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; margin: 0;
}
.ba:has(.ba__range:focus-visible) { outline: 2px solid var(--ink); outline-offset: 4px; }
@media (max-width: 767px) {
  .ba { aspect-ratio: 4 / 5; }
  .ba__img img { object-position: 56% 50%; }
}

/* ---------- footer ---------- */
.foot {
  display: grid; gap: 24px; padding-block: 36px calc(36px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); font-size: 14px; color: var(--mute);
}
.foot__brand { display: grid; gap: 10px; color: var(--ink); }
.foot__brand p { color: var(--mute); }
.foot__cols { display: grid; gap: 16px; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 768px) {
  .foot { grid-template-columns: 1fr auto; align-items: start; }
  .foot__cols { grid-template-columns: auto auto; gap: 48px; }
  .foot__copy { grid-column: 1 / -1; }
}

/* ---------- mobile dock ---------- */
.dock {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  height: 56px; border-radius: 999px; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 16px;
  box-shadow: 0 18px 40px -14px rgba(19, 19, 19, .6);
  transform: translateY(calc(100% + 30px)); transition: transform .45s var(--ease);
}
.dock.is-on { transform: none; }
@media (min-width: 768px) { .dock { display: none; } }
@media (max-width: 767px) {
  .nav .btn { transition: opacity .3s, transform .3s var(--ease); }
  .dock-on .nav .btn { opacity: 0; transform: scale(.8); pointer-events: none; }
}

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .hero__title .ln > span { transform: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .pin i::after, .msg--typing i { animation: none; }
}

/* ---------- accent (tape-measure yellow) ---------- */
.cota__txt b { background: linear-gradient(transparent 56%, var(--accent) 56% 94%, transparent 94%); padding: 0 .06em; }
.kicker::before { background: var(--accent); }
.step__bar span { background: var(--accent); }
.step.is-on .step__n { background: var(--accent); box-shadow: 0 0 0 3px var(--accent); border-radius: 2px; color: var(--ink); }
.pin i { background: var(--accent); }
.chat__send { background: var(--accent); }

/* ---------- yellow cable behind the page ---------- */
.cable { position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: -1; pointer-events: none; overflow: visible; }
.cable path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.cable__line { stroke: var(--accent); stroke-width: 3.5; }
.cable__shadow { stroke: rgba(19, 19, 19, .09); stroke-width: 4; transform: translate(2px, 5px); }
@media (max-width: 767px) { .cable__line { stroke-width: 3; } .cable__shadow { stroke-width: 3.5; } }
