/* Landings de recursos de Clara Pérez · misma marca que recursos.soyclaraperez.com */
:root {
  --oro: #b8923c;
  --oro-suave: rgba(184, 146, 60, 0.28);
  --panel: #faf6ec;
  --tinta: #1c1c1c;
  --cuerpo: #4a3f2a;
  --brillo: linear-gradient(110deg, #b8923c 20%, #ffe9a8 40%, #ffd600 50%, #ffe9a8 60%, #b8923c 80%);
}
* { box-sizing: border-box; }
html { background: #fff; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 600;
  color: var(--tinta);
  line-height: 1.5;
}
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 16px 0;
  max-width: 880px;
  margin: 0 auto;
}
@keyframes brillo { 0% { background-position: 0% 50%; } 100% { background-position: 250% 50%; } }
@keyframes chispa { to { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }
.oro {
  font-style: normal;
  background: var(--brillo);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: brillo 5s linear infinite;
}
.chispa { position: fixed; z-index: 50; width: 6px; height: 6px; border-radius: 50%; background: var(--oro); pointer-events: none; animation: chispa 0.55s ease-out forwards; }

.pastilla {
  border: 1px solid var(--oro-suave);
  background: var(--panel);
  color: var(--oro);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
h1 {
  margin: 0;
  max-width: 760px;
  text-align: center;
  font-size: clamp(28px, 5.4vw, 44px);
  font-weight: 800;
  line-height: 1.16;
  text-wrap: balance;
}
.sub {
  margin: 16px 0 0;
  max-width: 620px;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: var(--cuerpo);
}

/* Video */
.video {
  position: relative;
  width: 100%;
  max-width: 800px;
  aspect-ratio: 16 / 9;
  margin-top: 34px;
  border-radius: 18px;
  border: 1px solid var(--oro-suave);
  background: var(--tinta);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__tapa {
  position: absolute;
  inset: -24px;
  background: radial-gradient(circle at 50% 40%, #3a2f17, #141414 70%) center / cover no-repeat;
  filter: blur(14px) brightness(0.5);
}
.video__candado {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  color: #ffe9a8;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}
.video__candado svg { width: 58px; height: 58px; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7)); }

/* Formulario que desbloquea */
.llave {
  width: 100%;
  max-width: 560px;
  margin-top: 30px;
  padding: 28px 22px;
  border-radius: 18px;
  border: 1px solid var(--oro-suave);
  background: var(--panel);
  text-align: center;
}
.llave h2 { margin: 0; font-size: clamp(22px, 4.4vw, 28px); font-weight: 800; line-height: 1.2; text-wrap: balance; }
.llave__nota { margin: 8px 0 20px; font-size: 16px; font-weight: 700; color: var(--cuerpo); }
form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 800; }
input {
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  color: var(--tinta);
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid var(--oro-suave);
  background: #fff;
  outline: none;
  width: 100%;
}
input:focus { border-color: var(--oro); }
input.mal { border-color: #c0392b; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.error { margin: 0; color: #a5281b; font-size: 15px; font-weight: 800; text-align: center; }
.llave__legal { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--cuerpo); text-align: center; }

.boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  padding: 17px 24px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 800;
  color: var(--tinta);
  text-decoration: none;
  text-align: center;
  background: var(--brillo);
  background-size: 250% 100%;
  animation: brillo 5s linear infinite;
  box-shadow: 0 10px 22px -8px rgba(184, 146, 60, 0.7);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.boton:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(184, 146, 60, 0.8); }
.boton[disabled] { opacity: 0.65; cursor: wait; transform: none; }
.boton svg { width: 22px; height: 22px; flex: none; }

/* Después de desbloquear */
.despues { display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 30px; }
.despues[hidden], .llave[hidden], .video[hidden] { display: none; }
.despues__texto {
  margin: 0 0 26px;
  max-width: 560px;
  text-align: center;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 19px;
  color: var(--cuerpo);
}
.mas { margin-top: 22px; font-size: 16px; font-weight: 800; color: var(--oro); text-decoration: none; border-bottom: 2px solid var(--oro-suave); }

/* Quién es Clara Pérez */
.quien {
  width: 100%;
  margin-top: 72px;
  padding: 28px 22px;
  display: grid;
  gap: 26px;
  align-items: center;
  border-radius: 22px;
  background: var(--panel);
  border: 1px solid var(--oro-suave);
}
.quien img { width: 100%; max-width: 320px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 45%; border-radius: 16px; margin: 0 auto; display: block; }
.ceja { margin: 0 0 6px; font-size: 14px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--oro); }
.quien h2 { margin: 0 0 12px; font-size: clamp(24px, 4.6vw, 32px); font-weight: 800; line-height: 1.2; }
.quien p { margin: 0 0 14px; font-size: 16px; font-weight: 600; color: var(--cuerpo); }
.quien .quien__linea { font-family: "Playfair Display", serif; font-style: italic; font-size: 19px; font-weight: 600; color: var(--tinta); }
.quien ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.quien li { position: relative; padding-left: 26px; font-size: 15px; font-weight: 800; }
.quien li::before { content: "✦"; position: absolute; left: 0; color: var(--oro); }
@media (min-width: 760px) {
  .quien { grid-template-columns: 300px 1fr; padding: 36px; }
  main { padding-top: 56px; }
}

