/* Boda y punto. — hoja de estilos de la landing
   Base clara (papel), capítulos oscuros (noche) y un solo acento dorado en las acciones. */

@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../assets/fonts/fraunces-var-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* color */
  --paper: #f3ede2;
  --sand: #e6dccb;
  --ink: #0b0b0c;
  --ink-soft: #45413b;
  --night: #0b0b0c;
  --night-2: #18171a;
  --cream: #efe6d6;
  --cream-soft: #bdb3a3;
  --gold: #c9a24b;
  --gold-press: #b38c38;

  /* tipo: cinco pasos */
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --t-display: clamp(84px, 14vw, 220px);
  --t-h2: clamp(40px, 6.2vw, 96px);
  --t-h3: clamp(22px, 2.4vw, 34px);
  --t-body: 18px;
  --t-small: 14px;

  /* espacio */
  --m: clamp(16px, 3vw, 40px);
  --gap: clamp(72px, 9vw, 128px);
  --col: calc((100vw - 2 * var(--m)) / 12);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 0; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-body)/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: fixed; left: var(--m); top: 8px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 12px 16px; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

.dot { color: var(--gold); }

h2 {
  font: 600 var(--t-h2)/0.98 var(--serif);
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h3 {
  font: 500 var(--t-h3)/1.12 var(--serif);
  letter-spacing: -0.02em;
}
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; max-width: 34em; }
p { max-width: 68ch; }
.note { font-size: var(--t-small); line-height: 1.5; }
.statement { font: 400 clamp(24px, 2.6vw, 36px)/1.2 var(--serif); letter-spacing: -0.015em; max-width: 22em; }

/* ——— Botones y enlaces ——— */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 0;
  font: 600 16px/1 var(--sans); letter-spacing: 0;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-press); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #2a2826; }
.btn--link { background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 4px; padding: 0 8px; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link {
  font-weight: 600; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 5px; text-decoration-color: var(--gold);
  transition: text-underline-offset .2s var(--ease), color .2s;
}
.link::after { content: " →"; display: inline-block; transition: transform .2s var(--ease); }
.link:hover { text-underline-offset: 8px; }
.link:hover::after { transform: translateX(4px); }
.link--light { color: var(--cream); }

/* ——— Barra superior ——— */
.bar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--m);
  color: var(--ink);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.bar[data-on="night"] { color: var(--cream); background: var(--night); }
.bar[data-on="paper"] { background: var(--paper); }
.bar[data-on="sand"] { background: var(--sand); }
.bar[data-on="top"] { background: transparent; }
.wordmark { font: 600 24px/1 var(--serif); letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.bar__nav { display: flex; gap: 24px; }
.bar__nav a { font-size: 15px; font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 6px; padding: 8px 0; transition: text-decoration-color .2s var(--ease); }
.bar__nav a:hover { text-decoration-color: var(--gold); }
.bar__cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.bar__toggle { display: none; }

@media (max-width: 900px) {
  .bar { gap: 12px; padding: 10px var(--m); }
  .wordmark { font-size: 21px; }
  .bar__cta { display: none; }
  .bar__toggle {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
    background: none; border: 0; font-weight: 600; font-size: 16px; cursor: pointer;
    text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--gold);
  }
  .bar__nav {
    position: fixed; inset: 64px 0 auto; display: none; flex-direction: column; gap: 0;
    background: var(--night); color: var(--cream); padding: 8px var(--m) 24px;
  }
  .bar__nav a { font: 500 28px/1.2 var(--serif); padding: 12px 0; }
  .bar.is-open .bar__nav { display: flex; }
}

