/* ============================================================
   one-pager — starter de retals
   scroll narrativo vertical. secciones grandes, tipografía
   protagonista. editorial, sin adornos innecesarios.
   ============================================================ */

:root {
  --bg:      #fdfcf8;
  --ink:     #111111;
  --muted:   #777777;
  --accent:  #ef7d57;
  --section-1-bg: #fdfcf8;
  --section-2-bg: #111111;
  --section-2-fg: #fdfcf8;
  --section-3-bg: #fdfcf8;
  --section-4-bg: #ef7d57;
  --section-4-fg: #111111;

  --font-body:  ui-sans-serif, system-ui, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-mono:  'JetBrains Mono', 'Menlo', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* ——— nav minimal ——— */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  mix-blend-mode: difference;
}
.nav__brand {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: white;
  text-decoration: none;
  letter-spacing: 0.05em;
}
.nav__links { list-style: none; display: flex; gap: 1.5rem; }
.nav__links a {
  font-size: 0.8rem;
  color: white;
  text-decoration: none;
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

/* ——— secciones base ——— */
.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 2rem 4rem;
}
.section__inner {
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* ——— hero ——— */
.section--hero {
  background: var(--section-1-bg);
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin-bottom: 2rem;
}
.hero__body {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.7;
}

/* ——— sección oscura (declaración) ——— */
.section--dark {
  background: var(--section-2-bg);
  color: var(--section-2-fg);
}
.section--dark .section__inner blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
  color: var(--section-2-fg);
  opacity: 0.9;
  border-left: 3px solid var(--accent);
  padding-left: 1.5rem;
}
.section--dark .section__inner cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-style: normal;
  font-family: var(--font-mono);
  opacity: 0.5;
}

/* ——— sección contenido ——— */
.section--content {
  background: var(--section-3-bg);
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 4rem;
  align-items: start;
}
@media (max-width: 620px) { .content-grid { grid-template-columns: 1fr; } }
.content-grid h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
  grid-column: 1 / -1;
}
.content-block p { color: var(--muted); line-height: 1.7; }
.content-block p + p { margin-top: 0.75rem; }

/* ——— sección acento ——— */
.section--accent {
  background: var(--section-4-bg);
  color: var(--section-4-fg);
}
.section--accent .big-cta {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.1;
  font-weight: 400;
  margin-bottom: 2rem;
}
.section--accent .cta-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1rem;
  border-bottom: 2px solid currentColor;
  text-decoration: none;
  color: inherit;
  padding-bottom: 0.1rem;
}

/* ——— footer ——— */
footer {
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  font-family: var(--font-mono);
  background: var(--bg);
  border-top: 1px solid #e8e4de;
}
