/* =============================================================================
   Pampa Club · landing de eventos privados
   Identidad tomada del manual de marca: verde oliva profundo (A), hueso (B),
   salvia (C), musgo (D), malva (E), arcilla (F). Titulares en AT Apoc Light,
   textos en Lexend, ilustraciones de línea continua.
   ============================================================================= */

@font-face {
  font-family: 'Apoc';
  src: url('fonts/apoc-light.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Lexend';
  src: url('fonts/lexend-var.woff2') format('woff2');
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* paleta del manual */
  --olive:   #363d35;   /* A */
  --bone:    #ede7e3;   /* B */
  --sage:    #b3bdb4;   /* C */
  --moss:    #848e83;   /* D */
  --mauve:   #83726f;   /* E */
  --clay:    #8c7258;   /* F */

  --olive-2: #2c322b;
  --bone-2:  #e4ddd7;
  --paper:   #f6f2ef;
  --ink:        var(--olive);
  --ink-soft:   rgba(54, 61, 53, .78);
  --ink-mute:   rgba(54, 61, 53, .62);
  --rule:       rgba(54, 61, 53, .16);
  --on-dark:      #f1ece8;
  --on-dark-soft: rgba(241, 236, 232, .74);
  --on-dark-rule: rgba(241, 236, 232, .18);
  --clay-text: #6f5843;  /* arcilla oscurecida para texto chico sobre hueso (AA) */

  --f-display: 'Apoc', 'Times New Roman', Georgia, serif;
  --f-ui: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: 20px;
  --max: 1160px;
  --top-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 12px); }
