:root{
    --paper: #EFEAE0;
    --paper-card: #E5DFD1;
    --ink: #201C16;
    --ink-soft: #6B6154;
    --accent: #7C5A3A;
    --line: #D9D1C1;
    --max: 1160px;
  }

  *{ box-sizing: border-box; }
  html{ scroll-behavior: smooth; }

  body{
    margin:0;
    background: var(--paper);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
  }

  h1,h2,h3{
    font-family: 'Fraunces', serif;
    font-weight: 450;
    line-height: 1.08;
    margin: 0;
    letter-spacing: -0.01em;
  }

  a{ color: inherit; }

  .wrap{
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
  }

  .eyebrow{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
    display: inline-block;
  }

  section{
    padding: 128px 0;
    border-bottom: 1px solid var(--line);
  }
  section:last-of-type{ border-bottom: none; }

  /* ---------- reveal on scroll ---------- */
  .reveal{
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.in{ opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce){
    .reveal{ opacity:1; transform:none; transition:none; }
  }

  /* ---------- HERO ---------- */
  .hero{
    min-height: 92vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--line);
  }
  .hero h1{
    font-size: clamp(40px, 6.4vw, 84px);
    max-width: 15ch;
  }
  .hero .lede{
    margin-top: 34px;
    max-width: 46ch;
    font-size: 19px;
    color: var(--ink-soft);
  }
  .hero .scroll-cue{
    margin-top: 72px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-soft);
    letter-spacing: 0.08em;
  }

  /* ---------- narrative single column ---------- */
  .narrative{
    max-width: 640px;
  }
  .narrative p{
    font-size: 18px;
    margin: 0 0 22px;
  }
  .narrative p:last-child{ margin-bottom: 0; }
  .narrative .lead-line{
    font-family: 'Fraunces', serif;
    font-size: 26px;
    font-weight: 450;
    line-height: 1.35;
    margin-bottom: 26px;
  }

  /* ---------- callout / pull-quote ---------- */
  .callout{
    border-left: 2px solid var(--accent);
    padding-left: 28px;
    margin: 48px 0;
  }
  .callout p{
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-size: 24px;
    font-weight: 450;
    line-height: 1.4;
    color: var(--ink);
    margin: 0;
  }

  /* ---------- pillars grid ---------- */
  .pillars-intro{
    max-width: 680px;
    margin-bottom: 72px;
  }
  .pillars-intro h2{ font-size: clamp(30px, 4vw, 42px); }
  .pillars-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }
  .pillar{
    background: var(--paper-card);
    padding: 44px 40px;
  }
  .pillar .num{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--accent);
    letter-spacing: 0.1em;
    display:block;
    margin-bottom: 18px;
  }
  .pillar h3{
    font-size: 23px;
    margin-bottom: 14px;
  }
  .pillar p{
    color: var(--ink-soft);
    font-size: 15.5px;
    margin: 0;
  }

  /* ---------- story / timeline (signature element) ---------- */
  .story-head{
    max-width: 640px;
    margin-bottom: 64px;
  }
  .story-head h2{ font-size: clamp(30px, 4vw, 42px); }

  .timeline{
    position: relative;
    display: flex;
    justify-content: space-between;
    margin: 0 0 72px;
    padding-top: 8px;
  }
  .timeline::before{
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--line);
  }
  .timeline-point{
    position: relative;
    flex: 1;
    text-align: left;
  }
  .timeline-point .dot{
    width: 9px; height: 9px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--accent);
    margin-bottom: 18px;
  }
  .timeline-point .year{
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    color: var(--accent);
    display: block;
    margin-bottom: 6px;
  }
  .timeline-point .label{
    font-size: 14px;
    color: var(--ink-soft);
    max-width: 20ch;
  }

  .story-body{
    max-width: 640px;
  }
  .story-body p{ font-size: 18px; margin: 0 0 22px; }

  /* ---------- fit list ---------- */
  .fit-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    max-width: 900px;
  }
  .fit-grid h3{
    font-size: 20px;
    margin-bottom: 20px;
  }
  .fit-grid ul{
    list-style: none;
    margin: 0; padding: 0;
  }
  .fit-grid li{
    padding: 12px 0;
    border-top: 1px solid var(--line);
    color: var(--ink-soft);
    font-size: 16px;
  }
  .fit-grid li:last-child{ border-bottom: 1px solid var(--line); }

  /* ---------- not-list (bloque 15, tono más suave) ---------- */
  .not-list{
    max-width: 620px;
  }
  .not-list .row{
    color: var(--ink-soft);
    font-size: 18px;
    padding: 10px 0;
  }
  .not-list .final-line{
    margin-top: 32px;
    font-family: 'Fraunces', serif;
    font-size: 24px;
    color: var(--ink);
    line-height: 1.4;
  }

  /* ---------- closing / CTA — mínima carga de urgencia ---------- */
  .closing{
    text-align: left;
    max-width: 560px;
  }
  .closing h2{
    font-size: clamp(30px, 4.4vw, 46px);
    margin-bottom: 24px;
  }
  .closing p{
    color: var(--ink-soft);
    font-size: 18px;
    margin-bottom: 40px;
  }
  .btn{
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--paper);
    background: var(--ink);
    padding: 16px 30px;
    border-radius: 2px;
    transition: background 0.25s ease;
  }
  .btn:hover{ background: var(--accent); }

  footer{
    padding: 48px 0;
  }
  footer .wrap{
    display:flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 12px;
    color: var(--ink-soft);
    flex-wrap: wrap;
    gap: 12px;
  }

  /* ---------- responsive ---------- */
  @media (max-width: 780px){
    section{ padding: 84px 0; }
    .wrap{ padding: 0 22px; }
    .pillars-grid{ grid-template-columns: 1fr; }
    .fit-grid{ grid-template-columns: 1fr; gap: 40px; }
    .timeline{ flex-direction: column; gap: 26px; }
    .timeline::before{ display:none; }
    .callout p{ font-size: 20px; }
    .narrative .lead-line{ font-size: 22px; }
  }

