/* Arisa Digital · landing de salones de celebraciones
   El mismo sistema que la landing de fincas (página arena, texto carbón, dorado), y pensado para el móvil:
   una columna, sin menú, sin efectos de scroll. */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("assets/fonts/inter-variable.woff2") format("woff2"); }

:root {
  --fg-rgb: 42, 37, 33;
  --bg: #F4EBDD;
  --surface: #FBF6EE;
  --surface-2: #EADFCC;
  --paper: #FFFDF8; /* los campos: un punto más claros que las tarjetas */
  --text: rgb(var(--fg-rgb));
  --text-70: rgba(var(--fg-rgb), .78);
  --text-55: rgba(var(--fg-rgb), .66); /* texto secundario pequeño: llega a 4,5:1 sobre arena */
  --line: rgba(var(--fg-rgb), .16);
  --gold: #D6B24C;      /* fondo de los botones y subrayados */
  --gold-deep: #C4A03A; /* el botón al pasar por encima */
  --gold-soft: #75600F; /* dorado para texto e iconos: sobre arena el de los botones no se lee */
  --on-gold: #2A2521;
  --warn: #A5351C;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); overflow-x: hidden; overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
html:has(dialog[open]) { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.55; letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3, figure, blockquote, ol { margin: 0; padding: 0; }
ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
b { font-weight: 600; }
:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(214, 178, 76, .38); }

.page { max-width: 760px; margin-inline: auto; padding: 0 var(--gutter) calc(120px + env(safe-area-inset-bottom)); }

/* ---------- Tipografía ---------- */
h1, h2, .niche, .vsl__text { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.012em; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 8.2vw, 3.8rem); line-height: .94; }
h2 { font-size: clamp(2.1rem, 9vw, 3rem); line-height: .95; }
h3 { font-size: 1.22rem; line-height: 1.3; font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }
.lede { font-size: 1.12rem; line-height: 1.5; color: var(--text-70); text-wrap: pretty; }

/* ---------- Inicio ---------- */
.hero { position: relative; isolation: isolate; padding-top: 14px; }
/* La guirnalda: un lienzo detrás del texto, de borde a borde de la pantalla aunque la columna sea estrecha */
[data-lights] { position: relative; isolation: isolate; }
.lights { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); width: 100vw; z-index: -1; pointer-events: none; }
.lights canvas { display: block; width: 100%; height: 100%; }
/* Arriba, como en Growth Mastery: la prueba, en una pastilla, y a quién va, en un recuadro dorado */
.proof { display: inline-flex; align-items: center; gap: 9px; padding: 4px 14px 4px 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.proof__faces { display: flex; flex: none; }
.proof__faces img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--paper); object-fit: cover; }
.proof__faces img + img { margin-left: -9px; }
.proof__text { display: grid; font-size: .72rem; line-height: 1.2; color: var(--text-55); }
.proof__text b { font-size: .84rem; color: var(--text); }
.niche { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 8px 12px; border: 1.5px solid var(--gold); border-radius: 12px; background: rgba(214, 178, 76, .16); font-size: clamp(1.32rem, 5.9vw, 1.7rem); line-height: 1; color: var(--text); letter-spacing: 0; }
.niche::before { content: "!"; flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1; }
.hero h1 { margin-top: 10px; }
/* Lo llamativo, subrayado en dorado */
h1 em {
  font-style: normal; padding: 0 .06em; margin: 0 -.06em;
  background: linear-gradient(rgba(214, 178, 76, .72), rgba(214, 178, 76, .72)) no-repeat 0 88% / 100% 40%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero__sub { margin-top: 10px; font-size: .96rem; line-height: 1.42; color: var(--text-70); text-wrap: pretty; }
.hero__sub b { color: var(--text); }

/* ---------- El vídeo y su miniatura ---------- */
.vsl { margin-top: 12px; margin-bottom: 56px; }
.vsl__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #2A2521; }
.vsl__video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
.vsl__thumb { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; width: 100%; padding: clamp(14px, 4.4vw, 26px); color: #F4EBDD; text-align: left; }
.vsl__thumb:disabled { cursor: default; }
.vsl__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Mientras va sin sonido: todo el vídeo se puede pulsar, y en el centro, el recuadro que invita a escucharlo */
.vsl__sound { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; width: 100%; padding: 12px; color: #fff; }
.vsl__box {
  display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 12px; text-align: left;
  background: rgba(20, 17, 15, .55); border: 1.5px solid rgba(214, 178, 76, .9); box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color .15s;
}
.vsl__sound:hover .vsl__box { background: rgba(20, 17, 15, .72); }
.vsl__box svg { flex: none; color: var(--gold); }
.vsl__label { display: grid; gap: 2px; line-height: 1.25; }
.vsl__label b { font-size: .98rem; font-weight: 600; }
.vsl__label span { font-size: .86rem; color: rgba(255, 255, 255, .85); }
/* Con imagen, un velo oscuro para que el texto se lea */
.has-image .vsl__thumb::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(20, 17, 15, .78), rgba(20, 17, 15, .28)); }
.vsl__text, .vsl__row { position: relative; z-index: 2; }
.vsl__text { max-width: 82%; font-size: clamp(1.42rem, 6.4vw, 2.5rem); line-height: .98; }
.vsl__row { display: flex; align-items: center; gap: 12px; }
.vsl__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--on-gold); transition: background-color .15s, transform .15s; }
.vsl__thumb:not(:disabled):hover .vsl__ico { background: var(--gold-deep); transform: scale(1.05); }
/* El hueco: mientras no haya vídeo */
.vsl__frame.is-hole .vsl__ico { background: rgba(244, 235, 221, .16); color: rgba(244, 235, 221, .7); }
.vsl__hole { font-size: .82rem; color: rgba(244, 235, 221, .8); border: 1px dashed rgba(244, 235, 221, .5); border-radius: 999px; padding: 3px 10px; }

