/* =====================================================================
   UMBRAL — Estudio de páginas web
   Hoja de estilos única. Secciones:
   1. Tokens · 2. Base · 3. Utilidades · 4. Componentes · 5. Navegación
   6. Inicio · 7. Nosotros · 8. Servicios · 9. Demos (marco + 8 mini webs)
   10. Por qué · 11. Proceso · 12. Contacto · 13. Pie · 14. Efectos
   15. Responsive · 16. Movimiento reducido
   ===================================================================== */

/* =========================== 1. TOKENS =========================== */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #18181b;
  --ink: #f3f2ee;
  --ink-2: #c9c8c3;
  --mute: #9a99a0;
  --dim: #65646b;
  --line: rgba(243, 242, 238, 0.1);
  --line-2: rgba(243, 242, 238, 0.2);
  --accent: #d4ff4a;
  --accent-2: #e4ff8f;
  --accent-ink: #0a0a0b;
  --indigo: #3b2dff;
  --violet: #7a3cff;
  --wa: #25d366;

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --nav-h: 72px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  interpolate-size: allow-keywords;
}

/* =========================== 2. BASE =========================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  background: var(--bg);
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-weight: 400; text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; }
em { font-style: italic; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* =========================== 3. UTILIDADES =========================== */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink);
  border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* =========================== 4. COMPONENTES =========================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .8rem 1.3rem; border-radius: 999px;
  font-size: .95rem; font-weight: 500; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent;
  transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s, box-shadow .4s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .5s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(212, 255, 74, .55); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: rgba(243, 242, 238, .02); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(243, 242, 238, .06); transform: translateY(-2px); }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1rem; }

.kicker {
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2);
}
.dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 rgba(212, 255, 74, .6);
  animation: dotPulse 2.4s var(--ease-soft) infinite;
}

.label {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute);
}
.label span { color: var(--accent); }
.label::after { content: ""; flex: 0 0 3rem; height: 1px; background: var(--line-2); }

.h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.6rem, 6.4vw, 5.8rem); line-height: .98; letter-spacing: -0.02em;
  max-width: 15ch;
}
.h2 em { color: #b9b8c2; }

.section { position: relative; padding-block: clamp(5.5rem, 12vw, 10rem); }
.section-head { display: grid; gap: 1.4rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.section-intro { color: var(--ink-2); font-size: 1.12rem; max-width: 38rem; }

/* =========================== 5. NAVEGACIÓN =========================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  transition: transform .6s var(--ease-out), background-color .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, .88);
  border-bottom-color: var(--line);
}
@supports (backdrop-filter: blur(12px)) {
  .nav.is-scrolled { background: rgba(10, 10, 11, .62); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%); }
}
.nav.is-hidden { transform: translateY(-100%); }
.nav-inner {
  height: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .55rem; color: var(--ink); }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-family: var(--serif); font-size: 1.7rem; line-height: 1; letter-spacing: -0.01em; transform: translateY(-1px); }
.nav-links { display: none; gap: 2rem; margin-left: auto; font-size: .94rem; color: var(--ink-2); }
.nav-links a { position: relative; padding-block: .3rem; transition: color .3s; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; margin-left: auto; }
.nav-toggle {
  margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center;
}
.nav-toggle-bars, .nav-toggle-bars::before {
  display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 2px;
  transition: transform .5s var(--ease-out);
}
.nav-toggle-bars { position: relative; transform: translateY(-3px); }
.nav-toggle-bars::before { content: ""; position: absolute; left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { transform: translateY(0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(-6px) rotate(-90deg); }

.menu-movil {
  position: fixed; inset: 0; z-index: 90;
  background: var(--bg);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; clip-path: inset(0 0 100% 0);
  transition: opacity .4s, clip-path .7s var(--ease-out);
}
.menu-movil.is-open { opacity: 1; clip-path: inset(0 0 0 0); }
.menu-movil[hidden] { display: none; }
.menu-movil nav { display: grid; }
.menu-movil nav a {
  display: flex; align-items: baseline; gap: 1rem;
  font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: 1.15;
  border-bottom: 1px solid var(--line); padding-block: .35rem;
}
.menu-movil nav a span { font-family: var(--mono); font-size: .75rem; color: var(--accent); }
.menu-movil-cta { width: 100%; }
.menu-movil-cta svg { width: 22px; height: 22px; }

/* =========================== 6. INICIO =========================== */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: clip;
}
.hero-glow { position: absolute; inset: 0; z-index: -3; pointer-events: none; }
.glow {
  position: absolute; left: 50%; top: 50%;
  border-radius: 50%;
  mix-blend-mode: screen;
  will-change: transform;
}
.glow-a {
  width: 78vmax; height: 78vmax; margin: -39vmax 0 0 -39vmax;
  background: radial-gradient(circle, rgba(59, 45, 255, .62) 0%, rgba(59, 45, 255, .18) 38%, transparent 66%);
  transform: translate3d(18vw, -12vh, 0);
}
.glow-b {
  width: 36vmax; height: 36vmax; margin: -18vmax 0 0 -18vmax;
  background: radial-gradient(circle, rgba(212, 255, 74, .30) 0%, rgba(212, 255, 74, .08) 42%, transparent 68%);
  transform: translate3d(28vw, -4vh, 0);
}
.glow-c {
  width: 62vmax; height: 62vmax; margin: -31vmax 0 0 -31vmax;
  background: radial-gradient(circle, rgba(122, 60, 255, .42) 0%, rgba(122, 60, 255, .1) 40%, transparent 66%);
  transform: translate3d(-30vw, 30vh, 0);
  animation: driftC 22s ease-in-out infinite alternate;
}
.hero-grain {
  position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: .09; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-lines {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: calc((100% - 2 * var(--gutter)) / 4) 100%;
  background-position: var(--gutter) 0;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  opacity: .55;
}
.hero-inner {
  position: relative;
  padding-top: calc(var(--nav-h) + 3rem);
  padding-bottom: clamp(4.5rem, 9vh, 7rem);
}
.hero-kicker { margin-bottom: clamp(1.25rem, 3vh, 2rem); }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.4rem, min(16vw, 20vh), 12.8rem);
  line-height: .9; letter-spacing: -0.03em;
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.hero-title .line > span { display: inline-block; animation: lineUp 1.2s var(--ease-out) both; }
.hero-title .line:nth-child(1) > span { animation-delay: .1s; }
.hero-title .line:nth-child(2) > span { animation-delay: .22s; }
.hero-title .line:nth-child(3) > span { animation-delay: .34s; }
.hero-title em { color: var(--accent); padding-right: .06em; }

.hero-foot {
  display: grid; gap: 2rem; margin-top: clamp(2rem, 5vh, 3.5rem);
  animation: fadeUp 1.1s .55s var(--ease-out) both;
}
.hero-cycle { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: var(--ink); line-height: 1.35; }
.cycler { display: inline-grid; vertical-align: bottom; white-space: nowrap; }
.cycler-word {
  grid-area: 1 / 1;
  font-family: var(--serif); font-style: italic; font-size: 1.32em; line-height: 1;
  color: var(--accent);
  opacity: 0; transform: translateY(55%);
  transition: opacity .55s var(--ease-out), transform .7s var(--ease-out);
}
.cycler-word.is-on { opacity: 1; transform: none; }
.cycler-word.is-out { opacity: 0; transform: translateY(-55%); }
.hero-sub { color: var(--ink-2); max-width: 34rem; margin-top: .9rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-badge {
  position: absolute; right: var(--gutter); top: calc(var(--nav-h) + 7vh);
  width: 128px; height: 128px; display: none; color: var(--ink);
  animation: fadeUp 1.2s .8s var(--ease-out) both;
}
.hero-badge text {
  font-family: var(--mono); font-size: 9.6px; letter-spacing: .2em; text-transform: uppercase;
  fill: var(--ink-2);
}
.hero-badge text, .hero-badge textPath { transform-origin: 60px 60px; }
.hero-badge > text { animation: spin 26s linear infinite; transform-box: view-box; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  display: none; flex-direction: column; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute);
}
.hero-scroll i { width: 1px; height: 38px; background: linear-gradient(var(--ink), transparent); transform-origin: top; animation: scrollCue 2.4s var(--ease-out) infinite; }

/* =========================== 7. NOSOTROS =========================== */
.manifesto .label { margin-bottom: clamp(2rem, 4vw, 3rem); }
.manifesto-text {
  font-size: clamp(1.55rem, 3.3vw, 2.85rem); font-weight: 300; line-height: 1.24; letter-spacing: -0.015em;
  max-width: 30em;
}
.manifesto-text .w { opacity: .2; transition: opacity .45s var(--ease-soft); }
.manifesto-text .w.is-lit { opacity: 1; }
.manifesto-cols {
  display: grid; gap: 2rem; margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2rem; border-top: 1px solid var(--line);
}
.mini-title {
  font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .7rem; line-height: 1.4;
}
.manifesto-cols p { color: var(--ink-2); max-width: 34rem; }

/* =========================== 8. SERVICIOS =========================== */
.svc-list { border-bottom: 1px solid var(--line); }
.svc { border-top: 1px solid var(--line); }
.svc summary {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: center; gap: 1rem;
  padding-block: 1.45rem; cursor: pointer; list-style: none;
  transition: color .35s, padding .5s var(--ease-out);
}
.svc summary::-webkit-details-marker { display: none; }
.svc summary::before {
  content: ""; position: absolute; inset: 0 -1rem; z-index: -1; border-radius: 4px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .55s var(--ease-out);
}
.svc-num { font-family: var(--mono); font-size: .8rem; color: var(--mute); transition: color .35s; }
.svc-name { font-family: var(--serif); font-size: clamp(2rem, 5.4vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; }
.svc-line { display: none; color: var(--mute); transition: color .35s; }
.svc-icon {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2);
  display: grid; place-items: center; transition: transform .6s var(--ease-out), border-color .35s, background-color .35s;
}
.svc-icon svg { width: 20px; height: 20px; }
.svc[open] .svc-icon { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.svc[open] .svc-name { font-style: italic; color: var(--accent); }

.svc-body { padding: .25rem 0 2.25rem 3.6rem; }
.svc-feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .6rem; }
.svc-feats li {
  display: flex; align-items: center; gap: .65rem;
  padding: .9rem 1rem; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2);
  color: var(--ink-2); font-size: .96rem;
}
.svc-feats svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.svc-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }

