/* ============================================================
   SALVEM SA PEDRUSCADA — Main Stylesheet
   Mediterranean conservation palette
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800&family=Lato:wght@300;400;700&display=swap');

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --primary:       #2B7CB5;
  --primary-dark:  #1a5a8a;
  --primary-light: #e8f4fd;
  --dark:          #1a2e3b;
  --accent:        #E8871E;
  --accent-dark:   #c96e0f;
  --green:         #3d7a44;
  --sand:          #F7F4EF;
  --sand-dark:     #ece8e0;
  --white:         #ffffff;
  --text:          #2d3748;
  --text-light:    #637282;
  --border:        #d4dde6;
  --nav-height:    70px;
  --max-width:     1200px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dark); }

ul { list-style: none; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

.section-title {
  text-align: center;
  margin-bottom: .5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto 3rem;
}
.section-label {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .6rem;
}

/* ── Layout Utilities ──────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: 5rem 0; }
section.compact { padding: 3rem 0; }

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

.text-center { text-align: center; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 4px;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}

/* ── Navigation ────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 20px rgba(0,0,0,.08);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-logo img {
  height: 44px;
  width: auto;
  border-radius: 4px;
}
.nav-logo-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: .95rem;
  color: var(--dark);
  letter-spacing: .02em;
  line-height: 1.2;
}
.nav-logo-text span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--dark);
  padding: .5rem .8rem;
  border-radius: 4px;
  transition: all .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .1rem;
  font-family: 'Raleway', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.lang-switcher button {
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem .4rem;
  border-radius: 3px;
  color: var(--text-light);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  transition: all .2s;
}
.lang-switcher button:hover { color: var(--primary); }
.lang-switcher button.active { color: var(--primary); background: var(--primary-light); }
.lang-divider { color: var(--border); }

.nav-cta {
  padding: .55rem 1.2rem;
  font-size: .8rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: .5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--white);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  z-index: 999;
  flex-direction: column;
  gap: .5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--dark);
  padding: .75rem 1rem;
  border-radius: 4px;
}
.mobile-menu a:hover { background: var(--sand); color: var(--primary); }
.mobile-menu .lang-switcher { margin-top: .5rem; justify-content: center; font-size: .9rem; }
.mobile-menu .btn { text-align: center; margin-top: .5rem; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease-out;
}
.hero-bg.loaded { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,46,59,.78) 0%,
    rgba(43,124,181,.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  max-width: 760px;
  padding: calc(var(--nav-height) + 4rem) 1.5rem 4rem;
  margin: 0 auto;
  text-align: center;
}

.hero-content h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: .9;
  margin-bottom: 2rem;
  font-weight: 300;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sub-page hero (shorter) */
.hero-sub {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
}
.hero-sub .hero-content {
  padding-bottom: 3rem;
  text-align: left;
  margin: 0;
}
.hero-sub .hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* ── Mission Strip ─────────────────────────────────────────── */
.mission-strip {
  background: var(--dark);
  padding: 4rem 0;
}
.mission-strip .grid-3 { gap: 2.5rem; }

.mission-card {
  text-align: center;
  color: var(--white);
  padding: 1rem;
}
.mission-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mission-icon svg { width: 28px; height: 28px; fill: var(--white); }
.mission-card h3 { color: var(--white); margin-bottom: .6rem; font-size: 1.1rem; }
.mission-card p { font-size: .9rem; opacity: .8; margin: 0; }

/* ── Section: About snippet on home ──────────────────────────*/
.about-home {
  background: var(--sand);
}
.about-home .grid-2 { gap: 4rem; }

.about-home img {
  border-radius: 6px;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  width: 100%;
  object-fit: cover;
  height: 400px;
}

