/* =========================================================
   IDEATIVAS — hoja de estilos
   Sistema de diseño: tipografía + geometría simple, sin
   gradientes ni iconografía educativa genérica.
   ========================================================= */

:root {
  /* Paleta */
  --ink: #101425;
  --ink-soft: #1b2138;
  --paper: #f7f5ef;
  --paper-alt: #efeade;
  --paper-line: rgba(16, 20, 37, 0.12);
  --accent: #3fa88a;
  --accent-dark: #2c7a63;
  --accent-soft: rgba(63, 168, 138, 0.14);
  --text: #1a1e2e;
  --text-muted: #565b70;
  --text-on-ink: #f2f1ea;
  --text-on-ink-muted: #b7bbcc;

  /* Tipografía */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Ritmo */
  --wrap: 1180px;
  --radius: 10px;
  --shadow-card: 0 1px 2px rgba(16, 20, 37, 0.06), 0 8px 24px -12px rgba(16, 20, 37, 0.18);
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.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;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--ink); color: var(--text-on-ink);
  padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

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

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--text-on-ink);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--paper-line);
}
.btn-ghost:hover { border-color: var(--ink); }
.btn-submit { width: 100%; padding: 15px 24px; font-size: 1rem; }
@media (min-width: 560px) { .btn-submit { width: auto; } }

/* ---------- Encabezados de sección ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.kicker-light { color: var(--accent); }

.section { padding: 88px 0; }
.section-alt { background: var(--paper-alt); }
.section-dark { background: var(--ink); }
.section-dark h2, .section-dark h3 { color: var(--text-on-ink); }
.section-dark p { color: var(--text-on-ink-muted); }

.section h2 {
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
  max-width: 44ch;
  margin-bottom: 20px;
}
.section-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  max-width: 62ch;
  margin-bottom: 36px;
}
.section-note {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--paper-line);
  color: var(--text-muted);
  max-width: 70ch;
  font-size: 0.98rem;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid var(--paper-line);
}
/* El blur vive en un pseudo-elemento (no en .site-header) para que
   backdrop-filter no genere un containing block que atrape al panel
   de navegación móvil (position: fixed) dentro de la altura del header. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(247, 245, 239, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  z-index: -1;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.1;
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}
.brand-descriptor {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--paper-line);
  border-radius: 8px;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 84vw);
  background: var(--paper);
  opacity: 1;
  z-index: 200;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 96px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -12px 0 32px rgba(16,20,37,0.28);
}
.site-nav.is-open { transform: translateX(0); }

.nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(16, 20, 37, 0.45);
  z-index: 150;
}
.nav-scrim[hidden] { display: none; }
.site-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
}
.site-nav a { text-decoration: none; font-weight: 500; font-size: 1.05rem; }
.nav-cta { margin-top: 8px; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    width: auto;
    transform: none;
    flex-direction: row;
    padding: 0;
    box-shadow: none;
    background: transparent;
    gap: 32px;
  }
  .site-nav ul { flex-direction: row; gap: 26px; }
  .site-nav a { font-size: 0.94rem; }
  .nav-cta { margin-top: 0; }
  .nav-scrim { display: none !important; }
}

body.nav-locked { overflow: hidden; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 64px 0 88px; }
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.1rem);
  max-width: 18ch;
}
.hero-lead {
  margin-top: 22px;
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 52ch;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-figure { display: none; }
.hero-graphic { width: 100%; height: auto; }
.hero-graphic line { stroke: var(--paper-line); stroke-width: 1.5; }
.hero-graphic .dot-accent { fill: var(--accent); }
.hero-graphic .dot-ink { fill: var(--ink); opacity: 0.35; }

@media (min-width: 860px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; }
  .hero-figure { display: block; }
}

/* =========================================================
   TAGS (destinatarios / producciones)
   ========================================================= */
.tag-groups {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}
@media (min-width: 700px) {
  .tag-groups { grid-template-columns: 1fr 1fr; }
}
.tag-group-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.88rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 500;
}

/* =========================================================
   MODALIDADES (tarjetas Línea 01)
   ========================================================= */
.modalities {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .modalities { grid-template-columns: 1fr 1fr; } }

