/* ============================================================
   AFRONTA — Estilos principales
   Paleta: #78DCA7 verde | #FFD270 amarillo | #ACD5F2 azul
           #FFD8DE rosa  | #1D1D1B negro   | #FFEDD8 crema
   Tipografía: Lexend (Google Fonts)
   ============================================================ */

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

/* ── Variables ── */
:root {
  --verde:   #78DCA7;
  --amarillo:#FFD270;
  --azul:    #ACD5F2;
  --rosa:    #FFD8DE;
  --negro:   #1D1D1B;
  --crema:   #FFEDD8;
  --blanco:  #ffffff;
  --gris:    #f5f5f3;
  --gris-medio: #888;
  --radio:   4px;
  --sombra:  0 2px 20px rgba(0,0,0,.08);
}

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

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

body {
  font-family: 'Lexend', sans-serif;
  font-weight: 300;
  color: var(--negro);
  background: var(--blanco);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Tipografía ── */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }

p { font-size: 1.05rem; line-height: 1.7; }

.label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: .6;
}

/* ── Utilidades ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1380px; margin: 0 auto; padding: 0 24px; }

.section { padding: 100px 0; }
.section--sm { padding: 60px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.text-center { text-align: center; }
.text-white  { color: var(--blanco); }

.bg-verde   { background: var(--verde); }
.bg-amarillo{ background: var(--amarillo); }
.bg-azul    { background: var(--azul); }
.bg-rosa    { background: var(--rosa); }
.bg-negro   { background: var(--negro); }
.bg-crema   { background: var(--crema); }
.bg-gris    { background: var(--gris); }

/* ── Botones ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 2px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .05em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  text-transform: uppercase;
}
.btn--verde  { background: var(--verde);    color: var(--negro); }
.btn--negro  { background: var(--negro);    color: var(--blanco); }
.btn--blanco { background: var(--blanco);   color: var(--negro); }
.btn--outline{ background: transparent; border-color: currentColor; }

.btn--verde:hover  { background: #5fc993; }
.btn--negro:hover  { background: #333; }
.btn--blanco:hover { background: var(--crema); }
.btn--outline.text-white:hover { background: rgba(255,255,255,.15); }

/* ── HEADER / NAV ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--blanco);
  border-bottom: 1px solid rgba(0,0,0,.06);
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.12); }

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-logo img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 0; }

.menu-item { position: relative; }

.menu-item > a {
  display: block;
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--negro);
  transition: color .2s;
}
.menu-item > a:hover { color: #3ab87a; }

/* Dropdown */
.sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--blanco);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: var(--radio);
  box-shadow: var(--sombra);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .2s ease;
  z-index: 100;
}
.menu-item:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.sub-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: .82rem;
  font-weight: 400;
  color: var(--negro);
  border-bottom: 1px solid rgba(0,0,0,.05);
  transition: background .15s;
}
.sub-menu li:last-child a { border: none; }
.sub-menu li a:hover { background: var(--gris); }

.nav-cta { margin-left: 16px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--negro);
  transition: all .3s;
  border-radius: 2px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--negro);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: .55;
  transform: scale(1.04);
  transition: transform 8s ease;
}
#hero:hover .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 100px;
  width: 100%;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--verde);
  color: var(--negro);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(3.5rem, 9vw, 8rem);
  font-weight: 900;
  color: var(--blanco);
  line-height: .95;
  letter-spacing: -.02em;
  max-width: 900px;
  margin-bottom: 32px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  gap: 40px;
}
.hero-stat { text-align: right; }
.hero-stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--verde);
  line-height: 1;
}
.hero-stat-label {
  font-size: .75rem;
  font-weight: 400;
  color: rgba(255,255,255,.7);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ── QUIÉNES SOMOS ── */
#quienes-somos { background: var(--blanco); }

.qs-eyebrow { color: var(--gris-medio); margin-bottom: 12px; }
.qs-tagline {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  max-width: 640px;
  line-height: 1.4;
  margin-bottom: 40px;
}
.qs-tagline strong { font-weight: 800; color: #3ab87a; }

.qs-image {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.qs-image img { width: 100%; height: 100%; object-fit: cover; }
.qs-image-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--verde);
  padding: 16px 20px;
}
.qs-image-tag p { font-size: .82rem; font-weight: 500; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 60px;
  background: rgba(0,0,0,.06);
  border-radius: 2px;
  overflow: hidden;
}
.value-item {
  background: var(--blanco);
  padding: 32px;
}
.value-icon {
  width: 40px;
  height: 40px;
  background: var(--verde);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.value-icon svg { width: 20px; height: 20px; }
.value-item h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-item p  { font-size: .88rem; line-height: 1.6; opacity: .75; }

/* ── QUÉ HACEMOS ── */
#que-hacemos { background: var(--gris); }

.section-header { margin-bottom: 60px; }
.section-header .label { margin-bottom: 12px; display: block; }

.lineas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(0,0,0,.06);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 60px;
}
.linea-item {
  background: var(--blanco);
  padding: 40px 32px;
  transition: background .2s;
}
.linea-item:hover { background: var(--negro); color: var(--blanco); }
.linea-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 16px;
}
.linea-item h3 { font-size: 1.1rem; margin-bottom: 12px; }
.linea-item p  { font-size: .88rem; opacity: .7; }

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proyecto-card {
  background: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform .25s, box-shadow .25s;
}
.proyecto-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(0,0,0,.12); }

