/* Guías gratuitas de Efecto Mariposa · marca aprobada el 28/09/2026 */
:root {
  --rosa: #FF7EB6; --bosque: #0E2B24; --nube: #F4F5F0; --tinta: #121614;
  --rosa-claro: #FFE1EC; --salvia: #8FA89B; --rosa-hondo: #B0306A;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nube); color: var(--tinta); font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 17px; line-height: 1.55; }
a { color: inherit; }
em { font-style: normal; color: var(--rosa); }
.kicker { font-family: "Geist Mono", monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--rosa); margin: 0 0 10px; }

.barra { background: var(--bosque); padding: 14px 16px; }
.barra img { height: 64px; display: block; margin: -10px 0 -10px -26px; }

/* Hero */
.hero { background: var(--bosque); color: var(--nube); padding: 28px 16px 40px; display: grid; gap: 28px; }
.hero h1 { font-size: clamp(32px, 8.5vw, 52px); line-height: 1.04; font-weight: 780; letter-spacing: -.015em; margin: 0 0 14px; }
.hero .sub { color: #DCE4DF; font-size: 18px; margin: 0; max-width: 34em; }
.portada { width: min(72%, 300px); justify-self: center; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.45); transform: rotate(-2deg); }

/* Formulario */
.caja-form { background: #fff; margin: -18px 16px 0; border-radius: 18px; padding: 24px 20px; box-shadow: 0 10px 30px rgba(14,43,36,.12); position: relative; }
.caja-form h2 { font-size: 26px; line-height: 1.15; margin: 0 0 6px; font-weight: 760; }
.caja-form > p { margin: 0 0 18px; color: #3c4a44; }
form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select { font: inherit; font-weight: 400; font-size: 17px; padding: 13px 14px; border: 1.5px solid #CFD8D2; border-radius: 12px; background: var(--nube); color: var(--tinta); width: 100%; }
input:focus, select:focus { outline: none; border-color: var(--bosque); background: #fff; }
label.legal { grid-template-columns: 22px 1fr; align-items: start; font-weight: 400; font-size: 13px; color: #3c4a44; line-height: 1.4; }
label.legal input { width: 20px; height: 20px; padding: 0; margin: 1px 0 0; accent-color: var(--rosa-hondo); }
button, .boton { font: inherit; font-weight: 700; font-size: 18px; background: var(--rosa); color: var(--tinta); border: 0; border-radius: 999px; padding: 16px 22px; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; }
button:disabled { opacity: .6; }
.gracias .t { font-size: 26px; font-weight: 760; margin: 0 0 14px; }
.gracias .boton { width: 100%; }
.gracias p { color: #3c4a44; }
.siguiente { border-top: 1px solid #E3E8E4; margin-top: 22px; padding-top: 18px; }
.boton.secundario { background: var(--bosque); color: var(--nube); font-size: 16px; }

/* Qué hay dentro */
.dentro { padding: 40px 16px 8px; }
.dentro .kicker { color: var(--rosa-hondo); }
.dentro ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dentro li { background: #fff; border-radius: 14px; padding: 14px 16px 14px 46px; position: relative; }
.dentro li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 14px; height: 14px; border-radius: 4px; background: var(--rosa); }

/* Autora */
.autora { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: start; margin: 28px 16px 0; padding: 20px; background: var(--rosa-claro); border-radius: 16px; }
.autora img { width: 46px; }
.autora p { margin: 0; font-size: 15px; }

/* Índice */
.indice { padding: 32px 16px 8px; max-width: 1040px; margin: 0 auto; }
.indice .kicker { color: var(--rosa-hondo); }
.indice h1 { font-size: clamp(32px, 8vw, 50px); line-height: 1.05; margin: 0 0 24px; font-weight: 780; }
.indice h1 em { color: var(--rosa-hondo); }
.tarjetas { display: grid; gap: 16px; }
.tarjeta { background: var(--bosque); color: var(--nube); border-radius: 18px; padding: 18px; text-decoration: none; display: grid; gap: 8px; }
.tarjeta img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; border-radius: 10px; }
.tarjeta strong { font-size: 20px; line-height: 1.2; }
.tarjeta .kicker { margin: 4px 0 0; }
.tarjeta .ir { color: var(--rosa); font-weight: 700; }

.pie { text-align: center; padding: 40px 16px 32px; font-size: 13px; color: #6b7a73; }
.pie .tag { font-family: "Newsreader", Georgia, serif; font-style: italic; font-size: 18px; color: var(--bosque); margin-bottom: 6px; }

@media (min-width: 860px) {
  .barra { padding: 18px 40px; }
  .hero { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 56px 40px 80px; }
  .hero .texto, .caja-form, .dentro, .autora { max-width: 980px; }
  .caja-form, .dentro, .autora { margin-left: auto; margin-right: auto; }
  .caja-form { margin-top: -44px; max-width: 560px; padding: 32px; }
  .dentro { max-width: 720px; }
  .autora { max-width: 720px; }
  .tarjetas { grid-template-columns: repeat(3, 1fr); }
}
