/* =============================================================================
   Gómez · landings de eventos (v3)
   Lenguaje visual tomado de los flyers de @gomez__house: papel crema, tinta verde,
   serif gorda setentosa y fotos recortadas en círculo.
   ============================================================================= */

:root {
  /* color: papel + tinta + farol */
  --paper:    oklch(0.955 0.018 84);
  --paper-2:  oklch(0.922 0.024 82);
  --ink:      oklch(0.27 0.048 156);
  --ink-soft: oklch(0.27 0.048 156 / 0.72);
  --ink-mute: oklch(0.27 0.048 156 / 0.5);
  --rule:     oklch(0.27 0.048 156 / 0.16);
  --lantern:  oklch(0.6 0.19 24);
  --lantern-d:oklch(0.53 0.18 24);
  --night:    oklch(0.19 0.02 32);
  --on-ink:   oklch(0.95 0.02 84);
  --on-ink-soft: oklch(0.95 0.02 84 / 0.66);
  --on-ink-rule: oklch(0.95 0.02 84 / 0.16);

  /* tipo */
  --f-display: 'Fraunces', Georgia, serif;
  --f-ui:      'Instrument Sans', system-ui, sans-serif;
  --f-mono:    'DM Mono', ui-monospace, monospace;

  /* movimiento */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io:  cubic-bezier(0.77, 0, 0.175, 1);

  --gutter: 20px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  background: var(--paper); color: var(--ink);
  font: 400 1rem/1.55 var(--f-ui);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; }
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(--lantern); outline-offset: 3px; border-radius: 2px; }

/* grano de papel: fijo y sin eventos, para no repintar al scrollear */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%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");
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- barra superior ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.955 0.018 84 / 0.92);
  backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 16px; }
.logo { display: block; color: var(--ink); line-height: 0; }
.logo svg { height: 42px; width: auto; }
.top-meta { color: var(--ink-mute); display: none; }
.top-cta {
  font: 600 .84rem/1 var(--f-ui); text-decoration: none;
  background: var(--ink); color: var(--on-ink); padding: 11px 16px; border-radius: 100px;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.top-cta:active { transform: scale(.97); }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--f-ui); text-decoration: none;
  padding: 17px 26px; border-radius: 100px;
  background: var(--lantern); color: oklch(0.98 0.01 84);
  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); }
.link {
  font: 500 .95rem/1 var(--f-ui); color: var(--ink); text-decoration: none;
  border-bottom: 1.5px solid var(--rule); padding-bottom: 4px;
  transition: border-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--lantern-d); }
  .btn:hover svg { transform: translateX(3px); }
  .top-cta:hover { background: oklch(0.33 0.05 156); }
  .link:hover { border-color: var(--ink); }
}

/* ---------- hero ---------- */
.hero { padding: 34px 0 56px; }
.hero-grid { display: grid; gap: 34px; }
.eyebrow { color: var(--lantern-d); margin-bottom: 18px; }
.hero h1 {
  font-family: var(--f-display); font-weight: 800;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-size: clamp(2.7rem, 11.5vw, 5.4rem); line-height: .94; letter-spacing: -.035em;
  text-wrap: balance;
}
.hero h1 em { display: block; font-style: italic; font-weight: 600; color: var(--lantern-d); }
.hero-sub { margin-top: 18px; font-size: 1.08rem; color: var(--ink-soft); max-width: 36ch; }
.hero-act { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* composición de fotos estilo flyer: rectángulo + círculo encimado */
.hero-media { position: relative; }
.hero-media .frame {
  border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--night);
}
.hero-media .frame img, .hero-media .frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-media .stamp {
  position: absolute; right: 14px; top: 14px;
  background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 100px;
}

/* ---------- titulares de sección ---------- */
.h2 {
  font-family: var(--f-display); font-weight: 800;
  font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 1;
  font-size: clamp(2rem, 8vw, 3.4rem); line-height: .98; letter-spacing: -.03em; text-wrap: balance;
}

/* ---------- hero social: video de fondo ---------- */
.hero--video {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: calc(100svh - 58px); padding: 0;
  display: flex; align-items: flex-end;
  background: var(--night); color: var(--on-ink);
}
.hero--video .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  /* el video trae el logo sobreimpreso al centro: se escala desde abajo para que quede arriba del titular */
  transform: scale(1.3); transform-origin: 50% 100%; }
