:root {
  --bg: #111111;
  --surface: #181817;
  --surface-2: #1f1e1c;
  --line: #2f2d2a;
  --text: #f3efea;
  --muted: #a39d95;
  --sand: #f3efea;
  --accent: #c8b69e;
  --accent-ink: #111111;
  --ok: #8fb996;
  --busy: #5d5852;
  --danger: #d97a6c;
  --radius: 4px;
  --display: 'Bodoni Moda', 'Didot', Georgia, serif;
  --body: 'Jost', system-ui, -apple-system, sans-serif;
}
/* Secciones claras, como el logo sobre crema */
.light {
  --bg: #f3efea;
  --surface: #fbf9f6;
  --surface-2: #e9e3db;
  --line: #d9d1c6;
  --text: #111111;
  --muted: #6b655e;
  --sand: #111111;
  --accent: #8a7456;
  --busy: #b3aba0;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); line-height: 1.55; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2rem, 5vw, 3.2rem); text-transform: uppercase; letter-spacing: .08em; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .28em; font-size: .74rem; font-weight: 500; margin: 0 0 .9rem; }
.lead { color: var(--muted); max-width: 60ch; }
section { padding: 88px 0; }
.sec-head { margin-bottom: 40px; }

.btn { display: inline-flex; align-items: center; gap: .5rem; border: 0; border-radius: 2px; padding: .85rem 1.5rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; cursor: pointer; text-decoration: none; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--sand); }
.btn-sm { padding: .55rem 1rem; font-size: .72rem; }
.btn-danger { background: transparent; border: 1px solid var(--danger); color: var(--danger); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .2s; }
.nav.solid { background: rgba(17, 17, 17, .9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-family: var(--display); font-size: 1.25rem; letter-spacing: .3em; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; }
.nav-links a.btn { color: var(--bg); }
.nav-links a:hover { color: var(--text); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 2px; padding: .4rem .7rem; cursor: pointer; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 1rem 16px 1.5rem; border-bottom: 1px solid var(--line); gap: 1rem; align-items: flex-start; }
  .nav-links.open { display: flex; }
}

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 110px 0 90px; overflow: hidden; isolation: isolate; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero .logo-hero { width: min(540px, 100%); height: auto; margin-bottom: 1.6rem; }
.hero h1.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero h1.text { font-size: clamp(3.5rem, 12vw, 7rem); letter-spacing: .12em; }
.hero p { font-size: 1.15rem; color: var(--muted); max-width: 40ch; margin: 0 0 2rem; font-weight: 300; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-reel { justify-self: end; width: min(360px, 100%); aspect-ratio: 9 / 16; max-height: 76vh; overflow: hidden; background: var(--surface); outline: 1px solid var(--line); outline-offset: 10px; }
.hero-reel video, .hero-reel img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) {
  .hero { align-items: flex-end; padding-bottom: 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-reel { position: absolute; inset: 0; width: auto; max-height: none; aspect-ratio: auto; outline: 0; z-index: -2; }
  .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(17,17,17,.55) 0%, rgba(17,17,17,.25) 25%, rgba(17,17,17,.72) 48%, rgba(17,17,17,.9) 75%, var(--bg) 100%); }
  .hero .logo-hero { width: min(340px, 100%); }
  .hero p { color: var(--text); }
}

/* Promos */
.promos { padding: 0; }
.promo-strip { display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); background: var(--line); border-block: 1px solid var(--line); }
.promo { background: var(--bg); padding: 1.6rem 1.4rem; }
.promo h3 { font-size: 1.6rem; margin-top: .4rem; }
.promo p { margin: .4rem 0 0; color: var(--muted); }
.promo small { color: var(--accent); text-transform: uppercase; letter-spacing: .24em; font-size: .7rem; }