.svc::details-content {
  block-size: 0; overflow: hidden;
  transition: block-size .6s var(--ease-out), content-visibility .6s allow-discrete;
}
.svc[open]::details-content { block-size: auto; }

/* =========================== 9. DEMOS =========================== */
.demo-tabs {
  display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none;
  padding: .25rem .25rem .9rem; margin: 0 -.25rem .5rem;
  scroll-snap-type: x proximity;
}
.demo-tabs::-webkit-scrollbar { display: none; }
.demo-tab {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .7rem 1.05rem; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .94rem; color: var(--ink-2);
  transition: background-color .35s, color .35s, border-color .35s, transform .4s var(--ease-out);
}
.demo-tab svg { width: 18px; height: 18px; }
.demo-tab:hover { border-color: var(--ink); color: var(--ink); }
.demo-tab[aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.browser {
  position: relative; border-radius: 20px; overflow: clip;
  border: 1px solid var(--line-2); background: #141416;
  box-shadow: 0 50px 120px -50px rgba(59, 45, 255, .55), 0 30px 60px -40px rgba(0, 0, 0, .8);
}
.browser-bar {
  display: flex; align-items: center; gap: 1rem;
  padding: .7rem 1rem; background: #1a1a1d; border-bottom: 1px solid var(--line);
}
.browser-dots { display: flex; gap: 6px; flex: none; }
.browser-dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1; max-width: 440px; margin-inline: auto; min-width: 0;
  display: flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .42rem .9rem; border-radius: 8px; background: #0e0e10;
  font-family: var(--mono); font-size: .78rem; color: var(--mute);
}
.browser-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.browser-url svg { width: 13px; height: 13px; flex: none; color: #28c840; }
.browser-tag {
  flex: none; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  padding: .22rem .6rem; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent);
}
.browser-view { position: relative; container-type: inline-size; }

.demo-panel + .demo-panel { border-top: 1px solid var(--line); }
.js .demo-panel { display: none; border-top: 0; }
.js .demo-panel.is-active { display: block; animation: demoIn .6s var(--ease-out) both; }

.demo-toast {
  position: absolute; left: 50%; bottom: 1.1rem; z-index: 5;
  width: max-content; max-width: min(92%, 460px);
  display: flex; align-items: flex-start; gap: .65rem;
  padding: .85rem 1.1rem; border-radius: 14px;
  background: rgba(10, 10, 11, .96); color: var(--ink); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .7);
  font-size: .9rem; line-height: 1.4;
  opacity: 0; transform: translate(-50%, 140%); pointer-events: none;
  transition: opacity .35s, transform .6s var(--ease-out);
}
.demo-toast::before {
  content: "Demo"; flex: none; margin-top: .1rem;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .15rem .45rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
}
.demo-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.demos-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: 1.5rem; }
.demos-note { color: var(--mute); font-size: .9rem; max-width: 34rem; }