.hero--video::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, oklch(0.15 0.02 32 / 0.94) 0%, oklch(0.15 0.02 32 / 0.6) 48%, oklch(0.15 0.02 32 / 0.28) 100%);
}
.hero--video .hero-in { width: 100%; padding-top: 110px; padding-bottom: 44px; }
.hero--video .eyebrow { color: oklch(0.82 0.09 45); }
.hero--video h1 { color: var(--on-ink); max-width: 11ch; }
.hero--video h1 em { color: oklch(0.76 0.14 30); }
.hero--video .hero-sub { color: var(--on-ink-soft); }
.hero--video .link { color: var(--on-ink); border-color: var(--on-ink-rule); }
.hero--video .stamp {
  position: absolute; top: 16px; right: var(--gutter);
  background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 100px;
}
@media (hover: hover) and (pointer: fine) { .hero--video .link:hover { border-color: var(--on-ink); } }

/* ---------- por qué Gómez: beneficios concretos ---------- */
.perks { padding: 60px 0 72px; }
.perks .eyebrow { margin-bottom: 12px; }
.perks .h2 { margin-bottom: 28px; }
.perks-grid { display: grid; gap: 26px; }
.perks-lead { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--night); }
.perks-lead video { width: 100%; height: 100%; object-fit: cover; display: block; }
.perks-lead figcaption {
  position: absolute; inset: auto 0 0 0; padding: 72px 18px 18px;
  background: linear-gradient(to top, oklch(0.15 0.02 32 / 0.9), transparent);
  color: var(--on-ink-soft); font-size: .95rem; line-height: 1.45;
}
.perks-lead strong {
  display: block; margin-bottom: 4px; color: var(--on-ink);
  font-family: var(--f-display); font-weight: 700; font-variation-settings: 'opsz' 72, 'SOFT' 100;
  font-size: 1.5rem; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance;
}
.perks-list { list-style: none; border-top: 1.5px solid var(--ink); }
.perks-list li {
  display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--rule);
}
.perks-list img { width: 92px; height: 92px; object-fit: cover; border-radius: 5px; background: var(--night); }
.perks-list h3 {
  font-family: var(--f-display); font-weight: 700; font-variation-settings: 'opsz' 72, 'SOFT' 100;
  font-size: 1.22rem; line-height: 1.12; letter-spacing: -.012em; text-wrap: balance; margin-bottom: 4px;
}
.perks-list p { color: var(--ink-soft); font-size: .93rem; line-height: 1.45; }

/* ---------- cotizador: bloque de tinta ---------- */
.quote { background: var(--ink); color: var(--on-ink); padding: 60px 0 72px; }
.quote .h2 { margin-bottom: 10px; }
.quote-sub { color: var(--on-ink-soft); max-width: 40ch; margin-bottom: 30px; }

.q-step { padding: 22px 0 24px; border-top: 1px solid var(--on-ink-rule); }
.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; gap: 10px; margin-bottom: 14px; font-weight: 600; font-size: 1.05rem; }
.q-label .mono { color: var(--on-ink-soft); font-weight: 400; }

/* chips de tipo */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 13px 18px; border-radius: 100px; border: 1px solid var(--on-ink-rule);
  font-weight: 500; font-size: .98rem;
  transition: transform 140ms var(--ease-out), background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.chip:active { transform: scale(.97); }
.chip[aria-checked="true"] { background: var(--on-ink); color: var(--ink); border-color: var(--on-ink); }

/* opciones con precio a la derecha: el precio se ve mientras elegís */
.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%; padding: 16px 16px 17px; border-radius: 8px;
  border: 1px solid var(--on-ink-rule);
  transition: transform 140ms var(--ease-out), background-color 180ms ease, border-color 180ms ease;
}
.row:active { transform: scale(.985); }
.row .dot {
  width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--on-ink-soft);
  margin-top: 2px; display: grid; place-items: center;
  transition: border-color 180ms ease;
}
.row .dot::after {
  content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--on-ink);
  transform: scale(.4); opacity: 0;
  transition: transform 200ms var(--ease-out), opacity 150ms ease;
}
.row .t { font-weight: 600; font-size: 1.02rem; }
.row .d { grid-column: 2 / -1; color: var(--on-ink-soft); font-size: .9rem; line-height: 1.45; }
.row .p { font-family: var(--f-mono); font-size: .82rem; text-align: right; white-space: nowrap; padding-top: 3px; }
.row .p small { display: block; color: var(--on-ink-soft); font-size: .68rem; margin-top: 3px; }
.row[aria-checked="true"] { background: oklch(0.95 0.02 84 / 0.07); border-color: var(--on-ink); }
.row[aria-checked="true"] .dot { border-color: var(--on-ink); }
.row[aria-checked="true"] .dot::after { transform: scale(1); opacity: 1; }
.row .tag {
  grid-column: 2 / -1; justify-self: start; margin-top: 8px;
  font: 500 .66rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); background: oklch(0.86 0.1 90); padding: 5px 8px; border-radius: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .chip:hover, .row:hover { border-color: var(--on-ink-soft); }
}