body {
  background: var(--bone); color: var(--ink);
  font: 350 1rem/1.6 var(--f-ui);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  font: 500 .72rem/1.2 var(--f-ui); letter-spacing: .16em; text-transform: uppercase;
  color: var(--clay-text); margin-bottom: 14px;
}
.h2 {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(2.1rem, 8.4vw, 3.6rem); line-height: 1.02; letter-spacing: -.02em;
  text-wrap: balance;
}
.h2 em { font-style: normal; color: #6b756a; } /* musgo (D) oscurecido para contraste sobre hueso */
.lead { font-size: 1.05rem; color: var(--ink-soft); max-width: 44ch; margin-top: 16px; }
.ico { width: 56px; height: 56px; fill: none; stroke: currentColor; stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.ico path { vector-effect: non-scaling-stroke; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 500 1rem/1 var(--f-ui); text-decoration: none; letter-spacing: .01em;
  padding: 17px 26px; border-radius: 100px;
  background: var(--olive); color: var(--on-dark);
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 200ms var(--ease-out); }
.btn--light { background: var(--bone); color: var(--olive); }
.link {
  font-weight: 500; text-decoration: none; border-bottom: 1.5px solid var(--rule); padding-bottom: 3px;
  transition: border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--olive-2); }
  .btn--light:hover { background: #fff; }
  .btn:hover svg { transform: translateX(3px); }
  .link:hover { border-color: currentColor; }
}

/* ---------- barra superior ---------- */
.top {
  position: sticky; top: 0; z-index: 50; height: var(--top-h);
  background: rgba(237, 231, 227, .94);
  backdrop-filter: saturate(1.1) blur(10px); -webkit-backdrop-filter: saturate(1.1) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.logo { display: block; line-height: 0; }
.logo img { height: 42px; width: auto; }
.top-meta { display: none; color: var(--ink-mute); font-size: .82rem; }
.top-cta {
  font: 500 .86rem/1 var(--f-ui); text-decoration: none;
  background: var(--olive); color: var(--on-dark); padding: 12px 18px; border-radius: 100px;
  transition: transform 160ms var(--ease-out);
}
.top-cta:active { transform: scale(.97); }

/* ---------- hero ---------- */
/* casi pantalla completa: el video de la pérgola es el protagonista; el botón baja al cotizador */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: calc(92svh - var(--top-h));
  background: var(--olive); color: var(--on-dark);
}
/* poster = LCP; el video se suma después del load y aparece con fundido */
.hero-bg { position: absolute; inset: 0; z-index: -2; background: var(--olive); }
.hero-bg img, .hero-bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-bg video { opacity: 0; transition: opacity 700ms ease; }
.hero-bg video.is-on { opacity: 1; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(33, 38, 32, .95) 0%, rgba(33, 38, 32, .78) 30%, rgba(33, 38, 32, .25) 58%, rgba(33, 38, 32, .1) 100%);
}
.hero-in { width: 100%; padding-top: 104px; padding-bottom: 26px; }
.hero-in > * { max-width: 640px; }
.hero .eyebrow { color: var(--sage); margin-bottom: 10px; }
.hero h1 {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(1.9rem, 8.6vw, 4.4rem); line-height: 1.03; letter-spacing: -.025em; text-wrap: balance;
}
.hero h1 em { font-style: normal; color: #cdd5ce; }
.hero-sub { margin-top: 12px; font-size: .98rem; line-height: 1.5; color: var(--on-dark-soft); max-width: 42ch; }
.hero-cta { margin-top: 20px; width: 100%; min-height: 56px; font-size: 1.05rem; font-weight: 600; }
.stamp {
  position: absolute; top: 16px; right: var(--gutter);
  background: var(--bone); color: var(--olive); padding: 8px 13px; border-radius: 100px;
  font: 500 .74rem/1.2 var(--f-ui); letter-spacing: .02em;
}

/* ---------- cotizador: tarjeta clara sobre fondo oliva ---------- */
.quote { background: var(--olive); color: var(--ink); padding: 16px 0 36px; }
.q-card {
  max-width: 760px; margin: 0 auto; background: var(--paper); color: var(--ink);
  border-radius: 20px; padding: 18px 18px 6px;
  box-shadow: 0 14px 40px rgba(20, 24, 19, .28);
}
.q-prog { margin-bottom: 14px; }
.q-prog-l { font-size: .8rem; color: var(--ink-mute); margin-bottom: 8px; }
.q-prog-l b { color: var(--clay-text); font-weight: 600; }
.q-bar { height: 6px; border-radius: 6px; background: var(--bone-2); overflow: hidden; }
.q-bar span { display: block; height: 100%; width: 100%; background: var(--olive); border-radius: inherit; transform-origin: left center; transform: scaleX(.05); transition: transform 420ms var(--ease-out); }
.q-title {
  font-family: var(--f-display); font-weight: 300;
  font-size: clamp(1.65rem, 7vw, 2.4rem); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance;
}
.q-sub { margin-top: 6px; font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }
.q-prices { margin-top: 8px; font-size: .84rem; line-height: 1.5; color: var(--ink-soft); }
.q-prices b { font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.q-prices span { color: var(--ink-mute); }
.q-foot { margin-top: 10px; font-size: .82rem; line-height: 1.45; color: var(--ink-mute); }

.q-step { padding: 18px 0 20px; border-top: 1px solid var(--rule); }
.q > .q-step:first-child { border-top: 0; padding-top: 14px; }
.q-step[hidden] { display: none; }
.q-step.enter { animation: step-in 320ms var(--ease-out) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } }
.q-label { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 12px; font-weight: 500; font-size: 1.05rem; }
.q-label small { color: var(--ink-mute); font-weight: 350; font-size: .8rem; }

/* opciones: superficies llenas, objetivo táctil grande, estado elegido claro */
.chips { display: grid; gap: 8px; }
.chip {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 12px 18px;
  border-radius: 14px; background: var(--bone); border: 1.5px solid var(--bone-2);
  font-weight: 500; font-size: 1rem; text-align: left; color: var(--ink);
  box-shadow: 0 1px 2px rgba(54, 61, 53, .1);
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.chip::after {
  content: ''; flex: none; margin-left: auto; width: 8px; height: 8px;
  border-top: 2px solid var(--moss); border-right: 2px solid var(--moss); transform: rotate(45deg);
}
.chip:active { transform: scale(.98); }
.chip[aria-checked="true"] { background: var(--olive); color: var(--on-dark); border-color: var(--olive); }
.chip[aria-checked="true"]::after { width: 6px; height: 12px; border-top: 0; border-right-color: var(--on-dark); border-bottom: 2px solid var(--on-dark); margin-top: -3px; }

.rows { display: grid; gap: 8px; }
.row {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 4px 14px; align-items: start;
  text-align: left; width: 100%; min-height: 56px; padding: 15px 16px 16px; border-radius: 14px;
  background: var(--bone); border: 1.5px solid var(--bone-2); color: var(--ink);
  box-shadow: 0 1px 2px rgba(54, 61, 53, .1);
  transition: transform 140ms var(--ease-out), background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.row:active { transform: scale(.985); }
.row .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--moss); margin-top: 2px; display: grid; place-items: center; }
.row .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--on-dark); transform: scale(.4); opacity: 0; transition: transform 200ms var(--ease-out), opacity 150ms ease; }
.row .t { font-weight: 500; font-size: 1.02rem; }
.row .p { font-size: .84rem; font-weight: 500; text-align: right; white-space: nowrap; padding-top: 2px; font-variant-numeric: tabular-nums; }
.row .p small { display: block; color: var(--ink-mute); font-size: .7rem; font-weight: 350; margin-top: 2px; }
.row .d { grid-column: 2 / -1; color: var(--ink-soft); font-size: .88rem; line-height: 1.45; }
.row[aria-checked="true"] { background: var(--olive); color: var(--on-dark); border-color: var(--olive); }
.row[aria-checked="true"] .d, .row[aria-checked="true"] .p small { color: var(--on-dark-soft); }
.row[aria-checked="true"] .dot { border-color: var(--on-dark); }
.row[aria-checked="true"] .dot::after { transform: scale(1); opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .chip:hover, .row:hover { border-color: var(--moss); }
  .chip[aria-checked="true"]:hover, .row[aria-checked="true"]:hover { border-color: var(--olive); }
}

