/* El sistema visual de la landing de Invito (invito-dashboard: app/marketing.css
   y components/theme/material.ts), copiado a mano para getinvito.si.

   Si la landing cambia, esto no se entera: no hay nada compartido entre los dos
   sitios. Los valores de aquí son los de `origin/develop` al 2026-11-27. */

:root {
  --tinta: #171419;
  --tinta-media: #57504a;
  --tinta-tenue: #746d66;
  --rosa: #e879a0;         /* sólo logotipo y filetes: no alcanza contraste de texto */
  --rosa-tinta: #ba4d75;   /* el rosa que sí se lee */
  --rosa-oscuro: #9f3d65;
  --crema: #faf7f2;
  --rubor: #f4dfe9;
  --filete: #e8dfe3;
  --filete-tarjeta: #eadfe4;
  --sombra-tarjeta: 0 12px 28px #6b334a0b;
  --tipo: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--tinta); font-family: var(--tipo); font-size: 1rem; line-height: 1.6; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--rosa-tinta); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.ancho { width: min(100% - 48px, 1160px); margin-inline: auto; }

/* Cinta de arriba */
.anuncio { margin: 0; min-height: 28px; display: grid; place-items: center; background: var(--tinta); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-align: center; padding: 5px 15px; }

/* Encabezado */
.cabecera { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding-inline: max(28px, calc((100vw - 1190px) / 2)); background: #fff; border-bottom: 1px solid var(--filete); }
.logotipo { font-size: 1.65rem; font-weight: 760; letter-spacing: -.055em; text-decoration: none; }
.logotipo span { color: var(--rosa); }
.logotipo { display: inline-flex; align-items: center; }
/* «AI»: la marca del servicio. Sello chico junto al logotipo, no una palabra
   más del nombre: el logotipo de Invito queda intacto. */
.logotipo .ai { margin-left: .42em; padding: .3em .5em .28em; border-radius: 6px; background: var(--tinta); color: #fff; font-size: .42em; font-weight: 750; letter-spacing: .1em; line-height: 1; }
.cabecera nav { display: flex; gap: 30px; }
.cabecera nav a { font-size: 13px; font-weight: 650; text-decoration: none; }
.cabecera nav a:hover { color: var(--rosa-oscuro); }

/* Botón */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; background: var(--tinta); color: #fff; font: inherit; font-size: 15px; font-weight: 650; text-decoration: none; padding: 16px 25px; border-radius: 7px; box-shadow: 0 10px 22px #24191f22; transition: background-color 120ms ease; }
.boton:hover { background: var(--rosa-oscuro); }
.boton.chico { font-size: 13px; padding: 13px 20px; box-shadow: none; }
.boton[disabled] { opacity: .55; cursor: progress; }
.boton svg { width: 20px; height: 20px; flex: none; }

/* Etiquetas en versalitas */
.etiqueta { margin: 0 0 14px; color: var(--rosa-tinta); font-size: 10px; font-weight: 750; letter-spacing: .2em; text-transform: uppercase; line-height: 1; }

/* Portada */
.portada { padding: 78px 24px 105px; text-align: center; background: radial-gradient(ellipse 68% 44% at 50% 53%, #f6dce8 0%, #fff4f8 58%, #fff 100%); overflow: hidden; }
.portada-texto { max-width: 780px; margin-inline: auto; }
.pildora { display: inline-flex; margin: 0; padding: 9px 15px; background: #fff; border: 1px solid #ebcbd8; border-radius: 100px; color: var(--rosa-oscuro); box-shadow: 0 7px 24px #6332490d; font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; line-height: 1; }
h1 { font-size: clamp(3rem, 5.8vw, 5.8rem); max-width: 930px; margin: 29px auto 0; font-weight: 550; line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; }
h1 em { color: var(--rosa-tinta); font-style: italic; font-weight: 650; }
.entrada { max-width: 640px; margin: 26px auto 0; font-size: 1.08rem; line-height: 1.68; color: var(--tinta-media); }
.acciones { margin-top: 32px; }
.bajo-boton { max-width: 440px; margin: 18px auto 0; font-size: 13px; color: var(--tinta-tenue); }

/* La plática: la vista previa del producto */
.platica { max-width: 460px; margin: 58px auto 0; text-align: left; overflow: hidden; border: 1px solid #e6dce0; border-radius: 13px; background: #fff; box-shadow: 0 24px 64px #63324924; position: relative; }
.platica-cabeza { display: flex; align-items: center; gap: 9px; border-bottom: 1px solid #eee8eb; padding: 14px 17px; font-size: 12px; }
.platica-cabeza > span { width: 27px; height: 27px; border-radius: 50%; background: var(--tinta); color: var(--rosa); display: grid; place-items: center; font-size: 11px; font-weight: 760; letter-spacing: -.04em; }
.platica-cabeza small { margin-left: auto; color: #8b8086; font-size: 10px; }
.platica-cuerpo { list-style: none; margin: 0; padding: 22px 22px 54px; background: #f5f0ec; display: grid; gap: 11px; }
.platica-cuerpo li { width: fit-content; max-width: 90%; padding: 12px 14px; border-radius: 8px; background: #fff; color: #51494e; font-size: 12.5px; line-height: 1.5; box-shadow: 0 2px 8px #271f210d; animation: llega 420ms cubic-bezier(.2,.7,.2,1) both; }
.platica-cuerpo li.tu { justify-self: end; background: #e8f4ed; color: #2a5a40; }
.platica-cuerpo li.archivo { display: flex; align-items: center; gap: 8px; font-weight: 650; }
.platica-cuerpo li.archivo svg { width: 18px; height: 18px; flex: none; }
.platica-cuerpo strong { font-weight: 650; color: var(--tinta); }
.platica-cuerpo li:nth-child(1) { animation-delay: 200ms; }
.platica-cuerpo li:nth-child(2) { animation-delay: 900ms; }
.platica-cuerpo li:nth-child(3) { animation-delay: 1700ms; }
.platica-cuerpo li:nth-child(4) { animation-delay: 2600ms; }
.platica-cuerpo li:nth-child(5) { animation-delay: 3500ms; }
.platica-aviso { position: absolute; right: 14px; bottom: 12px; margin: 0; padding: 10px 14px; border-radius: 9px; background: #fff; color: #3c383b; font-size: 12px; font-weight: 650; box-shadow: 0 10px 26px #4a2a3a22; animation: llega 420ms cubic-bezier(.2,.7,.2,1) 4300ms both; }
.platica-aviso span { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border-radius: 50%; background: #e4f2e9; color: #39855a; font-size: 11px; }
@keyframes llega { from { opacity: 0; transform: translateY(8px); } }

/* Franjas */
.franja { padding: 100px 0; }
.franja.crema { background: var(--crema); }
.franja.rosa { background: var(--rubor); }
.titulo { text-align: center; margin-bottom: 46px; }
.titulo.izquierda { text-align: left; margin-bottom: 28px; }
h2 { margin: 0; font-size: clamp(2.45rem, 4.5vw, 4.4rem); font-weight: 530; letter-spacing: -.057em; line-height: 1.07; text-wrap: balance; }
.titulo.izquierda h2, .cierre h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.dos { display: grid; gap: 40px; align-items: start; }
.dos.centro { align-items: center; }
@media (min-width: 880px) { .dos { grid-template-columns: 1fr 1fr; gap: 70px; } }

/* Pasos: tarjetas numeradas (sí son una secuencia) */
.pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: paso; }
@media (min-width: 700px) { .pasos { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .pasos { grid-template-columns: repeat(5, 1fr); } }
.pasos li { counter-increment: paso; padding: 30px 26px; border: 1px solid var(--filete-tarjeta); border-radius: 11px; background: #fff; box-shadow: var(--sombra-tarjeta); }
.pasos li::before { content: counter(paso); display: block; font-size: 2rem; font-weight: 600; letter-spacing: -.05em; line-height: 1; color: var(--rosa-tinta); margin-bottom: 18px; }
.pasos h3 { margin: 0 0 8px; font-size: 1.05rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.pasos p { margin: 0; font-size: 14px; color: var(--tinta-media); line-height: 1.55; }

/* Listas de texto */
.reglas, .condiciones { margin: 0; padding: 0; list-style: none; max-width: 520px; }
.reglas li, .condiciones li { position: relative; padding: 15px 0 15px 26px; border-top: 1px solid var(--filete); color: var(--tinta-media); font-size: 15px; }
.reglas li:first-child, .condiciones li:first-child { border-top: 0; padding-top: 0; }
.reglas li::before, .condiciones li::before { content: ""; position: absolute; left: 2px; top: 1.55em; width: 7px; height: 7px; border-radius: 50%; background: var(--rosa-tinta); }
.reglas li:first-child::before, .condiciones li:first-child::before { top: .6em; }

/* Tarjetas */
.tarjeta { border: 1px solid #e4d5dc; border-radius: 13px; background: #fff; box-shadow: 0 24px 64px #63324924; overflow: hidden; }
.tarjeta-cabeza { display: flex; justify-content: space-between; align-items: center; margin: 0; padding: 16px 22px; border-bottom: 1px solid #f0e7eb; font-size: 12px; font-weight: 750; }
.tarjeta-cabeza span { font-size: 10px; font-weight: 600; color: #83757d; }
.hoja { width: 100%; border-collapse: collapse; font-size: 13px; }
.hoja th, .hoja td { text-align: left; padding: 12px 22px; border-bottom: 1px solid #eee5e9; }
.hoja tr:last-child td { border-bottom: 0; }
.hoja th { font-size: 10px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; color: #756a71; background: var(--crema); }
.hoja td:nth-child(2) { font-variant-numeric: tabular-nums; color: var(--tinta-media); }
.hoja td:last-child, .hoja th:last-child { text-align: right; }

.tarjeta.precio { max-width: 500px; justify-self: center; width: 100%; padding: 46px 30px; text-align: center; border-color: #e6ccd8; box-shadow: 0 18px 44px #72425817; }
.monto { margin: 6px 0 0; font-size: 4.8rem; font-weight: 600; letter-spacing: -.06em; line-height: 1; }
.monto small { font-size: 1rem; font-weight: 650; letter-spacing: 0; color: var(--tinta-tenue); }
.monto-nota { margin: 16px auto 0; max-width: 300px; font-size: 13px; color: var(--tinta-media); }

/* Cierre */
.cierre { text-align: center; }
.cierre p { margin: 14px auto 28px; max-width: 460px; color: var(--tinta-media); }

/* Pie */
.pie { background: var(--crema); border-top: 1px solid var(--filete); padding: 30px 0 40px; }
.pie .ancho { width: min(100% - 48px, 1190px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.pie nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pie a:not(.logotipo) { font-size: 12px; color: var(--tinta-media); }

@media (max-width: 760px) {
  .cabecera nav { display: none; }
  .portada { padding: 56px 20px 72px; }
  .franja { padding: 68px 0; }
}
@media (max-width: 450px) {
  h1 { font-size: 2.7rem; }
  .cabecera { padding-inline: 18px; }
  .boton.chico { padding: 11px 14px; }
  .hoja th, .hoja td { padding: 10px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .platica-cuerpo li, .platica-aviso { animation: none; }
  * { transition-duration: 0.01ms !important; }
}