/* personas */
.count { display: flex; align-items: baseline; gap: 10px; }
.count b {
  font-family: var(--f-display); font-weight: 800; font-variation-settings: 'opsz' 144, 'SOFT' 100;
  font-size: 3.4rem; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums;
}
.count span { color: var(--on-ink-soft); }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 36px; background: transparent; margin-top: 6px; cursor: pointer;
}
input[type=range]::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: var(--on-ink-rule); }
input[type=range]::-moz-range-track { height: 3px; border-radius: 3px; background: var(--on-ink-rule); }
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12.5px; border-radius: 50%;
  background: var(--on-ink); border: 0; box-shadow: 0 0 0 6px oklch(0.95 0.02 84 / 0.12);
  transition: transform 140ms var(--ease-out);
}
input[type=range]:active::-webkit-slider-thumb { transform: scale(1.1); }
input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--on-ink); border: 0; }
.range-ends { display: flex; justify-content: space-between; color: var(--on-ink-soft); }
.nudge {
  margin-top: 14px; font-size: .92rem; color: var(--on-ink-soft);
  display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline;
}
.nudge[hidden] { display: none; }
.nudge button { color: var(--on-ink); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

/* fecha */
.date-row { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.date-in {
  flex: 1 1 200px; background: transparent; color: var(--on-ink); color-scheme: dark;
  border: 1px solid var(--on-ink-rule); border-radius: 8px; padding: 14px 14px; font-size: 1rem;
}
.date-in:disabled { opacity: .35; }
.check { display: inline-flex; gap: 9px; align-items: center; color: var(--on-ink-soft); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: oklch(0.86 0.1 90); }
.date-note { margin-top: 12px; font-size: .92rem; color: var(--on-ink-soft); min-height: 1px; }
.date-note b { color: var(--on-ink); font-weight: 600; }

/* ticket de cotización */
.ticket {
  margin-top: 8px; background: var(--paper); color: var(--ink); border-radius: 10px;
  padding: 22px 20px 20px; position: relative;
}
.ticket::before, .ticket::after {
  content: ''; position: absolute; top: 47px; width: 18px; height: 18px; border-radius: 50%; background: var(--ink);
}
.ticket::before { left: -9px; }
.ticket::after  { right: -9px; }
.t-head { display: flex; justify-content: space-between; gap: 12px; color: var(--ink-mute); padding-bottom: 16px; border-bottom: 1.5px dashed var(--rule); }
.t-lines { padding: 16px 0 4px; display: grid; gap: 8px; font-size: .95rem; }
.t-line { display: flex; justify-content: space-between; gap: 12px; }
.t-line span:last-child { font-family: var(--f-mono); font-size: .86rem; white-space: nowrap; }
.t-line.muted { color: var(--ink-soft); }
.t-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--rule); }
.t-total .lbl { font-weight: 600; }
.t-total .val {
  font-family: var(--f-display); font-weight: 800; font-variation-settings: 'opsz' 144, 'SOFT' 100;
  font-size: 2rem; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1;
}
.t-total .val.words { font-size: 1.3rem; letter-spacing: -.01em; }
.t-fine { margin-top: 10px; font-size: .8rem; color: var(--ink-mute); }
.t-reco {
  margin-top: 14px; padding: 12px 14px; border-left: 3px solid var(--lantern);
  background: oklch(0.6 0.19 24 / 0.08); border-radius: 0 8px 8px 0;
  font-size: .86rem; line-height: 1.45; color: var(--ink);
}
.t-reco b { font-weight: 600; }
.t-reco button { display: block; margin-top: 8px; color: var(--lantern-d); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.t-fine button { display: block; margin-top: 6px; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ticket .btn { width: 100%; margin-top: 18px; }
.ticket .btn.ig { background: var(--ink); }
.ticket .btn[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.t-hint { margin-top: 10px; font-size: .8rem; color: var(--ink-mute); text-align: center; }

/* ---------- preguntas ---------- */
.faq { padding: 60px 0 40px; }
.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: 18px 0; font-weight: 600; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font: 400 1.4rem/1 var(--f-ui); color: var(--lantern-d);
  transition: transform 200ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--ink-soft); max-width: 60ch; }

/* ---------- pie ---------- */
.foot { padding: 30px 0 48px; }
.foot-card { display: grid; gap: 18px; align-items: center; }
.foot-card .ph { border-radius: 6px; overflow: hidden; aspect-ratio: 16 / 10; }
.foot-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.foot-card address { font-style: normal; }
.foot-card .big { font-family: var(--f-display); font-weight: 700; font-variation-settings: 'opsz' 72, 'SOFT' 100; font-size: 1.6rem; line-height: 1.1; letter-spacing: -.015em; }
.foot-links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
.foot-other { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--ink-mute); }
.foot-other a { color: var(--ink); }

