* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font-body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, blockquote { font-family: var(--font-head); font-weight: var(--font-head-weight); letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; margin: 0 0 40px; max-width: 22ch; }
h3 { font-size: 22px; margin: 28px 0 12px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 40px; } }
.sec { padding: clamp(64px, 9vw, 112px) 0 0; }
.kicker { display: block; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px; }
.lead { max-width: 60ch; color: var(--ink-soft); margin: -24px 0 32px; }
.muted { color: var(--ink-soft); }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: var(--radius); border: 1px solid transparent; font: 600 14px/1 var(--font-body); letter-spacing: .04em; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn-deep { background: var(--deep); color: var(--deep-ink); }
.btn-deep:hover { background: color-mix(in srgb, var(--deep) 86%, #fff); }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-outline { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn-outline:hover { background: var(--deep); color: var(--deep-ink); }
.btn-wide { width: 100%; margin: 8px 0 10px; }
.link { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--accent-text); text-decoration: underline; cursor: pointer; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { max-width: 1200px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; gap: 24px; }
@media (min-width: 720px) { .nav-in { padding: 12px 40px; } }
.brand { font-family: var(--font-head); font-weight: var(--font-head-weight); font-size: 26px; text-decoration: none; margin-right: auto; }
.links { display: none; gap: 26px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.links a { text-decoration: none; color: var(--ink-soft); }
.links a:hover { color: var(--ink); }
@media (min-width: 960px) { .links { display: flex; } }
.langs { display: flex; gap: 2px; }
.langs button { background: none; border: 0; padding: 6px 7px; font: 600 12px var(--font-body); letter-spacing: .06em; color: var(--ink-soft); cursor: pointer; border-bottom: 1px solid transparent; }
.langs button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav-cta { display: none; }
@media (min-width: 560px) { .nav-cta { display: inline-flex; min-height: 40px; } }

/* hero */
.hero { position: relative; min-height: min(88vh, 760px); display: grid; align-items: end; color: #fff; overflow: hidden; background: #1c2a23 url(../img/hero-fachada.webp) center/cover; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--overlay) 0%, rgba(0,0,0,.18) 55%, rgba(0,0,0,.05) 100%); }
@media (min-width: 900px) { .hero::after { background: linear-gradient(90deg, var(--overlay) 0%, rgba(0,0,0,.25) 55%, transparent 85%); } }
@media (prefers-reduced-motion: reduce) { .hero-media { display: none; } }
.hero-in { position: relative; z-index: 1; max-width: 1200px; width: 100%; margin: 0 auto; padding: 120px 16px 56px; }
@media (min-width: 720px) { .hero-in { padding: 140px 40px 88px; } }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; margin: 16px 0 20px; max-width: 14ch; }
.hero p { max-width: 50ch; font-size: 17px; margin: 0 0 30px; color: rgba(255,255,255,.9); }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-block; padding: 7px 14px; border: 1px solid var(--accent); color: #fff; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: rgba(0,0,0,.2); border-radius: var(--radius); }

.trust { background: var(--deep); color: var(--deep-ink); }
.trust ul { list-style: none; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px 32px; padding-top: 22px; padding-bottom: 22px; font-size: 14px; letter-spacing: .03em; }
.trust li::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); margin-right: 12px; vertical-align: 2px; }

/* servicios */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); border-top: 1px solid var(--line); }
.service { padding: 28px 28px 30px 0; border-bottom: 1px solid var(--line); }
.service b { display: block; font-family: var(--font-head); font-weight: var(--font-head-weight); font-size: 24px; margin: 6px 0 8px; }
.service span { font-size: 13px; color: var(--accent-text); letter-spacing: .1em; }
.service p { margin: 0; color: var(--ink-soft); max-width: 36ch; }

/* galería */
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery button { all: unset; display: block; margin: 0 0 16px; cursor: zoom-in; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: auto; transition: transform .6s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10,14,12,.88); }
.lightbox img { max-width: 94vw; max-height: 92vh; object-fit: contain; }
.lightbox button { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.5); color: #fff; font-size: 26px; cursor: pointer; }

/* antes / después */
.band { background: var(--surface-2); margin-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
figure.ba { margin: 0; }
.ba-box { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); user-select: none; touch-action: pan-y; }
.ba-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-box .after { clip-path: inset(0 0 0 var(--pos, 50%)); }
.ba-box input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; background: #fff; pointer-events: none; }
.ba-line::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-content: center; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.ba-tag { position: absolute; top: 12px; padding: 4px 10px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; background: rgba(0,0,0,.55); color: #fff; pointer-events: none; }
.ba-tag.l { left: 12px; } .ba-tag.r { right: 12px; }
.ba figcaption { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }

/* planes */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; }
.plan.dest { background: var(--deep); color: var(--deep-ink); border-color: var(--deep); }
.plan h3 { font-size: 30px; margin: 0 0 6px; }
.plan > p { margin: 0 0 20px; opacity: .8; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { padding: 9px 0; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); font-size: 15px; }
.plan li::before { content: "—"; color: var(--accent); margin-right: 10px; }
.plan small { display: block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; opacity: .75; }
.plan.dest .btn { background: var(--accent); color: #1B1B1A; border-color: var(--accent); }

/* proceso */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--ink); padding-top: 18px; }
.steps li::before { content: "0" counter(s); font-family: var(--font-head); font-size: 40px; color: var(--accent-text); line-height: 1; }
.steps b { display: block; font-family: var(--font-head); font-weight: var(--font-head-weight); font-size: 24px; margin: 12px 0 6px; }
.steps p { margin: 0; color: var(--ink-soft); }

