/* ==========================================================================
   Ónix Barber Club — Web pública
   Dirección: quiet luxury editorial + grano fotográfico + acento bronce.
   Los colores y tipografías llegan como variables desde el CMS (Diseño y apariencia).
   ========================================================================== */

:root {
  --bg: #0c0b0a;
  --surface: #161412;
  --text: #f2ece3;
  --accent: #b08d57;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Inter Tight", system-ui, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --radius-btn: 0px;

  --muted: color-mix(in srgb, var(--text) 62%, var(--bg));
  --faint: color-mix(in srgb, var(--text) 38%, var(--bg));
  --line: color-mix(in srgb, var(--text) 13%, transparent);
  --line-strong: color-mix(in srgb, var(--text) 24%, transparent);
  --surface-2: color-mix(in srgb, var(--surface) 82%, var(--text) 4%);
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --on-accent: #0c0b0a;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* Grano de película sobre todo el sitio */
body.has-grain::after {
  content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }

/* ---------- Tipografía ---------- */
.display { font-family: var(--font-display); font-weight: 400; line-height: .98; letter-spacing: -.02em; margin: 0; }
.display em, .rich em { font-style: italic; color: var(--accent); }
.h1 { font-size: clamp(54px, 9.2vw, 148px); }
.h2 { font-size: clamp(42px, 6.2vw, 96px); }
.h3 { font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; }
.eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 46ch; font-weight: 300; }
.muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); letter-spacing: .18em; }
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .sec-head .lead { justify-self: end; }
}

/* ---------- Botones ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 28px;
  border: 1px solid var(--b); border-radius: var(--radius-btn); background: var(--b); color: var(--on-accent);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--b); }
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text); color: var(--text); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 11px; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.link-arrow .ico { transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translate(3px, -3px); }

/* ---------- Navegación ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: 76px; display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.hide { transform: translateY(-100%); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand .word { font-family: var(--font-display); font-size: 28px; line-height: 1; letter-spacing: -.01em; }
.brand .word small { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav-links { display: none; gap: 34px; font-size: 13.5px; color: var(--muted); }
.nav-links a { position: relative; padding: 6px 0; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--accent); transition: right .4s var(--ease); }
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; }
.nav-cta { display: none; }
.burger { width: 46px; height: 46px; display: grid; place-items: center; background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-btn); cursor: pointer; }
.burger span { display: block; width: 18px; height: 1px; background: var(--text); position: relative; transition: transform .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1px; background: var(--text); transition: transform .3s, top .3s; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { top: 0; transform: rotate(45deg); }
.menu-open .burger span::after { top: 0; transform: rotate(-45deg); }
@media (min-width: 1000px) {
  .nav-links, .nav-cta { display: flex; }
  .burger { display: none; }
}
.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 110px var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
  clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--font-display); font-size: clamp(40px, 11vw, 64px); line-height: 1.15; display: flex; align-items: baseline; gap: 16px; border-bottom: 1px solid var(--line); padding: 6px 0; }
.mobile-menu nav a small { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .1em; }
.mobile-menu .mm-foot { display: grid; gap: 14px; color: var(--muted); font-size: 14px; }

/* ---------- Hero ---------- */
.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; padding: 120px 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; opacity: .18; filter: grayscale(1) contrast(1.1); }
.hero-grid { display: grid; gap: 40px; width: 100%; align-items: end; }
.hero-photo { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: kenburns 18s var(--ease) forwards; filter: saturate(.85) contrast(1.05); }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--bg) 55%, transparent) 0%, color-mix(in srgb, var(--bg) 30%, transparent) 40%, var(--bg) 96%); }
@keyframes kenburns { to { transform: scale(1); } }
.hero-copy { padding-bottom: 40px; }
.hero-copy .h1 { margin: 22px 0 28px; max-width: 11ch; }
.hero-copy .lead { margin: 0 0 12px; }
.hero-copy .desc { color: var(--faint); font-size: 14.5px; max-width: 48ch; margin: 0 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); margin-top: 8px; }
.hero-meta div { padding: 22px 0; border-right: 1px solid var(--line); padding-left: 18px; }
.hero-meta div:first-child { padding-left: 0; }
.hero-meta div:last-child { border-right: 0; }
.hero-meta strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1; }
.hero-meta span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hero-side, .hero-vertical { display: none; }
@media (min-width: 1000px) {
  .hero { align-items: center; padding-top: 76px; }
  .hero-photo { left: auto; width: 52%; inset-block: 0; }
  .hero-photo::after { background: linear-gradient(90deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 40%, transparent) 34%, transparent 60%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-copy { padding: 60px 0 0; }
  .hero-side { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; gap: 18px; height: 100%; padding-bottom: 40px; }
  .hero-vertical { display: block; writing-mode: vertical-rl; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .4em; text-transform: uppercase; color: var(--muted); position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); }
}

