/* Koko Cáceres Estilistas: the white townhouse, black arch and framed portraits of the facade. */
:root {
  --paper: #faf8f5;
  --tint: #f2ede8;
  --ink: #16121a;
  --ink-2: #2a2330;
  --muted: #5f5762;
  --line: #e2d9d4;
  --plum: #6e2f6b;
  --plum-dark: #55224f;
  --plum-soft: #efe2ed;
  --wa: #1f8a4c;
  --header-h: 68px;
  --m: clamp(16px, 5vw, 72px);
  --serif: "Bodoni Moda", "Didot", "Bodoni MT", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--m); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip:focus { left: 8px; }
.center { text-align: center; margin-top: 32px; }

/* Type */
.eyebrow { font: 600 0.75rem/1.2 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--plum); margin: 0 0 14px; }
.display, .h2, .title { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; line-height: 1.02; margin: 0; text-wrap: balance; }
.display { font-size: clamp(2.6rem, 1.4rem + 4.2vw, 4.9rem); }
.display--sm { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); }
.h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); margin-bottom: 18px; }
.title { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); }
.display em, .h2 em, .title em { font-style: italic; color: var(--plum); }
.lead { font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); color: var(--ink-2); max-width: 40ch; margin: 22px 0 0; }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p:last-child { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--ink); color: var(--paper); font: 600 0.8125rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.16s var(--ease); -webkit-tap-highlight-color: transparent; user-select: none; }
.btn:active { transform: scale(0.97); }
.btn .icon { transition: transform 0.2s var(--ease); }
@media (hover: hover) { .btn:hover { background: var(--plum); border-color: var(--plum); } .btn:hover .icon { transform: translateX(3px); } }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.75rem; }
.btn--ghost { background: transparent; color: var(--ink); }
@media (hover: hover) { .btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); } }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--wa, .btn--wa-big { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--wa-big { min-height: 56px; font-size: 0.875rem; }
@media (hover: hover) { .btn--wa:hover, .btn--wa-big:hover { background: #17713d; border-color: #17713d; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgb(250 248 245 / 0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.brand__koko { font: 600 1.75rem/1 var(--serif); letter-spacing: 0.08em; }
.brand__sub { font: 500 0.6875rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.brand__sub i { font: italic 500 1.0625rem/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--plum); }
.brand--light { color: var(--paper); }
.brand--light .brand__sub { color: #cfc6cf; }
.brand--light .brand__sub i { color: #d9b6d5; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav__list a { font-size: 0.9375rem; font-weight: 500; text-decoration: none; padding: 6px 0; background: linear-gradient(var(--plum), var(--plum)) 0 100% / 0 1.5px no-repeat; transition: background-size 0.25s var(--ease); }
.nav__list a:hover, .nav__list a[aria-current] { background-size: 100% 1.5px; }
.lang { display: flex; font: 600 0.75rem/1 var(--sans); letter-spacing: 0.08em; border: 1px solid var(--line); }
.lang > * { padding: 7px 9px; text-decoration: none; }
.lang [aria-current] { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; background: none; border: 0; font: 600 0.8125rem/1 var(--sans); color: var(--ink); cursor: pointer; letter-spacing: 0.08em; text-transform: uppercase; }
.bars { display: grid; gap: 5px; width: 20px; }
.bars i { display: block; height: 1.5px; background: currentColor; transition: transform 0.25s var(--ease); }
.menu-open .bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--paper); padding: 28px var(--m) 32px; display: flex; flex-direction: column; justify-content: space-between; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0s 0.22s; overflow-y: auto; }
.menu-open .mobile-menu { visibility: visible; opacity: 1; transform: none; transition: opacity 0.22s var(--ease), transform 0.22s var(--ease); }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li a { display: block; padding: 10px 0; font: 500 2rem/1.1 var(--serif); text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu li a[aria-current] { color: var(--plum); font-style: italic; }
.mobile-menu__foot { margin-top: 28px; color: var(--muted); font-size: 0.9375rem; }
@media (max-width: 1020px) {
  .nav__list, .nav__cta { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { gap: 12px; }
}
@media (max-width: 420px) { .brand__sub { display: none; } }

/* Socials */
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--line); text-decoration: none; font-size: 0.875rem; font-weight: 600; background: #fff; }
@media (hover: hover) { .social:hover { border-color: var(--ink); } }

/* Sections */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .eyebrow { color: #d9b6d5; }
.section--ink .h2 em { color: #e3c3df; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--rev .split__img { order: 2; }
.split__text > p { max-width: 48ch; }
.split__text .btn { margin-top: 18px; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--rev .split__img { order: 0; } }

/* Frames: black picture frames, like the portraits on the facade */
.frame { margin: 0; border: 10px solid var(--ink); background: var(--ink); box-shadow: 0 30px 60px -36px rgb(22 18 26 / 0.6); }
.frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.section--ink .frame { border-color: #fff; background: #fff; }
.split .frame img { aspect-ratio: 4 / 3; }
.frame figcaption { background: var(--ink); color: #d8cfd8; font-size: 0.8125rem; padding: 8px 2px 0; }
.frame--tall { max-width: 440px; width: 100%; justify-self: center; }
.split .frame--tall img { aspect-ratio: 4 / 5; }
.section--ink .frame--tall figcaption { background: #fff; color: var(--ink); }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 24px); }
.trio figure { margin: 0; }
.trio img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 8px solid var(--ink); background: var(--ink); }
.trio figcaption { margin-top: 10px; font: italic 500 1.125rem/1.2 var(--serif); }
@media (max-width: 820px) { .trio { grid-template-columns: 1fr 1fr; } .trio figure:first-child { grid-column: 1 / -1; } }
/* Arch: the shape of the townhouse door */
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--tint); }
.arch img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.split .arch { max-width: 440px; justify-self: center; width: 100%; }

/* Hero (shared by the Pro 3D home and the classic home) */
.hero { position: relative; }
.hero__stage { position: relative; }
.hero__scene, .hero__words, .hero__end { display: none; }
.hero__stage { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: 1240px; margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--m) clamp(56px, 7vw, 96px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 22px 0 0; font-size: 0.9375rem; color: var(--muted); }
.hero__proof a { color: var(--ink); font-weight: 600; }
.stars { display: inline-flex; color: var(--plum); }
.stars .icon { width: 1em; height: 1em; }
.hero__arch { margin: 0; overflow: hidden; border-radius: 999px 999px 0 0; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -50px rgb(22 18 26 / 0.7); }
.hero__arch img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
@media (max-width: 820px) {
  .hero__stage { grid-template-columns: 1fr; padding-top: 28px; }
  .hero__arch { max-width: 420px; width: 100%; justify-self: center; aspect-ratio: 1 / 1; }
}
.js .hero__copy > *, .js .hero__arch { animation: rise 0.9s var(--ease) both; }
.js .hero__copy > :nth-child(2) { animation-delay: 0.06s; }
.js .hero__copy > :nth-child(3) { animation-delay: 0.12s; }
.js .hero__copy > :nth-child(4) { animation-delay: 0.18s; }
.js .hero__copy > :nth-child(5) { animation-delay: 0.24s; }
.js .hero__arch { animation-name: arch-in; animation-duration: 1.2s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes arch-in { from { clip-path: inset(100% 0 0 0 round 999px 999px 0 0); } to { clip-path: inset(0 0 0 0 round 999px 999px 0 0); } }

/* ===== 3D hero (Pro): walk through the arch into the hall of mirrors ===== */
.can3d .hero { height: 420svh; }
.can3d .hero__stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); max-width: none; display: block; padding: 0; overflow: hidden; background: #0f0c11; }
.can3d .hero__arch { display: none; }
.can3d .hero__scene { display: block; position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 50%; overflow: hidden; }
.can3d .hall { position: absolute; inset: 0; transform-style: preserve-3d; }
.can3d .hero__scene::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 60% at 50% 50%, rgb(12 9 14 / 0.42), rgb(12 9 14 / 0.78)); opacity: var(--dim, 0); }
.can3d .hero__copy .display { font-size: clamp(2.4rem, 1.1rem + 4vw, 4.6rem); }
.can3d .hall__back { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; object-fit: cover; transform: translate(-50%, -50%) translateZ(-3400px) scale(4.9); filter: brightness(1.05); }
.can3d .mirror { position: absolute; left: 50%; top: 50%; margin: 0; width: var(--mw, 22vw); max-width: 300px; border: 9px solid #0b090c; background: #0b090c; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.12), 0 40px 80px -30px rgb(0 0 0 / 0.8); backface-visibility: hidden; }
.can3d .mirror img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; }
.can3d .mirror figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 10px; background: #0b090c; color: #fff; font: italic 500 1rem/1 var(--serif); }
.can3d .facade { position: absolute; inset: 0; transform-origin: var(--ox, 66%) var(--oy, 58%); will-change: transform, opacity; }
.can3d .facade img { width: 100%; height: 100%; object-fit: cover; }
.can3d .facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(250 248 245 / 0.94) 0%, rgb(250 248 245 / 0.86) 34%, rgb(250 248 245 / 0) 62%); opacity: var(--scrim, 1); }
.can3d .hero__copy { position: absolute; left: var(--m); top: 50%; transform: translateY(-50%); max-width: min(560px, 52vw); z-index: 2; }
.can3d .hero__words { display: block; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.can3d .word { position: absolute; left: 50%; top: 50%; margin: 0; width: min(90vw, 900px); text-align: center; transform: translate(-50%, -50%); color: #fff; font: 500 clamp(2.6rem, 1.2rem + 6vw, 6.4rem)/1 var(--serif); font-style: italic; text-shadow: 0 2px 30px rgb(0 0 0 / 0.55); opacity: 0; visibility: hidden; }
.can3d .word small { display: block; margin-top: 18px; font: 600 0.8125rem/1.3 var(--sans); font-style: normal; letter-spacing: 0.18em; text-transform: uppercase; }
.can3d .hero__end { display: grid; justify-items: center; gap: 14px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: min(92vw, 560px); padding: clamp(28px, 4vw, 44px); background: var(--paper); text-align: center; border: 10px solid var(--ink); opacity: 0; visibility: hidden; }
.can3d .hero__end p { margin: 0; color: var(--muted); }
.can3d .hero__end .display { color: var(--ink); }
.can3d .hero__hint { display: block; }
@media (max-width: 820px) {
  .can3d .hero { height: 360svh; }
  .can3d .facade::after { background: linear-gradient(0deg, rgb(250 248 245 / 0.96) 0%, rgb(250 248 245 / 0.9) 48%, rgb(250 248 245 / 0) 74%); }
  .can3d .hero__copy { top: auto; bottom: 22px; transform: none; right: var(--m); max-width: none; }
  .can3d .hero__copy .lead { font-size: 1.0625rem; margin-top: 12px; }
  .can3d .hero__copy .display { font-size: clamp(2.2rem, 1.2rem + 6vw, 3rem); }
  .can3d .hero__proof { display: none; }
  .can3d .hero__actions { margin-top: 18px; }
  .can3d .mirror { --mw: 36vw; border-width: 6px; }
  .can3d .mirror--desk { display: none; }
}
@media (max-height: 620px) and (min-width: 821px) { .can3d .hero__copy .lead { display: none; } }

/* Cards with 3D tilt */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); perspective: 1200px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transform-style: preserve-3d; }
.card__img { display: block; overflow: hidden; }
.card__img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.6s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { display: grid; gap: 8px; padding: 22px 22px 24px; }
.card__kicker { font: italic 500 1rem/1 var(--serif); color: var(--plum); }
.card__body b { font: 500 1.75rem/1.1 var(--serif); }
.card__body > span:not([class]) { color: var(--muted); font-size: 0.9375rem; }
.card__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font: 600 0.75rem/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; }
.tilt { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease); will-change: transform; }
.tilt.is-tilting { transition: transform 0.1s linear, box-shadow 0.3s; box-shadow: 0 40px 70px -40px rgb(22 18 26 / 0.55); }
@media (max-width: 820px) { .cards { grid-template-columns: 1fr; } .card { flex-direction: row; } .card__img { width: 38%; flex: none; } .card__img img { height: 100%; aspect-ratio: auto; } .card__body { padding: 18px; } .card__body b { font-size: 1.4rem; } }

