/* === VARIABLES + RESET === */
:root {
  --blue: #0042d2;
  --gold: #FFBE18;
  --orange: #ff8838;
  --slate: #435061;
  --dark: #1e2a38;
  --light-bg: #f8faff;
  --text: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.14);
  --transition: 0.2s ease;

  /* Spacing tokens */
  --space-section:    4rem;
  --space-section-md: 2.5rem;
  --space-section-sm: 2rem;
  --side-pad: 1.25rem;

  /* Layout */
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; color: var(--text); line-height: 1.6; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); line-height: 1.2; font-weight: 700; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--blue);
}

/* === LAYOUT === */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

.section-header { text-align: center; padding: var(--space-section) 1rem 2rem; }
@media (max-width: 768px) { .section-header { padding: var(--space-section-md) 1rem 1.5rem; } }
@media (max-width: 480px) { .section-header { padding: 1.5rem 1rem 1rem; } }

/* === BUTTONS === */
.btn {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.65rem 1.5rem;
  border-radius: 25px;
  transition: all var(--transition);
  cursor: pointer;
}
.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: #e6732a; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,136,56,0.4); }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: #0035a8; transform: translateY(-2px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* === NAVIGATION === */
.site-nav {
  background: white;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0,0,0,0.08), 0 2px 12px rgba(0,0,0,0.06);
}

.menu-toggle { display: none; }

.nav-inner {
  display: flex;
  align-items: center;
  height: 100px;
  gap: 2rem;
  position: relative;
}

.nav-logo {
  flex-shrink: 0;
  margin-right: 0.5rem;
  display: flex;
  align-items: center;
}
.nav-logo img { height: 84px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
}
.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}

.nav-cta { flex-shrink: 0; }

.menu-icon {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px 8px;
  flex-shrink: 0;
}
.menu-icon span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

/* ── QUIÉNES SOMOS dropdown (desktop) ── */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition), border-color var(--transition);
  user-select: none;
}
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown-toggle.active {
  color: var(--orange);
  border-bottom-color: var(--orange);
}
.nav-arrow {
  font-size: 0.55rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.nav-dropdown:hover .nav-arrow,
.nav-dropdown:focus-within .nav-arrow {
  transform: rotate(180deg);
}

.nav-submenu {
  display: flex;
  flex-direction: column;
  background: var(--dark);
  border-top: 2px solid var(--gold);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 200;
  border-radius: 0 0 4px 4px;
}

@media (min-width: 1101px) {
  .nav-submenu {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 215px;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  }
  .nav-dropdown:hover .nav-submenu,
  .nav-dropdown:focus-within .nav-submenu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s;
  }
}
.nav-submenu a {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  padding: 0.75rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
  border-left: none;
}
.nav-submenu a:last-child { border-bottom: none; }
.nav-submenu a:hover,
.nav-submenu a.active {
  color: var(--orange);
  background: rgba(255,255,255,0.05);
  border-bottom-color: rgba(255,255,255,0.07);
}

/* ── Hamburger menu (≤ 1100px) — overrides desktop dropdown above ── */
@media (max-width: 1100px) {
  .nav-inner { gap: 1rem; position: static; height: 68px; }
  .nav-logo img { height: 48px; }

  .menu-icon { display: flex; }

  .nav-cta {
    order: 1;
    margin-left: auto;
    padding: 0.45rem 1rem;
    font-size: 0.7rem;
  }
  .menu-icon { order: 2; margin-left: 0.5rem; }

  .nav-links {
    display: flex;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.32s ease, opacity 0.22s ease;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0 1rem;
    gap: 0;
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
    border-top: 2px solid var(--gold);
  }
  .nav-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
    padding: 0.9rem 1.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    border-top: none;
    white-space: normal;
    letter-spacing: 0.04em;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a:hover {
    color: var(--orange);
    background: rgba(255,255,255,0.04);
    border-bottom-color: rgba(255,255,255,0.07);
  }

  .menu-toggle:checked ~ .nav-inner .nav-links { max-height: 600px; opacity: 1; }
  .menu-toggle:checked ~ .nav-inner .menu-icon span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle:checked ~ .nav-inner .menu-icon span:nth-child(2) { opacity: 0; }
  .menu-toggle:checked ~ .nav-inner .menu-icon span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Dropdown: always expanded inline on mobile */
  .nav-dropdown { position: static; }
  .nav-dropdown-toggle {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
    padding: 0.9rem 1.5rem;
    min-height: 44px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    white-space: normal;
    letter-spacing: 0.04em;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
  }
  .nav-submenu {
    position: static;
    transform: none;
    min-width: 0;
    background: rgba(0,0,0,0.18);
    border-top: none;
    border-left: 3px solid var(--gold);
    box-shadow: none;
    border-radius: 0;
    margin-left: 1.5rem;
    z-index: auto;
  }
  .nav-submenu a {
    font-size: 0.8rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    white-space: normal;
  }
  .nav-submenu a:last-child { border-bottom: none; }
  .nav-arrow { display: none; }
}

