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

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

:root {
  --accent: #1a7a4f;
  --accent-dark: #115c3a;
  --accent-light: #e8f5ec;
  --text-dark: #111827;
  --text-mid: #374151;
  --text-light: #6b7280;
  --surface: #ffffff;
  --surface-alt: #f9fafb;
  --border: #e5e7eb;
  --footer-bg: #0f1f17;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-mid);
  background-color: var(--surface);
  margin: 0;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.7;
}

/* ── HEADER ─────────────────────────────────── */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 72px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
}

.header-logo img {
  height: 52px;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dark);
  text-decoration: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s;
}

.dropdown-toggle::after {
  content: "▾";
  font-size: 0.8em;
}

.dropdown-toggle:hover {
  color: var(--accent);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  background: var(--surface);
  min-width: 200px;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.dropdown-menu a {
  display: block;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.dropdown.active .dropdown-menu {
  display: block;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
  display: block;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── MAIN ─────────────────────────────────── */
main {
  padding-top: 72px;
}

/* ── HERO ─────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  padding: 0 80px;
  max-width: 900px;
}

.hero-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-light);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: rgba(255,255,255,0.88);
  max-width: 560px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.4);
  animation: scrollLine 1.8s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── SECCIÓN APUESTAS ─────────────────────────────────── */
.nuestro {
  padding: 96px 80px;
  background: var(--surface);
}

.section-header {
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1rem;
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.8;
}

.nuestro-temas {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 16px;
}

.tema-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  background: var(--surface);
}

.tema-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(26, 122, 79, 0.1);
}

.tema-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.tema-card span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
}

/* Colores iconos por tema — index.html */
.tema-card:nth-child(1) img { filter: brightness(0) saturate(100%) invert(30%) sepia(88%) saturate(3450%) hue-rotate(348deg) brightness(92%) contrast(93%); }
.tema-card:nth-child(2) img { filter: brightness(0) saturate(100%) invert(33%) sepia(78%) saturate(1512%) hue-rotate(184deg) brightness(93%) contrast(89%); }
.tema-card:nth-child(3) img { filter: brightness(0) saturate(100%) invert(52%) sepia(62%) saturate(550%) hue-rotate(94deg) brightness(95%) contrast(86%); }
.tema-card:nth-child(4) img { filter: brightness(0) saturate(100%) invert(33%) sepia(70%) saturate(1287%) hue-rotate(227deg) brightness(95%) contrast(87%); }
.tema-card:nth-child(5) img { filter: brightness(0) saturate(100%) invert(45%) sepia(77%) saturate(1028%) hue-rotate(355deg) brightness(98%) contrast(89%); }
.tema-card:nth-child(6) img { filter: brightness(0) saturate(100%) invert(62%) sepia(68%) saturate(522%) hue-rotate(358deg) brightness(92%) contrast(86%); }
.tema-card:nth-child(7) img { filter: brightness(0) saturate(100%) invert(47%) sepia(84%) saturate(2345%) hue-rotate(162deg) brightness(95%) contrast(89%); }
.tema-card:nth-child(8) img { filter: brightness(0) saturate(100%) invert(74%) sepia(85%) saturate(2000%) hue-rotate(5deg) brightness(103%) contrast(101%); }

/* Colores iconos barra lateral — páginas de temas */
.nuestro-temas div:nth-child(1) img { filter: brightness(0) saturate(100%) invert(30%) sepia(88%) saturate(3450%) hue-rotate(348deg) brightness(92%) contrast(93%); }
.nuestro-temas div:nth-child(2) img { filter: brightness(0) saturate(100%) invert(33%) sepia(78%) saturate(1512%) hue-rotate(184deg) brightness(93%) contrast(89%); }
.nuestro-temas div:nth-child(3) img { filter: brightness(0) saturate(100%) invert(52%) sepia(62%) saturate(550%) hue-rotate(94deg) brightness(95%) contrast(86%); }
.nuestro-temas div:nth-child(4) img { filter: brightness(0) saturate(100%) invert(33%) sepia(70%) saturate(1287%) hue-rotate(227deg) brightness(95%) contrast(87%); }
.nuestro-temas div:nth-child(5) img { filter: brightness(0) saturate(100%) invert(45%) sepia(77%) saturate(1028%) hue-rotate(355deg) brightness(98%) contrast(89%); }
.nuestro-temas div:nth-child(6) img { filter: brightness(0) saturate(100%) invert(62%) sepia(68%) saturate(522%) hue-rotate(358deg) brightness(92%) contrast(86%); }
.nuestro-temas div:nth-child(7) img { filter: brightness(0) saturate(100%) invert(47%) sepia(84%) saturate(2345%) hue-rotate(162deg) brightness(95%) contrast(89%); }
.nuestro-temas div:nth-child(8) img { filter: brightness(0) saturate(100%) invert(74%) sepia(85%) saturate(2000%) hue-rotate(5deg) brightness(103%) contrast(101%); }