/* Before / after slider */
.ba { position: relative; overflow: hidden; aspect-ratio: 1 / 2; max-height: 680px; max-width: 360px; width: 100%; justify-self: center; border: 10px solid var(--ink); background: var(--ink); touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; pointer-events: none; }
.ba__handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--ink); font: 600 1rem/1 var(--sans); box-shadow: 0 6px 18px rgb(0 0 0 / 0.3); }
.ba__tag { position: absolute; bottom: 12px; padding: 5px 10px; background: rgb(22 18 26 / 0.8); color: #fff; font: italic 500 1rem/1 var(--serif); pointer-events: none; }
.ba__tag--l { left: 12px; } .ba__tag--r { right: 12px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba__range:focus-visible + * , .ba:focus-within { outline: 2px solid var(--plum); outline-offset: 4px; }

/* Before / after pair */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.5vw, 18px); max-width: 560px; width: 100%; justify-self: center; }
.pair__item { position: relative; margin: 0; border: 8px solid var(--ink); background: var(--ink); }
.pair__item img { width: 100%; aspect-ratio: 1 / 2; object-fit: cover; object-position: 50% 40%; }
.pair__item figcaption { position: absolute; left: 0; bottom: 0; padding: 6px 12px; background: var(--ink); color: #fff; font: italic 500 1.0625rem/1 var(--serif); }
.pair__item:last-child { transform: translateY(28px); }
@media (max-width: 820px) { .pair__item:last-child { transform: none; } }

/* Facts, quotes */
.facts { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.facts li { display: grid; grid-template-columns: minmax(120px, 0.6fr) 1fr; gap: 16px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgb(255 255 255 / 0.16); }
.section:not(.section--ink) .facts li { border-color: var(--line); }
.facts b { font: 500 1.5rem/1.1 var(--serif); }
.facts span { color: inherit; opacity: 0.8; font-size: 0.9375rem; }
.big { font-size: 1.6em; }
.h2 small { font: 500 1rem/1 var(--sans); color: var(--muted); }
.quote { margin: 22px 0 0; padding-left: 18px; border-left: 2px solid var(--plum); }
.quote p { margin: 0; font: italic 400 1.25rem/1.45 var(--serif); }
.quote cite { display: block; margin-top: 6px; font: 600 0.75rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; font-style: normal; color: var(--muted); }
.quote--small p { font-size: 1.0625rem; }

/* Inner pages */
.page-hero { padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 5vw, 72px); }
.page-hero__grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.arch--hero { max-width: 380px; width: 100%; justify-self: center; }
.arch--hero img { aspect-ratio: 3 / 5; }
.arch--wide img { aspect-ratio: 4 / 5; }
.frame--hero { max-width: 420px; width: 100%; justify-self: center; }
.frame--hero img { aspect-ratio: 360 / 325; }
.page-hero--tight { padding-bottom: 32px; }
.page-hero--photo { position: relative; min-height: min(72svh, 640px); display: grid; align-items: end; color: #fff; padding-bottom: clamp(36px, 6vw, 72px); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgb(15 12 17 / 0.88), rgb(15 12 17 / 0.25) 70%); }
.page-hero--photo .wrap { position: relative; z-index: 2; }
.page-hero--photo .eyebrow { color: #e3c3df; }
.page-hero--photo .display em { color: #e3c3df; }
.page-hero--photo .lead { color: #eee6ee; }
.page-hero--photo .btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 820px) { .page-hero__grid { grid-template-columns: 1fr; } .arch--hero { max-width: 300px; } .page-hero--tight .arch--hero { display: none; } }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-top: 4px; padding-bottom: 12px; scrollbar-width: none; }
.chips a { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-weight: 600; font-size: 0.875rem; }
.service { padding: clamp(48px, 7vw, 96px) 0; }
.service--alt { background: var(--tint); }
.service__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.service--alt .service__img { order: 2; }
.service__img { max-width: 420px; width: 100%; justify-self: center; }
.service__num { font: italic 500 1.25rem/1 var(--serif); color: var(--plum); margin: 0 0 10px; }
.service__text p { max-width: 50ch; }
.service__text .btn { margin-top: 18px; }
.note { padding: 14px 16px; background: var(--plum-soft); border-left: 3px solid var(--plum); font-size: 0.9375rem; }
@media (max-width: 820px) { .service__grid { grid-template-columns: 1fr; } .service--alt .service__img { order: 0; } .service__img { max-width: 340px; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); perspective: 1200px; }
.gallery figure { margin: 0; border: 8px solid var(--ink); background: var(--ink); }
.gallery img { width: 100%; aspect-ratio: 3 / 5; object-fit: cover; }
@media (max-width: 820px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Visit */
.visit__grid { display: grid; grid-template-columns: 0.8fr 1.1fr 1.1fr; gap: clamp(24px, 3vw, 44px); align-items: start; }
.visit__photo { margin: 0; overflow: hidden; border-radius: 999px 999px 0 0; }
.visit__photo img { width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; }
.visit__addr { display: flex; gap: 8px; align-items: center; font-weight: 600; }
.hours { margin-top: 18px; border-top: 1px solid var(--line); }
.hours__head { display: flex; gap: 8px; align-items: center; font-weight: 700; margin: 14px 0 8px; }
.status[data-open="true"] { color: var(--wa); }
.hours dl { margin: 0; display: grid; }
.hours dl div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--line); font-size: 0.9375rem; }
.hours dt, .hours dd { margin: 0; }
.hours .is-today { font-weight: 700; color: var(--plum); }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.visit__map { position: relative; height: 100%; min-height: 420px; border: 10px solid var(--ink); background: var(--tint); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; background: var(--tint); }
.map-consent[hidden] { display: none; }
.map-consent p { max-width: 34ch; margin: 0; }
.map-link { z-index: 2;  position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; background: var(--ink); color: #fff; text-decoration: none; font-size: 0.8125rem; font-weight: 600; }
@media (max-width: 1020px) { .visit__grid { grid-template-columns: 1fr 1fr; } .visit__map { grid-column: 1 / -1; min-height: 340px; } }
@media (max-width: 680px) { .visit__grid { grid-template-columns: 1fr; } .visit__photo { max-width: 320px; } }

/* Forms */
.form-wrap { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.form-wrap > .form, .form-wrap > .form-done { grid-column: 1; }
.form-aside { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: calc(var(--header-h) + 24px); color: var(--muted); font-size: 0.9375rem; }
.form-aside .frame img { aspect-ratio: 3 / 4; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; } .form-aside { display: none; } }
.form { display: grid; gap: 28px; }
.form fieldset { margin: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); background: #fff; display: grid; gap: 16px; min-width: 0; }
.form legend { float: left; width: 100%; padding: 0; margin-bottom: 4px; font: 500 1.6rem/1.1 var(--serif); display: flex; gap: 12px; align-items: center; }
.form legend span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 0.9rem/1 var(--sans); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.9375rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #cfc5c9; border-radius: 0; background: #fff; color: var(--ink); font: 400 1rem/1.4 var(--sans); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px var(--plum-soft); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field select:disabled { background: var(--tint); color: var(--muted); }
.err { color: #b3261e; font-size: 0.875rem; min-height: 0; }
.err:empty { display: none; }
.hint { margin: 0; color: var(--muted); font-size: 0.875rem; }
.choice { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice--services { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 680px) { .choice--services { grid-template-columns: repeat(2, 1fr); } }
.choice label { position: relative; display: grid; gap: 2px; padding: 14px 14px 14px 40px; border: 1.5px solid var(--line); cursor: pointer; background: #fff; transition: border-color 0.15s, background 0.15s; }
.choice input { position: absolute; left: 14px; top: 17px; accent-color: var(--plum); width: 16px; height: 16px; margin: 0; }
.choice b { font-size: 0.9875rem; }
.choice small { color: var(--muted); font-size: 0.8125rem; line-height: 1.35; }
.choice label:has(input:checked) { border-color: var(--plum); background: var(--plum-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; cursor: pointer; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--plum); flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.form-done { padding: 28px; background: #fff; border: 10px solid var(--ink); }
.form-done h2 { font: 500 2rem/1.1 var(--serif); margin: 0 0 8px; }

/* Legal */
.legal-page { padding-top: clamp(40px, 6vw, 80px); }
.legal-banner { margin: 28px 0 0; height: clamp(180px, 26vw, 300px); overflow: hidden; border: 10px solid var(--ink); }
.legal-banner img { width: 100%; height: 100%; object-fit: cover; }
.legal { max-width: 760px; margin-top: 28px; }
.legal h2 { font: 500 1.6rem/1.2 var(--serif); margin: 32px 0 8px; }
.draft { padding: 12px 16px; background: #fff4d6; border-left: 3px solid #c99a1a; font-size: 0.9375rem; }

/* Footer */
.site-footer { background: var(--ink); color: #d8cfd8; padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); font-size: 0.9375rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 32px; }
.site-footer h2 { font: 600 0.75rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer__brand p { max-width: 32ch; margin-top: 14px; }
.fine { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.14); font-size: 0.8125rem; }
@media (max-width: 900px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .wrap { grid-template-columns: 1fr; } }

/* Mobile booking bar */
.cookie-bar { position: fixed; z-index: 60; left: 0; right: 0; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(560px, calc(100% - 32px)); margin: 0 auto; display: grid; gap: 14px; padding: 18px 20px; background: var(--ink); color: #e9e2ea; font-size: 0.875rem; line-height: 1.5; box-shadow: 0 24px 60px -24px rgb(0 0 0 / 0.55); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: #fff; }
.cookie-bar__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.cookie-bar .btn { min-height: 42px; padding: 0 18px; }
.cookie-bar .btn--ghost { color: #fff; border-color: rgb(255 255 255 / 0.45); }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.link-btn:hover { color: #fff; text-decoration: underline; }
.bookbar { display: none; }
@media (max-width: 820px) {
  .bookbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px var(--m) calc(10px + env(safe-area-inset-bottom)); background: rgb(250 248 245 / 0.96); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 0.3s var(--ease); }
  .bookbar.is-on { transform: none; }
  .bookbar .btn:first-child { flex: 1; }
  .bookbar .btn--wa { width: 52px; padding: 0; }
  .site-footer { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}

/* Reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
