/* Luz Interior App · web de venta (luzinteriorapp.com)
   Misma apariencia que la app: fondo azul noche, dorado, títulos Cinzel y texto Raleway.
   Pensada primero para el celular; la computadora amplía la misma página. */

@font-face { font-family: "Cinzel"; font-weight: 500; font-display: swap; src: url("assets/fonts/Cinzel-500-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-weight: 500; font-display: swap; src: url("assets/fonts/Cinzel-500-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url("assets/fonts/Cinzel-600-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cinzel"; font-weight: 600; font-display: swap; src: url("assets/fonts/Cinzel-600-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-weight: 400; font-display: swap; src: url("assets/fonts/Raleway-400-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-weight: 400; font-display: swap; src: url("assets/fonts/Raleway-400-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-weight: 500; font-display: swap; src: url("assets/fonts/Raleway-500-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-weight: 500; font-display: swap; src: url("assets/fonts/Raleway-500-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-weight: 600; font-display: swap; src: url("assets/fonts/Raleway-600-normal-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-weight: 600; font-display: swap; src: url("assets/fonts/Raleway-600-normal-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #07090f;
  --bg-2: #0b0e1a;
  --bg-3: #111627;
  --gold: #f6b647;
  --gold-soft: #e8d5a0;
  --gold-dim: rgba(246, 182, 71, 0.14);
  --gold-border: rgba(246, 182, 71, 0.35);
  --text: #eaeaf5;
  --text-soft: #c9d0ea;
  --text-dim: #8f98b8;
  --border: rgba(255, 255, 255, 0.07);
  --radius: 18px;
  --radius-sm: 12px;
  --ancho: 1120px;
  --serif: "Cinzel", Georgia, serif;
  --sans: "Raleway", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: 0.03em; line-height: 1.25; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* Fondo: mandala tenue, como en la app. Solo CSS, sin imágenes. */
.cielo {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 45% at 50% 0%, rgba(246, 182, 71, 0.10), transparent 70%),
    radial-gradient(45% 35% at 85% 40%, rgba(120, 110, 220, 0.08), transparent 70%),
    var(--bg);
}

.envoltura { width: 100%; max-width: var(--ancho); margin: 0 auto; padding: 0 20px; }
.seccion { padding: 64px 0; }
.ceja {
  display: block; font-family: var(--serif); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.titulo-seccion { font-size: clamp(24px, 6vw, 36px); margin-bottom: 14px; }
.entrada { color: var(--text-soft); max-width: 620px; }
.centro { text-align: center; }
.centro .entrada { margin-left: auto; margin-right: auto; }
.dorado { color: var(--gold); }

/* ── Botones ── */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; text-decoration: none;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}
.boton:hover { transform: translateY(-2px); }
.boton:active { transform: translateY(0); }
.boton-oro { background: var(--gold); color: #1a1204; }
.boton-oro:hover { background: #ffc766; }
.boton-linea { border-color: var(--gold-border); color: var(--gold); background: transparent; }
.boton-linea:hover { background: var(--gold-dim); }
.botones { display: flex; flex-direction: column; gap: 10px; }
.nota { font-size: 13px; color: var(--text-dim); margin-top: 12px; }

/* ── Cabecera ── */
.cabecera {
  position: sticky; top: 0; z-index: 30;
  background: rgba(7, 9, 15, 0.92);
  border-bottom: 1px solid var(--border);
}
@supports (backdrop-filter: blur(10px)) {
  .cabecera { background: rgba(7, 9, 15, 0.72); backdrop-filter: blur(10px); }
}
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.marca { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.marca img { width: 34px; height: 34px; border-radius: 50%; }
.marca span { font-family: var(--serif); font-weight: 600; font-size: 15px; letter-spacing: 0.06em; color: var(--gold); }
.menu { display: none; align-items: center; gap: 26px; }
.menu a { text-decoration: none; font-size: 14px; color: var(--text-soft); }
.menu a:hover { color: var(--gold); }
.menu .boton { min-height: 38px; padding: 6px 18px; font-size: 14px; }
.boton-menu {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: transparent; color: var(--text); cursor: pointer;
}
.boton-menu svg { width: 22px; height: 22px; }
.menu-celular { display: none; border-top: 1px solid var(--border); padding: 8px 20px 18px; }
.menu-celular a { display: block; padding: 12px 0; text-decoration: none; color: var(--text-soft); border-bottom: 1px solid var(--border); }
.menu-celular a:last-child { border-bottom: 0; color: var(--gold); font-weight: 600; }
.cabecera.abierta .menu-celular { display: block; }

/* ── Portada ── */
.portada { padding: 56px 0 40px; text-align: center; }
.portada h1 { font-size: clamp(30px, 8.4vw, 56px); margin: 0 auto 18px; max-width: 14em; text-wrap: balance; }
.portada .entrada { font-size: 17px; margin: 0 auto 28px; }
.portada .botones { max-width: 340px; margin: 0 auto; }
.emblema-portada { width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; animation: latido 6s ease-in-out infinite; }
@keyframes latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }

/* ── Carta viva ── */
.carta-viva { display: grid; gap: 36px; align-items: center; }
.lista-oro { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.lista-oro li { display: flex; gap: 12px; color: var(--text-soft); }
.lista-oro li::before { content: "✦"; color: var(--gold); flex: none; }
.telefono {
  width: 100%; max-width: 320px; margin: 0 auto; padding: 12px;
  border-radius: 36px; background: #03040a; border: 1px solid var(--gold-border);
}
.pantalla { border-radius: 26px; background: var(--bg-2); padding: 22px 18px; min-height: 440px; }
.pantalla .quien { text-align: center; font-family: var(--serif); color: var(--gold-soft); font-size: 13px; letter-spacing: 0.1em; }
.pantalla .fecha { text-align: center; font-size: 12px; color: var(--text-dim); margin: 2px 0 16px; }
.calculo { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom: 8px; }
.calculo .cifra {
  width: 26px; height: 34px; display: grid; place-items: center; border-radius: 8px;
  background: var(--bg-3); border: 1px solid var(--border); font-family: var(--serif); font-size: 16px;
  opacity: 0.25; transition: opacity 0.35s ease, border-color 0.35s ease, color 0.35s ease;
}
.calculo .cifra.encendida { opacity: 1; border-color: var(--gold-border); color: var(--gold); }
.resultado { text-align: center; font-size: 14px; color: var(--text-soft); min-height: 24px; }
.resultado b { font-family: var(--serif); color: var(--gold); font-size: 30px; font-weight: 600; vertical-align: -4px; margin-left: 4px; }
.nombre-vibracion { text-align: center; font-family: var(--serif); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin: 14px 0 10px; }
.frase {
  display: flex; gap: 10px; align-items: flex-start; width: 100%; text-align: left;
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px; margin-bottom: 8px; color: var(--text-soft); font: inherit; font-size: 14px; line-height: 1.5; cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.frase .corazon { flex: none; font-size: 18px; line-height: 1.2; color: var(--text-dim); transition: transform 0.25s ease, color 0.2s ease; }
.frase[aria-pressed="true"] { border-color: var(--gold-border); background: rgba(246, 182, 71, 0.07); color: var(--text); }
.frase[aria-pressed="true"] .corazon { color: #f07a8a; transform: scale(1.2); }
.pista { text-align: center; font-size: 12px; color: var(--text-dim); margin-top: 10px; }

/* ── Video ── */
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--gold-border); background: var(--bg-2);
  display: grid; place-items: center; text-align: center; padding: 20px;
  max-width: 880px; margin-left: auto; margin-right: auto;
}
.video .play {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold-border); color: var(--gold); margin: 0 auto 12px;
}
.video .play svg { width: 26px; height: 26px; margin-left: 4px; }
.video p { color: var(--text-dim); font-size: 14px; }

/* ── Tarjetas de funciones ── */
.rejilla { display: grid; gap: 14px; margin-top: 32px; }
.tarjeta {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; transition: border-color 0.25s ease, transform 0.25s ease;
}
.tarjeta:hover { border-color: var(--gold-border); transform: translateY(-3px); }
.tarjeta .icono {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-dim); color: var(--gold); margin-bottom: 14px;
}
.tarjeta .icono svg { width: 22px; height: 22px; }
.tarjeta h3 { font-size: 17px; margin-bottom: 6px; }
.tarjeta p { color: var(--text-soft); font-size: 15px; }

/* ── Pasos ── */
.pasos { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; counter-reset: paso; }
.pasos li { display: flex; gap: 16px; align-items: flex-start; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.pasos li::before {
  counter-increment: paso; content: counter(paso);
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--gold-border); color: var(--gold); font-family: var(--serif); font-weight: 600;
}
.pasos h3 { font-size: 16px; margin-bottom: 4px; }
.pasos p { color: var(--text-soft); font-size: 15px; }

/* ── Celular y computadora ── */
.aviso {
  display: grid; gap: 18px; background: var(--bg-3); border: 1px solid var(--gold-border);
  border-radius: var(--radius); padding: 24px;
}
.aviso .par { display: flex; gap: 14px; align-items: flex-start; }
.aviso .par svg { flex: none; width: 28px; height: 28px; color: var(--gold); margin-top: 2px; }
.aviso h3 { font-size: 16px; margin-bottom: 4px; }
.aviso p { color: var(--text-soft); font-size: 15px; }

/* ── Precio ── */
.precio {
  max-width: 420px; margin: 32px auto 0; text-align: center;
  background: var(--bg-3); border: 1px solid var(--gold-border); border-radius: 22px; padding: 30px 24px;
}
.precio .plan { font-family: var(--serif); font-size: 20px; margin: 4px 0 8px; }
.precio .cifra-precio { font-family: var(--serif); font-size: 52px; font-weight: 600; color: var(--gold); line-height: 1.1; }
.precio .cifra-precio small { font-family: var(--sans); font-size: 16px; font-weight: 400; color: var(--text-dim); }
.precio .lista-oro { text-align: left; margin: 22px 0 24px; }
.precio .boton { width: 100%; }
.garantia { font-size: 13px; color: var(--text-dim); margin-top: 14px; }

/* ── Preguntas ── */
.preguntas { max-width: 760px; margin: 32px auto 0; display: grid; gap: 10px; }
.preguntas details { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); }
.preguntas details[open] { border-color: var(--gold-border); }
.preguntas summary {
  list-style: none; cursor: pointer; padding: 16px 18px; display: flex; justify-content: space-between; gap: 14px;
  font-weight: 600; font-size: 15px;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after { content: "+"; color: var(--gold); font-size: 20px; line-height: 1; transition: transform 0.2s ease; }
.preguntas details[open] summary::after { transform: rotate(45deg); }
.preguntas .respuesta { padding: 0 18px 18px; color: var(--text-soft); font-size: 15px; }

/* ── Cierre y pie ── */
.cierre { text-align: center; }
.cierre .botones { max-width: 340px; margin: 26px auto 0; }
.pie { border-top: 1px solid var(--border); padding: 32px 0 110px; font-size: 14px; color: var(--text-dim); }
.pie-fila { display: flex; flex-direction: column; gap: 14px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pie a { color: var(--text-soft); text-decoration: none; }
.pie a:hover { color: var(--gold); }

/* ── Barra fija del celular ── */
.barra-celular {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(7, 9, 15, 0.94); border-top: 1px solid var(--gold-border);
  display: flex; gap: 10px; transform: translateY(110%); transition: transform 0.3s ease;
}
.barra-celular.visible { transform: translateY(0); }
.barra-celular .boton { flex: 1; min-height: 46px; padding: 10px 12px; font-size: 14px; }

/* ── Aparición suave al bajar (si el JS falla, todo se ve igual) ── */
.js .aparece { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .aparece.visto { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ── Páginas legales ── */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.legal h1 { font-size: clamp(26px, 6vw, 36px); margin-bottom: 8px; }
.legal h2 { font-size: 18px; margin: 34px 0 10px; color: var(--gold-soft); }
.legal p, .legal li { color: var(--text-soft); margin-bottom: 10px; }
.legal .borrador { border: 1px dashed var(--gold-border); border-radius: var(--radius-sm); padding: 14px; color: var(--gold-soft); margin: 18px 0; font-size: 14px; }

/* ── Tableta y computadora ── */
@media (min-width: 720px) {
  .seccion { padding: 88px 0; }
  .botones { flex-direction: row; justify-content: center; }
  .portada .botones, .cierre .botones { max-width: none; }
  .rejilla { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .aviso { grid-template-columns: 1fr 1fr; }
  .pie-fila { flex-direction: row; justify-content: space-between; align-items: center; }
  .pie { padding-bottom: 40px; }
  .barra-celular { display: none; }
}
@media (min-width: 960px) {
  .menu { display: flex; }
  .boton-menu, .menu-celular, .cabecera.abierta .menu-celular { display: none; }
  .portada { padding: 96px 0 72px; }
  .carta-viva { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .carta-viva .botones { justify-content: flex-start; }
  .rejilla { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pasos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pasos li { flex-direction: column; }
}

/* Solo se calman los efectos que se repiten solos; el resto sigue igual. */
@media (prefers-reduced-motion: reduce) {
  .emblema-portada { animation: none; }
}