/* ——— Hero: dos campos; el titular cruza la costura ——— */
.hero {
  --hf: clamp(64px, 9vw, 150px);
  position: relative; min-height: 100svh;
  background: var(--night); color: var(--cream);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  grid-template-rows: 50svh auto 1fr;
  padding: 0 var(--m) clamp(40px, 5vw, 64px);
}
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 50svh; background: var(--paper); }
.hero > * { position: relative; }
.hero__h1 {
  grid-column: 1 / 9; grid-row: 1 / 3; align-self: start;
  margin-top: calc(50svh - var(--hf) * 0.9);
  font: 600 var(--hf)/0.9 var(--serif); letter-spacing: -0.045em;
}
.hero__l1, .hero__l2 { display: block; white-space: nowrap; }
.hero__l1 { color: var(--ink); background: var(--paper); }
.hero__l2 { color: var(--cream); background: var(--night); }
.hero__copy { grid-column: 1 / 7; grid-row: 3; align-self: end; display: grid; gap: 22px; padding-top: 40px; }
.hero__lead { font-size: 19px; color: var(--cream); max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero__note { font-size: var(--t-small); color: var(--cream-soft); }
.hero__phone { grid-column: 9 / 13; grid-row: 1 / 4; align-self: center; justify-self: end; display: grid; gap: 18px; justify-items: center; padding-top: 72px; }
.hero__phone .phone { width: min(290px, 22vw); transform: rotate(3deg); }
.try { display: grid; gap: 8px; width: min(290px, 100%); font-size: var(--t-small); color: var(--cream); }
.try input {
  min-height: 46px; padding: 0 14px; font-size: 17px;
  background: var(--night-2); color: var(--cream); border: 0; border-radius: 0;
  border-bottom: 2px solid var(--gold);
}
.try input:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

@media (max-width: 900px) {
  .hero { --hf: clamp(48px, 12.5vw, 110px); grid-template-columns: 1fr; grid-template-rows: 44svh auto auto auto; row-gap: 0; }
  .hero::before { height: 44svh; }
  .hero__h1 { grid-column: 1; margin-top: calc(44svh - var(--hf) * 0.9); }
  .hero__copy { grid-column: 1; grid-row: 3; padding-top: 32px; }
  .hero__lead { font-size: 17px; }
  .hero__phone { grid-column: 1; grid-row: 4; justify-self: center; padding-top: 56px; }
  .hero__phone .phone { width: min(280px, 74vw); }
}

/* ——— Móvil maquetado en HTML (fragmento de interfaz) ——— */
.phone {
  width: min(320px, 72vw); aspect-ratio: 9 / 19;
  background: var(--night-2); padding: 12px; border-radius: 44px;
  position: relative;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 12px; background: var(--night); z-index: 2; }
.phone__screen {
  height: 100%; border-radius: 34px; overflow: hidden;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 22px 28px; text-align: center; gap: 14px;
}
.mini__hello { font: italic 400 20px/1.2 var(--serif); color: var(--ink-soft); }
.mini__names { font: 600 46px/0.95 var(--serif); letter-spacing: -0.04em; }
.mini__date { font-size: 14px; line-height: 1.4; }
.mini__place { font-size: 14px; font-weight: 600; }
.mini__cta { align-self: center; margin-top: 8px; background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 600; padding: 12px 18px; }
.mini__kicker { font: 600 22px/1.15 var(--serif); }
.mini__story { font: 400 16px/1.45 var(--serif); text-align: left; }
.mini__list { text-align: left; display: grid; gap: 16px; }
.mini__list dt { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.mini__list dd { font: 500 17px/1.3 var(--serif); }
.mini__link { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; }
.mini__choice { display: grid; gap: 8px; }
.mini__choice span { padding: 12px; background: var(--sand); font-size: 15px; font-weight: 500; }
.mini__choice .is-on { background: var(--ink); color: var(--cream); }
.mini__field { font-size: 14px; text-align: left; }

.phone__screen--chat { background: #e9e4da; justify-content: flex-end; text-align: left; gap: 8px; padding-bottom: 36px; }
.chat__who { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.chat__bubble { background: #fff; padding: 12px 14px; font-size: 15px; line-height: 1.4; border-radius: 4px 16px 16px 16px; }
.chat__preview { background: #fff; border-radius: 16px; overflow: hidden; font-size: 13px; line-height: 1.35; }
.chat__preview img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.chat__preview p { padding: 10px 14px 12px; color: var(--ink-soft); }
.chat__preview strong { color: var(--ink); }
.phone__screen--story { justify-content: flex-start; padding-top: 48px; }
.phone__screen--story img { aspect-ratio: 4 / 3; object-fit: cover; width: calc(100% + 44px); margin: -48px -22px 8px; max-width: none; filter: grayscale(1) contrast(1.05); }
.phone__screen--story .mini__kicker { text-align: left; }

/* ——— El concepto ——— */
.concept { position: relative; padding: var(--gap) var(--m) var(--gap); overflow: hidden; }
.concept__stack { display: flex; flex-direction: column; }
.concept__line, .concept__title {
  font: 600 clamp(72px, 10vw, 160px)/0.9 var(--serif); letter-spacing: -0.045em; white-space: nowrap;
}
.concept__line--soft { color: var(--ink-soft); }
.concept__title { white-space: normal; max-width: 7.5em; text-wrap: balance; }
.concept__facts {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px;
  margin-top: clamp(64px, 9vw, 140px);
}
.concept__facts .lead { grid-column: 1 / 7; }
.versus { grid-column: 1 / 13; display: grid; }
.versus__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 18px 0; }
.versus__row:nth-child(even) { background: var(--sand); margin: 0 calc(var(--m) * -1); padding-left: var(--m); padding-right: var(--m); }
.versus__row span { font-size: 18px; }
.versus__row span:first-child { color: var(--ink-soft); }
.versus__row span:last-child { font-weight: 600; }
.versus__head span { font: 600 var(--t-h3)/1.1 var(--serif) !important; color: var(--ink) !important; }
.paper-note { grid-column: 1 / 7; display: grid; gap: 12px; }
.concept__close { grid-column: 7 / 13; align-self: end; font: 500 var(--t-h3)/1.15 var(--serif); letter-spacing: -0.02em; }

@media (max-width: 900px) {
  .concept__line, .concept__title { font-size: 15vw; }
  .concept__title { white-space: normal; }
    .concept__facts { grid-template-columns: 1fr; row-gap: 40px; }
  .concept__facts > * { grid-column: 1 !important; }
  .versus__row { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .versus__head { display: none; }
  .versus__row span:first-child { text-decoration: line-through; text-decoration-color: var(--gold); }
}

/* ——— La experiencia del invitado ——— */
.journey { background: var(--night); color: var(--cream); padding: var(--gap) 0 var(--gap); }
.journey__intro { padding: 0 var(--m); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.journey__intro h2 { grid-column: 1 / 8; }
.journey__intro .lead { grid-column: 8 / 13; align-self: end; color: var(--cream); }
.journey__steps { margin-top: clamp(48px, 8vw, 120px); }
.step {
  position: relative;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  align-items: center; padding: clamp(40px, 5vw, 72px) var(--m);
}
.step__left { grid-column: 1 / 8; display: grid; gap: 36px; align-content: center; min-width: 0; }
.step:nth-child(even) { background: var(--night-2); }
.step__verb {
  font: 700 clamp(84px, 11vw, 190px)/0.85 var(--serif); letter-spacing: -0.05em;
  color: var(--cream);
}
.step__phone { grid-column: 9 / 13; justify-self: end; width: min(290px, 72vw); aspect-ratio: 9 / 17; }
.step__text { display: grid; gap: 10px; max-width: 30em; }
.step__text h3 { color: var(--gold); }
.step__text p { color: var(--cream); }
.journey__close { padding: var(--gap) var(--m) 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; }

@media (max-width: 900px) {
  .step { min-height: auto; grid-template-columns: 1fr; row-gap: 28px; padding: 64px var(--m); }
  .step__left, .step__phone { grid-column: 1; }
  .step__left { gap: 20px; }
  .step__verb { font-size: 15vw; }
  .step__phone { justify-self: start; width: min(280px, 76vw); }
  .journey__intro { grid-template-columns: 1fr; }
  .journey__intro h2, .journey__intro .lead { grid-column: 1; }
}

/* ——— Ejemplos: láminas sobre el titular ——— */
.gallery { background: var(--sand); }
.gallery__field { position: relative; min-height: 100svh; padding: 96px var(--m) 32px; display: grid; place-items: center; overflow: hidden; }
.gallery__title {
  font: 700 clamp(84px, 13vw, 210px)/0.85 var(--serif); letter-spacing: -0.05em;
  text-align: center; position: relative; z-index: 3;
}
.prints { position: absolute; inset: 0; pointer-events: none; }
.print {
  position: absolute; pointer-events: auto; width: clamp(150px, 19vw, 280px); aspect-ratio: 3 / 4;
  background: #fff; padding: 8px; text-decoration: none;
  transition: transform .25s var(--ease); z-index: 2;
}
.print:hover, .print:focus-visible { transform: rotate(0deg) scale(1.03) !important; z-index: 5; }
.print__face { position: relative; display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 16px; overflow: hidden; }
.print--tinta { left: 4%; top: 9%; transform: rotate(-8deg); }
.print--tinta .print__face { background: #f7f5f0; color: #111; }
.print--tinta .p-names { font: 300 clamp(28px, 3vw, 44px)/0.95 var(--serif); letter-spacing: -0.04em; }
.print--tinta .p-date { font-size: 13px; font-weight: 600; align-self: flex-end; }
.print--gala { left: 9%; bottom: 7%; transform: rotate(6deg); }
.print--gala .print__face { background: #1e2a24; color: #e8d9b4; text-align: center; justify-content: center; gap: 16px; }
.print--gala .p-names { font: italic 400 clamp(22px, 2.2vw, 32px)/1.1 var(--serif); }
.print--gala .p-date { font-size: 12px; letter-spacing: .08em; color: #c9a24b; }
.print--salitre { right: 6%; top: 8%; transform: rotate(-4deg); }
.print--salitre .print__face { padding: 0; background: #f2ebdd; }
.print--salitre img { height: 72%; width: 100%; object-fit: cover; }
.print--salitre .p-names { font: 500 clamp(18px, 1.8vw, 26px)/1.1 var(--serif); color: #1f4a5c; padding: 12px 14px; }
.print--pulso { right: 10%; bottom: 6%; transform: rotate(7deg); }
.print--pulso .print__face { background: #ff4f2e; color: #111; }
.print--pulso .p-names { font: 800 clamp(34px, 4vw, 60px)/0.85 var(--sans); letter-spacing: -0.06em; }
.print--pulso .p-date { font: 800 clamp(30px, 3.4vw, 50px)/1 var(--sans); align-self: flex-end; letter-spacing: -0.05em; }
.gallery__note { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); width: min(30em, 40vw); text-align: center; font-size: 16px; z-index: 3; }

.styles { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 72px; padding: 80px var(--m) 0; }
.style { display: grid; gap: 10px; align-content: start; }
.style:nth-child(1) { grid-column: 1 / 6; }
.style:nth-child(2) { grid-column: 7 / 12; margin-top: 96px; }
.style:nth-child(3) { grid-column: 2 / 7; }
.style:nth-child(4) { grid-column: 8 / 13; margin-top: 96px; }
.style h3 { font-size: clamp(32px, 3.6vw, 52px); }
.style h3 span { display: block; font: 500 16px/1.4 var(--sans); letter-spacing: 0; color: var(--ink-soft); margin-top: 6px; }
.style__couple { font-weight: 600; font-size: 15px; }
.style .link { justify-self: start; margin-top: 6px; }
.gallery__cta { padding: 120px var(--m) var(--gap); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.gallery__cta p { max-width: 34em; font: 400 clamp(20px, 2vw, 28px)/1.3 var(--serif); }

@media (max-width: 900px) {
  .gallery__field { min-height: 0; padding: 96px var(--m) 32px; display: block; }
  .gallery__title { font-size: 19vw; text-align: left; }
  .prints { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 40px; pointer-events: auto; }
  .print { position: relative; inset: auto !important; width: 100%; }
  .print--tinta, .print--salitre { transform: rotate(-3deg); }
  .print--gala, .print--pulso { transform: rotate(3deg); }
  .gallery__note { position: static; transform: none; width: auto; text-align: left; margin-top: 32px; font-size: 16px; }
  .styles { grid-template-columns: 1fr; row-gap: 96px; padding-top: 56px; }
  .style:nth-child(n) { grid-column: 1; margin-top: 0; }
  .gallery__cta { padding-top: 72px; }
}

/* ——— Funcionalidades: eje en la columna 5 ——— */
.features { padding: var(--gap) var(--m); }
.features__head, .frow, .features__close { margin-left: calc(var(--col) * 4); }
.features__head { display: grid; gap: 24px; max-width: 46em; margin-bottom: 120px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 32px; font-size: 15px; }
.legend div { display: block; }
.legend dt, .legend dd { display: inline; }
.legend dd { margin-left: .35em; }
.legend dt { font-weight: 700; }
.legend dt::before { content: "·"; color: var(--gold); font-weight: 900; margin-right: 6px; }
.frow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: start; margin-bottom: 112px; }
.frow__body h3 { font-size: clamp(30px, 3.2vw, 48px); margin-bottom: 20px; }
.flist { display: grid; gap: 16px; max-width: 36em; }
.flist li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; }
.flist strong { font-weight: 600; }
.flist em { font-style: normal; font-size: var(--t-small); font-weight: 600; color: var(--ink-soft); align-self: center; }
.flist em::before { content: "· "; color: var(--gold); font-weight: 900; }
.flist span { grid-column: 1 / -1; color: var(--ink); font-size: 17px; }
.frow__pic figcaption { font-size: var(--t-small); margin-top: 8px; color: var(--ink-soft); }
.frow__pic img { object-fit: cover; filter: grayscale(.15); }
.frow__pic--a img { width: 240px; aspect-ratio: 4 / 5; }
.frow__pic--b img { width: 320px; aspect-ratio: 3 / 2; }
.frow__pic--c img { width: 200px; aspect-ratio: 1; }
.frow__pic--d img { width: 280px; aspect-ratio: 4 / 5; }
.features__close { font: 400 var(--t-h3)/1.2 var(--serif); max-width: 26em; }

@media (max-width: 900px) {
  .features__head, .frow, .features__close { margin-left: 0; }
  .features__head { margin-bottom: 72px; }
  .frow { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
  .flist li { display: block; }
  .flist em { display: block; }
  .frow__pic--a img { width: 100%; }
  .frow__pic--b { justify-self: end; } .frow__pic--b img { width: 70vw; }
  .frow__pic--c img { width: 55vw; }
  .frow__pic--d { justify-self: end; } .frow__pic--d img { width: 70vw; }
}

/* ——— Personalización ——— */
.custom { background: var(--night); color: var(--cream); padding: var(--gap) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 96px; }
.custom__intro { grid-column: 1 / 7; display: grid; gap: 28px; align-content: start; }
.custom__intro h2 { font-size: clamp(40px, 4.6vw, 76px); }
.custom__intro .note { color: var(--cream-soft); }
.seg { border: 0; padding: 0; margin: 0; }
.seg legend { font-size: var(--t-small); font-weight: 600; margin-bottom: 10px; color: var(--cream-soft); }
.seg__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.seg__opts button {
  min-height: 44px; padding: 0 16px; border: 0; border-radius: 0;
  background: var(--night-2); color: var(--cream); font-weight: 500; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}
.seg__opts button:hover { background: #2a282c; }
.seg__opts button:active { transform: scale(.97); }
.seg__opts button[aria-pressed="true"] { background: var(--cream); color: var(--ink); }
.custom__stage { grid-column: 7 / 13; display: grid; place-items: center; min-height: 560px; }

.card-demo {
  width: min(440px, 100%); aspect-ratio: 5 / 7; padding: 40px 32px;
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
.card-demo__line { transition: opacity .25s; }
.card-demo__line.is-swapping { opacity: 0; }
.card-demo[data-style="tinta"] { background: #f7f5f0; color: #111; text-align: left; }
.card-demo[data-style="tinta"] .card-demo__line { font: 400 18px/1.4 var(--sans); }
.card-demo[data-style="tinta"] .card-demo__names { font: 300 64px/0.92 var(--serif); letter-spacing: -0.05em; }
.card-demo[data-style="tinta"] .card-demo__names span { font-size: .6em; }
.card-demo[data-style="tinta"] .card-demo__meta { font: 500 14px/1.5 var(--sans); }
.card-demo[data-style="gala"] { background: #1e2a24; color: #ecdcb6; text-align: center; }
.card-demo[data-style="gala"] .card-demo__line { font: italic 400 20px/1.4 var(--serif); }
.card-demo[data-style="gala"] .card-demo__names { font: 400 42px/1.05 var(--serif); }
.card-demo[data-style="gala"] .card-demo__names span { font-style: italic; color: var(--gold); }
.card-demo[data-style="gala"] .card-demo__meta { font: 400 14px/1.6 var(--sans); letter-spacing: .04em; }
.card-demo[data-style="salitre"] { background: #efe6d2; color: #1f4a5c; text-align: left; justify-content: flex-end; }
.card-demo[data-style="salitre"] .card-demo__line { font: 500 19px/1.4 var(--serif); }
.card-demo[data-style="salitre"] .card-demo__names { font: 500 54px/1 var(--serif); letter-spacing: -0.03em; color: #a5522f; }
.card-demo[data-style="salitre"] .card-demo__meta { font: 500 15px/1.5 var(--sans); }
.card-demo[data-style="pulso"] { background: #ff4f2e; color: #111; text-align: left; justify-content: space-between; }
.card-demo[data-style="pulso"] .card-demo__line { font: 700 22px/1.15 var(--sans); letter-spacing: -0.03em; }
.card-demo[data-style="pulso"] .card-demo__names { font: 800 56px/0.85 var(--sans); letter-spacing: -0.07em; text-transform: uppercase; }
.card-demo[data-style="pulso"] .card-demo__meta { font: 700 15px/1.4 var(--sans); }

.levels { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 32px; }
.level { display: grid; gap: 12px; align-content: start; }
.level h3 { color: var(--gold); }
.levels__note { grid-column: 1 / 3; color: var(--cream-soft); font-size: 16px; }

@media (max-width: 900px) {
  .custom { grid-template-columns: 1fr; row-gap: 56px; }
  .custom__intro, .custom__stage, .levels { grid-column: 1; }
  .custom__stage { min-height: 0; }
  .levels { grid-template-columns: 1fr; }
  .levels__note { grid-column: 1; }
  .card-demo { padding: 32px 24px; }
  .card-demo[data-style="tinta"] .card-demo__names { font-size: 44px; }
  .card-demo[data-style="pulso"] .card-demo__names { font-size: 44px; }
}

/* ——— Extras ——— */
.extras { padding: var(--gap) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; }
.extras__side { grid-column: 1 / 6; display: grid; gap: 28px; align-content: start; }
.extras__side h2 { font-size: clamp(40px, 4.6vw, 76px); }
.extras__pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; filter: grayscale(1); }
.extras__pic figcaption { font-size: var(--t-small); margin-top: 8px; color: var(--ink-soft); }
.extras__groups { grid-column: 7 / 13; display: grid; gap: 56px; align-content: start; }
.xgroup h3 { margin-bottom: 20px; }
.xgroup dl { display: grid; gap: 4px; }
.xgroup dl div { display: grid; grid-template-columns: 13em 1fr; gap: 16px; padding: 14px 16px; background: var(--sand); }
.xgroup dl div:nth-child(even) { background: transparent; }
.xgroup dt { font-weight: 600; }
.extras__groups .link { justify-self: start; }

@media (max-width: 900px) {
  .extras { grid-template-columns: 1fr; }
  .extras__side, .extras__groups { grid-column: 1; }
  .xgroup dl div { grid-template-columns: 1fr; gap: 2px; }
}

/* ——— Cómo funciona ——— */
.process { background: var(--sand); padding: var(--gap) var(--m); }
.process h2 { max-width: 12em; }
.process__list { margin-top: 96px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 64px; counter-reset: none; }
.process__list li { display: grid; gap: 10px; align-content: start; }
.process__list li:nth-child(odd) { grid-column: 1 / 6; }
.process__list li:nth-child(even) { grid-column: 7 / 12; transform: translateY(64px); }
.process__list h3 { font-size: clamp(26px, 2.8vw, 40px); }
.process__list li:nth-child(even) h3::before,
.process__list li:nth-child(odd) h3::before { content: ""; display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); margin-bottom: 18px; }

@media (max-width: 900px) {
  .process__list { grid-template-columns: 1fr; margin-top: 56px; row-gap: 44px; }
  .process__list li:nth-child(n) { grid-column: 1; transform: none; }
}

/* ——— Precio ——— */
.price { background: var(--night); color: var(--cream); padding: var(--gap) var(--m); }
.price__sentence { font-size: clamp(44px, 7.4vw, 124px); line-height: 0.98; max-width: none; text-wrap: balance; }
.price__block { display: inline-block; margin-top: 16px; background: var(--gold); color: var(--ink); padding: 0.04em 0.15em; font: 600 clamp(44px, 7.4vw, 124px)/1 var(--serif); letter-spacing: -0.035em; }
.price__grid { margin-top: 96px; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 56px; }
.price__pieces { grid-column: 1 / 7; display: grid; gap: 40px; align-content: start; }
.pieces { display: grid; gap: 32px; }
.pieces dt { font: 500 var(--t-h3)/1.1 var(--serif); color: var(--gold); margin-bottom: 8px; }
.pieces dd { max-width: 30em; }
.price__side { grid-column: 8 / 13; display: grid; gap: 28px; align-content: start; justify-items: start; }
.included { display: grid; gap: 10px; }
.included li { padding-left: 22px; position: relative; }
.included li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.value { background: var(--night-2); padding: 28px; display: grid; gap: 12px; }
.value h3 { font-size: 24px; }
.price .note { color: var(--cream-soft); }

@media (max-width: 900px) {
  .price__sentence { font-size: 11vw; }
  .price__block { font-size: 11vw; }
  .price__grid { grid-template-columns: 1fr; margin-top: 64px; }
  .price__pieces, .price__side { grid-column: 1; }
  .price__side .btn { width: 100%; }
}

/* ——— Preguntas ——— */
.faq { padding: var(--gap) var(--m); }
.faq h2 { font-size: clamp(44px, 5.6vw, 92px); }
.faq__list { margin: 80px 0 0 calc(var(--col) * 4); display: grid; gap: 4px; }
.faq details { padding: 0 24px; margin: 0 -24px; transition: background-color .2s; }
.faq details[open] { background: var(--sand); padding-bottom: 24px; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 48px 18px 0; position: relative;
  font: 400 clamp(19px, 1.8vw, 24px)/1.3 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.faq summary:hover { color: var(--ink-soft); }
.faq details p { max-width: 48em; font-size: 17px; }

@media (max-width: 900px) {
  .faq h2 { font-size: 10vw; }
  .faq__list { margin: 48px 0 0; }
  .faq details { margin: 0 calc(var(--m) * -1); padding: 0 var(--m); }
  .faq details[open] { padding-bottom: 20px; }
  .faq details p { font-size: 16px; }
}

/* ——— Formulario ——— */
.quote { background: var(--sand); padding: var(--gap) var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 48px; }
.quote__side { grid-column: 1 / 6; display: grid; gap: 24px; align-content: start; }
.quote__alt { font-size: 16px; }
.form { grid-column: 7 / 13; background: var(--paper); padding: clamp(24px, 3vw, 48px); display: grid; gap: 28px; }
.form__progress { font-weight: 600; font-size: 15px; }
.form__step { border: 0; margin: 0; padding: 0; display: grid; gap: 24px; min-width: 0; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > label, .field > legend { font-weight: 600; font-size: 16px; padding: 0; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="month"], .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font-size: 17px;
  background: #fff; border: 1px solid #a49a8a; border-radius: 0; color: var(--ink);
  transition: border-color .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #a3241a; border-width: 2px; }
.field__help { font-size: var(--t-small); color: var(--ink-soft); }
.field__error { font-size: 15px; color: #a3241a; font-weight: 600; }
.field__error:empty { display: none; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.check--legal { font-size: 15px; }
.legal-basic { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  background: var(--sand); cursor: pointer; font-size: 15px; transition: background-color .2s, color .2s;
}
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips label:hover { background: #d9cdb8; }
.chips label:has(input:checked) { background: var(--ink); color: var(--cream); }
.chips label:has(input:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.form__nav { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; }
.form__nav .note { color: var(--ink-soft); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: campo trampa oculto */
.form__status { padding: 20px; background: var(--sand); display: grid; gap: 10px; }
.form__status h3 { font-size: 26px; }
.form__status.is-error { background: #f6dcd6; }

@media (max-width: 900px) {
  .quote { grid-template-columns: 1fr; }
  .quote__side, .form { grid-column: 1; }
  .form { margin: 0 calc(var(--m) * -1); }
  .form__nav .btn--gold, .form__nav .btn--ink { flex: 1; }
}

/* ——— Pie ——— */
.foot { background: var(--night); color: var(--cream); padding: var(--gap) var(--m) 0; overflow: hidden; display: flex; flex-direction: column; min-height: 100svh; }
.foot__top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 40px; }
.foot__invite { grid-column: 1 / 8; display: grid; gap: 24px; justify-items: start; }
.foot__invite h2 { font-size: clamp(40px, 5vw, 84px); }
.foot__invite p { max-width: 32em; }
.foot__links { grid-column: 10 / 13; display: grid; gap: 12px; align-content: start; }
.foot__links a { text-decoration: none; font-size: 16px; }
.foot__links a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.foot__legal { margin-top: auto; padding-top: 96px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; font-size: 13px; color: var(--cream-soft); }
.foot__credits { max-width: 60em; }
.foot__name {
  font: 700 clamp(96px, 19vw, 340px)/0.8 var(--serif); letter-spacing: -0.055em; white-space: nowrap;
  margin: 24px calc(var(--m) * -0.3) 0; transform: translateY(18%);
}

@media (max-width: 900px) {
  .foot { min-height: auto; }
  .foot__top { grid-template-columns: 1fr; }
  .foot__invite, .foot__links { grid-column: 1; }
  .foot__invite h2 { font-size: 11vw; }
  .foot__invite .btn { width: 100%; }
  .foot__links { grid-auto-flow: row; }
  .foot__name { font-size: 24vw; }
}

/* ——— Botón fijo en móvil ——— */
.dock { display: none; }
@media (max-width: 900px) {
  .dock {
    display: flex; align-items: center; justify-content: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    min-height: 56px; padding-bottom: env(safe-area-inset-bottom);
    background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none;
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .dock.is-on { transform: none; }
}

/* ——— Entradas al hacer scroll (solo con JS; sin JS todo se ve) ——— */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.is-in { opacity: 1; transform: none; }

.js .hero__l1, .js .hero__l2 { animation: rise .9s var(--ease) both; }
.js .hero__l2 { animation-delay: .12s; }
.js .hero__copy > * { animation: fade .8s var(--ease) both; animation-delay: calc(.3s + var(--i, 0) * 80ms); }
.js .hero__phone { animation: fade 1s var(--ease) both; animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(.25em); } }
@keyframes fade { from { opacity: 0; transform: translateY(16px); } }

.frow__pic img, .extras__pic img { transition: transform 1.2s var(--ease); }
.frow__pic:hover img, .extras__pic:hover img { transform: scale(1.04); }
.chat__preview img { animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: scale(1.1); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
}
.style__links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: baseline; margin-top: 6px; }
.style__ask { font-size: 16px; font-weight: 500; text-underline-offset: 4px; }
.style__ask:hover { text-decoration-color: var(--gold); }

/* ——— Páginas legales ——— */
.legal-page .bar { position: sticky; }
.legal { max-width: 760px; padding: 64px var(--m) 120px; margin: 0 auto; display: grid; gap: 18px; }
.legal h1 { font: 600 clamp(44px, 6vw, 72px)/1 var(--serif); letter-spacing: -0.035em; margin-bottom: 12px; }
.legal h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; margin-top: 28px; }
.legal ul { display: grid; gap: 6px; }
.legal__warn { background: var(--sand); padding: 14px 16px; font-weight: 600; }
