/* ============================================
   Las Caritas del Tuyú - Capa visual moderna
   ============================================ */

/* ---------- Hero espectacular ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(80px + 2rem) 1.5rem 4rem;
  background: none;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../imagenes/fondo38.jpg") center center / cover no-repeat;
  animation: heroKenBurns 22s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes heroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero::before {
  background: linear-gradient(
    135deg,
    rgba(6, 37, 64, 0.82) 0%,
    rgba(13, 79, 139, 0.65) 45%,
    rgba(45, 143, 217, 0.45) 100%
  );
  z-index: 1;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  animation: blobFloat 12s ease-in-out infinite;
}

.hero-blob--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, #5eb8e6, transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-blob--2 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #e8b54a, transparent 70%);
  bottom: 10%;
  left: -8%;
  animation-delay: -4s;
}

.hero-blob--3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #8fd4f0, transparent 70%);
  top: 40%;
  left: 35%;
  animation-delay: -8s;
}

@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -25px) scale(1.08); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

.hero-text-col {
  text-align: left;
}

.hero-badge {
  display: inline-block;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
  animation: heroFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.8vw, 2.85rem);
  color: white;
  line-height: 1.25;
  margin-bottom: 1rem;
  padding: 0;
  background: none;
  border: none;
  backdrop-filter: none;
  display: block;
  text-align: left;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-highlight {
  display: inline;
  background: linear-gradient(135deg, #f5d98a, #e8b54a, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  filter: drop-shadow(0 0 20px rgba(232, 181, 74, 0.4));
}

.hero-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.hero-logo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.hero-logo-img {
  display: block;
  max-width: min(380px, 82vw);
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: logoFloat 5s ease-in-out infinite;
  object-fit: cover;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 32px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
  text-decoration: none;
  transition: border-color 0.3s;
  animation: heroFadeUp 1s 0.8s both;
}

.hero-scroll:hover {
  border-color: white;
}

.hero-scroll span {
  width: 4px;
  height: 10px;
  background: white;
  border-radius: 4px;
  animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.3; }
}

/* ---------- Quiénes Somos — panel unificado ---------- */
.quienes-somos {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.quienes-somos::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 37, 64, 0.42);
  z-index: 0;
}

.quienes-somos .container {
  position: relative;
  z-index: 1;
}

.quienes-panel {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 24px 70px rgba(6, 37, 64, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.quienes-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(94, 184, 230, 0.35);
}

.quienes-somos .section-title {
  display: block;
  margin: 0 auto 0.75rem;
  padding: 0;
  background: none;
  transform: none;
  color: #062540;
  font-weight: 700;
  text-shadow: none;
}

.quienes-somos .section-title::after {
  margin-top: 0.75rem;
}

.quienes-somos .quienes-intro-text {
  display: block;
  max-width: 680px;
  margin: 0 auto;
  padding: 0;
  background: none;
  transform: none;
  font-size: 1.12rem;
  font-weight: 600;
  color: #2d5a7b;
  line-height: 1.65;
  text-shadow: none;
}

.quienes-somos .quienes-grid {
  gap: 2rem;
  align-items: stretch;
}

.quienes-somos .quienes-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(13, 79, 139, 0.15);
}

.quienes-somos .quienes-image img {
  max-width: 100%;
  width: 100%;
  max-height: none;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.quienes-somos .quienes-content {
  padding: 0;
  background: none;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.quienes-somos .quienes-content p {
  color: #062540;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.7;
  text-shadow: none;
  margin-bottom: 0.85rem;
}

.quienes-somos .quienes-content p:last-child {
  margin-bottom: 0;
}

/* ---------- Botones modernos ---------- */
.btn-glow {
  box-shadow: 0 4px 24px rgba(232, 181, 74, 0.5),
              0 0 40px rgba(232, 181, 74, 0.2);
  animation: btnPulse 2.5s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 24px rgba(232, 181, 74, 0.5), 0 0 40px rgba(232, 181, 74, 0.2); }
  50% { box-shadow: 0 6px 32px rgba(232, 181, 74, 0.65), 0 0 60px rgba(232, 181, 74, 0.35); }
}

.btn-glass {
  display: inline-block;
  padding: 1rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  color: white;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.35s,
              box-shadow 0.35s;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  color: white;
}

.btn-donar-nav {
  animation: navDonatePulse 3s ease-in-out infinite;
}

@keyframes navDonatePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232, 181, 74, 0); }
  50% { box-shadow: 0 0 0 6px rgba(232, 181, 74, 0.25); }
}