/* === HERO SLIDER === */
.hero {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Slides stack absolutely, fade in/out via keyframes */
.hero-slides { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: hero-slide-anim 8s infinite linear;
}

/* Staggered negative delays: each slide starts at the correct phase */
.hero-slide-2 {
  background-image: url('img/WEB4.jpg');
  animation-delay: 0s;
}
.hero-slide-3 {
  background-image: url('img/WEB5.jpg');
  animation-delay: -4s;
}

/* Combined fade + Ken Burns: opacity and scale reset while invisible */
@keyframes hero-slide-anim {
  0%   { opacity: 1; transform: scale(1);    }
  40%  { opacity: 1; transform: scale(1.08); }
  50%  { opacity: 0; transform: scale(1.1);  }
  100% { opacity: 0; transform: scale(1);    }
}

/* Dark gradient overlay — heavier on left for text legibility */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 20, 70, 0.75) 0%,
    rgba(0, 20, 70, 0.50) 50%,
    rgba(0, 20, 70, 0.25) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  max-width: 560px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  line-height: 1.65;
}
.hero-subtitle strong { color: white; }

.hero-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  margin-top: 1.25rem;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  backdrop-filter: blur(4px);
}

@media (max-width: 768px) {
  .hero { min-height: 420px; }
  .hero-content { padding: 3.5rem 1.25rem; }
  .hero-overlay { background: rgba(0, 20, 70, 0.65); }
}
@media (max-width: 480px) {
  .hero { min-height: 380px; }
  .hero-content { padding: 2.5rem 1.25rem; gap: 0.75rem; }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-badge { font-size: 0.6rem; padding: 5px 10px; }
}

/* === INFO STRIPS === */
.info-strips { display: flex; }

.strip {
  flex: 1;
  padding: 1.5rem 1.75rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.strip:nth-child(1) { background: var(--blue); }
.strip:nth-child(2) { background: var(--dark); }
.strip:nth-child(3) { background: var(--gold); }
.strip:nth-child(3) .strip-icon { background: rgba(0,0,0,0.12); }
.strip:nth-child(3) .strip-icon svg { stroke: var(--dark); }
.strip:nth-child(3) .strip-text h3 { color: var(--dark); }
.strip:nth-child(3) .strip-text p { color: rgba(30,42,56,0.78); }

.strip-icon {
  flex-shrink: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.strip-text h3 {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.4rem;
}
.strip-text p { font-size: 0.82rem; color: rgba(255,255,255,0.85); line-height: 1.45; }

@media (min-width: 769px) {
  .strip:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.15); border-right: 1px solid rgba(255,255,255,0.15); }
}

@media (max-width: 768px) {
  .info-strips { flex-direction: column; }
  .strip { padding: 1.25rem; }
}

/* === DONATIONS SECTION === */
.donations-section { background: var(--light-bg); padding: 0 0 var(--space-section); }
@media (max-width: 768px) { .donations-section { padding-bottom: var(--space-section-md); } }
@media (max-width: 480px) { .donations-section { padding-bottom: var(--space-section-sm); } }