/* personas */
.count-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.count { display: flex; align-items: baseline; gap: 10px; }
.count b { font-family: var(--f-display); font-weight: 300; font-size: 3.6rem; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.count span { color: var(--ink-mute); }
.stepper { display: flex; gap: 8px; }
.stepper button {
  width: 50px; height: 50px; border-radius: 50%; background: var(--bone); border: 1.5px solid var(--bone-2);
  font-size: 1.4rem; line-height: 1; display: grid; place-items: center; color: var(--ink);
  transition: transform 140ms var(--ease-out), border-color 180ms ease;
}
.stepper button:active { transform: scale(.94); }
.stepper button:disabled { opacity: .35; cursor: default; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; margin-top: 6px; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--bone-2); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 4px; background: var(--bone-2); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -13px; border-radius: 50%; background: var(--olive); border: 0; box-shadow: 0 0 0 6px rgba(54, 61, 53, .12); }
input[type=range]::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: var(--olive); border: 0; }
.range-ends { display: flex; justify-content: space-between; color: var(--ink-mute); font-size: .78rem; }
.note { margin-top: 12px; font-size: .9rem; color: var(--ink-soft); padding: 10px 14px; border-left: 2px solid var(--moss); background: var(--bone); border-radius: 0 8px 8px 0; }
.note[hidden] { display: none; }
.note b { color: var(--ink); font-weight: 500; }

/* fecha */
.date-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.date-in {
  flex: 1 1 200px; min-height: 52px; background: var(--bone); color: var(--ink); color-scheme: light;
  border: 1.5px solid var(--bone-2); border-radius: 12px; padding: 12px 14px; font-size: 1rem;
}
.date-in:disabled { opacity: .45; }
.check { display: inline-flex; gap: 10px; align-items: center; color: var(--ink-soft); cursor: pointer; min-height: 48px; }
.check input { width: 20px; height: 20px; accent-color: var(--olive); }
.date-note { margin-top: 10px; font-size: .9rem; color: var(--ink-mute); min-height: 1px; }

/* ficha de estimación */
.ticket { background: var(--bone); color: var(--ink); border: 1px solid var(--bone-2); border-radius: 16px; padding: 22px 18px 18px; }
.t-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 1px dashed var(--rule); }
.t-head .eyebrow { margin: 0; }
.t-head span:last-child { font-size: .86rem; color: var(--ink-mute); }
.t-lines { padding: 14px 0 4px; display: grid; gap: 7px; font-size: .95rem; }
.t-line { display: flex; justify-content: space-between; gap: 12px; }
.t-line span:first-child { color: var(--ink-mute); }
.t-line span:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.t-total { padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--rule); }
.t-total .lbl { display: block; font-size: .8rem; color: var(--ink-mute); margin-bottom: 4px; }
.t-total .val { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.7rem, 7.4vw, 2.3rem); line-height: 1.05; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.t-total .val.words { font-size: 1.5rem; }
.t-total .val small { font-family: var(--f-ui); font-size: .82rem; letter-spacing: 0; color: var(--ink-mute); margin-left: 4px; }
.t-fine { margin-top: 12px; font-size: .84rem; line-height: 1.5; color: var(--ink-soft); }
.t-fine p + p { margin-top: 6px; }
.t-fine b { font-weight: 500; color: var(--ink); }
.t-extra {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 14px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 12px; cursor: pointer; font-size: .9rem; line-height: 1.45;
}
.t-extra input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--olive); }
.t-extra b { font-weight: 500; display: block; }
.t-extra span span { color: var(--ink-mute); font-size: .84rem; }
.ticket .btn { width: 100%; min-height: 56px; margin-top: 18px; }
.ticket .btn.wa { background: var(--olive); }
.t-hint { margin-top: 10px; font-size: .8rem; color: var(--ink-mute); text-align: center; }

/* franja de confianza, debajo de la tarjeta */
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 18px; font-size: .8rem; color: var(--on-dark-soft); }
.trust li::before { content: ''; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--sage); margin-right: 8px; vertical-align: 2px; }

/* CTA fija en celu (la muestra/oculta cotizador.js) */
.sticky-cta {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px;
  border-radius: 100px; background: var(--olive); color: var(--on-dark);
  font: 600 1rem/1 var(--f-ui); text-decoration: none; letter-spacing: .01em;
  box-shadow: 0 0 0 1.5px rgba(241, 236, 232, .55), 0 10px 30px rgba(20, 24, 19, .35);
  transition: transform 280ms var(--ease-out), opacity 200ms ease, visibility 0s;
}
.sticky-cta svg { width: 18px; height: 18px; flex: none; }
.sticky-cta:active { transform: scale(.98); }
.sticky-cta.is-off {
  transform: translateY(calc(100% + 28px)); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 280ms var(--ease-out), opacity 200ms ease, visibility 0s 280ms;
}