/* Servicios */
/* Carta de servicios */
.svc-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.svc-tabs button { background: none; border: 0; padding: 1rem 1.4rem 1rem 0; margin-right: 1.4rem; cursor: pointer; color: var(--muted); font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; border-bottom: 1px solid transparent; margin-bottom: -1px; }
.svc-tabs button span { font-family: var(--display); letter-spacing: 0; font-size: .85rem; margin-left: .35rem; opacity: .6; }
.svc-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--text); }
.menu { list-style: none; margin: 0; padding: 0; }
.menu-item { border-bottom: 1px solid var(--line); }
.menu-row { width: 100%; background: none; border: 0; text-align: left; cursor: pointer; display: grid; grid-template-columns: 48px 1fr auto auto 28px; gap: 0 24px; align-items: baseline; padding: 1.6rem 0; }
.menu-row:hover .menu-name { opacity: .7; }
.menu-num { width: 22px; height: 22px; align-self: baseline; position: relative; top: 3px; background: var(--text); -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; opacity: .85; transition: transform .3s; }
.menu-item.open .menu-num, .menu-row:hover .menu-num { transform: rotate(-8deg) scale(1.08); opacity: 1; }
.menu-name { font-family: var(--display); font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.2; transition: opacity .15s; }
.menu-short { grid-column: 2; color: var(--muted); font-size: .92rem; margin-top: .35rem; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.menu-dur { color: var(--muted); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.menu-price { font-family: var(--display); font-size: 1.5rem; white-space: nowrap; }
.menu-toggle { position: relative; width: 14px; height: 14px; justify-self: end; align-self: center; }
.menu-toggle::before, .menu-toggle::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--text); transition: transform .25s; }
.menu-toggle::after { transform: rotate(90deg); }
.menu-item.open .menu-toggle::after { transform: rotate(0); }
.menu-item.open .menu-short { display: none; }
.menu-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.menu-item.open .menu-body { grid-template-rows: 1fr; }
.menu-body > div { overflow: hidden; }
.menu-body .inner { padding: 0 0 1.8rem 46px; display: flex; gap: 32px; align-items: flex-end; justify-content: space-between; }
.menu-body p { margin: 0; color: var(--muted); max-width: 62ch; line-height: 1.7; }
@media (max-width: 640px) {
  .menu-row { grid-template-columns: 20px 1fr auto 16px; gap: 0 12px; padding: 1.3rem 0; }
  .menu-num { width: 18px; height: 18px; grid-row: 1; }
  .menu-dur { grid-column: 2; grid-row: 2; margin-top: .3rem; }
  .menu-price { grid-column: 3; grid-row: 1; font-size: 1.3rem; }
  .menu-toggle { grid-column: 4; grid-row: 1; align-self: start; margin-top: 8px; }
  .menu-body .inner { padding-left: 32px; flex-direction: column; align-items: flex-start; gap: 18px; }
  .svc-tabs button { padding-right: 0; margin-right: 1.1rem; letter-spacing: .14em; font-size: .72rem; }
}