.modality-card {
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.modality-number {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.modality-card h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.modality-when {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.modality-what {
  font-size: 0.96rem;
  color: var(--text);
  margin-bottom: 18px;
  flex-grow: 1;
}
.modality-link {
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid var(--paper-line);
  padding-top: 14px;
  transition: color 0.15s ease;
}
.modality-link:hover { color: var(--accent-dark); }

/* =========================================================
   QUÉ APORTA (verbos)
   ========================================================= */
.verbs-grid {
  display: grid;
  gap: 32px 28px;
  grid-template-columns: 1fr;
  margin-bottom: 48px;
}
@media (min-width: 620px) { .verbs-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .verbs-grid { grid-template-columns: repeat(3, 1fr); } }

.verb-item { border-top: 2px solid var(--ink); padding-top: 16px; }
.verb-number {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}
.verb-item h3 { font-size: 1.1rem; margin: 6px 0 8px; }
.verb-item p { color: var(--text-muted); font-size: 0.95rem; }

.reading-sequence {
  border-top: 1px solid var(--paper-line);
  padding-top: 28px;
}
.sequence-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}
.sequence-list li { display: flex; align-items: center; }
.sequence-list li:not(:last-child)::after {
  content: "→";
  margin: 0 14px;
  color: var(--accent);
  font-weight: 400;
}

/* =========================================================
   CÓMO FUNCIONA
   ========================================================= */
.steps {
  list-style: none;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 700px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step { padding-top: 0; }
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--text-on-ink);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; }

/* =========================================================
   PRINCIPIOS
   ========================================================= */
.principles-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .principles-grid { grid-template-columns: repeat(3, 1fr); } }
.principle {
  border-top: 2px solid var(--accent);
  padding-top: 18px;
}
.principle h3 { font-size: 1.25rem; margin-bottom: 10px; }
.principle p { font-size: 0.98rem; }

/* =========================================================
   SOBRE IDEATIVAS
   ========================================================= */
.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 820px) { .about-grid { grid-template-columns: 1.3fr 0.7fr; } }
.about-grid p { color: var(--text-muted); margin-top: 16px; max-width: 58ch; }
.about-grid p:first-of-type { margin-top: 0; }
.about-figure { display: none; }
@media (min-width: 820px) { .about-figure { display: block; } }
.about-graphic circle { fill: none; stroke: var(--paper-line); stroke-width: 1.5; }
.about-graphic .dot-accent-fill { fill: var(--accent); stroke: none; }

/* =========================================================
   PRÓXIMAMENTE
   ========================================================= */
.section-soon {
  border-top: 1px dashed var(--paper-line);
  border-bottom: 1px dashed var(--paper-line);
}
.soon-subhead {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  max-width: 46ch;
  margin-bottom: 16px;
}
.soon-body {
  color: var(--text-muted);
  max-width: 60ch;
  margin-bottom: 24px;
}
.badge-progress {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 16px;
  border: 1px dashed var(--text-muted);
  border-radius: 999px;
  color: var(--text-muted);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 760px; display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border-bottom: 1px solid var(--paper-line);
  padding: 4px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding-bottom: 20px;
  color: var(--text-muted);
  max-width: 66ch;
}

/* =========================================================
   FORMULARIO
   ========================================================= */
.form-wrap { max-width: 860px; }
.consulta-form { margin-top: 8px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.field-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .field-grid { grid-template-columns: 1fr 1fr; } }
.field-full { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.req { color: var(--accent-dark); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 0.98rem;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--paper-line);
  background: #fff;
  color: var(--text);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-dark);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  margin-top: 24px;
  font-size: 0.92rem;
  color: var(--text-muted);
}
.form-note a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }

.btn-submit { margin-top: 22px; }

.form-status {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 1.3em;
}
.form-status[data-state="success"] { color: var(--accent-dark); }
.form-status[data-state="error"] { color: #b3402c; }
.form-status[data-state="loading"] { color: var(--text-muted); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--text-on-ink-muted);
  padding: 48px 0;
}
.footer-row {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
@media (min-width: 700px) {
  .footer-row { flex-direction: row; justify-content: space-between; align-items: flex-end; }
}
.brand-word-footer { color: var(--text-on-ink); }
.footer-contact { display: flex; flex-direction: column; gap: 8px; }
.footer-contact a { text-decoration: none; font-weight: 600; color: var(--accent); }
.footer-contact p { font-size: 0.85rem; }

/* =========================================================
   Utilidades de impresión / accesibilidad
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
