/* La Elegancia del Varón · Barber Studio — demo IKIVAL
   Negro + blanco dominantes, dorado solo como acento. Mobile-first. */
:root {
  --black: #0b0b0c;
  --ink: #151517;
  --ink-2: #1d1d20;
  --line-d: rgba(255, 255, 255, .12);
  --white: #ffffff;
  --ivory: #f5f3ee;
  --paper: #fbfaf7;
  --text: #17171a;
  --muted: #6b6b72;
  --muted-d: #a6a6ad;
  --gold: #c8a560;
  --gold-d: #a8873f;
  --line: #e4e1d8;
  --ok: #3f9d6b;
  --bad: #c0463c;
  --wa: #25d366;
  --sp-xs: 8px; --sp-sm: 16px; --sp-md: 24px; --sp-lg: 48px; --sp-xl: 80px;
  --font-d: 'Bebas Neue', 'Oswald', Impact, sans-serif;
  --font-b: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --bar-h: 64px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-b); color: var(--text); background: var(--black); line-height: 1.6; -webkit-font-smoothing: antialiased; }
main { overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-d); font-weight: 400; letter-spacing: .02em; line-height: 1.02; margin: 0; text-transform: uppercase; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- botones y etiquetas ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; font-family: var(--font-d); font-size: 1.2rem; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s, background .2s, color .2s, border-color .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-gold { background: var(--gold); color: var(--black); box-shadow: 0 10px 30px -12px rgba(200, 165, 96, .7); }
.btn-gold:hover { background: #d8b774; }
.btn-line { border: 1px solid rgba(255, 255, 255, .5); color: var(--white); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--gold); color: var(--black); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-family: var(--font-d); font-size: 1.05rem; letter-spacing: .32em; color: var(--gold-d); text-transform: uppercase; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.on-dark .eyebrow, .dark .eyebrow { color: var(--gold); }
.sec { padding: var(--sp-xl) 0; }
.sec-head { margin-bottom: var(--sp-lg); }
.sec-head h2 { font-size: clamp(2.4rem, 7vw, 4.2rem); margin-top: 14px; max-width: 14ch; }
.sec.dark { background: var(--black); color: var(--white); }
.sec.ivory { background: var(--ivory); }
.sec.paper { background: var(--paper); }

/* ---------- navegacion ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(11, 11, 12, .88); backdrop-filter: blur(12px); border-color: var(--line-d); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-logo { display: flex; align-items: center; min-height: 44px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: none; gap: 30px; font-family: var(--font-d); font-size: 1.05rem; letter-spacing: .18em; color: #e8e8ea; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { display: none; min-height: 44px; padding: 0 22px; font-size: 1.05rem; }
.burger { width: 44px; height: 44px; display: grid; place-items: center; color: var(--white); }
.burger span, .burger span::before, .burger span::after { display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: .25s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 68px 0 0 0; z-index: 49; background: var(--black); padding: 32px 20px; display: flex; flex-direction: column; gap: 6px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s; }
.drawer.open { transform: none; opacity: 1; visibility: visible; }
.drawer a:not(.btn) { font-family: var(--font-d); font-size: 2.2rem; letter-spacing: .06em; color: var(--white); padding: 10px 0; border-bottom: 1px solid var(--line-d); }
.drawer .btn { margin-top: 20px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: var(--white); background: var(--black); padding: 100px 0 var(--sp-lg); isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../assets/hero.jpg?v=2') 70% center / cover no-repeat; filter: grayscale(.35) contrast(1.05); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 11, 12, .45) 0%, rgba(11, 11, 12, .62) 55%, var(--black) 100%); }
.hero h1 { font-size: clamp(3.6rem, 15vw, 8.2rem); margin: 18px 0 20px; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { max-width: 46ch; color: #d6d6da; font-size: 1.08rem; }
.hero-cta { display: flex; flex-direction: column; gap: 12px; margin: 32px 0 26px; }
.hero-open { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: #d6d6da; }
.hero-open b { color: var(--gold); font-weight: 600; }
.trust { margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line-d); display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; font-size: .92rem; color: #cfcfd4; }
.trust span::before { content: '✓'; color: var(--gold); margin-right: 8px; font-weight: 700; }

/* ---------- datos rapidos ---------- */
.facts { background: var(--ivory); border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: 1fr 1fr; }
.fact { padding: 26px 8px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact:nth-child(2n) { border-right: 0; } .fact:nth-last-child(-n+2) { border-bottom: 0; }
.fact b { display: block; font-family: var(--font-d); font-weight: 400; font-size: 2.6rem; color: var(--gold-d); line-height: 1; }
.fact span { font-family: var(--font-d); font-size: .95rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 40px; }
.about-img { position: relative; margin: 0 14px 14px 0; }
.about-img img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.about-img::after { content: ''; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid var(--gold); z-index: -1; }
.about-txt h2 { font-size: clamp(2.4rem, 7vw, 4rem); margin: 14px 0 20px; }
.about-txt p { color: var(--muted); max-width: 54ch; }
.pills { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.pill { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px solid var(--line); background: var(--paper); font-family: var(--font-d); font-size: 1.1rem; letter-spacing: .06em; text-transform: uppercase; }
.pill svg { width: 20px; height: 20px; color: var(--gold-d); flex: none; }

/* ---------- servicios ---------- */
.cards { display: grid; gap: 16px; }
.svc { position: relative; display: flex; flex-direction: column; padding: 26px; background: var(--paper); border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s; text-align: left; width: 100%; }
.svc:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .35); }
.svc svg { width: 26px; height: 26px; color: var(--gold-d); margin-bottom: 18px; }
.svc h3 { font-size: 1.7rem; }
.svc p { color: var(--muted); font-size: .94rem; margin: 8px 0 22px; flex: 1; }
.svc-foot { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.svc-price { font-family: var(--font-d); font-size: 2.2rem; color: var(--gold-d); line-height: 1; }
.svc-go { font-family: var(--font-d); letter-spacing: .22em; font-size: .95rem; color: var(--muted); }
.svc:hover .svc-go { color: var(--text); }

/* ---------- barberos ---------- */
.team { display: grid; gap: 16px; }
.barber { padding: 28px; border: 1px solid var(--line-d); background: var(--ink); display: flex; flex-direction: column; gap: 14px; transition: border-color .25s, transform .25s; }
.barber:hover { border-color: var(--gold); transform: translateY(-4px); }
.avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--black); border: 1px solid var(--gold); font-family: var(--font-d); font-size: 2rem; color: var(--gold); }
.barber .role { font-family: var(--font-d); font-size: .95rem; letter-spacing: .24em; color: var(--gold); text-transform: uppercase; }
.barber h3 { font-size: 2rem; }
.barber p { color: var(--muted-d); font-size: .94rem; flex: 1; }
.barber .btn { min-height: 46px; font-size: 1.05rem; }