/* Equipo */
.team { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.barber { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.barber .ph { aspect-ratio: 4/5; background: var(--surface-2); display: grid; place-items: center; font-family: var(--display); font-size: 5rem; color: var(--busy); }
.barber .ph img { width: 100%; height: 100%; object-fit: cover; }
.barber .info { padding: 1rem 1.2rem 1.2rem; }
.barber h3 { font-size: 1.5rem; }
.barber p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }
.days { display: flex; gap: 4px; margin-top: .7rem; }
.days span { font-size: .72rem; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 6px; background: var(--surface-2); color: var(--busy); }
.days span.on { background: rgba(200,182,158,.18); color: var(--sand); }

/* Reservar */
.booking { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.field label { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .16em; font-weight: 500; }
.input, select.input, textarea.input { background: var(--bg); border: 1px solid var(--line); border-radius: 2px; padding: .7rem .8rem; width: 100%; }
.input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: var(--bg); padding: .45rem .9rem; border-radius: 2px; cursor: pointer; font-size: .9rem; }
.chip.active { background: var(--sand); color: var(--accent-ink); border-color: var(--sand); font-weight: 700; }
.summary { border-top: 1px dashed var(--line); padding-top: 1rem; font-size: .92rem; color: var(--muted); }
.summary b { color: var(--text); }

.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.cal-head h3 { font-size: 1.6rem; text-transform: capitalize; }
.cal-nav { display: flex; gap: 6px; }
.cal-nav button { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; }
.cal-nav button:disabled { opacity: .3; cursor: default; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { text-align: center; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; padding-bottom: 4px; }
.day { aspect-ratio: 1; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; display: flex; flex-direction: column; justify-content: space-between; padding: 6px 7px; text-align: left; min-width: 0; }
.day .n { font-weight: 700; font-size: .95rem; }
.day .s { font-size: .68rem; color: var(--ok); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.day.full .s { color: var(--danger); }
.day.off, .day.past { cursor: default; opacity: .35; }
.day.off .s, .day.past .s { color: var(--muted); }
.day.sel { border-color: var(--text); background: rgba(243,239,234,.08); }
.day.today .n { color: var(--accent); }
.day:not(.off):not(.past):not(.full):hover { border-color: var(--sand); }
.day.empty { visibility: hidden; }
@media (max-width: 520px) { .day .s { font-size: 0; } .day .s::before { content: '●'; font-size: .6rem; } .day.off .s::before, .day.past .s::before { content: ''; } }
.legend { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .9rem; font-size: .8rem; color: var(--muted); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; }

.slots-wrap { margin-top: 1.4rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.slots-wrap h4 { margin: 0 0 .3rem; font-size: 1rem; }
.slots-wrap .who { color: var(--muted); font-size: .88rem; margin: 0 0 .9rem; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 6px; }
.slot { border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: .5rem 0; cursor: pointer; font-weight: 700; font-size: .92rem; }
.slot:hover { border-color: var(--sand); }
.slot.active { background: var(--text); color: var(--bg); border-color: var(--text); }
.confirm-form { margin-top: 1.4rem; }
.confirm { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
@media (max-width: 620px) { .confirm { grid-template-columns: 1fr; } }
.confirm .field { margin: 0; }
.success { text-align: center; padding: 2rem 1rem; }
.success h3 { font-size: 2rem; color: var(--sand); }
.success p { color: var(--muted); }

/* Galería */
.gallery { columns: 3 260px; column-gap: 12px; }
.gallery figure { margin: 0 0 12px; break-inside: avoid; overflow: hidden; background: var(--surface); position: relative; }
.gallery img, .gallery video { width: 100%; height: auto; transition: transform .6s ease; }
.gallery figure:hover img, .gallery figure:hover video { transform: scale(1.03); }
.gallery .tag-video { position: absolute; top: 10px; left: 10px; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; background: rgba(17,17,17,.7); color: #f3efea; padding: .3rem .6rem; }
.gallery .ph { aspect-ratio: var(--r, 1); display: grid; place-items: center; color: var(--busy); font-size: .85rem; border: 1px dashed var(--line); }

/* Reseñas */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.rating-summary { display: flex; gap: 28px; flex-wrap: wrap; }
.rating-summary .r { display: flex; flex-direction: column; }
.rating-summary b { font-family: var(--display); font-size: 2.6rem; font-weight: 400; line-height: 1; }
.rating-summary .stars { color: var(--accent); letter-spacing: .15em; }
.rating-summary small { color: var(--muted); font-size: .8rem; }
.rating-summary a { color: var(--text); font-size: .8rem; }
.reviews-layout { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .reviews-layout { grid-template-columns: 1fr; } }
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.review { background: var(--surface); border: 1px solid var(--line); padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem; }
.review .stars { color: var(--accent); letter-spacing: .15em; }
.review p { margin: 0; }
.review footer { border: 0; padding: 0; font-size: .82rem; color: var(--muted); }
.review footer b { color: var(--text); font-weight: 500; }
.reviews-empty { border: 1px dashed var(--line); padding: 2rem; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.review-form h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.star-pick { display: flex; gap: 2px; }
.star-pick button { background: none; border: 0; font-size: 1.9rem; line-height: 1; cursor: pointer; color: var(--busy); padding: 0 2px; }
.star-pick button.on { color: var(--accent); }
.form-msg { margin: .8rem 0 0; font-size: .9rem; color: var(--muted); min-height: 1.2em; }

/* Ubicación y contacto */
.location { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
@media (max-width: 860px) { .location { grid-template-columns: 1fr; } }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 360px; }
.map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(1) contrast(1.05); }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4rem; display: grid; gap: 1rem; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: .6rem; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.contact-list small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .72rem; font-weight: 700; }
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.socials a { width: 46px; height: 46px; border-radius: 2px; border: 1px solid var(--line); display: grid; place-items: center; }
.socials a:hover { border-color: var(--accent); color: var(--accent); }
.socials svg { width: 20px; height: 20px; }

footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .85rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.wa-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #111111; color: #f3efea; border: 1px solid rgba(243,239,234,.45); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.35); z-index: 40; transition: background .2s, color .2s, transform .2s; }
.wa-float:hover { background: #f3efea; color: #111111; transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }
.empty-note { color: var(--muted); font-size: .9rem; }

/* Reserva: política, validaciones y estados */
.politica { font-size: .8rem; color: var(--muted); margin: .8rem 0 0; }
.aviso-politica { border: 1px solid var(--line); background: var(--bg); padding: 1rem 1.1rem; margin: 1rem 0; font-size: .88rem; }
.aviso-politica p { margin: .35rem 0 .8rem; color: var(--muted); }
.aviso-politica b { color: var(--text); font-weight: 500; }
.check { display: flex; gap: .6rem; align-items: flex-start; cursor: pointer; }
.check input { margin-top: .25rem; accent-color: var(--text); width: 16px; height: 16px; flex-shrink: 0; }
.check a { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg.error { color: var(--danger); }
.cal.cargando { opacity: .45; pointer-events: none; }
.aviso-error { background: var(--danger); color: #111; padding: .8rem 16px; text-align: center; position: relative; z-index: 60; }
.foot-links { display: flex; gap: 1.2rem; }
footer a { color: var(--muted); }