/* ---------- entrada del hero (una sola vez) ---------- */
.js .rise { opacity: 0; transform: translateY(14px); }
.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); }
.js .reveal { clip-path: inset(0 0 100% 0); }
.js .ready .reveal { clip-path: inset(0 0 0 0); transition: clip-path 900ms var(--ease-io); transition-delay: calc(120ms + var(--i, 0) * 120ms); }

@media (prefers-reduced-motion: reduce) {
  .js .rise, .js .ready .rise { transform: none; }
  .js .reveal { clip-path: none; }
  .q-step.enter { animation: step-fade 200ms ease both; }
  @keyframes step-fade { from { opacity: 0; } }
  html { scroll-behavior: auto; }
}

/* ---------- desktop ---------- */
@media (min-width: 860px) {
  :root { --gutter: 40px; }
  .top-meta { display: block; }
  .hero { padding: 56px 0 84px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; align-items: end; gap: 56px; }
  .hero-media .frame { aspect-ratio: 4 / 4.6; }
  .quote { padding: 90px 0 100px; }
  .quote-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
  .quote-intro { position: sticky; top: 100px; }
  .foot-card { grid-template-columns: 1fr 1fr; gap: 40px; }
}

.date-note button { color: var(--on-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 860px) {
  .hero--video { min-height: min(calc(100svh - 58px), 820px); }
  .hero--video .hero-bg { transform: none; object-position: 50% 4%; } /* en horizontal se ve la parte de arriba, sin el logo */
  .hero--video .hero-in { padding-bottom: 72px; }
  .hero--video .stamp { top: 24px; }
  .perks { padding: 90px 0 100px; }
  .perks-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
  .perks-lead { aspect-ratio: 9 / 14; position: sticky; top: 90px; }
  .perks-list li { grid-template-columns: 132px 1fr; gap: 24px; padding: 20px 0; }
  .perks-list img { width: 132px; height: 132px; }
  .perks-list h3 { font-size: 1.45rem; }
  .perks-list p { font-size: 1rem; }
}

/* ---------- v3d: cotizador en el hero + prueba social ---------- */
.hero--video h1 { font-size: clamp(2.2rem, 9vw, 4.6rem); }
/* celu: que las opciones del primer paso entren en la primera pantalla, también en el navegador de Instagram */
.hero--video .hero-in { padding-top: 66px; padding-bottom: 26px; }
.hero--video .hero-sub { margin-top: 12px; }
.hero .row { padding: 13px 14px 14px; }
/* pantallas bajas (navegador de Instagram en celus chicos): título, precio y etiqueta alcanzan para elegir */
@media (max-width: 859px) and (max-height: 760px) { .hero .row .d { display: none; } }
.hero--video .hero-in > * { max-width: 640px; }
.hero--video .hero-bg--photo { transform: none; object-position: 50% 22%; }

.proof { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 12px; font-size: .82rem; color: var(--on-ink-soft); }
.proof b { color: var(--on-ink); font-weight: 600; }
.star { width: 14px; height: 14px; color: oklch(0.86 0.12 85); vertical-align: -2px; margin-right: 5px; }

.hero-q { margin-top: 14px; padding: 14px 0 0; }
.hero .chip, .hero .row { background: oklch(0.15 0.02 32 / 0.5); }
.hero .row[aria-checked="true"] { background: oklch(0.95 0.02 84 / 0.14); }
.hero .chip[aria-checked="true"] { background: var(--on-ink); }

.quote { padding: 26px 0 60px; }
.quote.enter { animation: step-in 320ms var(--ease-out) both; }
.quote-solo .q { max-width: 720px; }

.t-proof { margin-top: 12px; text-align: center; font-size: .8rem; color: var(--ink-soft); }
.t-proof b { color: var(--ink); font-weight: 600; }
.t-proof .star { color: oklch(0.7 0.14 70); }

.closing { padding: 10px 0 64px; }
.closing .proof { color: var(--ink-soft); margin: 0 0 12px; }
.closing .proof b { color: var(--ink); }
.closing .star { color: oklch(0.7 0.14 70); }
.closing .h2 { margin-bottom: 22px; }

@media (min-width: 860px) {
  .hero--video .hero-bg--photo { object-position: 50% 30%; }
  .hero--video .hero-in { padding-top: 110px; padding-bottom: 64px; }
  .quote { padding: 40px 0 84px; }
}