/* ---------- experiencia ---------- */
.exp { position: relative; isolation: isolate; }
.exp::before { content: ''; position: absolute; inset: 0; z-index: -2; background: url('../assets/ambiente.jpg?v=2') center / cover; }
.exp::after { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(11, 11, 12, .82); }
.steps { display: grid; gap: 0; }
.step { padding: 26px 0; border-top: 1px solid var(--line-d); }
.step b { font-family: var(--font-d); font-weight: 400; font-size: 3rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.6rem; margin: 10px 0 8px; }
.step p { color: var(--muted-d); font-size: .95rem; }

/* ---------- reseñas ---------- */
.reviews { display: grid; gap: 16px; }
.rev { padding: 26px; background: var(--paper); border: 1px solid var(--line); }
.stars { color: var(--gold-d); letter-spacing: 3px; margin-bottom: 14px; }
.rev p { color: var(--text); }
.rev cite { display: block; margin-top: 18px; font-style: normal; font-family: var(--font-d); letter-spacing: .18em; color: var(--gold-d); }
.note { margin-top: 18px; font-size: .8rem; color: var(--muted); }

/* ---------- ubicacion ---------- */
.loc { display: grid; gap: 28px; }
.loc-list { display: grid; gap: 0; }
.loc-row { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.loc-row svg { width: 22px; height: 22px; color: var(--gold-d); flex: none; margin-top: 2px; }
.loc-row b { display: block; font-family: var(--font-d); font-weight: 400; font-size: 1.3rem; letter-spacing: .08em; }
.loc-row span { color: var(--muted); font-size: .95rem; }
.map { position: relative; min-height: 320px; background: var(--ink); border: 1px solid var(--line); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-touch { display: none; }
@media (hover: none) { .map-touch { display: block; position: absolute; inset: 0; z-index: 400; } }
.map-open { position: absolute; left: 12px; bottom: 12px; z-index: 500; min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; background: var(--black); color: var(--white); font-family: var(--font-d); letter-spacing: .12em; font-size: 1rem; }
.map-open:hover { color: var(--gold); }
.dir { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cta final + footer ---------- */
.final { text-align: left; }
.final h2 { font-size: clamp(2.8rem, 9vw, 5.6rem); margin: 14px 0 18px; max-width: 12ch; }
.final p { color: var(--muted-d); max-width: 46ch; }
.final .hero-cta { flex-direction: column; }
.foot { background: var(--black); color: var(--muted-d); border-top: 1px solid var(--line-d); padding: 36px 0 calc(36px + var(--bar-h)); font-size: .88rem; }
.foot-in { display: grid; gap: 22px; }
.foot img { height: 40px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--font-d); letter-spacing: .16em; font-size: 1rem; color: #cfcfd4; }
.foot nav a:hover, .foot a.adm:hover { color: var(--gold); }
.foot .social { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-d); color: #cfcfd4; transition: color .2s, border-color .2s, transform .2s; }
.foot .social svg { width: 22px; height: 22px; }
.foot .social:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.foot a.adm { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- WhatsApp ---------- */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); display: none; place-items: center; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }
.wa-fab::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8 } 100% { transform: scale(1.6); opacity: 0 } }
.mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: var(--bar-h); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); height: calc(var(--bar-h) + env(safe-area-inset-bottom)); display: flex; gap: 10px; background: rgba(11, 11, 12, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line-d); }
.mbar .btn { flex: 1; min-height: 48px; font-size: 1.15rem; }
.mbar .wa { flex: 0 0 56px; padding: 0; background: var(--wa); }
.mbar .wa svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- RESERVA (sheet) ---------- */
.sheet { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--paper); color: var(--text); transform: translateY(100%); visibility: hidden; transition: transform .35s ease, visibility .35s; }
.sheet.open { transform: none; visibility: visible; }
.sheet-top { background: var(--black); color: var(--white); padding: 14px 20px 0; flex: none; }
.sheet-row { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
.sheet-row h2 { font-size: 1.7rem; letter-spacing: .08em; }
.x { width: 44px; height: 44px; display: grid; place-items: center; font-size: 1.6rem; margin-right: -10px; }
.prog { display: flex; gap: 6px; padding: 12px 0 16px; }
.prog i { flex: 1; height: 3px; background: var(--line-d); transition: background .3s; }
.prog i.on { background: var(--gold); }
.sheet-body { flex: 1; overflow-y: auto; padding: 24px 20px; -webkit-overflow-scrolling: touch; }
.sheet-in { max-width: 720px; margin: 0 auto; }
.sheet-body h3 { font-size: 2rem; margin-bottom: 4px; }
.sheet-body .hint { color: var(--muted); font-size: .94rem; margin-bottom: 20px; }
.sheet-foot { flex: none; border-top: 1px solid var(--line); background: var(--white); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); }
.sheet-foot-in { max-width: 720px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.sum { flex: 1; min-width: 0; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.sum b { display: block; color: var(--text); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.back { font-family: var(--font-d); letter-spacing: .14em; font-size: 1.1rem; color: var(--muted); padding: 0 8px; min-height: 48px; }
.opt-list { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; text-align: left; background: var(--white); border: 1px solid var(--line); transition: border-color .2s, background .2s; min-height: 64px; }
.opt:hover { border-color: #bdb9ac; }
.opt[aria-pressed="true"] { border-color: var(--text); background: var(--ivory); box-shadow: inset 0 0 0 1px var(--text); }
.opt .t { flex: 1; min-width: 0; }
.opt .t b { display: block; font-family: var(--font-d); font-weight: 400; font-size: 1.35rem; letter-spacing: .05em; text-transform: uppercase; line-height: 1.1; }
.opt .t small { color: var(--muted); font-size: .84rem; }
.opt .pr { font-family: var(--font-d); font-size: 1.7rem; color: var(--gold-d); }
.opt .avatar { width: 46px; height: 46px; font-size: 1.4rem; background: var(--black); }
.opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt-grid .opt { flex-direction: column; text-align: center; padding: 20px 10px; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 12px; margin: 0 -2px 8px; scroll-snap-type: x proximity; }
.day { flex: 0 0 66px; scroll-snap-align: start; padding: 10px 0; text-align: center; background: var(--white); border: 1px solid var(--line); line-height: 1.1; }
.day small { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.day b { display: block; font-family: var(--font-d); font-weight: 400; font-size: 1.9rem; margin: 2px 0; }
.day em { display: block; font-style: normal; font-size: .68rem; color: var(--ok); }
.day[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.day[aria-pressed="true"] small { color: var(--muted-d); }
.day[disabled] { opacity: .4; }
.day[disabled] em { color: var(--muted); }
.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slot { min-height: 48px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: .92rem; font-variant-numeric: tabular-nums; }
.slot:hover:not([disabled]) { border-color: var(--text); }
.slot[aria-pressed="true"] { background: var(--black); color: var(--white); border-color: var(--black); }
.slot[disabled] { color: #b9b6ac; background: repeating-linear-gradient(135deg, #f1efe9 0 6px, #ebe8e0 6px 12px); text-decoration: line-through; cursor: not-allowed; }
.legend { display: flex; gap: 16px; margin-top: 14px; font-size: .78rem; color: var(--muted); }
.legend i { display: inline-block; width: 12px; height: 12px; border: 1px solid var(--line); background: var(--white); margin-right: 6px; vertical-align: -1px; }
.legend i.x { background: repeating-linear-gradient(135deg, #f1efe9 0 4px, #ddd9cf 4px 8px); }
.empty { padding: 28px; text-align: center; color: var(--muted); border: 1px dashed var(--line); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-d); letter-spacing: .16em; font-size: 1rem; color: var(--muted); margin-bottom: 6px; }
.field input, .field select { width: 100%; min-height: 54px; padding: 0 16px; font: inherit; font-size: 1rem; background: var(--white); border: 1px solid var(--line); color: var(--text); border-radius: 0; }
.field input:focus, .field select:focus { outline: 0; border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.field .err { color: var(--bad); font-size: .82rem; margin-top: 4px; display: none; }
.field.bad input { border-color: var(--bad); } .field.bad .err { display: block; }
.recap { margin: 8px 0 22px; border: 1px solid var(--line); background: var(--white); }
.recap div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.recap div:last-child { border: 0; }
.recap span { color: var(--muted); } .recap b { text-align: right; font-weight: 600; }
.recap .tot b { font-family: var(--font-d); font-weight: 400; font-size: 1.6rem; color: var(--gold-d); }
.ok-mark { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--gold); font-size: 2rem; margin-bottom: 18px; }
.ok-wrap .btn { width: 100%; margin-top: 10px; }
.priv { font-size: .78rem; color: var(--muted); margin-top: 6px; }

/* ---------- ADMIN ---------- */
body.admin { background: var(--ink); color: var(--white); padding-bottom: calc(var(--bar-h) + 16px); min-height: 100vh; }
.a-top { position: sticky; top: 0; z-index: 30; background: rgba(11, 11, 12, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-d); }
.a-top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.a-top-in > a:first-child { display: flex; align-items: center; min-height: 44px; }
.a-top img { height: 30px; width: auto; }
.tag { font-family: var(--font-d); letter-spacing: .2em; font-size: .85rem; padding: 4px 10px; border: 1px solid var(--gold); color: var(--gold); }
.a-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-d); letter-spacing: .16em; color: var(--muted-d); font-size: 1rem; }
.a-link:hover { color: var(--gold); }
.a-main { padding: 22px 0 40px; }
.a-date { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.a-date h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
.a-date small { display: block; color: var(--muted-d); font-family: var(--font-b); font-size: .85rem; letter-spacing: 0; text-transform: none; margin-top: 4px; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--black); border-top: 1px solid var(--line-d); height: calc(var(--bar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); }
.tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-family: var(--font-d); letter-spacing: .16em; font-size: 1rem; color: var(--muted-d); }
.tab svg { width: 22px; height: 22px; }
.tab[aria-selected="true"] { color: var(--gold); box-shadow: inset 0 2px 0 var(--gold); }
.pane { display: none; } .pane.on { display: block; animation: fade .3s; }
@keyframes fade { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.kpi { padding: 16px; background: var(--black); border: 1px solid var(--line-d); }
.kpi small { display: block; font-family: var(--font-d); letter-spacing: .18em; color: var(--muted-d); }
.kpi b { font-family: var(--font-d); font-weight: 400; font-size: 2.4rem; line-height: 1.1; }
.kpi.gold b { color: var(--gold); }
.lane { margin-bottom: 22px; }
.lane h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.lane h3 span { font-family: var(--font-b); font-size: .78rem; color: var(--muted-d); letter-spacing: 0; text-transform: none; }
.appt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; background: var(--black); border: 1px solid var(--line-d); border-left: 3px solid var(--gold); }
.appt.done { border-left-color: var(--ok); opacity: .7; }
.appt .tm { font-family: var(--font-d); font-size: 1.6rem; width: 62px; flex: none; }
.appt .who { flex: 1; min-width: 0; }
.appt .who b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.appt .who small { color: var(--muted-d); }
.mini { min-height: 44px; padding: 0 14px; font-family: var(--font-d); letter-spacing: .1em; font-size: 1rem; background: var(--gold); color: var(--black); }
.mini.sec2 { background: transparent; border: 1px solid var(--line-d); color: var(--muted-d); }
.badge-ok { color: var(--ok); font-family: var(--font-d); letter-spacing: .12em; }
.card-a { background: var(--black); border: 1px solid var(--line-d); padding: 20px; margin-bottom: 18px; }
.card-a h3 { font-size: 1.6rem; margin-bottom: 14px; }
.card-a .field label { color: var(--muted-d); }
.card-a .field input, .card-a .field select { background: var(--ink); border-color: var(--line-d); color: var(--white); }
.card-a .field input:focus, .card-a .field select:focus { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.two { display: grid; gap: 0 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border: 1px solid var(--line-d); font-family: var(--font-d); letter-spacing: .1em; font-size: 1.05rem; color: var(--muted-d); }
.chip[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--black); }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-d); font-size: .92rem; }
.list-row:last-child { border: 0; }
.list-row .l { flex: 1; min-width: 0; } .list-row .l b { display: block; font-weight: 600; } .list-row .l small { color: var(--muted-d); }
.list-row .amt { font-family: var(--font-d); font-size: 1.5rem; color: var(--gold); }
.list-row .rm { color: var(--muted-d); width: 36px; height: 36px; }
.list-row .rm:hover { color: var(--bad); }
.bar-row { margin-bottom: 14px; }
.bar-row .top { display: flex; justify-content: space-between; font-size: .92rem; margin-bottom: 6px; }
.bar-row .top span { color: var(--muted-d); }
.bar { height: 8px; background: var(--ink-2); } .bar i { display: block; height: 100%; background: var(--gold); transition: width .5s; }
.closed-box { padding: 20px; border: 1px solid var(--ok); background: rgba(63, 157, 107, .08); margin-bottom: 18px; }
.closed-box b { font-family: var(--font-d); font-weight: 400; font-size: 1.7rem; letter-spacing: .06em; color: var(--ok); display: block; }
.diff { font-family: var(--font-d); font-size: 1.4rem; }
.diff.ok { color: var(--ok); } .diff.bad { color: var(--bad); }
.row-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.reset { margin-top: 18px; min-height: 44px; padding: 0 4px; font-size: .82rem; color: var(--muted-d); text-decoration: underline; text-underline-offset: 3px; }
.toast { position: fixed; left: 50%; bottom: calc(var(--bar-h) + 20px); z-index: 200; transform: translate(-50%, 20px); background: var(--white); color: var(--black); padding: 12px 20px; font-weight: 600; font-size: .92rem; opacity: 0; pointer-events: none; transition: .3s; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media print { body.admin { background: #fff; color: #000; } .tabs, .a-top, .row-btns, .reset { display: none; } }

/* ---------- celular apaisado (poca altura) ---------- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: 0; padding: 84px 0 32px; }
  .hero h1 { font-size: clamp(2.6rem, 9vh, 4rem); margin: 8px 0 10px; }
  .hero-sub { font-size: .95rem; }
  .hero-cta { flex-direction: row; margin: 16px 0 14px; }
  .btn { min-height: 46px; }
  .trust { display: none; }
  .sec { padding: 56px 0; }
}

/* ---------- tablet / desktop ---------- */
@media (min-width: 640px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .hero-cta, .final .hero-cta { flex-direction: row; }
  .row-btns { flex-direction: row; }
  .two { grid-template-columns: 1fr 1fr; }
  .slots { grid-template-columns: repeat(6, 1fr); }
  .facts-in { grid-template-columns: repeat(4, 1fr); }
  .fact { border-bottom: 0 !important; border-right: 1px solid var(--line) !important; }
  .fact:last-child { border-right: 0 !important; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
  :root { --bar-h: 0px; }
  .nav-links, .nav-cta { display: flex; }
  .burger, .drawer, .mbar { display: none; }
  .wa-fab { display: grid; }
  .foot { padding-bottom: 36px; }
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .team { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .loc { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .foot-in { grid-template-columns: auto 1fr auto auto; align-items: center; gap: 40px; }
  .foot-in > div { padding-right: 76px; }
  .sheet { inset: 4vh 50% 4vh 50%; width: min(760px, 92vw); transform: translate(-50%, 6%); opacity: 0; max-height: 920px; margin: auto; left: 0; right: 0; top: 0; bottom: 0; }
  .sheet.open { transform: none; opacity: 1; }
  .sheet { transition: transform .3s ease, opacity .3s, visibility .3s; box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
  .scrim { position: fixed; inset: 0; z-index: 99; background: rgba(0, 0, 0, .65); opacity: 0; visibility: hidden; transition: .3s; }
  .scrim.open { opacity: 1; visibility: visible; }
  .a-main { padding-top: 32px; }
  body.admin { padding-bottom: 0; padding-left: 96px; }
  .tabs { inset: 0 auto 0 0; width: 96px; height: auto; grid-template-columns: 1fr; grid-template-rows: repeat(3, 100px); align-content: start; padding-top: 90px; border-top: 0; border-right: 1px solid var(--line-d); }
  .tab[aria-selected="true"] { box-shadow: inset 2px 0 0 var(--gold); }
  .a-top { margin-left: -96px; padding-left: 96px; }
  .toast { bottom: 28px; }
  .lanes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
  .cash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } html { scroll-behavior: auto; } }