/* Barra lateral — estructura moderna (temas-sidebar) */
.temas-sidebar {
  position: fixed;
  left: 0;
  top: 72px;
  width: 96px;
  height: calc(100vh - 72px);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 2px 0 12px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px 8px;
  overflow-y: auto;
  z-index: 50;
  transition: transform 0.3s ease;
  border-right: 1px solid #e5e7eb;
}
.temas-sidebar .tema-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: transform 0.2s;
}
.temas-sidebar .tema-item:hover { transform: scale(1.08); }
.temas-sidebar img { width: 46px; height: 46px; object-fit: contain; }
.temas-sidebar span {
  font-size: 0.6rem;
  text-align: center;
  color: #374151;
  line-height: 1.2;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.temas-sidebar .tema-item:nth-child(1) img { filter: brightness(0) saturate(100%) invert(30%) sepia(88%) saturate(3450%) hue-rotate(348deg) brightness(92%) contrast(93%); }
.temas-sidebar .tema-item:nth-child(2) img { filter: brightness(0) saturate(100%) invert(33%) sepia(78%) saturate(1512%) hue-rotate(184deg) brightness(93%) contrast(89%); }
.temas-sidebar .tema-item:nth-child(3) img { filter: brightness(0) saturate(100%) invert(52%) sepia(62%) saturate(550%) hue-rotate(94deg) brightness(95%) contrast(86%); }
.temas-sidebar .tema-item:nth-child(4) img { filter: brightness(0) saturate(100%) invert(33%) sepia(70%) saturate(1287%) hue-rotate(227deg) brightness(95%) contrast(87%); }
.temas-sidebar .tema-item:nth-child(5) img { filter: brightness(0) saturate(100%) invert(45%) sepia(77%) saturate(1028%) hue-rotate(355deg) brightness(98%) contrast(89%); }
.temas-sidebar .tema-item:nth-child(6) img { filter: brightness(0) saturate(100%) invert(62%) sepia(68%) saturate(522%) hue-rotate(358deg) brightness(92%) contrast(86%); }
.temas-sidebar .tema-item:nth-child(7) img { filter: brightness(0) saturate(100%) invert(47%) sepia(84%) saturate(2345%) hue-rotate(162deg) brightness(95%) contrast(89%); }
.temas-sidebar .tema-item:nth-child(8) img { filter: brightness(0) saturate(100%) invert(74%) sepia(85%) saturate(2000%) hue-rotate(5deg) brightness(103%) contrast(101%); }
.temas-sidebar .tema-item.activo { background: #f0fdf4; border-radius: 8px; width: 100%; padding: 4px; }
.temas-sidebar .tema-item.activo span { color: #1a7a4f; font-weight: 700; }
@media (max-width: 768px) {
  .temas-sidebar { transform: translateX(-100%); }
  .temas-sidebar.active { transform: translateX(0); }
}

/* ── QUIÉNES SOMOS ─────────────────────────────────── */
.quienes_somos {
  background: var(--surface-alt);
  padding: 96px 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.quienes_layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.quienes_info h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 24px;
}

.quienes_info p {
  color: var(--text-mid);
  margin-bottom: 20px;
  line-height: 1.8;
}

.quienes_links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}

.link-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}

.link-item::before {
  content: '→';
  font-size: 16px;
}

.link-item:hover {
  gap: 14px;
}

/* Carrusel quiénes somos */
.slideshow-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.slides-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  flex-shrink: 0;
  background: #000;
}

.slide img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.9);
  color: var(--text-dark);
  font-size: 18px;
  border: none;
  border-radius: 50%;
  z-index: 10;
  transition: background 0.2s, color 0.2s;
}

.prev { left: 16px; }
.next { right: 16px; }

.prev:hover, .next:hover {
  background: var(--accent);
  color: #fff;
}

/* ── NOTICIAS ─────────────────────────────────── */
.seccionPublicaciones {
  padding: 96px 80px;
  background: var(--surface);
}

.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.noticia-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.noticia-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.noticia-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.noticia-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.noticia-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.noticia-card-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
}

.noticia-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}

.noticia-card-link:hover { gap: 10px; }

/* ── ÚNETE ─────────────────────────────────── */
.unete {
  background: var(--accent);
  padding: 96px 80px;
}

.unete-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.unete img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.unete-content {
  color: #fff;
}

.unete-content .section-tag {
  color: rgba(255,255,255,0.7);
}

.unete-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.unete-content p {
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.8;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: #ffffff;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* ── FOOTER ─────────────────────────────────── */
#footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.7);
  padding: 56px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-top: auto;
}

#footer h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffae00;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social-icon {
  color: rgba(255,255,255,0.5);
  font-size: 22px;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.footer-social-icon:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