.proyecto-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.proyecto-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.proyecto-card:hover .proyecto-card-img img { transform: scale(1.05); }

.proyecto-card-body { padding: 24px; }
.proyecto-card-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--verde);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
}
.proyecto-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.proyecto-card-body p  { font-size: .85rem; opacity: .7; }

/* ── IMPACTO ── */
#impacto { background: var(--negro); color: var(--blanco); }

.impacto-intro { max-width: 600px; margin-bottom: 80px; }
.impacto-intro h2 { color: var(--blanco); margin-bottom: 20px; }
.impacto-intro p  { opacity: .7; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 80px;
}
.stat-item {
  padding: 48px 32px;
  background: var(--negro);
  text-align: center;
  border: 1px solid rgba(255,255,255,.06);
}
.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: .8rem; opacity: .6; letter-spacing: .06em; text-transform: uppercase; }

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonio-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radio);
  padding: 32px;
}
.testimonio-quote { font-size: 2rem; color: var(--verde); margin-bottom: 16px; line-height: 1; }
.testimonio-text { font-size: .95rem; opacity: .8; line-height: 1.7; margin-bottom: 24px; }
.testimonio-autor { display: flex; align-items: center; gap: 12px; }
.testimonio-autor img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonio-nombre { font-size: .85rem; font-weight: 600; }
.testimonio-cargo  { font-size: .75rem; opacity: .5; }

/* ── NOTICIAS ── */
#noticias { background: var(--blanco); }

.noticias-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
}
.noticia-card {
  background: var(--blanco);
  border-radius: var(--radio);
  overflow: hidden;
  box-shadow: var(--sombra);
  display: flex;
  flex-direction: column;
}
.noticia-card.featured { grid-row: span 2; }

.noticia-img {
  overflow: hidden;
  flex-shrink: 0;
}
.noticia-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.noticia-card.featured .noticia-img { height: 320px; }
.noticia-card:not(.featured) .noticia-img { height: 160px; }
.noticia-card:hover .noticia-img img { transform: scale(1.05); }

.noticia-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.noticia-cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #3ab87a;
  margin-bottom: 8px;
}
.noticia-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  flex: 1;
}
.noticia-card.featured .noticia-body h3 { font-size: 1.3rem; }
.noticia-date { font-size: .75rem; opacity: .5; margin-top: auto; }

/* ── RECURSOS ── */
#recursos { background: var(--crema); }

.recursos-intro { max-width: 560px; margin-bottom: 60px; }

.recursos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.recurso-card {
  background: var(--blanco);
  border-radius: var(--radio);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: var(--sombra);
  transition: transform .2s;
}
.recurso-card:hover { transform: translateY(-2px); }
.recurso-icon {
  width: 48px; height: 48px;
  background: var(--amarillo);
  border-radius: var(--radio);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.recurso-icon svg { width: 24px; height: 24px; }
.recurso-info h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.recurso-info p  { font-size: .8rem; opacity: .6; margin-bottom: 12px; }
.recurso-link {
  font-size: .78rem;
  font-weight: 600;
  color: #3ab87a;
  letter-spacing: .05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── TRANSPARENCIA ── */
#transparencia { background: var(--blanco); }

.trans-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.trans-docs { display: flex; flex-direction: column; gap: 12px; }
.trans-doc {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--gris);
  border-radius: var(--radio);
  transition: background .2s;
}
.trans-doc:hover { background: var(--crema); }
.trans-doc-icon {
  width: 40px; height: 40px;
  background: var(--verde);
  border-radius: var(--radio);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trans-doc-icon svg { width: 20px; height: 20px; }
.trans-doc-info { flex: 1; }
.trans-doc-info h4 { font-size: .9rem; font-weight: 600; margin-bottom: 2px; }
.trans-doc-info p  { font-size: .78rem; opacity: .5; }
.trans-doc-arrow { opacity: .4; font-size: 1.2rem; }

/* ── ALIADOS ── */
#aliados { background: var(--gris); }

.aliados-intro { text-align: center; max-width: 560px; margin: 0 auto 60px; }

.aliados-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  background: rgba(0,0,0,.06);
  border-radius: 2px;
  overflow: hidden;
}
.aliado-item {
  background: var(--blanco);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(100%);
  opacity: .6;
  transition: all .2s;
}
.aliado-item:hover { filter: none; opacity: 1; background: var(--crema); }
.aliado-item img { max-height: 48px; max-width: 120px; object-fit: contain; }

/* ── CONTACTO ── */
#contacto { background: var(--negro); color: var(--blanco); }

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contacto-info h2 { color: var(--blanco); margin-bottom: 20px; }
.contacto-info p  { opacity: .7; margin-bottom: 40px; }

.contacto-datos { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }
.contacto-dato  { display: flex; gap: 16px; align-items: flex-start; }
.contacto-dato-icon {
  width: 40px; height: 40px;
  background: var(--verde);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contacto-dato-icon svg { width: 18px; height: 18px; }
.contacto-dato-text h4 { font-size: .85rem; font-weight: 600; margin-bottom: 2px; }
.contacto-dato-text p  { font-size: .85rem; opacity: .6; }

.social-links { display: flex; gap: 12px; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all .2s;
}
.social-link:hover { background: var(--verde); border-color: var(--verde); }
.social-link svg { width: 16px; height: 16px; fill: currentColor; }

/* Formulario */
.contacto-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radio);
  padding: 14px 16px;
  color: var(--blanco);
  font-family: 'Lexend', sans-serif;
  font-size: .9rem;
  font-weight: 300;
  transition: border-color .2s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { opacity: .4; }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--verde);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-group select option { background: var(--negro); }