/* ── Stats bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--primary);
  padding: 3rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
  color: var(--white);
}
.stat-number {
  font-family: 'Raleway', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label { font-size: .85rem; opacity: .85; text-transform: uppercase; letter-spacing: .08em; }

/* ── Video section ─────────────────────────────────────────── */
.video-section {
  background: var(--dark);
  padding: 5rem 0;
  text-align: center;
}
.video-section h2 { color: var(--white); margin-bottom: .75rem; }
.video-section .section-subtitle { color: rgba(255,255,255,.7); margin-bottom: 2.5rem; }

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  max-width: 860px;
  margin: 0 auto;
}
.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── Donation CTA Banner ───────────────────────────────────── */
.donation-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #d4720f 100%);
  padding: 3.5rem 0;
  text-align: center;
  color: var(--white);
}
.donation-banner h2 { color: var(--white); margin-bottom: .5rem; }
.donation-banner p { opacity: .92; max-width: 600px; margin: 0 auto 2rem; }

.donation-methods {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.donation-box {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  padding: 1.25rem 2rem;
  min-width: 240px;
}
.donation-box .box-label {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: .3rem;
}
.donation-box .box-value {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .04em;
}
.donation-box .box-detail {
  font-size: .8rem;
  opacity: .75;
  margin-top: .2rem;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.card-body p { font-size: .9rem; color: var(--text-light); margin: 0; }

/* Objective cards */
.obj-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem;
  border-left: 4px solid var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.obj-card .obj-letter {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .5rem;
}
.obj-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.obj-card p { font-size: .9rem; color: var(--text-light); margin: 0; }

/* ── Timeline ──────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding: 0 0 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 140px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.timeline-item {
  display: grid;
  grid-template-columns: 140px auto;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-date {
  text-align: right;
  padding-right: 1.5rem;
  padding-top: .1rem;
}
.timeline-date .t-month {
  font-family: 'Raleway', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.timeline-date .t-year {
  font-family: 'Raleway', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.timeline-dot {
  position: absolute;
  left: 134px;
  top: .3rem;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-content {
  padding-left: 1.5rem;
}
.timeline-content h3 { font-size: 1.05rem; margin-bottom: .3rem; color: var(--dark); }
.timeline-content p { font-size: .9rem; color: var(--text-light); margin: 0; }
.timeline-content .t-img {
  margin-top: 1rem;
  border-radius: 6px;
  max-height: 200px;
  object-fit: cover;
}

/* ── Photo split layout ────────────────────────────────────── */
.photo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
.photo-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}
.photo-split-content {
  background: var(--dark);
  color: var(--white);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.photo-split-content h2 { color: var(--white); margin-bottom: 1rem; }
.photo-split-content p { opacity: .85; margin-bottom: 1rem; }
.photo-split-content ul {
  list-style: none;
  padding: 0;
}
.photo-split-content ul li {
  padding: .4rem 0;
  padding-left: 1.5rem;
  position: relative;
  opacity: .85;
  font-size: .95rem;
}
.photo-split-content ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ── Irregular findings list ───────────────────────────────── */
.findings-list {
  counter-reset: findings;
  list-style: none;
  padding: 0;
}
.findings-list li {
  counter-increment: findings;
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.findings-list li::before {
  content: counter(findings);
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  margin-top: .1rem;
}
.findings-list li strong { display: block; margin-bottom: .2rem; color: var(--dark); }
.findings-list li p { margin: 0; font-size: .9rem; color: var(--text-light); }

/* ── Alert/callout box ─────────────────────────────────────── */
.alert-box {
  border-left: 4px solid var(--accent);
  background: #fff8f0;
  padding: 1.5rem 2rem;
  border-radius: 0 6px 6px 0;
  margin: 2rem 0;
}
.alert-box p { margin: 0; }

.info-box {
  border-left: 4px solid var(--primary);
  background: var(--primary-light);
  padding: 1.5rem 2rem;
  border-radius: 0 6px 6px 0;
  margin: 2rem 0;
}
.info-box p { margin: 0; }

/* ── Hazte Socio page ──────────────────────────────────────── */
.join-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.join-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  border-top: 4px solid var(--primary);
}
.join-card.accent { border-color: var(--accent); }

.join-card h3 { margin-bottom: 1rem; }

.bank-info {
  background: var(--sand);
  border-radius: 6px;
  padding: 1.25rem;
  margin: 1rem 0;
}
.bank-info .bank-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .3rem;
}
.bank-info .bank-value {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
  word-break: break-all;
}

.bizum-box {
  background: var(--primary);
  color: var(--white);
  border-radius: 6px;
  padding: 1.25rem;
  text-align: center;
  margin: 1rem 0;
}
.bizum-box .bizum-label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .8;
  margin-bottom: .25rem;
}
.bizum-box .bizum-number {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: .06em;
}