/* ---------- Barra de impacto ---------- */
.stats-bar {
  position: relative;
  z-index: 10;
  margin-top: -3rem;
  padding: 0 1.5rem 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 60px rgba(13, 79, 139, 0.18),
              0 0 0 1px rgba(94, 184, 230, 0.2);
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
  border-right: 1px solid rgba(94, 184, 230, 0.25);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 0.35rem;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  background: linear-gradient(135deg, #0d4f8b, #2d8fd9);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.stat-suffix {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e8b54a;
}

.stat-label {
  display: block;
  color: #2d5a7b;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-item--cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.stat-cta {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 50px;
  background: linear-gradient(135deg, #25D366, #20bd5a);
  color: white;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.stat-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
  color: white;
}

/* ---------- Tarjetas con borde gradiente ---------- */
.obra-card,
.ayuda-card {
  position: relative;
  overflow: hidden;
}

.obra-card::before,
.ayuda-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2d8fd9, #5eb8e6, #e8b54a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.obra-card:hover::before,
.ayuda-card:hover::before {
  transform: scaleX(1);
}

.obra-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(94, 184, 230, 0.22);
}

.obra-cita {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 2rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(94, 184, 230, 0.3);
  box-shadow: 0 8px 30px rgba(13, 79, 139, 0.1);
}

/* ---------- Sección Donar espectacular ---------- */
.donar-section {
  overflow: hidden;
}

.donar-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 37, 64, 0.75) 0%,
    rgba(13, 79, 139, 0.55) 50%,
    rgba(45, 143, 217, 0.45) 100%
  );
  z-index: 0;
}

.donar-section .container {
  position: relative;
  z-index: 1;
}

.donar-section .section-title {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.donar-content .btn-primary {
  font-size: 1.2rem;
  padding: 1.25rem 3rem;
  animation: btnPulse 2.5s ease-in-out infinite;
}

/* ---------- Visor de diapositivas premium ---------- */
.book-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 1.25rem;
  border: 1px solid rgba(94, 184, 230, 0.3);
  box-shadow: 0 20px 50px rgba(13, 79, 139, 0.15);
}

.book-page img {
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(13, 79, 139, 0.2);
}

/* ---------- Carrusel multimedia ---------- */
.gallery-carousel {
  position: relative;
  border-radius: 20px;
  padding: 1rem 0;
}

.gallery-carousel::before,
.gallery-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.gallery-carousel::before {
  left: 0;
  background: linear-gradient(90deg, white, transparent);
}

.gallery-carousel::after {
  right: 0;
  background: linear-gradient(-90deg, white, transparent);
}

.gallery-slide img {
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 8px 30px rgba(13, 79, 139, 0.15);
}

/* ---------- Galería página mejorada ---------- */
.gallery-hero {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #062540 0%, #0d4f8b 50%, #2d8fd9 100%);
}

.gallery-hero .hero-shapes {
  z-index: 0;
}

.gallery-hero .container {
  position: relative;
  z-index: 1;
}

.gallery-hero .hero-blob {
  opacity: 0.25;
}

.gallery-hero-eyebrow {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.82rem;
}

.gallery-grid {
  perspective: 1000px;
}