/* equipo */
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.team figure { margin: 0; }
.team figcaption { margin-top: 14px; color: var(--ink-soft); max-width: 48ch; }
.ph { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; display: grid; place-content: center; background: repeating-linear-gradient(135deg, var(--surface-2) 0 14px, color-mix(in srgb, var(--surface-2) 70%, var(--bg)) 14px 28px); border: 1px dashed var(--line); color: var(--ink-soft); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph.has { border: 0; display: block; }

/* testimonio y zonas */
.quote blockquote { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.25; max-width: 30ch; margin: 0; }
.quote > p { color: var(--ink-soft); margin: 18px 0 56px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tags span { padding: 7px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--surface); }

/* agenda */
.agenda-sec { background: var(--surface-2); margin-top: clamp(64px, 9vw, 112px); padding-bottom: clamp(64px, 9vw, 112px); }
.agenda { display: grid; grid-template-columns: 1fr; gap: 32px; background: var(--surface); padding: clamp(20px, 3vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); }
@media (min-width: 900px) { .agenda { grid-template-columns: 1fr 1.1fr; gap: 48px; } }
.agenda .col { min-width: 0; }
.agenda h3 { font-size: 21px; margin: 24px 0 12px; }
.agenda .col > h3:first-child { margin-top: 0; }
.field { display: grid; gap: 6px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.agenda input, .agenda select, .agenda textarea { width: 100%; min-height: 46px; padding: 11px 14px; font: 15px var(--font-body); color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; text-transform: none; letter-spacing: 0; }
.agenda textarea { resize: vertical; }
.agenda input:focus, .agenda select:focus, .agenda textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0 10px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.day { flex: 0 0 auto; scroll-snap-align: start; width: 64px; padding: 10px 0; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); cursor: pointer; font: inherit; color: var(--ink); line-height: 1.2; }
.day small { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.day b { font-size: 20px; font-family: var(--font-head); }
.day[aria-selected="true"] { background: var(--deep); color: var(--deep-ink); border-color: var(--deep); }
.day[aria-selected="true"] small { color: inherit; opacity: .8; }
.day:disabled { opacity: .35; cursor: default; }
.times { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 18px; min-height: 46px; }
.time { padding: 10px 14px; border: 1px solid var(--deep); border-radius: var(--radius); background: transparent; color: var(--deep); font: 600 14px var(--font-body); cursor: pointer; }
.time[aria-pressed="true"] { background: var(--deep); color: var(--deep-ink); }
.time:disabled { opacity: .35; cursor: default; }
.picked { background: var(--bg); padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); }
.picked ol { margin: 8px 0 0; padding-left: 20px; }
.picked li { padding: 4px 0; }
.picked li button { margin-left: 8px; }
.cep-row { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0 10px; margin-top: 4px; }
.hint { margin: -2px 0 10px; font-size: 14px; color: var(--ink-soft); min-height: 1.2em; }
.hint.ok { color: var(--deep); }
.hint.warn { color: #8a5a12; }
.hint.err { color: #9b2c1f; }
.loc { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 10px 14px; border-radius: var(--radius); font-size: 14px; background: var(--bg); border: 1px solid var(--line); }
.loc .btn { min-height: 38px; padding: 0 14px; font-size: 13px; }
.loc[data-estado="ok"] { border-color: var(--deep); color: var(--deep); background: color-mix(in srgb, var(--deep) 7%, var(--surface)); }
.loc[data-estado="confirmar"] { border-color: #c79a3a; background: #fbf4e4; color: #6d4a0c; }
.loc[data-estado="ok"]::before { content: "✓"; font-weight: 700; }
.loc[data-estado="confirmar"]::before { content: "!"; font-weight: 700; }
.busca summary { cursor: pointer; font-size: 14px; color: var(--accent-text); }
.busca .search { margin-top: 8px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); margin: 4px 0 6px; }
.check input { width: 18px !important; min-height: 18px !important; margin: 3px 0 0 !important; accent-color: var(--deep); flex: none; }
.search { display: flex; gap: 8px; }
.search input { margin: 0; }
.search .btn { min-height: 46px; padding: 0 16px; }
.map { height: 300px; margin-top: 10px; border-radius: var(--radius); border: 1px solid var(--line); z-index: 0; }
.map-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; margin: 10px 0 4px; }
.msg { min-height: 1.4em; margin: 6px 0 0; font-size: 14px; }
.msg.err { color: #9b2c1f; }
.msg.ok { color: var(--deep); font-weight: 600; }

/* footer */
.foot { background: var(--deep); color: var(--deep-ink); padding: 48px 0 96px; font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.foot strong { font-family: var(--font-head); font-size: 24px; font-weight: var(--font-head-weight); }
.foot a { text-decoration: none; opacity: .9; }
.foot a:hover { opacity: 1; text-decoration: underline; }
#contato { display: grid; gap: 4px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-content: center; background: #25D366; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); }