/* Contact form */
.contact-form { margin-top: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* Benefit list */
.benefit-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.benefit-list li {
  padding: .5rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: .95rem;
  color: var(--text);
}
.benefit-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── Sobre Nosotros ────────────────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  text-align: center;
  border-top: 3px solid var(--primary);
}
.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
}
.pillar-icon svg { width: 24px; height: 24px; }
.pillar-card h4 { font-size: 1rem; margin-bottom: .5rem; }
.pillar-card p { font-size: .875rem; color: var(--text-light); margin: 0; }

/* Progress timeline (sobre nosotros) */
.era-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  overflow: hidden;
  border-radius: 8px;
}
.era-item {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.era-item:nth-child(1) { background: #1a3a5c; }
.era-item:nth-child(2) { background: var(--primary-dark); }
.era-item:nth-child(3) { background: var(--primary); }
.era-item:nth-child(4) { background: var(--accent); }

.era-year {
  font-family: 'Raleway', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .3rem;
}
.era-label {
  font-size: .8rem;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
}

/* ── Proyecto page ─────────────────────────────────────────── */
.project-intro {
  background: var(--sand);
}
.stat-highlight {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.stat-highlight-item {
  text-align: center;
  background: var(--white);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.stat-highlight-item .big-num {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: .25rem;
}
.stat-highlight-item .num-label { font-size: .8rem; color: var(--text-light); }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.footer-brand .footer-logo img {
  height: 44px;
  border-radius: 4px;
}
.footer-brand .footer-logo-text {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: .9rem;
  color: var(--white);
  letter-spacing: .02em;
}
.footer-brand p { font-size: .875rem; line-height: 1.6; max-width: 300px; }

.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: .5rem; }
.footer-col ul li a {
  color: rgba(255,255,255,.65);
  font-size: .875rem;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-col .footer-contact p {
  font-size: .875rem;
  margin-bottom: .5rem;
}
.footer-col .footer-contact strong { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .8rem; margin: 0; }

.social-links { display: flex; gap: .75rem; }
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.75);
  transition: all .2s;
}
.social-links a:hover { background: var(--primary); color: var(--white); }
.social-links svg { width: 16px; height: 16px; fill: currentColor; }

/* ── Scroll reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* 5-col stat highlight (proyecto page) */
.stat-highlight[style*="repeat(5"] {
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 900px) {
  .stat-highlight[style*="repeat(5"] {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .stat-highlight[style*="repeat(5"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .era-timeline { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .stat-highlight { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav-links, .nav-right { display: none; }
  .hamburger { display: flex; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
  .photo-split { grid-template-columns: 1fr; }
  .photo-split img { min-height: 260px; }
  .photo-split-content { padding: 2.5rem 1.5rem; }

  .hero-content { text-align: center; }
  .hero-sub .hero-content { text-align: center; }
  .hero-buttons { justify-content: center; }

  .timeline::before { left: 0; }
  .timeline-item { grid-template-columns: 1fr; gap: .5rem; }
  .timeline-date { text-align: left; padding-right: 0; padding-left: 1.5rem; display: flex; gap: .5rem; align-items: baseline; }
  .timeline-dot { left: -6px; }

  .era-timeline { grid-template-columns: 1fr 1fr; }

  .pillars-grid { grid-template-columns: 1fr; }
  .stat-highlight { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .join-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .mission-strip .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .donation-methods { flex-direction: column; align-items: center; }
  .donation-box { min-width: unset; width: 100%; max-width: 320px; }
  .era-timeline { grid-template-columns: 1fr; }
  .stat-highlight { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