/* ---------- Botones ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 10px 22px;
  border-radius: 10px; font-size: 1.02rem; font-weight: 600; line-height: 1.2; text-align: center; text-decoration: none;
  transition: background-color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--on-gold); }
.btn--gold:hover { background: var(--gold-deep); }
.btn--line { border: 1.5px solid rgba(var(--fg-rgb), .38); color: var(--text); }
.btn--line:hover { border-color: var(--text); }
.btn--sm { width: auto; min-height: 44px; padding: 8px 16px; font-size: .92rem; }
/* El botón principal, en dos líneas, como en Growth Mastery */
.btn--big { flex-direction: column; gap: 3px; min-height: 66px; padding: 8px 22px; box-shadow: 0 10px 24px -14px rgba(117, 96, 15, .9); }
.btn--big span { font-family: var(--font-display); font-size: 1.62rem; font-weight: 700; line-height: 1; letter-spacing: .005em; text-transform: uppercase; }
.btn--big small { font-size: .7rem; font-weight: 600; line-height: 1; letter-spacing: .08em; text-transform: uppercase; opacity: .78; }
.link { text-decoration: underline; text-underline-offset: 3px; color: inherit; }
.link:hover { color: var(--text); }

.try { margin-top: 12px; display: grid; gap: 9px; }
.try__note { font-size: .92rem; line-height: 1.4; color: var(--text-55); text-align: center; text-wrap: balance; }

/* ---------- Secciones ---------- */
/* Cada sección es una franja de borde a borde, para que la página se lea por partes */
.block { padding-block: 64px; }
.band { background: var(--band); box-shadow: 0 0 0 100vmax var(--band); clip-path: inset(0 -100vmax); }
.band--light { --band: var(--paper); --surface: var(--bg); }
.band--dark {
  --band: #2A2521; --text: #F4EBDD; --text-70: rgba(244, 235, 221, .8); --text-55: rgba(244, 235, 221, .66);
  --line: rgba(244, 235, 221, .16); --gold-soft: var(--gold);
  color: var(--text);
}
.block > .kicker { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); }
.block > .kicker + h2 { margin-top: 10px; }
.block > * + * { margin-top: 16px; }
.block > h2 + * { margin-top: 20px; }
.block > p { color: var(--text-70); text-wrap: pretty; }
.block > .btn { margin-top: 24px; }

