*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0d0d0d;
  --bg-elevated: #161616;
  --bg-card: #1a1a1a;
  --border: #2a2a2a;
  --text: #e8e4df;
  --text-muted: #8a8580;
  --accent: #b8956a;
  --accent-dim: #7a6348;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(184, 149, 106, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(184, 149, 106, 0.04) 0%, transparent 40%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

/* ── Nav ── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  background: linear-gradient(to bottom, rgba(13, 13, 13, 0.9) 0%, transparent 100%);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--accent);
}

/* ── Hero ── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
}

.hero-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 2rem;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto;
}

.scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: var(--border);
  display: block;
}

.scroll-hint span {
  display: block;
  width: 1px;
  height: 20px;
  background: var(--accent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(30px); }
}

/* ── Statement ── */

.statement {
  padding: 7rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.statement blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text);
  max-width: 700px;
  margin: 0 auto;
}

/* ── Section intro (shared) ── */

.section-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.section-intro h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--text);
}

/* ── La Cocina ── */

.cocina {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.pillar {
  background: var(--bg);
  padding: 3rem 2.5rem;
  transition: background 0.3s ease;
}

.pillar:hover {
  background: var(--bg-elevated);
}

.pillar-num {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--accent-dim);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1.5rem;
}

.pillar h3 {
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Visual break ── */

.visual-break {
  padding: 0 2rem;
}

.visual-panel {
  position: relative;
  height: 50vh;
  min-height: 320px;
  max-width: 1100px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 50%, #1f1a16 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(184, 149, 106, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(184, 149, 106, 0.06) 0%, transparent 40%);
}

.visual-overlay {
  position: absolute;
  inset: 0;
  border: 1px solid var(--border);
  pointer-events: none;
}

.visual-caption {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-style: italic;
  color: var(--text-muted);
  padding: 2.5rem 3rem;
}

.visual-break--alt .visual-panel {
  background:
    linear-gradient(225deg, #141210 0%, var(--bg-card) 60%, var(--bg-elevated) 100%);
}

/* ── Trayectoria ── */

.trayectoria {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.moments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.moment {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.moment:hover {
  border-color: var(--accent-dim);
}

.moment-place {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.moment h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1rem;
}

.moment-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.35rem 0.65rem;
  margin-bottom: 1rem;
}

.moment--featured {
  border-color: var(--accent-dim);
}

.moment-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ── Formación ── */

.formacion {
  padding: 7rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.studies {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.study {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  transition: border-color 0.3s ease;
}

.study:hover {
  border-color: var(--accent-dim);
}

.study-place {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.study h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.study-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ── Contact ── */

.contact {
  padding: 8rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
}

.contact-inner {
  max-width: 520px;
  margin: 0 auto;
}

.contact h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.contact-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.contact-link {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--accent);
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 0.25rem;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.contact-link:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ── Footer ── */

.site-footer {
  text-align: center;
  padding: 2rem;
  border-top: 1px solid var(--border);
}

.site-footer p {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ── Scroll reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .pillars,
  .moments,
  .studies {
    grid-template-columns: 1fr;
  }

  .pillar {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 1.25rem 1.5rem;
  }

  .nav-links {
    gap: 1.25rem;
  }

  .nav-links a {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .hero {
    padding: 5rem 1.5rem 3rem;
  }

  .statement,
  .cocina,
  .trayectoria,
  .formacion {
    padding: 5rem 1.5rem;
  }

  .visual-break {
    padding: 0 1.5rem;
  }

  .visual-caption {
    padding: 2rem 1.5rem;
  }

  .contact {
    padding: 5rem 1.5rem;
  }
}
