@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

/* ── Paleta ── */
:root {
  --ink:   #01161e;
  --deep:  #124559;
  --teal:  #598392;
  --sage:  #aec3b0;
  --beige: #eff6e0;
  --white: #ffffff;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--beige);
  color: var(--ink);
}

/* ── NAV ── */
nav {
  background: var(--ink);
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Lora', serif;
  font-size: 15px;
  color: var(--sage);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
.nav-links { display: flex; gap: 1.8rem; list-style: none; }
.nav-links a {
  color: var(--teal);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sage); }

/* ── HERO ── */
.hero {
  background: var(--deep);
  padding: 5.5rem 2rem 4.5rem;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--teal);
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.4rem;
  font-weight: 400;
}
.hero-title {
  font-family: 'Lora', serif;
  font-size: 44px;
  font-weight: 600;
  color: var(--beige);
  line-height: 1.2;
  max-width: 620px;
  margin: 0 auto 1.6rem;
}
.hero-title em { font-style: italic; color: var(--sage); }
.hero-sub {
  font-size: 16px;
  color: var(--sage);
  max-width: 460px;
  margin: 0 auto 2.6rem;
  line-height: 1.75;
  font-weight: 300;
}
.hero-cta {
  display: inline-block;
  background: transparent;
  color: var(--sage);
  padding: 0.85rem 2.2rem;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--teal);
  transition: all 0.2s;
  text-decoration: none;
}
.hero-cta:hover { background: var(--teal); color: var(--beige); }

/* ── SECCIONES GENERALES ── */
.section-label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
  font-weight: 500;
}
.section-title {
  font-family: 'Lora', serif;
  font-size: 30px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 1.4rem;
  line-height: 1.3;
}
.section-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  font-weight: 300;
}
.section-body p + p { margin-top: 1.1rem; }

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

.divider {
  border: none;
  border-top: 1px solid var(--sage);
  margin: 0 2rem;
  opacity: 0.3;
}

/* ── IVÁN ── */
.ivan-block {
  background: var(--beige);
  padding: 5rem 2rem;
}

/* ── ONG ── */
.ong-block {
  background: var(--ink);
  padding: 5rem 2rem;
}
.ong-title {
  font-family: 'Lora', serif;
  font-size: 30px;
  color: var(--beige);
  margin-bottom: 1.2rem;
  line-height: 1.3;
}
.ong-body {
  font-size: 16px;
  color: var(--sage);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 1rem;
}
.pilares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.pilar {
  border-left: 3px solid var(--teal);
  padding: 1.2rem 1.1rem;
  background: var(--deep);
  border-radius: 0 2px 2px 0;
}
.pilar-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--beige);
  margin-bottom: 0.4rem;
}
.pilar-body {
  font-size: 12px;
  color: var(--teal);
  line-height: 1.6;
  font-weight: 300;
}

/* ── QUOTE ── */
.quote-block {
  background: var(--deep);
  padding: 4.5rem 2rem;
  text-align: center;
}
.quote-text {
  font-family: 'Lora', serif;
  font-size: 24px;
  font-style: italic;
  color: var(--beige);
  max-width: 580px;
  margin: 0 auto 1rem;
  line-height: 1.6;
}
.quote-attr {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--deep);
}
.footer-name {
  font-family: 'Lora', serif;
  font-size: 14px;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.footer-copy { font-size: 12px; color: var(--deep); }

/* ── SCROLL SUAVE ── */
html {
  scroll-behavior: smooth;
}

/* ── FADE-IN AL HACER SCROLL ── */
.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── NAV LINK ACTIVO ── */
.nav-links a.active {
  color: var(--sage);
}