/* Índice de clases */
.grilla { width: 100%; display: grid; gap: 22px; margin-top: 38px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tarjeta { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--tinta); border: 1px solid var(--oro-suave); border-radius: 16px; overflow: hidden; background: #fff; padding-bottom: 16px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.tarjeta:hover { transform: translateY(-3px); box-shadow: 0 18px 30px -16px rgba(0, 0, 0, 0.35); }
.tarjeta__img { aspect-ratio: 16 / 9; background: #1c1c1c center / cover no-repeat; }
.tarjeta__t { padding: 6px 16px 0; font-size: 17px; font-weight: 800; line-height: 1.25; }
.tarjeta__m { padding: 0 16px; font-size: 14px; font-weight: 800; color: var(--oro); }

footer { margin-top: 56px; padding: 0 16px 110px; text-align: center; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; color: var(--oro); }
/* Pedido de Clara (02/10): letra bien chiquita, casi que no se lee. */
footer .pie__legal { display: inline-block; margin-top: 8px; font-size: 8px; font-weight: 500; letter-spacing: 0; color: var(--cuerpo); opacity: 0.4; text-decoration: underline; text-underline-offset: 2px; }
footer .pie__legal:hover { opacity: 0.8; }

/* Calendario adentro de la página (recursos con agenda) */
.agenda { width: 100%; max-width: 800px; margin-top: 26px; border: 1px solid var(--oro-suave); border-radius: 18px; overflow: hidden; background: #fff; }
.agenda[hidden] { display: none; }
.agenda iframe { display: block; width: 100%; height: 900px; border: 0; }

/* Guía escrita (fuente "guia") */
.guia h1 { max-width: 800px; }
.g { width: 100%; max-width: 720px; margin-top: 34px; font-size: 18px; font-weight: 600; color: var(--cuerpo); }
.g section { margin-top: 46px; }
.g section:first-child { margin-top: 0; }
.g h2 { margin: 0 0 14px; font-size: clamp(24px, 4.4vw, 32px); font-weight: 800; line-height: 1.2; color: var(--tinta); text-wrap: balance; }
.g h3 { margin: 26px 0 8px; font-size: 20px; font-weight: 800; color: var(--tinta); }
.g p { margin: 0 0 16px; }
.g strong { font-weight: 800; color: var(--tinta); }
.g ul, .g ol { margin: 0 0 18px; padding-left: 24px; }
.g li { margin-bottom: 9px; }
.g .ceja { margin-bottom: 8px; }
.g-grande { font-family: "Playfair Display", serif; font-style: italic; font-size: clamp(22px, 4vw, 28px); line-height: 1.35; color: var(--tinta); text-align: center; margin: 0 0 24px !important; }
.g-nota { font-size: 15px; font-weight: 700; color: var(--oro); }
.g-tip { padding: 16px 18px; border-left: 4px solid var(--oro); background: var(--panel); border-radius: 0 14px 14px 0; font-size: 17px; }
.g-caja, .g-check { padding: 26px 22px; border-radius: 22px; background: var(--panel); border: 1px solid var(--oro-suave); }
.guion { position: relative; margin: 18px 0 22px; padding: 18px 18px 20px; border-radius: 16px; background: #fff; border: 2px solid var(--oro-suave); box-shadow: 0 10px 24px -18px rgba(184, 146, 60, 0.9); }
.g-caja .guion { background: #fff; }
.guion__t { margin: 0 0 10px !important; font-size: 14px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--oro); }
.guion__c { margin: 0 !important; white-space: pre-line; font-size: 17px; font-weight: 700; color: var(--tinta); }
.guion__copiar { margin-top: 14px; padding: 10px 18px; border: 2px solid var(--oro); border-radius: 999px; background: #fff; font: inherit; font-size: 15px; font-weight: 800; color: var(--oro); cursor: pointer; }
.guion__copiar:hover { background: var(--panel); }
.tiempo { display: grid; gap: 12px; }
.tiempo div { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--oro-suave); }
.tiempo span { font-size: 14px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--oro); }
.tiempo p { margin: 0; font-size: 17px; }
.check { list-style: none; padding-left: 0 !important; }
.check li { position: relative; padding-left: 36px; font-weight: 700; color: var(--tinta); }
.check li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 6px; border: 2px solid var(--oro); background: #fff; }
.g-cierre { text-align: center; display: flex; flex-direction: column; align-items: center; }
.g-cierre p { max-width: 640px; }
.g-cierre .boton { margin: 8px 0 26px; }
.boton--linea { background: #fff; border: 2px solid var(--oro); color: var(--oro); box-shadow: none; animation: none; }
@media (min-width: 720px) { .tiempo div { grid-template-columns: 210px 1fr; align-items: center; } }
@media print { .pastilla, footer, .guion__copiar, #hablemos, .boton { display: none !important; } .g { font-size: 13px; } }

/* 02/10/2026 · estructura nueva: formulario arriba, video debajo, página de gracias y /ver */
main[data-tipo="video"] .video { margin-top: 30px; }
.listo { width: 100%; max-width: 560px; margin: 30px 0 0; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--oro-suave); background: var(--panel); text-align: center; font-size: 17px; font-weight: 800; color: var(--tinta); }
.listo[hidden], .sonido[hidden] { display: none; }
.sonido { margin-top: 16px; padding: 12px 22px; border: 2px solid var(--oro); border-radius: 999px; background: #fff; font: inherit; font-size: 16px; font-weight: 800; color: var(--tinta); cursor: pointer; }
.sonido:hover { background: var(--panel); }
.pasos { width: 100%; max-width: 620px; margin-top: 40px; display: grid; gap: 14px; }
.paso { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: 16px; border: 1px solid var(--oro-suave); background: var(--panel); font-size: 17px; font-weight: 600; color: var(--cuerpo); text-align: left; }
.paso b { flex: none; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; color: var(--tinta); background: var(--brillo); background-size: 250% 100%; animation: brillo 5s linear infinite; }
.paso strong { color: var(--tinta); font-weight: 800; }

/* Aviso arriba del guion al llegar desde el formulario (03/10/2026): también va por mail y WhatsApp. */
.g-listo { max-width: 640px; margin: 18px auto 8px; padding: 14px 18px; border: 1px solid var(--oro-suave); border-radius: 14px; background: #fbf7ee; font-size: 15px; line-height: 1.5; text-align: center; }
.g-listo strong { color: var(--oro); }