.donations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.donation-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.donation-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.donation-card-img { height: 200px; overflow: hidden; position: relative; }
.donation-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.donation-card:hover .donation-card-img img { transform: scale(1.05); }
.donation-card-img.fallback-blue,
.blog-card-img.fallback-blue { background: linear-gradient(135deg, var(--blue), #1d4ed8); }
.donation-card-img.fallback-slate,
.blog-card-img.fallback-slate { background: linear-gradient(135deg, var(--slate), #6b7280); }
.donation-card-img.fallback-orange,
.blog-card-img.fallback-orange { background: linear-gradient(135deg, var(--orange), #f97316); }

.donation-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.donation-card-body h3 { font-size: 0.9rem; font-weight: 800; color: var(--text); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.5rem; }
.donation-card-body p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.5; flex: 1; margin-bottom: 1rem; }
.donation-card-body .btn { display: block; text-align: center; }

@media (max-width: 1024px) { .donations-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .donations-grid { grid-template-columns: 1fr; } }

/* === BLOG SECTION === */
.blog-section { background: var(--white); padding: 0 0 var(--space-section); }
@media (max-width: 768px) { .blog-section { padding-bottom: var(--space-section-md); } }
@media (max-width: 480px) { .blog-section { padding-bottom: var(--space-section-sm); } }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.blog-card-img { height: 180px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-card-date { font-family: var(--font-heading); font-size: 0.65rem; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.4rem; }
.blog-card-body h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 0.5rem; }
.blog-card-body p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; flex: 1; margin-bottom: 0.75rem; }
.blog-link { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.06em; transition: color var(--transition); }
.blog-link:hover { color: var(--orange); }

@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .blog-grid { grid-template-columns: 1fr; } }

/* === TESTIMONIALS === */
.testimonials-section {
  background: linear-gradient(160deg, var(--blue) 0%, var(--slate) 100%);
  padding: var(--space-section) var(--side-pad);
}
@media (max-width: 768px) { .testimonials-section { padding: var(--space-section-md) var(--side-pad); } }
@media (max-width: 480px) { .testimonials-section { padding: var(--space-section-sm) 1rem; } }

.testimonials-section .section-header { padding: 0 0 2rem; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
  backdrop-filter: blur(4px);
}

.testimonial-quote {
  font-size: 3rem;
  color: #93c5fd;
  line-height: 0;
  margin-bottom: 1rem;
  display: block;
  font-family: Georgia, serif;
}
.testimonial-text { font-size: 0.88rem; color: rgba(255,255,255,0.9); line-height: 1.65; font-style: italic; margin-bottom: 1rem; }
.testimonial-author { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; }

@media (max-width: 1024px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .testimonials-grid { grid-template-columns: 1fr; } }

/* === FOOTER === */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 3rem 1.25rem 0; }

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h5 { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col p { font-size: 0.82rem; line-height: 1.7; }
.footer-col a { display: block; font-size: 0.82rem; color: rgba(255,255,255,0.65); line-height: 2; transition: color var(--transition); }
.footer-col a:hover { color: var(--orange); }

.social-links { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.social-link, .footer-col .social-link { width: 38px; height: 38px; border-radius: 8px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; line-height: 0; transition: background var(--transition), transform var(--transition); }
.social-link:hover { background: var(--blue); transform: translateY(-2px); }
.social-link svg { display: block; }

.footer-bottom { max-width: var(--max-w); margin: 0 auto; padding: 1.25rem 0; text-align: center; font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: var(--gold); }

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* === BLOG POST PAGE === */
.post-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--slate) 100%);
  padding: var(--space-section) var(--side-pad);
  text-align: center;
}
@media (max-width: 768px) { .post-hero { padding: var(--space-section-md) var(--side-pad); } }
@media (max-width: 480px) { .post-hero { padding: var(--space-section-sm) 1rem; } }
.post-hero-category { font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.post-hero h1 { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 900; color: white; line-height: 1.2; max-width: 700px; margin: 0 auto 0.75rem; }
.post-hero-meta { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

.post-layout {
  display: flex;
  gap: 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-section-md) var(--side-pad) var(--space-section);
  align-items: flex-start;
}
@media (max-width: 768px) { .post-layout { padding: var(--space-section-md) var(--side-pad); } }
@media (max-width: 480px) { .post-layout { padding: var(--space-section-sm) 1rem; } }

.post-content { flex: 1; min-width: 0; }

.post-featured-img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); margin-bottom: 2rem; }

.post-body h2 { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin: 1.75rem 0 0.75rem; }
.post-body p { font-size: 0.95rem; line-height: 1.65; color: var(--text); margin-bottom: 1.1rem; }

.post-sidebar { width: 260px; flex-shrink: 0; position: sticky; top: 80px; }

.sidebar-widget { background: var(--light-bg); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1.25rem; border-top: 3px solid var(--blue); }
.sidebar-widget:nth-child(2) { border-top-color: var(--gold); }
.sidebar-widget h4 { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.sidebar-widget:nth-child(2) h4 { color: var(--gold); }

.sidebar-post-link { display: block; font-size: 0.82rem; color: var(--text-muted); padding: 0.5rem 0; border-bottom: 1px solid var(--border); transition: color var(--transition); }
.sidebar-post-link:hover { color: var(--blue); }
.sidebar-post-link:last-child { border-bottom: none; }

.sidebar-donation-link { display: block; font-size: 0.82rem; color: var(--text-muted); padding: 0.5rem 0; border-bottom: 1px solid var(--border); transition: color var(--transition); }
.sidebar-donation-link:hover { color: var(--orange); }
.sidebar-donation-link:last-child { border-bottom: none; }

@media (max-width: 1024px) {
  .post-sidebar { width: 220px; }
  .post-featured-img { height: 300px; }
}
@media (max-width: 768px) {
  .post-layout { flex-direction: column; }
  .post-sidebar { width: 100%; position: static; }
  .post-featured-img { height: 220px; }
}

/* === PAGE HERO (section pages) === */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--slate) 100%);
  padding: var(--space-section) var(--side-pad);
  text-align: center;
}
.page-hero .eyebrow { color: rgba(255,255,255,0.65); }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; color: white; line-height: 1.2; margin-bottom: 0.75rem; }
.page-hero p { font-size: 1rem; color: rgba(255,255,255,0.75); max-width: 620px; margin: 0 auto; }
@media (max-width: 768px) { .page-hero { padding: var(--space-section-md) var(--side-pad); } }
@media (max-width: 480px) { .page-hero { padding: var(--space-section-sm) 1rem; } }