#footer small {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ── HERO BOTONES ─────────────────────────────────── */
.hero-btns {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  display: inline-block;
  padding: 14px 28px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, transform 0.2s;
}

.btn-hero-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-block;
  padding: 14px 28px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
  transition: background 0.2s, transform 0.2s;
}

.btn-hero-secondary:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ── STATS BAR ─────────────────────────────────── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--accent);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  border-right: 1px solid rgba(255,255,255,0.15);
  gap: 6px;
}

.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ── FOTO STRIP ─────────────────────────────────── */
.foto-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.foto-strip-inner {
  display: flex;
  gap: 4px;
  animation: stripScroll 40s linear infinite;
  width: max-content;
}

.foto-strip-inner img {
  height: 220px;
  width: 340px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.foto-strip:hover .foto-strip-inner {
  animation-play-state: paused;
}

@keyframes stripScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── EQUIPO ─────────────────────────────────── */
.equipo-section {
  padding: 96px 80px;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.equipo-section .section-header {
  display: flex;
  flex-direction: column;
}

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.miembro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 12px;
  border-radius: 12px;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.miembro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--accent);
}

.miembro-foto {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--accent-light);
  flex-shrink: 0;
}

.miembro-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.miembro-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.miembro-info h4 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}

.miembro-titulo {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-heading);
}

.miembro-area {
  font-size: 11px;
  color: var(--text-light);
}

.btn-outline {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

/* ── GALERÍA MOSAICO ─────────────────────────────────── */
.galeria-section {
  padding: 96px 80px;
  background: var(--surface);
}

.galeria-section .section-header {
  display: flex;
  flex-direction: column;
}

.galeria-mosaico {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 8px;
  max-width: 1280px;
  margin: 0 auto;
}

.galeria-item {
  overflow: hidden;
  border-radius: 8px;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.galeria-item:hover img {
  transform: scale(1.05);
}

.galeria-item.tall { grid-row: span 2; }
.galeria-item.wide { grid-column: span 2; }

/* ── PROYECTOS ─────────────────────────────────── */
.proyectos-section {
  padding: 96px 80px;
  background: var(--surface-alt);
  border-top: 1px solid var(--border);
}

.proyectos-section .section-header {
  display: flex;
  flex-direction: column;
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
}

.proyecto-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 260px;
  display: block;
  text-decoration: none;
}

.proyecto-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.proyecto-card:hover img {
  transform: scale(1.06);
}

.proyecto-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  transition: background 0.3s;
}

.proyecto-card:hover .proyecto-overlay {
  background: linear-gradient(to top, rgba(26,122,79,0.85), transparent);
}

.proyecto-overlay h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

/* ── FOOTER LOGO ─────────────────────────────────── */
.footer-logo {
  height: 60px;
  opacity: 0.5;
  filter: brightness(10);
  display: block;
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .nuestro-temas { grid-template-columns: repeat(4, 1fr); }
  .quienes_layout { grid-template-columns: 1fr; gap: 40px; }
  .noticias-grid { grid-template-columns: repeat(2, 1fr); }
  .unete-layout { grid-template-columns: 1fr; gap: 48px; }
  .equipo-grid { grid-template-columns: repeat(4, 1fr); }
  .galeria-mosaico { grid-template-columns: repeat(3, 1fr); }
  .proyectos-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header { padding: 0 24px; }
  .hamburger { display: flex; }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 28px 28px;
    box-shadow: -4px 0 24px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
    gap: 0;
    overflow-y: auto;
  }

  nav.active { right: 0; }

  nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
    font-size: 14px;
  }

  .dropdown { width: 100%; }
  .dropdown-toggle { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
  .dropdown-menu { position: static; box-shadow: none; border: none; background: var(--surface-alt); border-radius: 0; display: none; }
  .dropdown.active .dropdown-menu { display: block; }

  .nuestro, .quienes_somos, .seccionPublicaciones, .unete, #footer,
  .equipo-section, .galeria-section, .proyectos-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-content { padding: 0 24px; bottom: 60px; }
  .nuestro-temas { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .noticias-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .slide img { height: 320px; }
  .equipo-grid { grid-template-columns: repeat(3, 1fr); }
  .galeria-mosaico { grid-template-columns: repeat(2, 1fr); }
  .galeria-item.wide { grid-column: span 1; }
  .proyectos-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .foto-strip-inner img { height: 160px; width: 240px; }
}

@media (max-width: 600px) {
  .nuestro-temas { grid-template-columns: repeat(2, 1fr); }
  .hero { height: 70vh; min-height: 420px; }
  .unete img { height: 280px; }
  .equipo-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-mosaico { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .galeria-item.tall { grid-row: span 1; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item { padding: 20px 12px; }
  .stat-num { font-size: 1.8rem; }
}