/* ---------- Mini webs: base compartida ---------- */
.d {
  --d-line: rgba(0, 0, 0, .1);
  min-height: 540px;
  padding: clamp(1rem, 3.2cqi, 2rem);
  font-family: var(--sans); font-size: 15px; line-height: 1.45;
}
.d button { transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease-out), opacity .25s; }
.d button:active { transform: scale(.97); }
.d button:disabled { cursor: not-allowed; }
.d-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem;
  padding-bottom: 1rem; margin-bottom: 1.25rem; border-bottom: 1px solid var(--d-line);
}
.d-logo { display: inline-flex; align-items: baseline; gap: .5rem; font-weight: 700; font-size: 1.15rem; margin-right: auto; }
.d-logo small { font-size: .78rem; font-weight: 400; opacity: .7; }
.d-nav { display: none; gap: 1.25rem; font-size: .85rem; opacity: .7; }
.d-title { font-size: clamp(1.6rem, 5cqi, 2.6rem); line-height: 1.05; letter-spacing: -0.02em; }
.d-eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.d-step { font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; opacity: .65; margin-bottom: .6rem; }
.d-grid { display: grid; gap: 1.5rem; }
.d-col { min-width: 0; }
.z-cart { position: relative; display: inline-flex; }
.z-cart svg { width: 24px; height: 24px; }
.z-cart b {
  position: absolute; top: -7px; right: -9px; min-width: 19px; height: 19px; padding-inline: 4px;
  border-radius: 10px; display: grid; place-items: center; font-size: .7rem;
}
.z-cart b.bump, [data-cart-total].bump { animation: bump .5s var(--ease-out); }