/* === PAGE CONTENT (section pages — full width) === */
.page-content { max-width: var(--max-w); margin: 0 auto; padding: var(--space-section-md) var(--side-pad) var(--space-section); }
@media (max-width: 768px) { .page-content { padding: var(--space-section-md) var(--side-pad); } }
@media (max-width: 480px) { .page-content { padding: var(--space-section-sm) 1rem; } }
.page-content h2 { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin: 2rem 0 0.75rem; }
.page-content h3 { font-size: 1rem; font-weight: 700; color: var(--slate); margin: 1.5rem 0 0.5rem; text-align: center; }
.page-content p { font-size: 0.95rem; line-height: 1.65; color: var(--text); margin-bottom: 1rem; }
.page-content img { max-width: 100%; border-radius: var(--radius); margin: 1rem auto; display: block; }
.page-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.page-content ul li { font-size: 0.95rem; line-height: 1.85; color: var(--text); margin-bottom: 0.2rem; }
.page-content strong { color: var(--text); }

/* === POST BODY LISTS === */
.post-body ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-body ul li { font-size: 0.95rem; line-height: 1.85; color: var(--text); margin-bottom: 0.2rem; }
.post-body h2 { font-size: 1.2rem; font-weight: 700; color: var(--blue); margin: 1.75rem 0 0.75rem; }
.post-body h3 { font-size: 1rem; font-weight: 700; color: var(--slate); margin: 1.5rem 0 0.5rem; text-align: center; }
.post-body img { max-width: 100%; border-radius: 6px; margin: 1rem auto; display: block; }

/* === FAQ === */
.faq-list { margin-top: 0.5rem; }
.faq-item { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.faq-item:first-child { padding-top: 0; }
.faq-item:last-child { border-bottom: none; }
.faq-question { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; color: var(--blue); margin-bottom: 0.4rem; }
.faq-answer { font-size: 0.95rem; line-height: 1.7; color: var(--text); }

/* === FORM === */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { display: block; font-family: var(--font-heading); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text); margin-bottom: 0.35rem; }
.form-group label .req { color: var(--orange); }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 0.65rem 0.875rem; border: 1px solid var(--border); border-radius: 6px; font-family: var(--font-body); font-size: 0.9rem; color: var(--text); background: var(--white); transition: border-color var(--transition); appearance: none; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,66,210,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }
.form-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; padding: 1rem 1.25rem; border-radius: 6px; font-size: 0.9rem; margin-bottom: 1.5rem; display: none; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* === ALIADOS === */
.aliados-section {
  background: var(--light-bg);
  padding: var(--space-section) var(--side-pad);
  text-align: center;
}
@media (max-width: 768px) { .aliados-section { padding: var(--space-section-md) var(--side-pad); } }
@media (max-width: 480px) { .aliados-section { padding: var(--space-section-sm) 1rem; } }
.aliados-section .section-header { padding-top: 0; margin-bottom: 2rem; }
.aliados-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.aliado-logo {
  height: 52px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.25s ease;
}
.aliado-logo:hover { filter: grayscale(0%) opacity(1); }
@media (max-width: 768px) {
  .aliados-grid { gap: 1rem 1.5rem; }
  .aliado-logo { height: 40px; max-width: 100px; }
}

/* === PRENSA LISTING === */
.prensa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--space-section-md) var(--side-pad) var(--space-section);
}
@media (max-width: 1024px) { .prensa-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .prensa-grid { padding: var(--space-section-md) var(--side-pad); } }
@media (max-width: 600px)  { .prensa-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px)  { .prensa-grid { padding: var(--space-section-sm) 1rem; } }

/* aria-expanded visual hint (cosmetic only — JS handles the attribute) */
.menu-icon[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-icon[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-icon[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