.gallery-card {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              linear-gradient(135deg, #5eb8e6, #2d8fd9, #e8b54a) border-box;
}

.gallery-page-section .container {
  background: rgba(255, 255, 255, 0.97);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 60px rgba(13, 79, 139, 0.12);
  border: 1px solid rgba(94, 184, 230, 0.2);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

body.gallery-page {
  background: linear-gradient(180deg, #d9eff9 0%, #eef8fd 40%, #f8fcff 100%);
}

/* ---------- Multimedia — layout vertical prolijo ---------- */
.multimedia-content {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.multimedia-panel {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 20px;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(94, 184, 230, 0.22);
  box-shadow: 0 12px 40px rgba(13, 79, 139, 0.1);
}

/* YouTube */
.multimedia-youtube-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.multimedia-yt-badge {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  color: white;
  box-shadow: 0 4px 16px rgba(255, 0, 0, 0.3);
}

.multimedia-youtube-header h3,
.multimedia-carousel-header h3 {
  color: #062540;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  text-align: left;
}

.multimedia-subtitle {
  color: #2d5a7b;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0;
}

.multimedia-youtube-preview {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(13, 79, 139, 0.2);
  background: var(--celeste-pastel);
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.multimedia-youtube-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(13, 79, 139, 0.28);
}

.multimedia-youtube-preview img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.multimedia-youtube-preview:hover img {
  transform: scale(1.02);
}

.multimedia-youtube-actions {
  display: flex;
  justify-content: center;
  margin-top: 1.25rem;
}

.btn-youtube {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  color: white;
  background: linear-gradient(135deg, #ff0000, #cc0000);
  box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-youtube:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 0, 0, 0.4);
  color: white;
}

/* Carrusel */
.multimedia-carousel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.multimedia-gallery-link {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.1rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  background: var(--azul-oscuro);
  color: white;
  border: 2px solid var(--azul-oscuro);
  transition: transform 0.3s ease, background 0.3s ease;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.multimedia-gallery-link:hover {
  background: var(--azul-medio);
  border-color: var(--azul-medio);
  color: white;
  transform: translateY(-2px);
}

.multimedia-carousel {
  border-radius: 16px;
  overflow: hidden;
  background: #f0f9fd;
  padding: 1.25rem 0;
  margin: 0 -0.5rem;
}

.multimedia-carousel.gallery-carousel::before {
  background: linear-gradient(90deg, #f0f9fd, transparent);
  width: 60px;
}

.multimedia-carousel.gallery-carousel::after {
  background: linear-gradient(-90deg, #f0f9fd, transparent);
  width: 60px;
}

.multimedia-carousel .gallery-track {
  padding: 0 0.5rem;
}

.multimedia-carousel .gallery-slide {
  width: 260px;
}

.multimedia-carousel .gallery-slide img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 14px;
  border: 2px solid white;
  box-shadow: 0 6px 24px rgba(13, 79, 139, 0.12);
}

/* ---------- Donar panel ---------- */
.donar-panel {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  max-width: 560px;
  margin: 0 auto;
}

.donar-panel p {
  opacity: 0.95;
}

/* ---------- Contacto panel unificado ---------- */
.contacto {
  position: relative;
  overflow-x: hidden;
}

.contacto::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 37, 64, 0.5);
  z-index: 0;
}

.contacto .container {
  position: relative;
  z-index: 1;
}

.contacto-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(232, 246, 252, 0.95) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 20px 60px rgba(13, 79, 139, 0.35),
              0 8px 24px rgba(45, 143, 217, 0.2);
  border: 1px solid rgba(94, 184, 230, 0.45);
  max-width: 100%;
  box-sizing: border-box;
}

.contacto-datos {
  max-width: 100%;
  width: 100%;
}

.contacto-item,
.contacto-redes {
  background: linear-gradient(145deg, #dceefb 0%, #b8e4f5 50%, #d4eff9 100%);
  backdrop-filter: none;
  border: 1px solid rgba(45, 143, 217, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(13, 79, 139, 0.22),
              0 4px 12px rgba(45, 143, 217, 0.15);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.contacto-item > div {
  min-width: 0;
  flex: 1;
}

.contacto-item p,
.contacto-item a {
  overflow-wrap: break-word;
  word-break: break-word;
}

.contacto-item:hover,
.contacto-redes:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(13, 79, 139, 0.32),
              0 6px 18px rgba(45, 143, 217, 0.25);
  border-color: rgba(13, 79, 139, 0.45);
}

.contacto-item-fundadora {
  background: linear-gradient(145deg, rgba(232, 181, 74, 0.25), rgba(94, 184, 230, 0.35), rgba(184, 228, 245, 0.9));
  border-color: rgba(232, 181, 74, 0.5);
  box-shadow: 0 10px 32px rgba(13, 79, 139, 0.25),
              0 4px 14px rgba(232, 181, 74, 0.2);
}

.contacto-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(45, 143, 217, 0.4);
}

.contacto .section-title {
  color: #062540;
  font-weight: 800;
}

.contacto .section-intro {
  color: #2d5a7b;
  font-weight: 600;
  font-size: 1.1rem;
}

.contacto-datos {
  max-width: 100%;
}

.contacto-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: linear-gradient(135deg, #2d8fd9, #5eb8e6);
  color: white;
  flex-shrink: 0;
  font-size: inherit;
  box-shadow: 0 4px 14px rgba(13, 79, 139, 0.3);
}

.contacto-icon svg {
  width: 20px;
  height: 20px;
}

/* ---------- Secciones unificadas ---------- */
.nuestra-obra {
  background: linear-gradient(180deg, #eef8fd 0%, #f8fcff 100%);
}

.multimedia {
  background: linear-gradient(180deg, #f8fcff 0%, #eef8fd 100%);
}

.diapositivas-section {
  background: linear-gradient(180deg, #f8fcff 0%, #e8f6fc 50%, #f8fcff 100%);
}

.nav-brand {
  background: linear-gradient(135deg, #062540, #0d4f8b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Footer moderno ---------- */
.footer {
  background: linear-gradient(180deg, #0d4f8b 0%, #062540 100%);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #5eb8e6, #e8b54a, #5eb8e6);
  background-size: 200% 100%;
  animation: footerShine 4s linear infinite;
}

@keyframes footerShine {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.footer-logo {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1050;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.45),
              0 0 0 0 rgba(37, 211, 102, 0.4);
  animation: whatsappPulse 2.5s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: white;
  animation: none;
  box-shadow: 0 10px 40px rgba(37, 211, 102, 0.55);
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 6px 30px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ---------- Reveal mejorado ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px) scale(0.97);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-text-col {
    text-align: center;
  }

  .hero h1 {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-logo-img {
    max-width: 280px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(94, 184, 230, 0.2);
    padding-bottom: 1rem;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }

  .obra-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ayuda-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-bottom: 5rem;
  }

  .stats-bar {
    margin-top: -2rem;
    padding: 0 1rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    padding: 1.5rem 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .quienes-somos .quienes-grid {
    grid-template-columns: 1fr;
  }

  .quienes-somos .quienes-image img {
    min-height: 200px;
  }

  .quienes-panel {
    padding: 1.35rem 1.1rem;
  }

  .quienes-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .obra-grid {
    grid-template-columns: 1fr;
  }

  .contacto-panel {
    padding: 1.15rem 0.85rem;
    border-radius: 18px;
    overflow: hidden;
  }

  .contacto-header {
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .contacto-datos {
    gap: 0.75rem;
  }

  .contacto-item,
  .contacto-redes {
    padding: 0.85rem;
    gap: 0.75rem;
    box-shadow: 0 4px 16px rgba(13, 79, 139, 0.18),
                0 2px 8px rgba(45, 143, 217, 0.12);
  }

  .contacto-item:hover,
  .contacto-redes:hover {
    transform: none;
    box-shadow: 0 6px 20px rgba(13, 79, 139, 0.22),
                0 3px 10px rgba(45, 143, 217, 0.15);
  }

  .contacto-item p {
    font-size: 0.88rem;
  }

  .contacto-telefonos .contacto-whatsapp {
    font-size: 0.82rem;
    padding: 0.5rem 0.7rem;
    max-width: 100%;
  }

  .contacto-telefonos .contacto-whatsapp span {
    line-height: 1.3;
  }

  .contacto-redes .redes-links {
    gap: 0.45rem;
  }

  .contacto .redes-links a.redes-icon {
    font-size: 0.78rem;
    padding: 0.4rem 0.5rem;
  }

  .contacto .container {
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }

  .multimedia-panel {
    padding: 1.25rem;
  }

  .multimedia-carousel-header {
    flex-direction: column;
    align-items: stretch;
  }

  .multimedia-gallery-link {
    align-self: flex-start;
    margin-top: 0;
  }

  .multimedia-youtube-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .multimedia-carousel .gallery-slide {
    width: 220px;
  }

  .multimedia-carousel .gallery-slide img {
    height: 150px;
  }
    margin-top: -1.5rem;
    padding: 1.5rem 1rem;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 1rem;
    border-radius: 50%;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo-img,
  .hero-bg,
  .btn-glow,
  .btn-donar-nav,
  .donar-content .btn-primary,
  .whatsapp-float,
  .footer::before {
    animation: none !important;
  }
}