/* Lo que hace el cliente después de la llamada: tres pasos numerados */
.pasos { counter-reset: paso; }
.block > .pasos { margin-top: 22px; }
.pasos li { counter-increment: paso; position: relative; padding: 16px 0 16px 44px; border-top: 1px solid var(--line); }
.pasos li:last-child { border-bottom: 1px solid var(--line); }
.pasos li::before { content: counter(paso); position: absolute; left: 0; top: 13px; font-family: var(--font-display); font-weight: 700; font-size: 2.1rem; line-height: 1; color: var(--gold-soft); }
.pasos b { display: block; font-size: 1.08rem; line-height: 1.3; }
.pasos span { display: block; margin-top: 4px; color: var(--text-70); font-size: .98rem; line-height: 1.45; }

/* Testimonios */
.block > .voces { margin-top: 24px; }
.voces { display: grid; gap: 14px; }
.voz { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.voz--video { display: grid; grid-template-columns: 118px 1fr; gap: 14px; align-items: start; }
.voz--video.is-playing { display: block; }
.voz--video.is-playing .voz__cuerpo { margin-top: 14px; }
.voz__play { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #2A2521; }
.voz__play img { width: 100%; height: 100%; object-fit: cover; }
.voz__ico { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--gold); color: var(--on-gold); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
.voz__dura { position: absolute; right: 6px; bottom: 6px; padding: 1px 7px; border-radius: 999px; background: rgba(20, 17, 15, .68); color: #fff; font-size: .72rem; font-weight: 600; }
.voz__video { display: block; width: min(100%, 300px); aspect-ratio: 9 / 16; margin-inline: auto; border-radius: 10px; background: #000; }
.voz blockquote { font-size: 1rem; line-height: 1.48; }
.voz mark {
  color: inherit; padding: 0 2px; margin: 0 -2px;
  background: linear-gradient(rgba(214, 178, 76, .55), rgba(214, 178, 76, .55)) no-repeat 0 86% / 100% 42%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.voz figcaption { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: .84rem; line-height: 1.3; color: var(--text-55); }
.voz figcaption img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.voz figcaption b { display: block; font-size: .96rem; color: var(--text); }
.voz__dato { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; line-height: 1.3; color: var(--text-55); }
.voz__dato b { flex: none; font-family: var(--font-display); font-size: 1.9rem; line-height: 1; color: var(--gold-soft); text-transform: uppercase; }

/* ---------- Formulario y calendario ---------- */
.book { scroll-margin-top: 8px; }
.flow { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 18px 22px; }
/* En el móvil la tarjeta ocupa la pantalla entera: de borde a borde y a toda la altura. Los datos y el calendario empiezan arriba; la confirmación, centrada */
@media (max-width: 600px) {
  html { scroll-padding-top: 0; }
  .flow { margin-inline: calc(-1 * var(--gutter)); border-inline: 0; border-radius: 0; min-height: 100vh; min-height: 100svh; padding: 18px var(--gutter) 28px; display: flex; flex-direction: column; scroll-margin-top: 0; }
  .flow .step--done { margin-block: auto; }
}
.step h3 { outline: none; }
.step__why { margin-top: 8px; font-size: .9rem; line-height: 1.45; color: var(--text-55); }
.step__echo { margin-top: 8px; font-size: .94rem; color: var(--text-70); overflow-wrap: anywhere; }
.step__fallback { margin-top: 12px; font-size: .94rem; color: var(--text-70); overflow-wrap: anywhere; }

.field { margin-top: 12px; }
.field label { display: block; margin-bottom: 6px; font-size: .92rem; font-weight: 600; }
.field label span { font-weight: 400; color: var(--text-55); }
.field input {
  width: 100%; min-height: 50px; padding: 10px 14px; font-size: 1.06rem; /* 17 px: por encima de 16 el móvil no hace zoom al tocar */
  background: var(--paper); border: 1.5px solid rgba(var(--fg-rgb), .3); border-radius: 10px; -webkit-appearance: none; appearance: none;
}
.field input:focus { outline: none; border-color: var(--gold-soft); }
.field input[aria-invalid="true"] { border-color: var(--warn); }
.field__error, .consent__error { margin-top: 6px; font-size: .9rem; font-weight: 500; color: var(--warn); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.consent { margin-top: 18px; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; font-size: .9rem; line-height: 1.45; color: var(--text-70); }
.consent input { width: 26px; height: 26px; margin: 0; accent-color: var(--gold-soft); }
.consent__error { grid-column: 2; margin-top: 0; }
.step .btn--block { margin-top: 18px; }

.calendar { position: relative; margin-top: 14px; min-height: 640px; border-radius: 10px; overflow: hidden; background: var(--paper); }
.calendar iframe { display: block; width: 100%; min-height: 640px; border: 0; }
/* «Cargando el calendario…» tapa el recuadro hasta que Calendly avisa de que lo ha pintado: sin esto se veía una caja en blanco unos segundos */
.calendar__wait { position: absolute; inset: 0; z-index: 1; display: grid; justify-items: center; align-content: start; gap: 14px; padding: 56px 16px; font-size: .94rem; color: var(--text-55); background: var(--paper); transition: opacity .3s var(--ease), visibility .3s; }
.calendar__wait::before { content: ""; width: 8px; height: 8px; margin-right: 28px; border-radius: 50%; background: var(--gold); box-shadow: 14px 0 0 var(--gold), 28px 0 0 var(--gold); }
.calendar.is-ready .calendar__wait { opacity: 0; visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .calendar__wait::before { animation: espera 1.2s infinite; }
  @keyframes espera {
    0%, 100% { background: var(--gold); box-shadow: 14px 0 0 rgba(214, 178, 76, .3), 28px 0 0 rgba(214, 178, 76, .3); }
    33% { background: rgba(214, 178, 76, .3); box-shadow: 14px 0 0 var(--gold), 28px 0 0 rgba(214, 178, 76, .3); }
    66% { background: rgba(214, 178, 76, .3); box-shadow: 14px 0 0 rgba(214, 178, 76, .3), 28px 0 0 var(--gold); }
  }
}

.step--done { text-align: center; padding: 18px 0 6px; }
.done__mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: rgba(214, 178, 76, .26); color: var(--gold-soft); }
.step--done p { margin-top: 10px; color: var(--text-70); overflow-wrap: anywhere; }

/* ---------- Pie ---------- */
.foot { padding-top: 22px; border-top: 1px solid var(--line); font-size: .88rem; color: var(--text-55); display: grid; gap: 8px; }
.foot__logo { width: 104px; opacity: .92; margin-bottom: 6px; }
.foot__legal { font-size: .82rem; }

/* ---------- Barra fija de reserva ---------- */
.bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(244, 235, 221, .96); border-top: 1px solid var(--line);
  transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s .25s;
}
.bar.is-on { transform: none; visibility: visible; transition: transform .25s var(--ease); }
.bar p { flex: 1; min-width: 0; display: grid; font-size: .82rem; line-height: 1.3; color: var(--text-55); }
.bar p b { font-size: .95rem; color: var(--text); }

/* ---------- La política de privacidad ---------- */
.layer { border: 0; padding: 0; background: var(--bg); color: var(--text); }
.layer::backdrop { background: rgba(42, 37, 33, .55); }
.layer--text { width: min(560px, calc(100vw - 24px)); max-height: 86vh; max-height: 86dvh; border-radius: 16px; border: 1px solid var(--line); }
.legal { padding: 24px 20px; }
.legal h2 { font-size: 2rem; outline: none; }
.legal h3 { margin-top: 20px; font-size: 1rem; }
.legal p { margin-top: 6px; font-size: .94rem; color: var(--text-70); }
.legal .btn { margin-top: 24px; }
.legal .is-missing { background: rgba(165, 53, 28, .12); color: var(--warn); padding: 0 4px; border-radius: 4px; }

/* ---------- Pantallas anchas: la columna, a 760 px ---------- */
@media (min-width: 700px) {
  .hero { padding-top: 84px; }
  .try { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .try__note { grid-column: 1 / -1; }
  .vsl__box { gap: 16px; padding: 16px 24px; }
  .vsl__label b { font-size: 1.12rem; }
  .vsl__label span { font-size: .95rem; }
  .voz--video { grid-template-columns: 170px 1fr; gap: 20px; }
  .voz { padding: 20px; }
  .block { padding-block: 88px; }
  .vsl { margin-bottom: 72px; }
  .flow { padding: 24px 26px 28px; }
  .bar { left: 50%; right: auto; width: min(760px, 100%); transform: translate(-50%, 110%); border: 1px solid var(--line); border-bottom: 0; border-radius: 14px 14px 0 0; }
  .bar.is-on { transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