/* aviso "Conocé el espacio": arriba, bajo el header; nunca choca con la CTA fija de abajo */
.vpill {
  position: fixed; z-index: 44; top: calc(var(--top-h) + 58px); left: 50%;   /* debajo del sello de precio del hero */
  display: flex; align-items: center; max-width: calc(100% - 24px);
  background: var(--olive); color: var(--on-dark); border-radius: 100px;
  box-shadow: 0 0 0 1.5px rgba(241, 236, 232, .5), 0 8px 24px rgba(20, 24, 19, .3);
  transform: translateX(-50%); opacity: 1; visibility: visible;
  transition: transform 320ms var(--ease-out), opacity 220ms ease, visibility 0s;
}
.vpill.is-off {
  transform: translate(-50%, -12px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 320ms var(--ease-out), opacity 220ms ease, visibility 0s 320ms;
}
.vpill-open {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0 16px;
  font: 500 .86rem/1.2 var(--f-ui); color: inherit; white-space: nowrap;
}
.vpill-play { font-size: .7rem; color: var(--sage); }
.vpill-t { color: var(--on-dark-soft); }
.vpill-x { width: 44px; min-height: 44px; font-size: 1.3rem; line-height: 1; color: var(--on-dark-soft); border-radius: 0 100px 100px 0; }
.vpill-open:active { transform: scale(.98); }

.vlb {
  position: fixed; inset: 0; z-index: 100; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: rgba(20, 24, 19, .96); color: var(--on-dark);
}
.vlb:not([open]) { display: none; }
.vlb::backdrop { background: rgba(20, 24, 19, .6); }
.vlb-in {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  width: 100%; max-width: 480px; height: 100%; margin: 0 auto;
  padding: 60px 16px calc(16px + env(safe-area-inset-bottom, 0px));
}
.vlb video { flex: 1 1 0; min-height: 0; width: 100%; object-fit: contain; border-radius: 12px; background: #000; }
.vlb-cap { font-size: .9rem; line-height: 1.45; color: var(--on-dark-soft); text-align: center; }
.vlb-cta { width: 100%; min-height: 56px; font-weight: 600; }
.vlb-x {
  position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border-radius: 50%;
  font-size: 1.6rem; line-height: 1; color: var(--on-dark); background: rgba(241, 236, 232, .12);
}
html.vlb-abierto { overflow: hidden; }

/* ---------- tratamiento de conversión: empresas.html (.pg-empresas) e index.html (.pg-general) ----------
   Lo compartido va con :is(.pg-empresas, .pg-general) (misma especificidad que antes).
   Urgencia, testimonio y etiqueta "Ideal para fin de año" solo existen en empresas. */
/* hero: titular más grande, marcador a mano alzada, prueba social y urgencia */
:is(.pg-empresas, .pg-general) .hero::after {
  background: linear-gradient(to top, rgba(33, 38, 32, .97) 0%, rgba(33, 38, 32, .88) 45%, rgba(33, 38, 32, .42) 72%, rgba(33, 38, 32, .15) 100%);
}
:is(.pg-empresas, .pg-general) .hero h1 { font-size: clamp(2.4rem, 10.8vw, 5rem); line-height: 1; -webkit-text-stroke: .35px currentColor; }
:is(.pg-empresas, .pg-general) .hero h1 em { color: #d6ddd6; } /* salvia clara: destaca la frase sobre el fondo oscuro */
:is(.pg-empresas, .pg-general) .mk {
  /* trazo a mano alzada en salvia DEBAJO del texto (el marcador arcilla detrás no se veía sobre el fondo oscuro) */
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 12C40 6 96 4 150 6c18 1 33 2 47 4' fill='none' stroke='%23b3bdb4' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 100% / 100% .28em;
  padding: 0 .04em .12em; margin: 0 -.04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
:is(.pg-empresas, .pg-general) .hero-sub b { color: var(--on-dark); font-weight: 600; }
.hproof { margin-top: 16px; }
.urg { display: flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--on-dark); }
.urg b { font-weight: 600; }
.urg-dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--sage); }
.urg-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--sage); opacity: 0; animation: urg-pulse 2.4s var(--ease-out) infinite; }
@keyframes urg-pulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.pchips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pchips li {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 100px;
  background: rgba(246, 242, 239, .12); border: 1px solid rgba(241, 236, 232, .3);
  font-size: .78rem; font-weight: 500; line-height: 1.2; color: var(--on-dark);
}
.pchips .star { color: var(--sage); font-size: .9rem; line-height: 1; }
.pnote { margin-top: 6px; font-size: .72rem; color: var(--on-dark-soft); }

