/* La cárcel de los talentos · Luisa Bustamante — estilos */

:root {
  --ink: #0B0B0B;
  --paper: #FFFFFF;
  --red: #C8102E;
  --red-dark: #A50D26;
  --red-light: #FF4D5E;
  --warm: #F3EFEA;
  --rule: #D9D4CE;
  --gray: #5F5A55;
  --gray-dark: #3A3632;
  --gray-ink: #8A857F;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--red); }
.serif { font-family: var(--serif); font-variation-settings: 'opsz' 144; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 112px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--warm { background: var(--warm); }
.section--dark a { color: #fff; }

.eyebrow { margin: 0; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: var(--red); }
.section--dark .eyebrow { color: var(--red-light); }
.eyebrow--muted { color: var(--gray); }
h1, h2, h3 { margin: 0; font-weight: 400; }
.h2 { font-family: var(--serif); font-size: 56px; line-height: 1.02; letter-spacing: -0.02em; }
.lead { margin: 0; font-size: 18px; line-height: 1.6; color: var(--gray-dark); max-width: 520px; }
.section--dark .lead { color: #C9C3BD; }
.rule { width: 44px; height: 3px; background: var(--red); border: 0; margin: 0; }
.section--dark .rule { background: var(--red-light); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stack { display: flex; flex-direction: column; gap: 18px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; text-decoration: none;
  border: 2px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--black { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--black:hover { background: #2A2A2A; border-color: #2A2A2A; color: #fff; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ghost-light { color: #fff; border-color: #fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn[disabled], .btn[disabled]:hover { background: #D9D4CE; border-color: #D9D4CE; color: #5A5550; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.pending {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: #8A2B1E; background: #FBEDE8; border: 1px dashed var(--red); padding: 6px 10px;
}
[hidden] { display: none !important; }

/* ---------- Navegación ---------- */
.header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--ink); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0; }
.brand { text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-family: var(--serif); font-size: 22px; font-weight: 500; letter-spacing: -0.01em; line-height: 1; }
.brand__tag { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); font-weight: 600; }
.nav__links { display: flex; gap: 28px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav__cta { min-height: 46px; padding: 10px 20px; font-size: 15px; }
.nav__links .nav__cta { display: none; }
.nav__toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--ink); background: #fff; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; padding: 0; }
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--ink); }
.nav__actions { display: flex; align-items: center; gap: 12px; }

/* ---------- Hero ---------- */
.hero { padding: 104px 0 112px; }
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.hero__title { font-family: var(--serif); font-size: 76px; line-height: 0.98; letter-spacing: -0.02em; }
.hero__title em { font-style: italic; font-weight: 300; }
.hero__text { margin: 0; font-size: 19px; line-height: 1.6; color: var(--gray-dark); max-width: 560px; }
.hero__visual { position: relative; min-height: 520px; }
.hero__visual::before { content: ""; position: absolute; inset: 28px -28px -28px 28px; background: var(--warm); z-index: 0; }
.frame-open { border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.hero__frame { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 560px; background: var(--warm); box-shadow: 24px 24px 0 0 var(--ink); overflow: hidden; }
.hero__frame-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 24px 28px 0; position: relative; z-index: 2; }
.hero__frame-head span:first-child { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--gray); }
.hero__photo { width: 100%; height: 480px; object-fit: contain; object-position: center bottom; margin-top: -12px; }
.hero__frame-foot { background: #fff; border-top: 2px solid var(--ink); padding: 18px 28px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.hero__frame-foot .serif { font-size: 26px; line-height: 1.1; font-weight: 300; font-style: italic; }
.hero__frame-foot strong { font-weight: 600; font-style: normal; color: var(--red); }
.hero__frame-foot span:last-child { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--gray); }

/* ---------- El tema ---------- */
.situaciones { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gray-dark); }
.situaciones li { display: flex; gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--gray-dark); font-size: 24px; line-height: 1.4; font-weight: 500; }
.situaciones .num { font-family: var(--serif); font-size: 20px; font-style: italic; color: var(--red-light); min-width: 40px; }
.reflexion { font-family: var(--serif); margin: 0; font-size: 40px; line-height: 1.15; font-weight: 300; font-style: italic; letter-spacing: -0.01em; }
.tema__cierre { display: flex; flex-direction: column; gap: 20px; padding-top: 48px; max-width: 900px; }
.tema__cierre p:last-child { margin: 0; font-size: 17px; color: #C9C3BD; }

/* ---------- Sobre Luisa ---------- */
.quote { border-left: 2px solid var(--ink); padding: 8px 0 8px 28px; margin: 12px 0 0; }
.quote p { font-family: var(--serif); margin: 0; font-size: 28px; line-height: 1.3; font-weight: 300; font-style: italic; }
.sobre__foto { margin-top: 28px; background: #fff; border: 2px solid var(--ink); box-shadow: 16px 16px 0 0 var(--red); overflow: hidden; max-width: 440px; }
.bio { display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.7; color: var(--gray-dark); padding-top: 12px; }
.bio p { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.tags span { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; border: 1px solid var(--ink); padding: 8px 14px; }

/* ---------- El libro ---------- */
.libro__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.portada { position: relative; display: flex; justify-content: center; }
.portada::before { content: ""; position: absolute; left: 50%; top: 40px; width: 300px; height: 440px; margin-left: -120px; background: var(--warm); }
.portada img { position: relative; width: 320px; height: auto; box-shadow: 18px 18px 0 0 var(--red); border: 1px solid #1a1a1a; }
.ficha { display: flex; flex-direction: column; gap: 24px; }
.ficha__autora { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray); }
.ficha__tagline { font-family: var(--serif); margin: 0; font-size: 26px; line-height: 1.25; font-weight: 300; font-style: italic; letter-spacing: -0.01em; }
.ficha__tagline strong { font-weight: 600; font-style: normal; color: var(--red); }
.ficha__sinopsis { margin: 0; font-size: 18px; line-height: 1.65; color: var(--gray-dark); }
.datos { margin: 8px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; border-top: 1px solid var(--ink); padding-top: 20px; }
.datos div { display: flex; flex-direction: column; gap: 4px; }
.datos dt { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--gray); }
.datos dd { margin: 0; font-size: 16px; }
.section--dark .datos { border-top-color: var(--gray-dark); }
.section--dark .datos dt { color: var(--gray-ink); }
.mini-form { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; padding: 24px; background: var(--warm); }
.mini-form label { font-size: 15px; font-weight: 600; }
.mini-form .row { display: flex; flex-wrap: wrap; gap: 10px; }
.mini-form input[type="email"] { flex: 1 1 220px; min-height: 52px; padding: 14px 16px; border: 1px solid var(--ink); font-size: 16px; font-family: var(--sans); background: #fff; }
.mini-form small { font-size: 13px; color: var(--gray); line-height: 1.5; }

/* ---------- Conferencias ---------- */
.ejes article { display: flex; flex-direction: column; gap: 16px; padding: 32px; border: 1px solid var(--gray-dark); min-height: 220px; }
.ejes .num { font-family: var(--serif); font-size: 44px; line-height: 1; font-weight: 300; font-style: italic; color: var(--red-light); }
.ejes h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
.ejes p { margin: 0; font-size: 15px; line-height: 1.6; color: #C9C3BD; }
.conf__detalle { border-top: 1px solid var(--gray-dark); padding-top: 48px; align-items: start; }
.label { margin: 0; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700; color: #C9C3BD; }
.publicos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.publicos li { display: flex; gap: 14px; align-items: baseline; font-size: 19px; font-weight: 500; }
.publicos li::before { content: ""; width: 18px; height: 2px; background: var(--red-light); flex: none; position: relative; top: -5px; }
.datos--dark { border-top: 0; padding-top: 0; margin: 0; gap: 14px 20px; }
.datos--dark dd { color: #fff; }

/* ---------- Formulario ---------- */
.form-intro { position: sticky; top: 100px; }
.contacto { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; border-left: 2px solid var(--ink); padding-left: 20px; }
.contacto span:first-child { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--gray); }
.form { display: flex; flex-direction: column; gap: 20px; padding: 40px; border: 2px solid var(--ink); box-shadow: 16px 16px 0 0 var(--warm); background: #fff; }
.form-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field label small { font-weight: 400; color: var(--gray); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; padding: 14px 16px; border: 1px solid var(--ink); border-radius: 0;
  background: #fff; color: var(--ink); min-height: 48px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 12px; align-items: flex-start; padding: 16px; background: var(--warm); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.consent label { font-size: 14px; line-height: 1.5; color: var(--gray-dark); }
.consent label span { color: var(--gray); }
.form__footer { display: flex; flex-direction: column; gap: 14px; }
.legal { margin: 0; font-size: 13px; line-height: 1.55; color: var(--gray); }
.form__status { font-size: 14px; color: var(--gray-dark); }

/* ---------- Marcas ---------- */
.marcas { padding: 88px 0; border-top: 1px solid var(--rule); }
.marcas .h2 { font-size: 38px; }
.marca { display: flex; flex-direction: column; gap: 14px; padding: 28px 0; border-top: 2px solid var(--ink); }
.marca__logo { height: 80px; display: flex; align-items: center; }
.marca__logo img { height: 80px; width: auto; max-width: 100%; object-fit: contain; }
.marca h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.marca .lema { font-family: var(--serif); margin: 0; font-size: 17px; font-style: italic; font-weight: 300; }
.marca .desc { margin: 0; font-size: 15px; line-height: 1.6; color: var(--gray-dark); }
.marca a { font-size: 14px; font-weight: 600; margin-top: 4px; }
.marca .pendiente { font-size: 12px; color: var(--gray-ink); letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; }
.marcas__nota { margin: 0; font-size: 13px; color: var(--gray); }

/* ---------- Cierre y pie ---------- */
.cierre { padding: 128px 0; position: relative; overflow: hidden; }
.cierre::after { content: ""; position: absolute; right: -60px; top: 50%; width: 420px; height: 420px; margin-top: -210px; border: 1px solid var(--gray-dark); border-right: none; }
.cierre .container { position: relative; display: flex; flex-direction: column; gap: 36px; }
.cierre__title { font-family: var(--serif); font-size: 68px; line-height: 1.02; font-weight: 300; font-style: italic; letter-spacing: -0.02em; max-width: 900px; }
.footer { background: var(--ink); color: #C9C3BD; border-top: 1px solid var(--gray-dark); padding: 48px 0; font-size: 13px; }
.footer .container { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col > span:first-child, .footer__col > a:first-child { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--gray-ink); }
.footer__name { font-family: var(--serif); font-size: 22px; color: #fff; }
.footer a { color: #C9C3BD; }
.footer a:hover { color: #fff; }
.footer .pendiente { color: var(--gray-ink); }

/* ---------- Páginas secundarias ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 96px 24px; }
.page h1 { font-family: var(--serif); font-size: 44px; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 24px; }
.page h2 { font-family: var(--serif); font-size: 26px; margin: 40px 0 12px; }
.page p, .page li { font-size: 17px; line-height: 1.7; color: var(--gray-dark); }
.page .ph { color: #8A2B1E; background: #FBEDE8; padding: 2px 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__title { font-size: 60px; }
  .h2 { font-size: 44px; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 80px; }
  .hero__grid, .grid-2, .grid-3, .form-2, .libro__grid { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .hero__title { font-size: 48px; }
  .h2 { font-size: 36px; }
  .reflexion { font-size: 30px; }
  .cierre__title { font-size: 42px; }
  .situaciones li { font-size: 20px; gap: 20px; }
  .quote p { font-size: 22px; }
  .form { padding: 24px; box-shadow: 10px 10px 0 0 var(--warm); }
  .form-intro { position: static; }
  .hero__visual { min-height: 0; }
  .hero__frame { min-height: 0; }
  .hero__photo { height: 360px; }
  .nav__toggle { display: flex; }
  .nav__links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--ink); padding: 8px 24px 16px;
  }
  .nav__links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 17px; }
  .nav.is-open .nav__links { display: flex; }
  .nav__actions .nav__cta { display: none; }
  .nav__links .nav__cta { display: inline-flex; margin: 12px 0 0; width: 100%; }
  .nav__links li:last-child a { border-bottom: 0; }
  .footer .container { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero__title { font-size: 40px; }
  .portada img { width: 260px; }
  .portada::before { width: 240px; height: 360px; margin-left: -100px; }
  .btn { width: 100%; }
  .nav__toggle { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