/* ---------- 1 · Barbería ---------- */
.d-barber { --d-line: rgba(239, 231, 218, .12); --brass: #c9a46a; background: #141210; color: #efe7da; }
.d-barber .d-logo { letter-spacing: .32em; font-weight: 800; }
.d-barber .d-logo small { font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: 1.05rem; color: var(--brass); opacity: 1; }
.d-barber .d-hero { margin-bottom: 1.5rem; }
.d-barber .d-eyebrow { color: var(--brass); margin-bottom: .4rem; }
.d-barber .d-title { font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; }
.b-services { display: grid; gap: .5rem; }
.b-svc {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 1rem; text-align: left;
  padding: .8rem 1rem; border: 1px solid var(--d-line); border-radius: 10px;
}
.b-svc span { font-weight: 600; }
.b-svc small { grid-row: 2; opacity: .6; font-size: .78rem; }
.b-svc b { grid-row: 1 / span 2; grid-column: 2; color: var(--brass); }
.b-svc[aria-pressed="true"] { border-color: var(--brass); background: rgba(201, 164, 106, .1); }
.b-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-top: 1rem; }
.b-shot {
  aspect-ratio: 1; border-radius: 8px; display: flex; align-items: flex-end; padding: .4rem;
  font-size: .68rem; color: rgba(239, 231, 218, .85);
  background: radial-gradient(60% 50% at 50% 35%, rgba(201, 164, 106, .45), transparent 70%), linear-gradient(160deg, #3a2f25, #15120f);
}
.b-shot.s2 { background: radial-gradient(55% 45% at 50% 40%, rgba(239, 231, 218, .25), transparent 70%), linear-gradient(160deg, #2a2420, #0f0d0c); }
.b-shot.s3 { background: radial-gradient(60% 50% at 45% 30%, rgba(160, 110, 70, .5), transparent 70%), linear-gradient(160deg, #31241a, #120f0c); }
.b-shot.s4 { background: radial-gradient(50% 50% at 50% 60%, rgba(201, 164, 106, .3), transparent 70%), linear-gradient(200deg, #3b3027, #151210); }
.b-days, .f-days { display: flex; flex-wrap: wrap; gap: .4rem; }
.b-days button { padding: .5rem .85rem; border: 1px solid var(--d-line); border-radius: 999px; font-size: .85rem; }
.b-days button[aria-pressed="true"] { background: var(--brass); color: #141210; border-color: var(--brass); font-weight: 600; }
.b-times { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin-top: .9rem; }
.b-times button { padding: .55rem 0; border: 1px solid var(--d-line); border-radius: 8px; font-family: var(--mono); font-size: .8rem; }
.b-times button:not(:disabled):hover { border-color: var(--brass); }
.b-times button:disabled { opacity: .28; text-decoration: line-through; }
.b-times button[aria-pressed="true"] { background: #efe7da; color: #141210; border-color: #efe7da; font-weight: 600; }
.b-book { width: 100%; margin-top: 1rem; padding: .95rem; border-radius: 10px; background: var(--brass); color: #141210; font-weight: 700; }
.b-book.is-wait, .f-book.is-wait { opacity: .55; }

/* ---------- 2 · Restaurante ---------- */
.d-resto { --d-line: rgba(42, 26, 18, .12); --ember: #d9481f; background: #f6efe3; color: #2a1a12; }
.d-resto .d-logo { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.9rem; line-height: 1; }
.d-resto .d-logo small { font-family: var(--sans); font-style: normal; text-transform: uppercase; letter-spacing: .14em; font-size: .66rem; }
.r-open { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; }
.r-open i { width: 8px; height: 8px; border-radius: 50%; background: #3a9d5d; }
.r-cats { display: flex; gap: .2rem; border-bottom: 1px solid var(--d-line); margin-bottom: .4rem; overflow-x: auto; }
.r-cats button { padding: .6rem .9rem; border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 500; opacity: .6; }
.r-cats button[aria-pressed="true"] { opacity: 1; color: var(--ember); border-bottom-color: var(--ember); }
.r-menu li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: .9rem; padding: .85rem 0; border-bottom: 1px dashed var(--d-line); }
.r-menu li[hidden] { display: none; }
.r-menu b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.15; }
.r-menu small { display: block; opacity: .65; font-size: .8rem; }
.r-menu li > span { font-weight: 600; font-size: .92rem; }
.r-add { width: 34px; height: 34px; border-radius: 50%; background: var(--ember); color: #fff; display: grid; place-items: center; }
.r-add svg { width: 16px; height: 16px; }
.r-add:hover { transform: scale(1.08); }
.r-order {
  align-self: start; background: #fff; border-radius: 14px; padding: 1.2rem;
  box-shadow: 0 18px 40px -22px rgba(42, 26, 18, .45);
}
.r-order-title { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1.1; }
.r-order-count { font-size: .82rem; opacity: .65; margin-top: .25rem; }
.r-order-total { font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; display: inline-block; }
.r-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: #f6efe3; margin-top: .9rem; }
.r-mode button { padding: .5rem; border-radius: 7px; font-size: .85rem; }
.r-mode button[aria-pressed="true"] { background: #fff; box-shadow: 0 2px 8px rgba(42, 26, 18, .12); font-weight: 600; }
.r-confirm { width: 100%; margin-top: .8rem; padding: .9rem; border-radius: 10px; background: #2a1a12; color: #f6efe3; font-weight: 600; }
.r-info { display: flex; align-items: center; gap: .4rem; font-size: .8rem; opacity: .7; margin-top: .9rem; }
.r-info svg { width: 15px; height: 15px; }

/* ---------- 3 · Bazar ---------- */
.d-bazar { --d-line: rgba(34, 38, 31, .12); --sage: #5f7a5a; background: #f3f1ea; color: #22261f; }
.d-bazar .d-logo { font-weight: 700; letter-spacing: -0.02em; font-size: 1.3rem; }
.d-bazar .d-logo small { color: var(--sage); opacity: 1; }
.z-search {
  flex: 1 1 180px; max-width: 300px; display: flex; align-items: center; gap: .5rem;
  background: #fff; border: 1px solid var(--d-line); border-radius: 999px; padding: .45rem .9rem;
}
.z-search svg { width: 16px; height: 16px; opacity: .55; flex: none; }
.z-search input { border: 0; outline: 0; background: transparent; width: 100%; font-size: .88rem; min-width: 0; }
.d-bazar .z-cart b { background: var(--sage); color: #fff; }
.z-cats { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.z-cats button { padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--d-line); font-size: .85rem; }
.z-cats button[aria-pressed="true"] { background: #22261f; color: #f3f1ea; border-color: #22261f; }
.z-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.z-item { background: #fff; border-radius: 14px; padding: .55rem .55rem .75rem; display: grid; gap: .3rem; align-content: start; }
.z-item[hidden] { display: none; }
.z-item b { font-weight: 500; font-size: .88rem; line-height: 1.25; }
.z-price { font-weight: 700; }
.z-item button { margin-top: .2rem; padding: .5rem; border-radius: 8px; background: var(--sage); color: #fff; font-size: .84rem; font-weight: 500; }
.z-item button:hover { background: #4d6649; }
.z-pic { aspect-ratio: 4 / 3; border-radius: 10px; margin-bottom: .3rem; }
@container (min-width: 560px) { .z-pic { aspect-ratio: 2 / 1; } }
.z-pic.p1 { background: radial-gradient(circle at 30% 60%, rgba(255,255,255,.9) 0 9%, transparent 10%), radial-gradient(circle at 50% 60%, rgba(255,255,255,.75) 0 9%, transparent 10%), radial-gradient(circle at 70% 60%, rgba(255,255,255,.6) 0 9%, transparent 10%), linear-gradient(160deg, #cfe0d8, #a7c0b5); }
.z-pic.p2 { background: radial-gradient(circle at 42% 52%, #2e2e2e 0 24%, #444 25% 28%, transparent 29%), linear-gradient(90deg, transparent 62%, #6b4b32 62% 88%, transparent 88%) 0 52% / 100% 8% no-repeat, linear-gradient(160deg, #efe3d1, #d9c6a8); }
.z-pic.p3 { background: linear-gradient(90deg, transparent 18%, rgba(255,255,255,.7) 18% 36%, transparent 36% 42%, rgba(255,255,255,.6) 42% 60%, transparent 60% 66%, rgba(255,255,255,.5) 66% 84%, transparent 84%) 0 70% / 100% 55% no-repeat, linear-gradient(160deg, #e9dcc0, #cdb78f); }
.z-pic.p4 { background: radial-gradient(ellipse 16% 34% at 50% 62%, rgba(255,255,255,.65), transparent 70%), radial-gradient(circle at 46% 24%, #e98b74 0 7%, transparent 8%), radial-gradient(circle at 56% 20%, #f2c36b 0 6%, transparent 7%), linear-gradient(160deg, #dbe6ef, #b6c8d8); }
.z-pic.p5 { background: radial-gradient(circle at 50% 55%, #fff 0 26%, #eee 27% 31%, transparent 32%), radial-gradient(circle at 50% 55%, transparent 0 34%, rgba(255,255,255,.5) 35% 38%, transparent 39%), linear-gradient(160deg, #d8d2e8, #b7aed2); }
.z-pic.p6 { background: linear-gradient(90deg, transparent 22%, #f6efe2 22% 34%, transparent 34% 44%, #f6efe2 44% 56%, transparent 56% 66%, #f6efe2 66% 78%, transparent 78%) 0 100% / 100% 50% no-repeat, radial-gradient(circle at 28% 46%, #f6b04a 0 3%, transparent 4%), radial-gradient(circle at 50% 46%, #f6b04a 0 3%, transparent 4%), radial-gradient(circle at 72% 46%, #f6b04a 0 3%, transparent 4%), linear-gradient(160deg, #e8d5cc, #c9a99a); }
.z-empty { margin-top: 1rem; opacity: .7; font-size: .9rem; }

/* ---------- 4 · Gimnasio ---------- */
.d-gym { --d-line: rgba(255, 255, 255, .1); --orange: #ff5a1f; background: #0f0f10; color: #f2f2f2; }
.d-gym .d-logo { font-weight: 900; font-style: italic; letter-spacing: .02em; font-size: 1.35rem; }
.d-gym .d-logo small { color: var(--orange); opacity: 1; font-style: normal; text-transform: uppercase; letter-spacing: .12em; font-size: .66rem; }
.g-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: #1d1d20; }
.g-toggle button { padding: .45rem .95rem; border-radius: 999px; font-size: .82rem; }
.g-toggle button em { font-style: normal; font-size: .72rem; opacity: .85; }
.g-toggle button[aria-pressed="true"] { background: var(--orange); color: #0f0f10; font-weight: 700; }
.g-title { font-weight: 900; font-style: italic; text-transform: uppercase; margin: .25rem 0 1.25rem; }
.g-plans { display: grid; gap: .8rem; }
.g-plan {
  position: relative; display: flex; flex-direction: column; gap: .55rem;
  padding: 1.15rem; border-radius: 14px; border: 1px solid var(--d-line);
}
.g-plan.is-hot { border-color: var(--orange); background: linear-gradient(180deg, rgba(255, 90, 31, .14), transparent 70%); }
.g-badge {
  position: absolute; top: -10px; left: 1rem; padding: .18rem .55rem; border-radius: 999px;
  background: var(--orange); color: #0f0f10; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em;
}
.g-name { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.g-price b { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; display: inline-block; }
.g-price small { opacity: .6; margin-left: .2rem; }
.g-plan ul { font-size: .86rem; opacity: .82; display: grid; gap: .2rem; }
.g-plan li::before { content: "— "; color: var(--orange); }
.g-plan button { margin-top: auto; padding: .65rem; border-radius: 10px; border: 1px solid var(--orange); color: var(--orange); font-weight: 600; font-size: .88rem; }
.g-plan button:hover, .g-plan.is-hot button { background: var(--orange); color: #0f0f10; }
.g-hours { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.25rem; font-size: .84rem; opacity: .85; }
.g-hours p { display: inline-flex; align-items: center; gap: .4rem; }
.g-hours svg { width: 16px; height: 16px; color: var(--orange); }
.g-hours b { font-weight: 600; }

/* ---------- 5 · Inmobiliaria ---------- */
.d-inmo { --d-line: rgba(29, 42, 68, .12); --navy: #1d2a44; --sand: #c49a5c; background: #f5f2ec; color: var(--navy); }
.d-inmo .d-logo { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; line-height: 1; }
.d-inmo .d-logo small { font-family: var(--sans); text-transform: uppercase; letter-spacing: .16em; font-size: .64rem; color: var(--sand); opacity: 1; }
.i-filter { display: inline-flex; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--d-line); }
.i-filter button { padding: .4rem .85rem; border-radius: 999px; font-size: .82rem; }
.i-filter button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.i-grid { display: grid; gap: .8rem; }
.i-card { display: grid; grid-template-columns: 118px 1fr; background: #fff; border-radius: 14px; overflow: hidden; }
.i-card[hidden] { display: none; }
.i-pic { position: relative; min-height: 120px; }
.i-pic em {
  position: absolute; top: .5rem; left: .5rem; font-style: normal; font-size: .64rem; font-weight: 600;
  background: #fff; color: var(--navy); padding: .15rem .45rem; border-radius: 999px;
}
.i-pic.q1 { background: linear-gradient(180deg, transparent 58%, #6f8f5e 58%), linear-gradient(90deg, transparent 22%, #f1e6d6 22% 78%, transparent 78%) 0 100% / 100% 62% no-repeat, linear-gradient(180deg, #9cc3e4, #d7e8f3); }
.i-pic.q2 { background: repeating-linear-gradient(180deg, transparent 0 14%, rgba(29,42,68,.18) 14% 16%), linear-gradient(90deg, transparent 20%, #d9d4cb 20% 80%, transparent 80%) 0 100% / 100% 88% no-repeat, linear-gradient(180deg, #f2c99a, #f7e3c8); }
.i-pic.q3 { background: linear-gradient(90deg, transparent 12%, #c9a27a 12% 52%, #e4d3bd 52% 88%, transparent 88%) 0 100% / 100% 60% no-repeat, linear-gradient(180deg, #b7cde0, #e2edf5); }
.i-pic.q4 { background: repeating-linear-gradient(90deg, transparent 0 18%, rgba(255,255,255,.35) 18% 20%), linear-gradient(90deg, transparent 28%, #5a6b8a 28% 72%, transparent 72%) 0 100% / 100% 90% no-repeat, linear-gradient(180deg, #2c3c5c, #6a7fa6); }
.i-body { padding: .85rem 1rem; display: grid; gap: .2rem; align-content: start; }
.i-body b { font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.1; }
.i-price { font-weight: 700; }
.i-feats { font-size: .78rem; opacity: .65; }
.i-body button { justify-self: start; margin-top: .35rem; padding: .45rem .9rem; border-radius: 8px; background: var(--navy); color: #fff; font-size: .8rem; }
.i-body button:hover { background: #2b3d63; }

/* ---------- 6 · Ropa ---------- */
.d-ropa { --d-line: rgba(17, 17, 17, .1); --clay: #b0603f; background: #faf9f6; color: #111; }
.d-ropa .d-logo { letter-spacing: .36em; font-weight: 600; }
.d-ropa .d-logo small { font-family: var(--serif); font-style: italic; letter-spacing: 0; font-size: 1rem; }
.d-ropa .z-cart b { background: #111; color: #fff; }
.o-product { display: grid; gap: 1.4rem; }
.o-pic {
  --pc: #d9c7a7;
  position: relative; display: block; aspect-ratio: 1; max-height: 360px; width: 100%; border-radius: 4px;
  background: radial-gradient(80% 70% at 50% 40%, #fff, #ece8e0);
  transition: background .4s;
}
.o-pic::after {
  content: ""; position: absolute; inset: 14%;
  background: var(--pc);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 4 3.5 7l2 4 2.5-1.3V20h8V9.7l2.5 1.3 2-4-5-3c-.6 1.5-2 2.4-3.5 2.4S9.1 5.5 8.5 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.5 4 3.5 7l2 4 2.5-1.3V20h8V9.7l2.5 1.3 2-4-5-3c-.6 1.5-2 2.4-3.5 2.4S9.1 5.5 8.5 4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .18));
  transition: background-color .4s;
}
.o-thumbs { display: flex; gap: .5rem; margin-top: .5rem; }
.o-thumbs i { width: 52px; height: 52px; border-radius: 4px; background: #ece8e0; }
.o-thumbs i:first-child { outline: 1.5px solid #111; outline-offset: 2px; }
.o-cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.o-name { font-family: var(--serif); font-size: 2.1rem; line-height: 1.05; margin-top: .3rem; }
.o-price { font-size: 1.25rem; font-weight: 600; margin-top: .4rem; }
.o-price small { display: block; font-size: .8rem; font-weight: 400; opacity: .6; }
.o-label { font-size: .82rem; margin: .95rem 0 .45rem; }
.o-colors, .o-sizes { display: flex; flex-wrap: wrap; gap: .5rem; }
.o-colors button { width: 30px; height: 30px; border-radius: 50%; background: var(--c); }
.o-colors button[aria-pressed="true"] { box-shadow: 0 0 0 2px #faf9f6, 0 0 0 3.5px #111; }
.o-sizes button { min-width: 46px; height: 40px; border: 1px solid var(--d-line); border-radius: 4px; font-size: .88rem; }
.o-sizes button:not(:disabled):hover { border-color: #111; }
.o-sizes button[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }
.o-sizes button:disabled { opacity: .35; text-decoration: line-through; }
.o-sizes.is-shake { animation: shake .45s; }
.o-add { width: 100%; margin-top: 1.1rem; padding: .9rem; border-radius: 4px; background: #111; color: #fff; font-weight: 600; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.o-pay { width: 100%; margin-top: .5rem; padding: .85rem; border-radius: 4px; border: 1px solid #111; font-weight: 500; font-size: .9rem; }
.o-pay:hover { background: var(--clay); border-color: var(--clay); color: #fff; }
.o-ship { font-size: .78rem; opacity: .6; margin-top: .7rem; }

/* ---------- 7 · Emprendimiento ---------- */
.d-empr { --d-line: rgba(74, 44, 36, .12); --pink: #f08a8a; background: #fff4f1; color: #4a2c24; }
.d-empr .d-logo { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.9rem; line-height: 1; }
.d-empr .d-logo small { font-family: var(--sans); font-style: normal; font-size: .76rem; }
.e-note { font-size: .78rem; background: #fff; border-radius: 999px; padding: .35rem .8rem; }
.e-title { font-family: var(--serif); font-weight: 400; margin-bottom: 1.25rem; }
.e-title em { color: #d46468; }
.e-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.e-item { background: #fff; border-radius: 18px; padding: .6rem .6rem .8rem; display: grid; gap: .25rem; align-content: start; }
.e-item b { font-weight: 600; font-size: .9rem; line-height: 1.25; }
.e-item > span:not(.e-pic) { font-weight: 700; }
.e-item button {
  margin-top: .35rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  padding: .55rem; border-radius: 999px; background: var(--wa); color: #08331a; font-weight: 600; font-size: .84rem;
}
.e-item button svg { width: 16px; height: 16px; }
.e-item button:hover { background: #1fbd5a; }
.e-pic { aspect-ratio: 1; border-radius: 14px; margin-bottom: .35rem; }
.e-pic.t1 { background: radial-gradient(circle at 50% 27%, #d9363e 0 4.5%, transparent 5%), linear-gradient(#fbe9de, #fbe9de) 50% 33% / 62% 6% no-repeat, linear-gradient(#5a2f22, #5a2f22) 50% 47% / 62% 16% no-repeat, linear-gradient(#f4d9c6, #f4d9c6) 50% 57% / 62% 4% no-repeat, linear-gradient(#5a2f22, #5a2f22) 50% 68% / 62% 16% no-repeat, radial-gradient(ellipse 40% 6% at 50% 80%, rgba(0,0,0,.14), transparent), linear-gradient(160deg, #fde3de, #f7c9c1); }
.e-pic.t2 { background: linear-gradient(#fffaf0, #fffaf0) 50% 41% / 58% 5% no-repeat, radial-gradient(ellipse 31% 13% at 50% 44%, #e7b544 0 97%, transparent 100%), linear-gradient(#f2d36b, #f2d36b) 50% 62% / 62% 26% no-repeat, radial-gradient(ellipse 40% 6% at 50% 77%, rgba(0,0,0,.12), transparent), linear-gradient(160deg, #fff1d6, #f9dfb0); }
.e-pic.t3 { background: radial-gradient(circle at 34% 44%, #c98a54 0 13%, transparent 14%), radial-gradient(circle at 64% 40%, #b97a46 0 13%, transparent 14%), radial-gradient(circle at 50% 66%, #c98a54 0 13%, transparent 14%), linear-gradient(160deg, #f6e7d9, #ebcfb5); }
.e-pic.t4 { background: radial-gradient(circle at 36% 46%, #fff6ea 0 13%, #e9c79f 14% 16%, transparent 17%), radial-gradient(circle at 64% 46%, #fff6ea 0 13%, #e9c79f 14% 16%, transparent 17%), radial-gradient(circle at 50% 68%, #fff6ea 0 13%, #e9c79f 14% 16%, transparent 17%), linear-gradient(160deg, #e7eefc, #c9d6f2); }

/* ---------- 8 · Fútbol 5 ---------- */
.d-f5 {
  --d-line: rgba(234, 247, 238, .12); --green: #3ddc84;
  color: #eaf7ee;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 60px, transparent 60px 120px), #0d2418;
}
.d-f5 .d-logo { font-weight: 900; font-style: italic; letter-spacing: .04em; }
.d-f5 .d-logo small { color: var(--green); opacity: 1; font-style: normal; }
.f-price { font-family: var(--mono); font-size: .78rem; background: rgba(61, 220, 132, .12); color: var(--green); border-radius: 999px; padding: .35rem .8rem; }
.f-days { margin-bottom: 1.1rem; }
.f-days button { padding: .5rem .85rem; border: 1px solid var(--d-line); border-radius: 999px; font-size: .85rem; }
.f-days button[aria-pressed="true"] { background: var(--green); color: #0d2418; border-color: var(--green); font-weight: 700; }
.f-board { display: grid; gap: .45rem; overflow-x: auto; padding-bottom: .25rem; }
.f-row { display: grid; grid-template-columns: 5rem repeat(6, minmax(50px, 1fr)); gap: .45rem; align-items: center; min-width: 420px; }
.f-head span { font-family: var(--mono); font-size: .74rem; opacity: .6; text-align: center; }
.f-court { font-size: .84rem; font-weight: 600; }
.f-row button {
  height: 48px; border-radius: 9px; font-size: .72rem; font-weight: 500;
  background: rgba(61, 220, 132, .14); color: var(--green); border: 1px solid rgba(61, 220, 132, .35);
}
.f-row button:not(:disabled):hover { background: rgba(61, 220, 132, .26); }
.f-row button:disabled { background: rgba(255, 255, 255, .04); color: rgba(234, 247, 238, .32); border-color: transparent; }
.f-row button[aria-pressed="true"] { background: #eaf7ee; color: #0d2418; border-color: #eaf7ee; font-weight: 700; }
.f-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.3rem; }
.f-legend { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem; font-size: .78rem; opacity: .8; }
.f-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: .55rem; }
.f-legend i:first-child { margin-left: 0; }
.l-free { background: var(--green); }
.l-busy { background: rgba(255, 255, 255, .15); }
.l-sel { background: #eaf7ee; }
.f-book { padding: .85rem 1.3rem; border-radius: 10px; background: var(--green); color: #0d2418; font-weight: 700; }

/* Mini webs: composición según el ancho del marco */
@container (max-width: 479px) {
  .f-row { grid-template-columns: 3.6rem repeat(6, minmax(0, 1fr)); gap: .3rem; min-width: 0; }
  .f-board { gap: .3rem; }
  .f-row button { font-size: 0; height: 44px; }
  .f-row button[aria-pressed="true"]::after { content: "✓"; font-size: 1rem; }
  .f-court { font-size: .74rem; line-height: 1.15; }
}
@container (min-width: 560px) {
  .z-grid { grid-template-columns: repeat(3, 1fr); }
  .i-grid { grid-template-columns: 1fr 1fr; }
  .d-nav { display: flex; }
}
@container (min-width: 640px) {
  .d-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .r-grid { grid-template-columns: 1.6fr 1fr; }
  .g-plans { grid-template-columns: repeat(3, 1fr); }
  .o-product { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .o-pic { aspect-ratio: 4 / 5; }
  .e-grid { grid-template-columns: repeat(4, 1fr); }
  .b-times { grid-template-columns: repeat(4, 1fr); }
}

/* =========================== 10. POR QUÉ =========================== */
.stats { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); }
.stat { padding: 1.6rem 1rem 1.6rem 0; }
.stat:nth-child(2n) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.stat-num { font-family: var(--serif); font-size: clamp(3rem, 6.5vw, 5.4rem); line-height: 1; letter-spacing: -0.03em; }
.stat-num small { font-size: .45em; color: var(--mute); margin-left: .08em; }
.stat p:last-child { color: var(--mute); font-size: .95rem; margin-top: .4rem; max-width: 16rem; }

.why-grid { display: grid; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.why-card {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 1.75rem; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .4s, transform .6s var(--ease-out);
}
.why-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 50%), rgba(212, 255, 74, .11), transparent 45%);
}
.why-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.why-card:hover::before { opacity: 1; }
.why-card svg { width: 30px; height: 30px; color: var(--accent); }
.why-card h3 { font-family: var(--sans); font-size: 1.22rem; font-weight: 500; letter-spacing: -0.01em; margin: 1.3rem 0 .5rem; }
.why-card p { color: var(--mute); }

.compare { display: grid; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.compare-col { border-radius: 18px; padding: 1.75rem; }
.compare-col--off { border: 1px solid var(--line); color: var(--mute); }
.compare-col--off svg { color: #ff7a6b; opacity: .8; }
.compare-col--on { background: var(--accent); color: var(--accent-ink); }
.compare-title { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.compare ul { display: grid; gap: .85rem; }
.compare li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1.02rem; }
.compare li svg { width: 20px; height: 20px; flex: none; margin-top: .15rem; }
.compare-note { grid-column: 1 / -1; text-align: center; color: var(--mute); font-size: .95rem; margin-top: .5rem; }

/* =========================== 11. PROCESO =========================== */
.process-wrap { display: grid; gap: 3rem; }
.process-head { display: grid; gap: 1.4rem; align-content: start; }
.steps { position: relative; padding-left: 1.75rem; border-left: 1px solid var(--line); --p: 0; }
.steps::before {
  content: ""; position: absolute; left: -1px; top: 0; width: 2px; height: 100%;
  background: var(--accent); transform-origin: top; transform: scaleY(var(--p));
}
.step { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding-block: 1.9rem; border-top: 1px solid var(--line); }
.step:first-child { border-top: 0; padding-top: .4rem; }
.step-num { font-family: var(--mono); font-size: .82rem; color: var(--accent); padding-top: .55rem; }
.step h3 { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: .45rem; }
.step p { color: var(--mute); max-width: 34rem; }

/* =========================== 12. CONTACTO =========================== */
.contact { isolation: isolate; overflow: clip; }
.contact-glow {
  position: absolute; inset: auto -10% -10% -10%; height: 80%; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 60% at 50% 100%, rgba(59, 45, 255, .38), transparent 70%), radial-gradient(30% 35% at 70% 100%, rgba(212, 255, 74, .12), transparent 70%);
}
.contact-title { font-size: clamp(3.2rem, 9.5vw, 8.4rem); max-width: none; }
.contact-grid { display: grid; gap: 1.5rem; }
.cform {
  display: grid; gap: 1.9rem;
  padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: 24px;
  background: rgba(17, 17, 19, .9); border: 1px solid var(--line);
}
.cform fieldset { border: 0; padding: 0; min-width: 0; }
.cform legend { font-size: 1.05rem; font-weight: 500; margin-bottom: .9rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .58rem 1rem; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: .92rem; color: var(--ink-2); pointer-events: none;
  transition: background-color .3s, color .3s, border-color .3s;
}
.chip:hover span { border-color: var(--ink); color: var(--ink); }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chips--check input:checked + span { background: rgba(212, 255, 74, .1); color: var(--accent); border-color: var(--accent); }
.chips--check input:checked + span::before { content: "✓"; font-size: .85em; }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.cform-fields { display: grid; gap: 1rem; }
.cform-fields legend { grid-column: 1 / -1; }
.field span { display: block; font-size: .86rem; color: var(--mute); margin-bottom: .45rem; }
.field small { color: var(--dim); }
.field input, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px;
  background: #0c0c0e; border: 1px solid var(--line-2); color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 255, 74, .14); }
.field textarea { resize: vertical; min-height: 96px; }
.field.is-invalid input { border-color: #ff7a6b; }
.cform-error { color: #ff9a8c; font-size: .92rem; }
.cform-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cform-actions .btn svg { width: 20px; height: 20px; }

.contact-side { display: grid; gap: .75rem; align-content: start; }
.contact-side-title { font-family: var(--mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: .2rem; }
.cside {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  padding: 1.25rem 1.35rem; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-2);
  transition: border-color .35s, transform .5s var(--ease-out), background-color .35s;
}
.cside > svg:first-child { width: 28px; height: 28px; }
.cside b { display: block; font-weight: 500; font-size: 1.1rem; }
.cside small { display: block; color: var(--mute); font-size: .86rem; overflow-wrap: anywhere; }
.cside-arrow { width: 20px; height: 20px; color: var(--mute); transition: transform .5s var(--ease-out), color .3s; }
.cside:hover { border-color: var(--line-2); transform: translateY(-3px); }
.cside:hover .cside-arrow { transform: translateX(4px); color: var(--accent); }
.cside--wa { background: var(--wa); border-color: var(--wa); color: #052e16; }
.cside--wa small, .cside--wa .cside-arrow { color: rgba(5, 46, 22, .72); }
.cside--wa:hover { background: #2fe476; border-color: #2fe476; }
.cside--wa:hover .cside-arrow { color: #052e16; }

/* =========================== 13. PIE =========================== */
.footer { padding-top: clamp(5rem, 10vw, 8rem); border-top: 1px solid var(--line); }
.footer-big {
  display: inline-block; font-family: var(--serif); font-size: clamp(2.8rem, 8.6vw, 8.2rem);
  line-height: .95; letter-spacing: -0.03em;
}
.footer-big span { display: block; }
.footer-big em { color: var(--accent); background: linear-gradient(var(--accent), var(--accent)) 0 92% / 0 2px no-repeat; transition: background-size .7s var(--ease-out); }
.footer-big:hover em { background-size: 100% 2px; }
.footer-grid { display: grid; gap: 2.5rem; margin-top: clamp(3.5rem, 7vw, 5rem); }
.footer-brand p { color: var(--mute); max-width: 26rem; margin-top: 1rem; }
.footer-col { display: grid; gap: .6rem; align-content: start; }
.footer-col a { color: var(--ink-2); transition: color .3s; width: fit-content; }
.footer-col a:hover { color: var(--accent); }
.footer-h { font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: .3rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  margin-top: clamp(3.5rem, 7vw, 5rem); padding-block: 1.75rem 6rem;
  border-top: 1px solid var(--line); font-size: .84rem; color: var(--dim);
}

/* Ventana de correo */
.mailbox {
  width: min(460px, calc(100% - 2rem)); max-width: none; padding: 0; border: 0; margin: auto;
  background: transparent; color: var(--ink);
}
.mailbox::backdrop { background: rgba(5, 5, 6, .72); }
@supports (backdrop-filter: blur(4px)) { .mailbox::backdrop { backdrop-filter: blur(6px); } }
.mailbox[open] { animation: demoIn .5s var(--ease-out) both; }
.mailbox-card {
  position: relative; display: grid; gap: .9rem;
  padding: clamp(1.5rem, 4vw, 2rem); border-radius: 22px;
  background: #141416; border: 1px solid var(--line-2);
  box-shadow: 0 40px 100px -30px rgba(59, 45, 255, .5);
}
.mailbox-close {
  position: absolute; top: .9rem; right: .9rem; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--mute);
}
.mailbox-close:hover { color: var(--ink); border-color: var(--ink); }
.mailbox-close svg { width: 18px; height: 18px; }
.mailbox-title { font-family: var(--serif); font-size: 2.1rem; line-height: 1.05; padding-right: 2.5rem; }
.mailbox-title em { color: var(--accent); }
.mailbox-text { color: var(--mute); font-size: .95rem; }
.mailbox-addr {
  font-family: var(--mono); font-size: .95rem; color: var(--accent); overflow-wrap: anywhere;
  padding: .75rem 1rem; border-radius: 12px; background: #0c0c0e; border: 1px solid var(--line);
}
.mailbox-actions { display: grid; gap: .55rem; margin-top: .3rem; }
.mailbox-actions .btn { width: 100%; white-space: normal; text-align: center; }

/* Botón flotante de WhatsApp */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 80;
  display: inline-flex; align-items: center; gap: .6rem;
  height: 58px; min-width: 58px; padding: 0 1rem; justify-content: center;
  border-radius: 999px; background: var(--wa); color: #052e16;
  box-shadow: 0 18px 40px -12px rgba(37, 211, 102, .55);
  transition: transform .6s var(--ease-out), opacity .4s;
}
.wa-float svg { width: 28px; height: 28px; flex: none; }
.wa-float-label { display: none; font-weight: 600; font-size: .95rem; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: waRing 2.8s var(--ease-out) infinite;
}
.wa-float:hover { transform: translateY(-3px) scale(1.03); }
.js .wa-float:not(.is-on) { opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none; }

/* =========================== 14. EFECTOS =========================== */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease-soft), transform 1.1s var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* Defensa: un elemento con reveal + split nunca debe quedar invisible */
.reveal[data-split], [data-reveal][data-split] { opacity: 1; transform: none; }

@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes demoIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes driftC { from { transform: translate3d(-30vw, 30vh, 0); } to { transform: translate3d(-18vw, 18vh, 0) scale(1.12); } }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(212, 255, 74, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(212, 255, 74, 0); } }
@keyframes waRing { 0% { opacity: .7; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.35); } }
@keyframes scrollCue { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }

/* =========================== 15. RESPONSIVE =========================== */
@media (min-width: 540px) {
  .nav-cta { display: inline-flex; }
  .nav-toggle { margin-left: .5rem; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding: 1.8rem 1rem 1.8rem 1.25rem; border-left: 1px solid var(--line); border-bottom: 0 !important; }
  .stat:first-child { border-left: 0; padding-left: 0; }
}
@media (max-width: 539px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .svc-body { padding-left: 0; }
  .svc summary { grid-template-columns: 2rem 1fr auto; }
  .cform-actions .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .hero-badge { display: block; }
  .manifesto-cols { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr 1fr; }
  .cform-fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .wa-float-label { display: inline; }
  .wa-float { padding: 0 1.3rem 0 1.05rem; }
  .demo-toast { bottom: 1.5rem; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { margin-left: 1rem; }
  .nav-toggle { display: none; }
  .menu-movil { display: none !important; }
  .hero-foot { grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
  .hero-scroll { display: flex; }
  .section-head--split { grid-template-columns: 1fr minmax(0, 30rem); align-items: end; gap: 3rem; }
  .svc summary { grid-template-columns: 4rem minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: 1.5rem; padding-block: 1.6rem; }
  .svc-line { display: block; }
  .svc-body { padding-left: 5.5rem; padding-right: 4rem; }
  .demo-tabs { flex-wrap: wrap; overflow: visible; }
  .process-wrap { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 5rem; }
  .process-head { position: sticky; top: calc(var(--nav-h) + 2.5rem); align-self: start; }
  .contact-grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 2rem; }
}
@media (min-width: 1280px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (hover: hover) and (pointer: fine) {
  .svc summary:hover { color: var(--accent-ink); }
  .svc summary:hover::before { transform: scaleY(1); }
  .svc summary:hover .svc-num, .svc summary:hover .svc-line { color: rgba(10, 10, 11, .7); }
  .svc summary:hover .svc-icon { border-color: rgba(10, 10, 11, .3); }
  .svc[open] summary:hover .svc-name { color: var(--accent-ink); }
  .svc[open] summary:hover .svc-icon { background: var(--accent-ink); color: var(--accent); border-color: var(--accent-ink); }
}

/* =========================== 16. MOVIMIENTO REDUCIDO ===========================
   Solo se apagan los efectos en bucle. Las transiciones y microinteracciones se mantienen. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .wa-float::before, .hero-scroll i { animation: none; }
  .glow-c { animation-duration: 60s; }
}