/* problema → solución */
.ps { background: var(--bone); padding: 40px 0 34px; }
.ps-grid { display: grid; gap: 10px; margin-top: 20px; }
.ps-col { border-radius: 16px; padding: 16px 18px 18px; }
.ps-no { background: var(--bone-2); color: var(--ink-soft); }
.ps-si { background: var(--olive); color: var(--on-dark-soft); box-shadow: 0 12px 30px rgba(20, 24, 19, .18); }
.ps-h { font: 500 .72rem/1.2 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 12px; }
.ps-no .ps-h { color: var(--clay-text); }
.ps-si .ps-h { color: var(--sage); }
.ps-col ul { list-style: none; display: grid; gap: 10px; }
.ps-col li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; line-height: 1.35; }
.ps-col svg { width: 20px; height: 20px; flex: none; margin-top: 1px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ps-no svg { stroke: var(--mauve); }
.ps-si svg { stroke: var(--sage); }
.ps-col b { font-weight: 600; }
.ps-no b { color: var(--ink); }
.ps-si b { color: var(--on-dark); }
.pg-general .ps .h2 em { display: block; }  /* "Festejar / no debería ser un lío." sin corte raro */

/* testimonio */
.testi-sec { background: var(--sage); padding: 38px 0 34px; }
.testi { position: relative; max-width: 760px; margin: 0 auto; padding-top: 22px; color: var(--olive); }
.testi-q { position: absolute; top: -18px; left: -6px; font: 300 6rem/1 var(--f-display); opacity: .3; }
.testi blockquote p { font: 300 1.42rem/1.3 var(--f-display); letter-spacing: -.01em; text-wrap: pretty; }
.testi figcaption { margin-top: 14px; font-size: .9rem; font-weight: 600; }

/* cotizador: cita corta, precios protagonistas, etiqueta y elegido más fuerte */
:is(.pg-empresas, .pg-general) .quote { padding-top: 22px; }
:is(.pg-empresas, .pg-general) .q-sub b { color: var(--ink); font-weight: 600; }
.q-quote {
  margin: 0 0 16px; padding: 10px 14px; border-left: 3px solid var(--sage); border-radius: 0 10px 10px 0;
  background: var(--bone); font: 300 1.12rem/1.3 var(--f-display); color: var(--ink);
}
.q-quote > span { color: var(--clay-text); margin-right: 1px; }
.q-quote small { display: block; margin-top: 5px; font: 500 .76rem/1.3 var(--f-ui); color: var(--ink-mute); }
:is(.pg-empresas, .pg-general) .rows--offer { gap: 10px; }
:is(.pg-empresas, .pg-general) .rows--offer .row { padding: 16px; align-items: start; }
:is(.pg-empresas, .pg-general) .rows--offer .t { font-weight: 600; font-size: 1.06rem; line-height: 1.25; }
:is(.pg-empresas, .pg-general) .rows--offer .p { font: 300 1.9rem/1 var(--f-display); letter-spacing: -.02em; padding-top: 0; }
:is(.pg-empresas, .pg-general) .rows--offer .p small { font: 400 .7rem/1.25 var(--f-ui); letter-spacing: 0; margin-top: 5px; }
.pg-empresas .rows--offer .row--tag { position: relative; margin-top: 12px; border-color: var(--clay); }
.tag-ideal {
  position: absolute; top: -11px; left: 14px; padding: 5px 10px; border-radius: 100px;
  background: var(--clay-text); color: var(--paper); font: 600 .7rem/1 var(--f-ui); letter-spacing: .03em;
}
:is(.pg-empresas, .pg-general) .rows--offer .row[aria-checked="true"] {
  background: var(--olive); border-color: var(--olive); color: var(--on-dark);
  box-shadow: 0 0 0 3px var(--sage), 0 12px 26px rgba(20, 24, 19, .28);
}
.pg-empresas .rows--offer .row[aria-checked="true"] .tag-ideal { background: var(--sage); color: var(--olive); }
.rows--offer .inc { color: var(--ink); font-weight: 600; }
.rows--offer .row[aria-checked="true"] .inc { color: var(--on-dark); }
/* precio y total en vivo junto al selector de personas */
.live {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 14px; margin-top: 10px;
  padding: 10px 14px; border-radius: 12px; background: var(--bone); font-size: .9rem; color: var(--ink-soft);
  font-variant-numeric: tabular-nums; min-height: 44px; align-items: center;
}
.live:empty { display: none; }
.live b { color: var(--ink); font-weight: 600; }
:is(.pg-empresas, .pg-general) .faq details p b { color: var(--ink); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .urg-dot::after { animation: none; } }
@media (min-width: 860px) {
  .ps { padding: 72px 0 64px; }
  .ps-grid { grid-template-columns: 1fr 1.25fr; gap: 16px; margin-top: 30px; }
  .ps-col { padding: 24px 26px; }
  .testi-sec { padding: 64px 0; }
  .testi blockquote p { font-size: 2rem; }
  .pchips li { font-size: .84rem; }
}

/* ---------- secciones ---------- */
.sec { padding: 52px 0; }
.sec--paper { background: var(--paper); }
.sec-head { max-width: 660px; margin-bottom: 24px; }
.sec-head .lead { margin-top: 12px; }

/* el espacio: video completo 9:16, sin máscara */
.space-grid { display: grid; gap: 20px; grid-template-areas: "head" "vid" "facts"; }
.space-head { grid-area: head; }
.space-vid { grid-area: vid; min-width: 0; }  /* sin min-width:0 el grid toma los 720px del video y desborda la página */
.space-vid video {
  display: block; width: auto; height: auto; max-width: 100%; max-height: min(64svh, 560px);
  aspect-ratio: 9 / 16; margin: 0 auto; object-fit: cover; border-radius: 12px; background: var(--sage);
}
.space-vid figcaption { margin-top: 10px; font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }
.facts { grid-area: facts; list-style: none; border-top: 1px solid var(--rule); }
.facts li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.facts .n { font-family: var(--f-display); font-size: 1.4rem; line-height: 1; color: var(--moss); padding-top: 2px; }
.facts b { display: block; font-weight: 500; }
.facts span { color: var(--ink-soft); font-size: .92rem; }

/* menú + clase opcional */
.menu-grid { display: grid; gap: 16px; }
.menu-list { list-style: none; display: grid; border-top: 1px solid var(--rule); }
.menu-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.menu-list .ico { width: 40px; height: 40px; color: var(--moss); }
.menu-list b { display: block; font-weight: 500; }
.menu-list span { color: var(--ink-soft); font-size: .92rem; }
.extra { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; background: var(--sage); color: var(--ink); border-radius: 16px; padding: 18px; }
.extra .ico { width: 48px; height: 48px; color: var(--olive); }
.extra .eyebrow { color: var(--olive); margin-bottom: 6px; }
.extra h3 { font-family: var(--f-display); font-weight: 300; font-size: 1.45rem; line-height: 1.1; }
.extra p:last-child { margin-top: 8px; font-size: .92rem; line-height: 1.5; }

/* empresas */
.corp { background: var(--olive); color: var(--on-dark); }
.corp .eyebrow { color: var(--sage); }
.corp .h2 em { color: var(--sage); }
.corp .lead { color: var(--on-dark-soft); margin-top: 12px; }
.corp-grid { display: grid; gap: 22px; }
.corp-pts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--on-dark-rule); border: 1px solid var(--on-dark-rule); border-radius: 14px; overflow: hidden; }
.corp-pts li { background: var(--olive); padding: 14px 16px; }
.corp-pts b { display: block; font-family: var(--f-display); font-weight: 300; font-size: 1.7rem; line-height: 1.05; }
.corp-pts span { font-size: .84rem; color: var(--on-dark-soft); }
.corp .btn { margin-top: 20px; }