/* Banners promocionales dentro del hero */
.banners { position: relative; width: min(380px, 100%); display: grid; }
.banners .banner { grid-area: 1 / 1; }
.banner {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; padding: 14px; background: color-mix(in srgb, var(--surface) 78%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line-strong);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.banner:not(.is-active) { opacity: 0; transform: translateY(10px); pointer-events: none; }
.banner img { width: 92px; height: 92px; object-fit: cover; }
.banner .b-badge { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.banner h4 { margin: 4px 0 2px; font-family: var(--font-display); font-weight: 400; font-size: 22px; line-height: 1.05; }
.banner p { margin: 0 0 6px; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.banner .b-price { font-size: 13px; }
.banner .b-price s { color: var(--faint); margin-left: 6px; }
.banner-dots { display: flex; gap: 6px; justify-content: flex-end; margin-top: 10px; }
.banner-dots button { width: 18px; height: 2px; border: 0; padding: 0; background: var(--line-strong); cursor: pointer; transition: background .3s, width .3s; }
.banner-dots button.is-active { background: var(--accent); width: 30px; }
.hero-banners-mobile { margin-top: 28px; }
@media (min-width: 1000px) { .hero-banners-mobile { display: none; } }

/* ---------- Marquesina de frases ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--surface); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; font-style: italic; color: var(--muted); }
.marquee span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Nosotros ---------- */
.about-grid { display: grid; gap: 56px; }
.about-copy .rich p { color: var(--muted); font-size: 17px; max-width: 54ch; margin: 0 0 18px; font-weight: 300; }
.about-copy .rich p:first-child { color: var(--text); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; }
.collage { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(6, minmax(40px, 1fr)); gap: 14px; aspect-ratio: 1 / 1.05; }
.collage figure { margin: 0; overflow: hidden; position: relative; }
.collage figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.collage figure:hover img { transform: scale(1.05); }
.collage .c1 { grid-column: 1 / 5; grid-row: 1 / 5; }
.collage .c2 { grid-column: 5 / 7; grid-row: 2 / 5; }
.collage .c3 { grid-column: 2 / 6; grid-row: 5 / 7; }
.collage .stamp { position: absolute; left: 0; bottom: 0; background: var(--bg); padding: 10px 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: clamp(56px, 7vw, 100px); }
.pillar { background: var(--bg); padding: 36px clamp(22px, 3vw, 40px); }
.pillar .eyebrow { margin-bottom: 18px; }
.pillar p { margin: 0; color: var(--muted); font-weight: 300; }
.quote-block { margin: clamp(56px, 7vw, 100px) auto 0; text-align: center; max-width: 900px; }
.quote-block blockquote { margin: 0; font-family: var(--font-display); font-size: clamp(32px, 4.4vw, 62px); line-height: 1.08; letter-spacing: -.01em; }
.quote-block blockquote::before { content: "“"; display: block; color: var(--accent); font-size: 1.4em; line-height: .6; margin-bottom: 18px; }
.quote-block cite { display: block; margin-top: 22px; font-style: normal; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(56px, 7vw, 120px); }
  .pillars { grid-template-columns: 1fr 1fr; }
}

/* ---------- Servicios: carta editorial ---------- */
.menu-filters, .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 34px; }
.chip { border: 1px solid var(--line-strong); background: transparent; padding: 9px 16px; border-radius: 999px; font-size: 13px; color: var(--muted); cursor: pointer; transition: all .3s var(--ease); }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.services { border-top: 1px solid var(--line); }
.svc {
  display: grid; grid-template-columns: 92px 1fr; gap: 6px 20px; padding: 26px 0; border-bottom: 1px solid var(--line);
  align-items: start; position: relative; transition: background .4s var(--ease);
}
.svc-img { width: 92px; aspect-ratio: 4 / 5; overflow: hidden; grid-row: span 2; background: var(--surface); }
.svc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35); transition: filter .6s var(--ease), transform 1s var(--ease); }
.svc:hover .svc-img img { filter: none; transform: scale(1.06); }
.svc-main h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; margin: 0 0 8px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.svc-main p { margin: 0; color: var(--muted); font-size: 14.5px; max-width: 58ch; font-weight: 300; }
.tag { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); padding: 4px 8px; line-height: 1; }
.svc-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.svc-meta .dur { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .1em; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.svc-meta .price { font-family: var(--font-display); font-size: clamp(28px, 2.6vw, 36px); line-height: 1; }
.svc-cat { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); margin-bottom: 6px; display: block; }
@media (min-width: 900px) {
  .svc { grid-template-columns: 40px 132px 1fr auto auto auto; gap: 34px; align-items: center; padding: 30px 0; }
  .svc::before { counter-increment: svc; content: counter(svc, decimal-leading-zero); font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
  .services { counter-reset: svc; }
  .svc-img { width: 132px; grid-row: auto; }
  .svc-meta { display: contents; }
  .svc-meta .dur { justify-self: end; }
  .svc-meta .price { min-width: 120px; text-align: right; }
  .svc:hover { background: linear-gradient(90deg, transparent, var(--accent-soft) 50%, transparent); }
}
@media (min-width: 900px) { .svc-row-actions { display: flex; align-items: center; gap: 34px; } }

/* ---------- Promociones ---------- */
.promos { display: grid; gap: 20px; }
.promo { display: grid; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.promo-img { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.promo-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.promo:hover .promo-img img { transform: scale(1.05); }
.promo .badge { position: absolute; top: 16px; left: 16px; background: var(--accent); color: var(--on-accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; }
.promo-body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.promo-body h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1.02; }
.promo-body .sub { color: var(--accent); font-size: 14px; margin: 0; }
.promo-body p { color: var(--muted); margin: 0; font-size: 14.5px; font-weight: 300; }
.promo-foot { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.promo-price { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.promo-price s { font-family: var(--font-body); font-size: 15px; color: var(--faint); margin-left: 8px; }
.promo-until { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); display: block; margin-top: 8px; }
@media (min-width: 760px) { .promos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .promos.n3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Galería ---------- */
.gallery { columns: 2 160px; column-gap: 12px; }
.g-item { break-inside: avoid; margin: 0 0 12px; position: relative; overflow: hidden; cursor: zoom-in; display: block; width: 100%; padding: 0; border: 0; background: var(--surface); }
.g-item img { width: 100%; height: auto; transition: transform 1.1s var(--ease), filter .6s; filter: saturate(.85); }
.g-item:hover img { transform: scale(1.05); filter: none; }
.g-item figcaption { position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(0,0,0,.8)); text-align: left; transform: translateY(100%); transition: transform .5s var(--ease); }
.g-item:hover figcaption, .g-item:focus-visible figcaption { transform: none; }
.g-item figcaption strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; color: #fff; }
.g-item figcaption span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.g-item.is-hidden { display: none; }
@media (min-width: 760px) { .gallery { columns: 3; column-gap: 16px; } .g-item { margin-bottom: 16px; } }
@media (min-width: 1200px) { .gallery { columns: 4; } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,5,4,.96); display: grid; grid-template-rows: auto 1fr auto; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.lb-stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; position: relative; touch-action: pan-y; }
.lb-stage img { position: absolute; inset: 0; margin: auto; width: auto; height: auto; max-width: calc(100% - 2 * var(--gutter) - 150px); max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
@media (max-width: 700px) { .lb-stage img { max-width: calc(100% - 2 * var(--gutter)); } }
.lb-cap { text-align: center; padding: 18px var(--gutter) 26px; }
.lb-cap strong { font-family: var(--font-display); font-weight: 400; font-size: 28px; display: block; }
.lb-cap span { color: var(--muted); font-size: 14px; }
.lb-btn { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line-strong); color: var(--text); cursor: pointer; border-radius: 50%; transition: border-color .3s, background .3s; }
.lb-btn:hover { border-color: var(--accent); background: var(--accent-soft); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.lb-prev { left: var(--gutter); } .lb-next { right: var(--gutter); }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: -64px; transform: none; } .lb-prev { left: 30%; } .lb-next { right: 30%; } .lb-cap { padding-top: 80px; } }

/* ---------- Equipo ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.member { position: relative; }
.member-photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); position: relative; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: filter .9s var(--ease), transform 1.4s var(--ease); }
.member:hover .member-photo img { filter: grayscale(0); transform: scale(1.04); }
.member-photo .yrs { position: absolute; top: 14px; right: 14px; background: color-mix(in srgb, var(--bg) 75%, transparent); backdrop-filter: blur(8px); padding: 8px 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.member-body { padding: 18px 0 0; }
.member-body h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.05; }
.member-body .spec { color: var(--accent); font-size: 13px; margin: 6px 0 10px; }
.member-body p { color: var(--muted); font-size: 13.5px; margin: 0 0 14px; font-weight: 300; display: none; }
.member-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.member-links .ig { font-size: 13px; color: var(--muted); display: inline-flex; gap: 6px; align-items: center; }
@media (min-width: 760px) { .member-body p { display: block; } }
@media (min-width: 1100px) { .team { grid-template-columns: repeat(4, 1fr); gap: 22px; } .team.n3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Testimonios ---------- */
.reviews { display: grid; gap: 40px; }
.rating-card { border: 1px solid var(--line); padding: 34px; display: grid; gap: 10px; align-content: start; background: var(--surface); }
.rating-card .big { font-family: var(--font-display); font-size: 96px; line-height: .9; }
.rating-card .big small { font-size: 32px; color: var(--faint); }
.stars { display: inline-flex; gap: 3px; color: var(--accent); }
.stars .ico { width: 16px; height: 16px; fill: currentColor; }
.stars .off { color: var(--line-strong); fill: none; }
.r-slider { position: relative; overflow: hidden; }
.r-track { display: flex; transition: transform .8s var(--ease); }
.r-slide { flex: 0 0 100%; padding-right: 4px; }
.r-slide blockquote { margin: 18px 0 26px; font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.01em; }
.r-author { display: flex; align-items: center; gap: 14px; }
.r-author img, .r-author .ini { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.r-author .ini { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-size: 22px; }
.r-author strong { display: block; font-weight: 500; }
.r-author span { color: var(--muted); font-size: 13px; }
.r-nav { display: flex; gap: 10px; margin-top: 34px; align-items: center; }
.r-count { font-family: var(--font-mono); font-size: 12px; color: var(--muted); margin-left: 8px; letter-spacing: .1em; }
@media (min-width: 900px) { .reviews { grid-template-columns: 340px 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--font-display); font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; display: grid; place-items: center; flex: none; transition: transform .4s var(--ease), background .3s, border-color .3s; }
.faq summary .pm::before { content: "+"; font-family: var(--font-body); font-size: 18px; line-height: 1; }
.faq details[open] summary .pm { transform: rotate(45deg); border-color: var(--accent); background: var(--accent-soft); }
.faq .ans { padding: 0 0 28px; color: var(--muted); max-width: 68ch; font-weight: 300; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 80px; } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; gap: 20px; }
.loc-card { border: 1px solid var(--line); background: var(--surface); display: grid; }
.loc-card .loc-img { aspect-ratio: 16 / 9; overflow: hidden; }
.loc-card .loc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); }
.loc-body { padding: 28px; display: grid; gap: 18px; }
.loc-body h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; }
.loc-row { display: flex; gap: 14px; color: var(--muted); font-size: 14.5px; align-items: flex-start; }
.loc-row .ico { color: var(--accent); margin-top: 3px; }
.loc-hours { white-space: pre-line; }
.loc-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 6px; }
.neon { color: var(--accent); text-shadow: 0 0 6px color-mix(in srgb, var(--accent) 80%, transparent), 0 0 22px color-mix(in srgb, var(--accent) 50%, transparent); animation: flicker 6s infinite; font-family: var(--font-mono); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
@keyframes flicker { 0%, 92%, 100% { opacity: 1 } 93% { opacity: .4 } 94% { opacity: 1 } 96% { opacity: .55 } 97% { opacity: 1 } }
.map { border: 1px solid var(--line); min-height: 380px; position: relative; overflow: hidden; background: var(--surface); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) brightness(.95); }
.hours-table { display: grid; gap: 0; border-top: 1px solid var(--line); }
.hours-table div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.hours-table div span:last-child { color: var(--muted); font-family: var(--font-mono); font-size: 13px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } .contact-grid.n1 { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA final ---------- */
.cta { position: relative; padding: clamp(120px, 16vw, 220px) 0; text-align: center; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5) brightness(.45); }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--bg) 40%, transparent), var(--bg) 85%); }
.cta .h2 { margin: 18px auto 18px; max-width: 14ch; }
.cta p { color: var(--muted); margin: 0 auto 36px; max-width: 46ch; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 80px 0 32px; background: var(--surface); }
.footer-grid { display: grid; gap: 44px; }
.footer h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin: 0 0 18px; font-weight: 400; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.footer ul a:hover { color: var(--text); }
.footer .f-brand p { color: var(--muted); max-width: 36ch; font-size: 14.5px; margin: 20px 0 24px; font-weight: 300; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); transition: all .3s; }
.socials a:hover { color: var(--accent); border-color: var(--accent); }
/* El nombre se escala por JS para ocupar exactamente el ancho del contenedor (site.js → fitFooterName). */
.footer-big { font-family: var(--font-display); line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin: 64px 0 24px; white-space: nowrap; overflow: hidden; user-select: none; text-align: center; padding-top: .12em; }
.footer-big span { display: inline-block; font-size: clamp(48px, 11vw, 200px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--faint); border-top: 1px solid var(--line); padding-top: 24px; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: #1f9d55; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 26px; height: 26px; }

/* ---------- Animaciones de entrada ---------- */
.anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.anim .reveal.in { opacity: 1; transform: none; }
.anim .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease); transition-delay: var(--d, 0s); }
.anim .reveal-img.in { clip-path: inset(0 0 0 0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .anim .reveal, .anim .reveal-img { opacity: 1; transform: none; clip-path: none; }
}

/* ==========================================================================
   Reserva
   ========================================================================== */
.bk { padding: 120px 0 80px; min-height: 100svh; }
.bk-head { margin-bottom: 40px; }
.bk-head .h2 { margin-top: 16px; font-size: clamp(42px, 6vw, 80px); }
.bk-layout { display: grid; gap: 30px; align-items: start; grid-template-columns: minmax(0, 1fr); }
.bk-layout > * { min-width: 0; }
.steps { display: flex; gap: 6px; margin-bottom: 30px; overflow-x: auto; scrollbar-width: none; }
.steps::-webkit-scrollbar { display: none; }
.steps li { list-style: none; flex: 1 0 auto; min-width: 72px; }
.steps button { width: 100%; background: none; border: 0; padding: 0 0 10px; text-align: left; border-bottom: 2px solid var(--line); cursor: default; color: var(--faint); font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; transition: color .3s, border-color .3s; }
.steps button b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 22px; letter-spacing: 0; text-transform: none; }
.steps li.done button { color: var(--muted); border-color: color-mix(in srgb, var(--accent) 50%, transparent); cursor: pointer; }
.steps li.current button { color: var(--text); border-color: var(--accent); }
.steps ul { display: flex; padding: 0; margin: 0; gap: 6px; width: 100%; }
.panel { display: none; animation: fadeUp .5s var(--ease); }
.panel.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.panel h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); margin: 0 0 6px; line-height: 1.05; }
.panel > p.muted { margin: 0 0 26px; }
.opts { display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; width: 100%; transition: border-color .3s, background .3s; position: relative; }
.opt:hover { border-color: var(--line-strong); }
.opt.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.opt.selected::after { content: ""; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.opt img, .opt .ph { width: 64px; height: 64px; object-fit: cover; background: var(--surface-2); }
.opt.round img, .opt.round .ph { border-radius: 50%; }
.opt .ph { display: grid; place-items: center; color: var(--accent); }
.opt strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.1; }
.opt small { color: var(--muted); font-size: 13px; display: block; margin-top: 2px; }
.opt .right { text-align: right; font-family: var(--font-display); font-size: 24px; white-space: nowrap; }
.opt .right small { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; }
@media (min-width: 700px) { .opts.cols { grid-template-columns: 1fr 1fr; } }