/* ============================================================
   FORMULARIO — Solicitud de Acceso al Programa de Inmersión
   ============================================================ */

.form-page{
  padding: 96px 0 140px;
}
.form-head{
  max-width: 680px;
  margin-bottom: 64px;
}
.form-head h1{
  font-size: clamp(32px, 5vw, 50px);
  margin-bottom: 24px;
}
.form-head .subtitle{
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 26px;
}
.form-head p{
  color: var(--ink-soft);
  font-size: 16.5px;
  max-width: 60ch;
  margin: 0 0 16px;
}
.form-head p:last-child{ margin-bottom: 0; }
.form-head .time-note{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--accent);
  margin-top: 22px;
  display: inline-block;
}

form{
  max-width: 680px;
}

.field{
  margin-bottom: 44px;
}
.field label{
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 18px;
  margin-bottom: 6px;
  color: var(--ink);
}
.field .req{
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-left: 8px;
  vertical-align: middle;
  text-transform: uppercase;
}
.field .hint{
  font-size: 14px;
  color: var(--ink-soft);
  margin: 4px 0 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea{
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: 'Inter', sans-serif;
  font-size: 16.5px;
  color: var(--ink);
  padding: 10px 2px;
  margin-top: 10px;
  transition: border-color 0.2s ease;
}
textarea{
  resize: vertical;
  min-height: 88px;
  line-height: 1.6;
}
input:focus,
textarea:focus{
  outline: none;
  border-bottom-color: var(--accent);
}
input::placeholder,
textarea::placeholder{
  color: #A79E8D;
}

.radio-group{
  margin-top: 14px;
  display: flex;
  flex-direction: column;
}
.radio-option{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  cursor: pointer;
}
.radio-group .radio-option:last-child{
  border-bottom: 1px solid var(--line);
}
.radio-option input[type="radio"]{
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1.5px solid var(--ink-soft);
  border-radius: 50%;
  margin-top: 3px;
  position: relative;
  cursor: pointer;
}
.radio-option input[type="radio"]:checked{
  border-color: var(--accent);
}
.radio-option input[type="radio"]:checked::after{
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.radio-option span{
  font-size: 16px;
  color: var(--ink);
  line-height: 1.5;
}

.form-footnote{
  max-width: 620px;
  margin: 64px 0 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.form-footnote p{
  color: var(--ink-soft);
  font-size: 15.5px;
  margin: 0 0 16px;
}
.form-footnote p:last-child{ margin-bottom: 0; }

.submit-row{
  margin-top: 44px;
}
button.btn{
  border: none;
  cursor: pointer;
  font-size: 13px;
}

.back-link{
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: var(--ink-soft);
  text-decoration: none;
  margin-bottom: 56px;
  letter-spacing: 0.04em;
}
.back-link:hover{ color: var(--accent); }

/* honeypot field para Netlify Forms — oculto siempre */
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ============================================================
   CONFIRMACIÓN
   ============================================================ */
.confirm-page{
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.confirm-box{
  max-width: 560px;
}
.confirm-box h1{
  font-size: clamp(30px, 4.6vw, 44px);
  margin-bottom: 28px;
}
.confirm-box p{
  font-size: 17.5px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.confirm-box .signoff{
  margin-top: 36px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
}