/* cómo se reserva: lista numerada compacta */
.steps { list-style: none; counter-reset: s; display: grid; border-top: 1px solid var(--rule); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--f-display); font-size: 1.8rem; line-height: 1; color: var(--moss); }
.steps b { font-weight: 500; }
.steps li > span { color: var(--ink-soft); font-size: .92rem; }

/* faq */
.faq .h2 { margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 500; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 300 1.5rem/1 var(--f-ui); color: var(--moss); transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--ink-soft); max-width: 62ch; }

/* cierre */
.closing .ico { color: var(--moss); width: 56px; height: 56px; margin-bottom: 12px; }
.closing .lead { margin-top: 12px; }
.closing .btn { margin-top: 20px; }

/* dónde */
.where { display: grid; gap: 18px; }
.where address { font-style: normal; }
.where .big { font-family: var(--f-display); font-weight: 300; font-size: 2rem; line-height: 1.05; }
.where .links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 12px; }
.map { border-radius: 16px; overflow: hidden; background: var(--sage); aspect-ratio: 16 / 10; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* pie */
.foot { background: var(--olive); color: var(--on-dark-soft); padding: 40px 0 104px; font-size: .86rem; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.foot img { height: 56px; width: auto; }
.foot a { color: var(--on-dark); }

/* ---------- entrada del hero ---------- */
.js .rise { opacity: 0; transform: translateY(12px); }
.js .ready .rise { opacity: 1; transform: none; transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rise, .js .ready .rise { transform: none; transition: none; opacity: 1; }
  .q-step.enter, .quote.enter { animation: none; }
  .q-bar span, .sticky-cta, .sticky-cta.is-off, .vpill, .vpill.is-off { transition: none; }
}

/* celu bajo (navegador de Instagram): un poco menos de aire */
@media (max-width: 859px) and (max-height: 720px) {
  .hero-in { padding-top: 76px; padding-bottom: 22px; }
  .hero-sub { font-size: .94rem; margin-top: 10px; }
  .hero-cta { margin-top: 16px; }
}
@media (min-width: 560px) {
  .hero-cta { width: auto; padding-left: 34px; padding-right: 34px; }
}
@media (min-width: 720px) {
  .chips { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- desktop ---------- */
@media (min-width: 860px) {
  :root { --gutter: 40px; --top-h: 68px; }
  .logo img { height: 50px; }
  .top-meta { display: block; }
  .hero { min-height: min(calc(88svh - var(--top-h)), 820px); }
  .hero-in { padding-top: 120px; padding-bottom: 48px; }
  .stamp { top: 26px; }
  .quote { padding: 40px 0 80px; }
  .q-card { padding: 30px 36px 14px; }
  .sticky-cta { display: none; }
  .vpill { top: calc(var(--top-h) + 74px); }
  .foot { padding-bottom: 44px; }
  .sec { padding: 88px 0; }
  .sec-head { margin-bottom: 32px; }
  .space-grid {
    --vid-h: min(calc(100svh - var(--top-h) - 140px), 700px);
    grid-template-columns: calc(var(--vid-h) * 9 / 16) 1fr; grid-template-areas: "vid head" "vid facts";
    column-gap: 70px; row-gap: 0; align-items: center; justify-content: center;
  }
  .space-head { align-self: end; }
  .facts { align-self: start; margin-top: 28px; }
  .menu-grid { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
  .extra { padding: 24px; }
  .corp-grid { grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
  .steps { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
  .faq .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
  .where { grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
  .map { aspect-ratio: 16 / 10; }
}

/* ---------- test: first screen like TLC on phones (video fills the screen with title and CTA on it).
   Desktop keeps the published hero: full-width video with the text over it, quote card below. ---------- */
html:has(.pg-empresas) { scroll-padding-top: 0; }
.pg-empresas { --top-h: 44px; }
.pg-empresas .top { position: relative; height: var(--top-h); background: var(--olive); border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.pg-empresas .top .wrap { justify-content: center; }
.pg-empresas .top .logo img { height: 32px; }
.pg-empresas .top-meta, .pg-empresas .top-cta, .hero-desk { display: none; }
.hero--clean { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: calc(94vh - var(--top-h)) auto; grid-template-rows: calc(94svh - var(--top-h)) auto; align-items: stretch; min-height: 0; overflow: visible; }
.hero--clean::after, :is(.pg-empresas, .pg-general) .hero--clean::after { display: none; }
.hero--clean .hero-bg { position: relative; inset: auto; z-index: 0; grid-row: 1; grid-column: 1; min-height: 0; overflow: hidden; }
.hero--clean .hero-bg img, .hero--clean .hero-bg video { object-position: 50% 50%; }
.hero-copy {
  grid-row: 1; grid-column: 1; align-self: end; z-index: 1; padding: 52px var(--gutter) 18px;
  background: linear-gradient(to top, rgba(54, 61, 53, 1) 0%, rgba(54, 61, 53, .92) 62%, rgba(54, 61, 53, 0) 100%);
}
/* No stroke on the display face: at light weights it draws each letter as a double line. */
:is(.pg-empresas, .pg-general) .hero--clean h1 { font-size: clamp(2.1rem, 9.4vw, 3rem); line-height: 1.04; -webkit-text-stroke: 0; }
.hero--clean .hero-cta { margin-top: 14px; width: 100%; }
.hero-after { padding: 8px var(--gutter) 0; }
.hero--clean .hero-sub { margin-top: 0; max-width: none; font-size: .95rem; line-height: 1.4; }
.hero-rating { margin-top: 10px; font-size: .78rem; text-align: center; color: var(--on-dark-soft); }
.hero-rating .star { color: var(--sage); }
.hero-rating small { font-size: inherit; opacity: .75; }
.hero--clean .quote { grid-column: 1; padding: 12px 0 36px; overflow-anchor: none; }
/* quote card: one step at a time, always starting at the same spot */
.q-wiz .q-card { padding: 14px 14px 6px; }
.q-wiz .q-prog { margin-bottom: 0; }
.q-prog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 22px; margin-bottom: 8px; }
.q-prog-top .q-prog-l { margin: 0; }
.q-back {
  position: relative; border: 0; background: none; padding: 0; cursor: pointer;
  font: 500 .84rem/22px var(--f-ui); color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
}
.q-back[hidden] { display: none; }
.q-back::after { content: ''; position: absolute; inset: -12px -10px; } /* 44px touch target at no layout cost */
.q-wiz .q-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.q-wiz .q { min-height: 290px; }
.q-wiz .q > .q-step:first-child, .q-wiz .q-step { padding: 12px 0 10px; border-top: 0; }
.q-wiz .q-label { margin-bottom: 8px; }
.q-wiz .q-label:focus, .q-wiz .t-head:focus { outline: 0; }
:is(.pg-empresas, .pg-general) .q-wiz .rows--offer { gap: 7px; }
:is(.pg-empresas, .pg-general) .q-wiz .rows--offer .row { padding: 10px 12px; align-items: baseline; }
/* The format name leads, the price supports it. */
:is(.pg-empresas, .pg-general) .q-wiz .rows--offer .t { font-size: 1.04rem; font-weight: 600; line-height: 1.22; }
:is(.pg-empresas, .pg-general) .q-wiz .rows--offer .p { font: 500 .8rem/1.2 var(--f-ui); letter-spacing: 0; padding-top: 0; }
.q-wiz .rows--offer .row .p small { display: none; }
.q-wiz .rows--offer .row .dot { align-self: start; margin-top: 1px; }
.q-wiz .rows--offer .row .d { font-size: .8rem; line-height: 1.3; }
.pg-empresas .q-wiz .rows--offer .row--tag { margin-top: 8px; padding-top: 14px; }
.q-wiz .row[hidden], .q-wiz .q-foot[hidden] { display: none; }
.q-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.q-opt {
  min-height: 60px; border-radius: 14px; border: 1.5px solid var(--rule); background: var(--bone); color: var(--ink);
  font: 500 1rem/1.2 var(--f-ui); cursor: pointer; transition: transform 160ms var(--ease-out);
}
.q-opt:active { transform: scale(.98); }
.q-opt[aria-checked="true"] { background: var(--olive); border-color: var(--olive); color: var(--on-dark); }
.q-aviso { margin-top: 12px; font-size: .88rem; line-height: 1.4; color: var(--ink-soft); }
.q-aviso[hidden] { display: none; }
.q-aviso b { color: var(--ink); font-weight: 600; }
.q-skip { display: block; width: 100%; min-height: 44px; margin-top: 4px; border: 0; background: none; font: 500 .9rem/1.2 var(--f-ui); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.q-wiz .date-in { width: 100%; }
.q-wiz .q-foot { margin-top: 8px; font-size: .76rem; line-height: 1.35; }
.q-wiz .count b { font-size: 2.8rem; }
.q-wiz #qFecha { padding-top: 2px; }
.q-wiz .date-note { min-height: 1.4em; margin-top: 8px; font-size: .8rem; line-height: 1.4; } /* reserved so the button below stays put */
.q-next { width: 100%; min-height: 52px; margin-top: 10px; }
.q-wiz .ticket { padding: 12px 12px 10px; }
.q-wiz .t-head { padding-bottom: 8px; }
.q-wiz .t-lines { padding-top: 8px; gap: 3px; font-size: .88rem; }
.q-wiz .t-total { padding-top: 8px; margin-top: 6px; }
.q-wiz .t-total .val.words { font-size: 1.2rem; }
.q-wiz .t-fine { margin-top: 6px; font-size: .74rem; line-height: 1.35; }
.q-wiz .t-fine p + p { margin-top: 2px; }
.q-wiz .t-extra { margin-top: 8px; padding: 8px 10px; font-size: .84rem; line-height: 1.3; }
.q-wiz .t-extra span span { font-size: .74rem; }
.q-wiz .ticket .btn { margin-top: 10px; min-height: 52px; padding-left: 12px; padding-right: 12px; font-size: .95rem; }
.q-wiz .t-hint { margin-top: 6px; font-size: .72rem; }
@media (min-width: 900px) {
  html:has(.pg-empresas) { scroll-padding-top: calc(var(--top-h) + 12px); }
  /* top bar as published */
  .pg-empresas { --top-h: 68px; }
  .pg-empresas .top {
    position: sticky; background: rgba(237, 231, 227, .94); border-bottom: 1px solid var(--rule);
    backdrop-filter: saturate(1.1) blur(10px); -webkit-backdrop-filter: saturate(1.1) blur(10px);
  }
  .pg-empresas .top .wrap { justify-content: space-between; }
  .pg-empresas .top .logo img { height: 50px; }
  .pg-empresas .top-meta, .pg-empresas .top-cta { display: block; }
  /* hero as published */
  .hero--clean { grid-template-rows: minmax(min(calc(88vh - var(--top-h)), 820px), auto) auto; grid-template-rows: minmax(min(calc(88svh - var(--top-h)), 820px), auto) auto; }
  .hero--clean .hero-bg img, .hero--clean .hero-bg video { object-position: 50% 40%; }
  .hero--clean .hero-bg::after {
    content: ''; position: absolute; inset: 0;
    /* Title sits on the left: the horizontal cut stays visible on the right. */
    background:
      linear-gradient(to right, rgba(33, 38, 32, .92) 0%, rgba(33, 38, 32, .8) 32%, rgba(33, 38, 32, .25) 60%, rgba(33, 38, 32, 0) 80%),
      linear-gradient(to top, rgba(33, 38, 32, .55) 0%, rgba(33, 38, 32, 0) 30%);
  }
  .hero--clean .stamp { z-index: 2; }
  .hero-desk { display: block; }
  .hero-after, .hero-rating { display: none; }
  .hero-copy {
    background: none; padding-top: 120px; padding-bottom: 48px;
    padding-left: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); padding-right: var(--gutter);
  }
  .hero-copy > * { max-width: 640px; }
  /* Same size as published, without the text-stroke behind the doubled look. */
  :is(.pg-empresas, .pg-general) .hero--clean h1 { font-size: clamp(2.4rem, 10.8vw, 5rem); line-height: 1; }
  .hero--clean .hero-sub { margin-top: 12px; max-width: 42ch; font-size: .98rem; line-height: 1.5; }
  .hero--clean .hero-cta { margin-top: 20px; width: auto; }
  /* the quote card stays right below, one step at a time */
  .hero--clean .quote { padding: 40px 0 80px; }
  .q-wiz .q-card { padding: 30px 36px 14px; }
}

/* ---------- 19/11: mobile first screen for /empresas ----------
   Shorter hero so the quote card peeks above the fold, with the key facts next to the title. */
.hero-facts { display: none; }
@media (max-width: 899px) {
  .hero--clean { grid-template-rows: calc(60vh - var(--top-h)) auto; grid-template-rows: calc(60svh - var(--top-h)) auto; }
  .hero-copy { padding-top: 40px; padding-bottom: 14px; }
  .hero-facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
  .hero-facts li {
    padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(237, 231, 227, .35);
    font: 500 .8rem/1.2 var(--f-ui); color: var(--on-dark);
  }
  .hero--clean .hero-cta { margin-top: 12px; }
  .hero-after { display: none; }
}