.days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.day { flex: 0 0 74px; scroll-snap-align: start; border: 1px solid var(--line); background: var(--surface); padding: 12px 6px; text-align: center; cursor: pointer; transition: all .25s; }
.day span { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.day b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.1; }
.day i { font-style: normal; font-size: 10.5px; color: var(--faint); }
.day:hover:not([disabled]) { border-color: var(--line-strong); }
.day.selected { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.day.selected span, .day.selected i { color: var(--on-accent); }
.day[disabled] { opacity: .32; cursor: not-allowed; text-decoration: line-through; }
.month-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.slots-wrap { margin-top: 28px; }
.slot-group h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); font-weight: 400; margin: 18px 0 10px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 8px; }
.slot { border: 1px solid var(--line); background: var(--surface); padding: 12px 0; text-align: center; cursor: pointer; font-family: var(--font-mono); font-size: 14px; transition: all .2s; }
.slot:hover { border-color: var(--accent); }
.slot.selected { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.empty { padding: 28px; border: 1px dashed var(--line-strong); text-align: center; color: var(--muted); }
.loading { display: flex; align-items: center; gap: 10px; color: var(--muted); padding: 20px 0; font-size: 14px; }
.spinner { width: 18px; height: 18px; border: 2px solid var(--line-strong); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea { width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 18px; padding: 12px 0; border-radius: 0; transition: border-color .3s; }
.field textarea { resize: vertical; min-height: 80px; font-size: 16px; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field .err { color: #e8826b; font-size: 13px; }
.field.has-error input { border-color: #e8826b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.panel-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.alert { padding: 14px 18px; border: 1px solid; font-size: 14px; margin-bottom: 20px; display: flex; gap: 10px; align-items: flex-start; }
.alert-error { border-color: color-mix(in srgb, #e8826b 60%, transparent); background: color-mix(in srgb, #e8826b 10%, transparent); color: #f3b5a6; }
.alert-info { border-color: var(--line-strong); color: var(--muted); }

.summary { border: 1px solid var(--line); background: var(--surface); padding: 26px; position: sticky; top: 100px; }
.summary h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); font-weight: 400; margin: 0 0 18px; }
.summary dl { margin: 0; display: grid; gap: 0; }
.summary dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 18px; }
.summary .total b { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; }
.summary .note { font-size: 12.5px; color: var(--faint); margin: 16px 0 0; }
.mobile-bar { position: fixed; inset: auto 0 0 0; z-index: 30; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 12px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.mobile-bar .mb-info { font-size: 13px; color: var(--muted); line-height: 1.3; min-width: 0; }
.mobile-bar .mb-info b { display: block; color: var(--text); font-family: var(--font-display); font-weight: 400; font-size: 22px; }
.bk.has-bar { padding-bottom: 120px; }
@media (min-width: 1000px) {
  .bk-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 60px; }
  .mobile-bar { display: none; }
  .bk.has-bar { padding-bottom: 80px; }
}
@media (max-width: 999px) { .summary { display: none; } }

.success { text-align: center; padding: 40px 0; max-width: 620px; margin: 0 auto; }
.success .check { width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--accent); display: grid; place-items: center; margin: 0 auto 26px; color: var(--accent); }
.success .check .ico { width: 36px; height: 36px; }
.success .code { font-family: var(--font-mono); font-size: 26px; letter-spacing: .24em; color: var(--accent); border: 1px dashed var(--accent); padding: 14px 22px; display: inline-block; margin: 18px 0 26px; }
.success dl { text-align: left; border-top: 1px solid var(--line); margin: 0 0 30px; }
.success dl div { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 16px; }
.success dt { color: var(--muted); }
.success dd { margin: 0; text-align: right; }
.success .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* 404 */
.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); }
.notfound .h1 { font-size: clamp(120px, 22vw, 280px); color: transparent; -webkit-text-stroke: 1px var(--accent); }
[hidden] { display: none !important; }

.contact-intro { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 420px; }

/* ==========================================================================
   Fidelidad: tarjeta de sellos, página del cliente y sección de portada
   ========================================================================== */
.lcard {
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.586; width: 100%; max-width: 520px;
  padding: clamp(20px, 4vw, 30px); display: flex; flex-direction: column; justify-content: space-between; gap: 16px;
  background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%), linear-gradient(150deg, color-mix(in srgb, var(--surface) 92%, var(--text) 6%), var(--bg));
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 18px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8), inset 0 1px 0 color-mix(in srgb, var(--text) 10%, transparent);
}
.lcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(115deg, transparent 0 18px, color-mix(in srgb, var(--text) 2.5%, transparent) 18px 19px); }
.lcard-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.3); }
.lcard-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.lcard-brand { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.lcard-title { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(24px, 4vw, 32px); line-height: 1.05; margin-top: 6px; }
.lcard-count { font-family: var(--font-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.lcard-count b { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 4.4vw, 38px); color: var(--text); }
.lcard-slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--cols), 1fr); gap: clamp(8px, 1.6vw, 12px); }
.slot { aspect-ratio: 1; max-height: 64px; border-radius: 50%; display: grid; place-items: center; justify-self: center; width: 100%; max-width: 64px;
  border: 1px dashed color-mix(in srgb, var(--text) 28%, transparent); color: var(--faint); font-family: var(--font-mono); font-size: 12px; transition: transform .4s var(--ease, ease); }