/* ── FOOTER ── */
#site-footer {
  background: #111;
  color: var(--blanco);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-brand .site-logo { margin-bottom: 20px; }
.footer-brand p { font-size: .88rem; opacity: .55; max-width: 300px; line-height: 1.7; }

.footer-col h4 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: .88rem;
  opacity: .65;
  transition: opacity .2s;
}
.footer-col ul a:hover { opacity: 1; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: .8rem;
  opacity: .4;
}

/* ── BARRA DE ADMIN (para usuarios logueados) ── */
.admin-edit-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--negro);
  color: var(--blanco);
  border-radius: 40px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.3);
  font-size: .82rem;
  font-weight: 500;
}
.admin-edit-bar a {
  color: var(--verde);
  text-decoration: none;
  font-weight: 600;
}

/* ── PÁGINA INTERIOR ── */
.page-hero {
  padding: 160px 0 80px;
  background: var(--negro);
  color: var(--blanco);
}
.page-hero .label { color: var(--verde); opacity: 1; margin-bottom: 16px; display: block; }
.page-hero h1 { color: var(--blanco); max-width: 700px; }

.page-content { padding: 80px 0; }
.page-content h2 { margin-bottom: 16px; margin-top: 48px; }
.page-content h2:first-child { margin-top: 0; }
.page-content p  { margin-bottom: 20px; opacity: .8; max-width: 720px; }

/* Equipo */
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.equipo-card { text-align: center; }
.equipo-foto {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radio);
  overflow: hidden;
  margin-bottom: 16px;
}
.equipo-foto img { width: 100%; height: 100%; object-fit: cover; }
.equipo-nombre { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.equipo-cargo  { font-size: .82rem; opacity: .55; }

/* ── SINGLE POST ── */
.post-header { padding: 140px 0 60px; background: var(--negro); color: var(--blanco); }
.post-meta    { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; opacity: .6; font-size: .82rem; }
.post-body    { padding: 60px 0; max-width: 760px; margin: 0 auto; }
.post-body p  { margin-bottom: 24px; font-size: 1.1rem; line-height: 1.8; }
.post-body h2 { margin: 40px 0 16px; }
.post-body h3 { margin: 32px 0 12px; }
.post-body img { border-radius: var(--radio); margin: 32px 0; }
.post-body blockquote {
  border-left: 4px solid var(--verde);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--gris);
  font-size: 1.15rem;
  font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4, .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .aliados-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .equipo-grid  { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .grid-2, .grid-3, .lineas-grid, .proyectos-grid, .testimonios-grid,
  .noticias-grid, .recursos-grid, .trans-content,
  .contacto-grid, .values-grid, .form-row { grid-template-columns: 1fr; }

  .noticias-grid .noticia-card.featured { grid-row: auto; }

  .hero-stats { display: none; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }

  .section { padding: 60px 0; }

  /* Mobile nav */
  .site-nav {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--blanco);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    overflow-y: auto;
    gap: 0;
  }
  .site-nav.open { display: flex; }
  .menu-item { width: 100%; }
  .menu-item > a { padding: 14px 0; font-size: 1rem; border-bottom: 1px solid var(--gris); }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 16px; display: none; }
  .menu-item.open .sub-menu { display: block; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .aliados-grid { grid-template-columns: repeat(2, 1fr); }
  .equipo-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction: column; gap: 8px; text-align: center; }
}

/* ── WP Admin bar offset ── */
.admin-bar #site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar #site-header { top: 46px; } }

/* ── Accesibilidad: skip link ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--verde);
  color: var(--negro);
  padding: 8px 16px;
  z-index: 9999;
  font-size: .85rem;
}
.skip-link:focus { top: 0; }

/* ── Animaciones de entrada ── */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: none; }