.slot .ico { width: 44%; height: 44%; }
.slot.prize { border-style: solid; border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); }
.slot.on { border: 0; background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 100%, #fff 18%), var(--accent) 60%, color-mix(in srgb, var(--accent) 70%, #000)); color: var(--on-accent);
  box-shadow: 0 6px 18px -6px color-mix(in srgb, var(--accent) 70%, transparent), inset 0 0 0 2px color-mix(in srgb, #000 12%, transparent); }
.slot.on .ico { transform: rotate(-18deg); }
.slot.new { animation: lc-stamp .7s cubic-bezier(.2, 1.4, .4, 1) both; animation-delay: calc(.25s + (var(--i) * 0s)); }
@keyframes lc-stamp { 0% { transform: scale(2.2) rotate(-24deg); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
.lcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lcard-foot span:first-child { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard-foot span:last-child { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); white-space: nowrap; }
.lcard-foot .ico { width: 14px; height: 14px; }
.lcard.is-demo .slot.on { opacity: .92; }

.lc { padding: 130px 0 90px; min-height: 100svh; }
.lc-head { margin-bottom: 36px; max-width: 760px; }
.lc-head .h2 { margin: 16px 0 18px; font-size: clamp(42px, 6vw, 80px); }
.lc-grid { display: grid; gap: 34px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.lc-grid > * { min-width: 0; }
@media (min-width: 960px) { .lc-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; } .lc-card-col { position: sticky; top: 110px; } }
.lc-progress { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.lc-progress b { color: var(--text); font-weight: 500; }
.lc-side { display: grid; gap: 14px; }
.lc-box { border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); padding: clamp(18px, 3vw, 26px); }
.lc-box-title { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 0 0 10px; }
.lc-box-title small { font-family: var(--font-body); font-size: 13px; color: var(--faint); margin-left: 6px; }
.lc-box .muted { margin: 0; }
.g-btn-wrap { margin-top: 20px; min-height: 44px; }
.lc-pill { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 6px 12px; border: 1px solid var(--accent); color: var(--accent); font-size: 13px; }
.lc-pill .ico { width: 15px; height: 15px; }
.lc-user { display: flex; align-items: center; gap: 14px; }
.lc-user img, .lc-ini { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--line-strong); }
.lc-ini { display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-family: var(--font-display); font-size: 24px; }
.lc-user > div { flex: 1; min-width: 0; }
.lc-user > div b { display: block; font-weight: 500; font-size: 17px; }
.lc-user > div span { display: block; color: var(--faint); font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.lc-link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 6px 0; }
.lc-link:hover { color: var(--accent); }
.lc-rewards { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 10px; }
.lc-rewards li { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; padding: 14px; border: 1px solid var(--line); opacity: .6; }
.lc-rewards li.is-on { opacity: 1; border-color: color-mix(in srgb, var(--accent) 60%, transparent); background: var(--accent-soft); }
.lc-rewards b { display: block; font-weight: 500; }
.lc-rewards span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.lc-code { font-family: var(--font-mono); font-size: clamp(16px, 2.4vw, 20px); letter-spacing: .12em; color: var(--text); grid-row: span 2; align-self: center; }
.lc-rewards li.is-on .lc-code { color: var(--accent); }
.lc-badge { font-style: normal; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.lc-badge.ok { color: var(--accent); }
.lc-phone { display: flex; gap: 10px; margin-top: 14px; }
.lc-phone input { flex: 1; min-width: 0; height: 42px; padding: 0 14px; background: transparent; border: 1px solid var(--line-strong); color: var(--text); font: inherit; font-size: 15px; border-radius: var(--radius-btn); }
.lc-phone input:focus { outline: 0; border-color: var(--accent); }
.lc-history { list-style: none; margin: 0; padding: 0; }
.lc-history li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.lc-history li:last-child { border-bottom: 0; }
.lc-history li span { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.lc-history .ico { width: 16px; height: 16px; color: var(--accent); }
.lc-history time { font-family: var(--font-mono); font-size: 12px; }
.lc-steps { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.lc-steps li { display: flex; gap: 18px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.lc-steps li span { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .14em; }
.lc-terms { font-size: 12.5px; color: var(--faint); margin: 6px 0 0; line-height: 1.6; }
.lc-cta { margin: 6px 0 0; }
.lc-banner { display: flex; gap: 16px; align-items: center; padding: 18px 20px; margin-bottom: 30px; border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); background: var(--accent-soft); animation: lc-in .5s ease both; }
.lc-banner b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.1; }
.lc-banner span { color: var(--muted); font-size: 14.5px; }
.lc-banner strong { color: var(--accent); font-family: var(--font-mono); letter-spacing: .1em; font-weight: 500; }
.lc-banner-ico { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent) !important; }
.lc-banner-ico .ico { width: 22px; height: 22px; }
.lc-banner.is-error { border-color: color-mix(in srgb, #e8826b 60%, transparent); background: color-mix(in srgb, #e8826b 10%, transparent); }
.lc-banner.is-error .lc-banner-ico { background: #e8826b; color: #1a0d0a !important; }
@keyframes lc-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.lc-status { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line-strong); font-size: 14.5px; }
.lc-status.ok { border-color: var(--accent); color: var(--accent); }
.lc-status.error { border-color: color-mix(in srgb, #e8826b 60%, transparent); color: #f3b5a6; background: color-mix(in srgb, #e8826b 8%, transparent); }
.lc-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: lc-spin .8s linear infinite; flex: none; }
@keyframes lc-spin { to { transform: rotate(360deg); } }

/* Portada */
.loy-grid { display: grid; gap: 48px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .loy-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; } }
.loy-grid .h2 { margin: 20px 0 22px; }
.loy-steps { list-style: none; margin: 30px 0 34px; padding: 0; border-top: 1px solid var(--line); }
.loy-steps li { display: flex; gap: 20px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.loy-steps li span { font-family: var(--font-mono); font-size: 11px; color: var(--accent); letter-spacing: .14em; }
.loy-visual { position: relative; display: grid; justify-items: center; perspective: 1200px; }
.loy-visual .lcard { transform: rotate(-4deg); transition: transform .8s var(--ease, ease); }
.loy-visual:hover .lcard { transform: rotate(-1deg) translateY(-6px); }
.loy-visual::before { content: ""; position: absolute; inset: 12% 6% -6%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); filter: blur(30px); z-index: -1; }

/* Acceso a la tarjeta en el menú */
.nav-card { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--radius-btn); color: var(--text); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; transition: border-color .3s, color .3s; }
.nav-card:hover { border-color: var(--accent); color: var(--accent); }
.nav-card .ico { width: 17px; height: 17px; }
.nav-card img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.nav-card span { display: none; }
@media (min-width: 1100px) { .nav-card span { display: inline; } }
.bk-loyal { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-bottom: 18px; border: 1px solid color-mix(in srgb, var(--accent) 50%%, transparent); background: var(--accent-soft); font-size: 14px; color: var(--muted); }
.bk-loyal .ico { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
.bk-loyal b { color: var(--text); font-weight: 500; }
.bk-loyal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.bk-loyal.is-off { border-color: var(--line); background: transparent; }
@media (max-width: 560px) {
  .lcard { aspect-ratio: auto; gap: 18px; }
  .slot { max-width: 52px; }
  .lc-rewards li { grid-template-columns: 1fr; }
  .lc-code { grid-row: auto; }
  .lc-user { flex-wrap: wrap; }
}
