/* ============================================================
   SERES VIVOS ONG — Hoja de estilos principal
   Archetype: Editorial Cálido Natural (custom para ONG)
   Paleta: Verde Profundo + Naranja Vital + Beige Piel
   v2026-06-18
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --verde-profundo:  #006C64;
  --verde-medio:     #7AC143;
  --verde-lima:      #C1D82F;
  --naranja:         #F78E1E;
  --amarillo:        #F1CB00;
  --cyan:            #00AEEF;
  --beige:           #EFD6BD;
  --papel:           #F5F0E8;
  --blanco:          #FFFFFF;
  --ink:             #1A1A1A;
  --ink-soft:        #3A3A3A;
  --ink-mute:        #6B6B6B;
  --linea:           rgba(0,108,100,0.15);

  --display:  'Nunito', 'Arial Rounded MT Bold', Arial, sans-serif;
  --body:     'Inter', Arial, sans-serif;
  --mono:     'JetBrains Mono', monospace;

  --section-gap: clamp(4rem, 10vw, 7rem);
  --ease-out:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--body);
  background: var(--papel);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}
ul, ol { list-style: none; }

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -60px;
  left: 1rem;
  background: var(--verde-profundo);
  color: var(--blanco);
  padding: 0.5rem 1rem;
  border-radius: 0 0 4px 4px;
  transition: top .2s;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: min(100%, 1200px);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ── Typography ──────────────────────────────────────────── */
.section-kicker {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--verde-profundo);
  margin-bottom: 1rem;
}

.section-title em {
  color: var(--naranja);
  font-style: normal;
}

.section-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-out), box-shadow .2s, background .2s, color .2s;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--naranja);
  color: var(--blanco);
}
.btn-primary:hover { background: #e07d10; }

.btn-secondary {
  background: var(--verde-profundo);
  color: var(--blanco);
}
.btn-secondary:hover { background: #005850; }

.btn-outline {
  background: transparent;
  border-color: var(--verde-profundo);
  color: var(--verde-profundo);
}
.btn-outline:hover { background: var(--verde-profundo); color: var(--blanco); }

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

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s, box-shadow .3s;
}

.nav.scrolled {
  background: rgba(0, 108, 100, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.15);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo img {
  height: 52px;
  width: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.2));
}

.nav-logo-text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1rem;
  color: var(--blanco);
  line-height: 1.2;
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blanco);
  background: rgba(255,255,255,.12);
}

.nav-cta {
  flex-shrink: 0;
  font-size: 0.75rem;
  padding: 0.6rem 1.2rem;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blanco);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--verde-profundo);
  padding: 1.5rem 2rem 2rem;
  gap: 0.25rem;
  position: fixed;
  top: 72px; left: 0; right: 0;
  z-index: 99;
  box-shadow: 0 8px 32px rgba(0,0,0,.2);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color .2s;
}

.nav-mobile a:hover { color: var(--verde-lima); }
.nav-mobile .btn { margin-top: 1rem; width: fit-content; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--verde-profundo);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.7) brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg,
    rgba(0,108,100,0.85) 0%,
    rgba(0,108,100,0.4) 50%,
    rgba(247,142,30,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 6rem;
  padding-bottom: 4rem;
  width: 100%;
}

.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-eyebrow span {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--verde-lima);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--verde-lima);
  border-radius: 1px;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--blanco);
  margin-bottom: 1.5rem;
}

.hero-title em {
  color: var(--verde-lima);
  font-style: normal;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.85);
  max-width: 48ch;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-top: 1rem;
}

/* Stats bar */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  background: rgba(0,0,0,.25);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.1);
}

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

.hero-stat-num {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--verde-lima);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 0.25rem;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,.5);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBob 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 18px;
  height: 18px;
  stroke: rgba(255,255,255,.5);
  fill: none;
  stroke-width: 1.5;
  animation: scrollBob 2s ease-in-out infinite .3s;
}

@keyframes scrollBob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ── Page hero (inner pages) ─────────────────────────────── */
.page-hero {
  background: var(--verde-profundo);
  padding-top: clamp(6rem, 14vw, 9rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(193,216,47,.15) 0%, transparent 60%);
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero .section-kicker { color: var(--verde-lima); }
.page-hero .section-title { color: var(--blanco); }
.page-hero .section-sub { color: rgba(255,255,255,.75); }

/* ── Marquee ─────────────────────────────────────────────── */
.marquee-strip {
  background: var(--naranja);
  overflow: hidden;
  padding: 0.75rem 0;
  border-top: 3px solid var(--amarillo);
  border-bottom: 3px solid var(--amarillo);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blanco);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.marquee-item::after {
  content: '🐾';
  font-size: 0.85rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding-block: var(--section-gap); }

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── Area cards (inicio — 3 áreas) ──────────────────────── */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.area-card {
  background: var(--blanco);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--linea);
  transition: transform .3s var(--ease-out), box-shadow .3s;
  position: relative;
  overflow: hidden;
}

.area-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--card-accent, var(--verde-medio));
  border-radius: 16px 16px 0 0;
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,108,100,.12);
}

.area-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.area-title {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--verde-profundo);
  margin-bottom: 0.75rem;
}

.area-desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.area-link {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--naranja);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap .2s;
}

.area-link:hover { gap: 0.8rem; }

/* ── Stats section ───────────────────────────────────────── */
.stats-section {
  background: var(--verde-profundo);
  padding-block: var(--section-gap);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {}

.stat-num {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--verde-lima);
  line-height: 1;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin-top: 0.5rem;
}

/* ── Mascotas gallery (inicio) ───────────────────────────── */
.mascotas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.mascota-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  background: var(--beige);
}

.mascota-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}

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

.mascota-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,108,100,.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}

.mascota-card:hover .mascota-card-overlay { opacity: 1; }

.mascota-name {
  font-family: var(--display);
  font-weight: 800;
  color: var(--blanco);
  font-size: 1rem;
}

/* ── CTA donar ───────────────────────────────────────────── */
.cta-donar {
  background: linear-gradient(135deg, var(--naranja) 0%, #e07d10 100%);
  padding-block: var(--section-gap);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-donar::before {
  content: '🐾';
  position: absolute;
  font-size: 15rem;
  opacity: 0.06;
  top: -3rem;
  right: -3rem;
  line-height: 1;
}

.cta-donar .section-title { color: var(--blanco); }
.cta-donar .section-sub { color: rgba(255,255,255,.85); margin-inline: auto; }

.metodos-pago {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.metodo-badge {
  background: rgba(255,255,255,.2);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50px;
  padding: 0.5rem 1.2rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: 0.08em;
}

/* ── Ayuda grid ──────────────────────────────────────────── */
.ayuda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.ayuda-card {
  background: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--linea);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}

.ayuda-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,108,100,.12);
}

.ayuda-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.ayuda-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease-out);
}

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

.ayuda-card-body {
  padding: 1.5rem;
}

.ayuda-card-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.ayuda-card-title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--verde-profundo);
  margin-bottom: 0.5rem;
}

.ayuda-card-desc {
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ── Servicios grid ──────────────────────────────────────── */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.servicio-card {
  background: var(--blanco);
  border-radius: 12px;
  padding: 1.75rem;
  border: 1px solid var(--linea);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform .3s var(--ease-out), box-shadow .3s;
  position: relative;
}

.servicio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,108,100,.1);
}

.servicio-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--verde-profundo), var(--verde-medio));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.servicio-title {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--verde-profundo);
}

.servicio-desc {
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}

.servicio-precio {
  display: inline-block;
  background: var(--verde-lima);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  width: fit-content;
}

/* ── FAQ accordion ───────────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin-inline: auto;
}

.faq-item {
  background: var(--blanco);
  border-radius: 12px;
  border: 1px solid var(--linea);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--verde-profundo);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background .2s;
}

.faq-question:hover { background: rgba(0,108,100,.04); }

.faq-question[aria-expanded="true"] {
  background: var(--verde-profundo);
  color: var(--blanco);
}

.faq-arrow {
  width: 20px; height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  flex-shrink: 0;
  transition: transform .3s;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out), padding .3s;
}

.faq-answer.open {
  max-height: 400px;
  padding: 1.25rem 1.5rem;
}

.faq-answer p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ── Transparencia ───────────────────────────────────────── */
.trans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.trans-card {
  background: var(--blanco);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--linea);
  text-align: center;
}

.trans-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.trans-title {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--verde-profundo);
  margin-bottom: 0.5rem;
}

.trans-desc {
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Galería multimedia */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

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

.galeria-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease-out);
}

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

/* ── Contacto ────────────────────────────────────────────── */
.contacto-grid {
  display: grid;
  gap: 4rem;
}

.contacto-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contacto-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contacto-icon {
  width: 44px; height: 44px;
  background: var(--verde-profundo);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contacto-item-body {}
.contacto-item-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--naranja);
  display: block;
  margin-bottom: 0.15rem;
}

.contacto-item-val {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.contacto-item-val a { color: var(--verde-profundo); font-weight: 600; }
.contacto-item-val a:hover { color: var(--naranja); }

/* Redes sociales */
.redes-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.red-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  border-radius: 50px;
  border: 2px solid;
  transition: background .2s, color .2s;
}

.red-link--instagram { color: #E1306C; border-color: #E1306C; }
.red-link--instagram:hover { background: #E1306C; color: var(--blanco); }
.red-link--facebook { color: #1877F2; border-color: #1877F2; }
.red-link--facebook:hover { background: #1877F2; color: var(--blanco); }
.red-link--tiktok { color: var(--ink); border-color: var(--ink); }
.red-link--tiktok:hover { background: var(--ink); color: var(--blanco); }

/* Formulario */
.form-contacto {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--verde-profundo);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--blanco);
  border: 2px solid var(--linea);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color .2s;
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--verde-profundo);
}

.form-textarea { resize: vertical; min-height: 120px; }

/* ── Historia / Nosotros ─────────────────────────────────── */
.historia-inner {
  display: grid;
  gap: 4rem;
  align-items: start;
}

.historia-text p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.historia-text p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--verde-profundo);
  float: left;
  line-height: 0.8;
  margin-right: 0.1em;
  margin-top: 0.1em;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.valor-card {
  background: var(--blanco);
  border-radius: 12px;
  padding: 1.5rem;
  border-left: 4px solid var(--card-color, var(--verde-medio));
}

.valor-emoji { font-size: 1.5rem; margin-bottom: 0.5rem; }

.valor-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--verde-profundo);
  margin-bottom: 0.4rem;
}

.valor-text { font-size: 0.82rem; color: var(--ink-mute); line-height: 1.6; }

/* Fundadores */
.fundadores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.fundador-card {
  background: var(--blanco);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--linea);
  text-align: center;
}

.fundador-img {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--verde-profundo), var(--verde-medio));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.fundador-body { padding: 1.5rem; }

.fundador-name {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--verde-profundo);
}

.fundador-role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-top: 0.25rem;
}

.fundador-bio {
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.65;
  margin-top: 0.75rem;
}

/* ── Whatsapp float ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  background: #25D366;
  color: var(--blanco);
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform .2s var(--ease-spring), box-shadow .2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37,211,102,.5);
}

.whatsapp-float svg {
  width: 28px; height: 28px;
  fill: var(--blanco);
}

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--verde-profundo);
  padding-block: clamp(3rem, 7vw, 5rem) 1.5rem;
  color: rgba(255,255,255,.75);
}

.footer-top {
  display: grid;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2rem;
}

.footer-brand {}

.footer-logo {
  width: 64px; height: 64px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-slogan {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--blanco);
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  max-width: 36ch;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  font-size: 0.85rem;
}

.footer-social a:hover { background: var(--naranja); }

.footer-nav-title {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde-lima);
  margin-bottom: 1rem;
  display: block;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}

.footer-nav a:hover { color: var(--blanco); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}

.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--verde-lima); }

/* ── Reveal animations ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* Defensive: split-text elements should never be invisible */
.reveal[data-split] { opacity: 1; transform: none; }

/* ── Utilities ───────────────────────────────────────────── */
.bg-verde { background: var(--verde-profundo); }
.bg-beige { background: var(--beige); }
.bg-papel { background: var(--papel); }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ── Responsive ──────────────────────────────────────────── */
@media (min-width: 640px) {
  .nav-logo-text { display: block; }
  .historia-inner { grid-template-columns: 1fr 1fr; }
  .contacto-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 639px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .hero-stats { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ============================================================
   CSS VARIABLES ALIASES (para compatibilidad en páginas)
   ============================================================ */
:root {
  --sv-verde:       #006C64;
  --sv-verde-medio: #7AC143;
  --sv-lima:        #C1D82F;
  --sv-naranja:     #F78E1E;
  --sv-beige:       #EFD6BD;
  --sv-cyan:        #00AEEF;
}

/* ============================================================
   PAGE HERO — variantes
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.page-hero--short { min-height: 50vh; }

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0,60,56,0.92) 0%, rgba(0,60,56,0.55) 60%, rgba(0,60,56,0.2) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 6rem;
}
.page-hero-content h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
}
.page-hero-content .eyebrow { color: var(--sv-lima); }
.page-hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  line-height: 1.65;
}

/* ============================================================
   NOSOTROS — Historia timeline + MVV + Equipo + Legal
   ============================================================ */
.split-content {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 760px) {
  .split-content { grid-template-columns: 1fr 1fr; }
}
.split-text h2 { margin-bottom: 1.25rem; }
.split-text p { margin-bottom: 1rem; color: var(--ink-soft); }

.historia-timeline { display: flex; flex-direction: column; gap: 1.5rem; }
.timeline-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1rem;
  align-items: start;
}
.timeline-year {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--sv-verde);
  line-height: 1;
  padding-top: 0.15rem;
}
.timeline-body strong { display: block; font-weight: 700; color: var(--ink); margin-bottom: 0.35rem; }
.timeline-body p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

/* MVV */
.mvv-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .mvv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .mvv-grid { grid-template-columns: repeat(3, 1fr); } }

.mvv-card {
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.mvv-icon { width: 56px; height: 56px; margin-bottom: 1.25rem; }
.mvv-card h3 { font-family: var(--display); font-size: 1.25rem; font-weight: 800; color: var(--sv-verde); margin-bottom: 0.75rem; }
.mvv-card p { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.65; }
.valores-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.valores-list li {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-left: 1.2rem;
  position: relative;
}
.valores-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--sv-verde);
  font-weight: 900;
}

/* Equipo */
.equipo-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .equipo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .equipo-grid { grid-template-columns: repeat(3, 1fr); } }

.equipo-card {
  background: var(--blanco);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1.5px solid var(--linea);
  transition: box-shadow 0.3s var(--ease-out);
}
.equipo-card:hover { box-shadow: 0 8px 32px rgba(0,108,100,0.12); }
.equipo-avatar { width: 80px; height: 80px; margin: 0 auto 1rem; border-radius: 50%; overflow: hidden; }
.equipo-card h3 { font-family: var(--display); font-size: 1.05rem; font-weight: 800; margin-bottom: 0.3rem; }
.equipo-cargo { font-size: 0.85rem; color: var(--sv-naranja); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem; }
.equipo-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* Legal block */
.legal-block {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 760px) { .legal-block { grid-template-columns: 1.2fr 0.8fr; } }

.legal-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.legal-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
}
.legal-list li svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--sv-lima); }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border: 2px solid rgba(255,255,255,0.7);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

.legal-visual { display: flex; justify-content: center; }
.legal-badge {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.legal-badge-inner {
  text-align: center;
  color: #fff;
}
.legal-badge-inner svg { width: 60px; height: 60px; margin: 0 auto 0.5rem; }
.legal-badge-inner span { display: block; font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1.2; }
.legal-badge-inner small { font-size: 0.8rem; opacity: 0.7; }

/* ============================================================
   AYUDA PAGE
   ============================================================ */
.ayuda-section { border-bottom: 1px solid var(--linea); }

.ayuda-block {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.ayuda-block--img-right .ayuda-img { order: 2; }
@media (min-width: 760px) {
  .ayuda-block { grid-template-columns: 1fr 1fr; }
  .ayuda-block--img-right .ayuda-img { order: 2; }
}

.ayuda-num {
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 900;
  color: var(--sv-lima);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.ayuda-content h2 { margin-bottom: 1rem; }
.ayuda-content p { color: var(--ink-soft); line-height: 1.7; margin-bottom: 1rem; }
.ayuda-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.ayuda-list li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.ayuda-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--sv-verde);
  font-weight: 700;
}
.ayuda-img {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.ayuda-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.ayuda-img:hover img { transform: scale(1.04); }

/* Donación métodos */
.donacion-metodos {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0 1.75rem;
}
.donacion-metodo {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 12px;
}
.donacion-icon { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; overflow: hidden; }
.donacion-icon svg { width: 40px; height: 40px; }
.donacion-metodo strong { display: block; font-weight: 700; font-size: 0.95rem; }
.donacion-metodo p { margin: 0; font-size: 0.85rem; color: var(--ink-soft); }

/* Otras formas grid */
.otras-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .otras-grid { grid-template-columns: repeat(2, 1fr); } }

.otra-card {
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-out);
}
.otra-card:hover { box-shadow: 0 8px 32px rgba(0,108,100,0.1); }
.otra-card-img { aspect-ratio: 16/9; overflow: hidden; }
.otra-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.otra-card:hover .otra-card-img img { transform: scale(1.04); }
.otra-card-body { padding: 1.5rem; }
.otra-card-body h3 { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-bottom: 0.75rem; }
.otra-card-body p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.25rem; }

/* Btn white */
.btn-white {
  background: #fff;
  color: var(--sv-verde);
  border-color: #fff;
  padding: 1rem 2.5rem;
}
.btn-white:hover { background: var(--sv-lima); color: var(--ink); }

/* ============================================================
   SERVICIOS PAGE
   ============================================================ */
.aviso-citas {
  background: var(--sv-beige);
  border-bottom: 2px solid var(--sv-lima);
  padding: 1rem 0;
}
.aviso-citas-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}
.aviso-citas-inner svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--sv-verde); }
.aviso-citas-inner a { color: var(--sv-verde); font-weight: 700; }

.servicios-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 640px) { .servicios-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .servicios-grid { grid-template-columns: repeat(3, 1fr); } }

.servicio-card {
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.servicio-card:hover {
  box-shadow: 0 12px 40px rgba(0,108,100,0.12);
  transform: translateY(-3px);
}
.servicio-card--featured {
  border-color: var(--sv-verde);
  border-width: 2px;
}
@media (min-width: 960px) {
  .servicio-card--featured { grid-column: span 2; }
}
.servicio-img { aspect-ratio: 16/9; overflow: hidden; position: relative; }
.servicio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.servicio-card:hover .servicio-img img { transform: scale(1.04); }
.servicio-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--sv-naranja);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 50px;
}
.servicio-body { padding: 1.5rem; }
.servicio-body h3 { font-family: var(--display); font-weight: 800; font-size: 1.15rem; margin-bottom: 0.75rem; color: var(--sv-verde); }
.servicio-body p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.65; margin-bottom: 1rem; }
.servicio-nota { font-size: 0.82rem !important; color: var(--ink-mute) !important; font-style: italic; }

.servicio-precios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}
.precio-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--sv-beige);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  min-width: 110px;
  text-align: center;
}
.precio-animal { font-size: 0.78rem; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.35rem; }
.precio-valor { font-family: var(--display); font-size: 1.5rem; font-weight: 900; color: var(--sv-verde); }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-container { max-width: 860px; margin: 0 auto; }

.faq-categories { display: flex; flex-direction: column; gap: 3rem; }

.faq-category-title {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sv-verde);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--sv-lima);
}
.faq-cat-icon { font-style: normal; }

.accordion { display: flex; flex-direction: column; gap: 0.5rem; }

.accordion-item {
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.accordion-item.open { border-color: var(--sv-verde); }

.accordion-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  line-height: 1.4;
  transition: color 0.2s;
}
.accordion-trigger:hover, .accordion-trigger[aria-expanded="true"] { color: var(--sv-verde); }

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-out);
  color: var(--sv-verde);
}
.accordion-item.open .accordion-icon { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
  padding: 0 1.5rem;
}
.accordion-body p {
  padding-bottom: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}
.accordion-body a { color: var(--sv-verde); font-weight: 600; }

.faq-cta {
  margin-top: 4rem;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--sv-verde);
  border-radius: 20px;
  text-align: center;
  color: #fff;
}
.faq-cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 0.75rem; }
.faq-cta p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; }

/* ============================================================
   TRANSPARENCIA PAGE
   ============================================================ */
.stats-transparencia {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 480px) { .stats-transparencia { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .stats-transparencia { grid-template-columns: repeat(3, 1fr); } }

.stat-trans-card {
  background: var(--blanco);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  border: 1.5px solid var(--linea);
}
.stat-trans-num {
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--sv-verde);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-trans-label { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.5rem; }
.stat-trans-desc { font-size: 0.82rem; color: var(--ink-mute); line-height: 1.5; }

/* Legal grid */
.legal-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 480px) { .legal-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .legal-grid { grid-template-columns: repeat(3, 1fr); } }

.legal-info-card {
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 16px;
  padding: 1.75rem;
}
.legal-info-icon { width: 48px; height: 48px; margin-bottom: 1rem; }
.legal-info-card h3 { font-family: var(--display); font-weight: 800; font-size: 1rem; color: var(--sv-verde); margin-bottom: 0.5rem; }
.legal-info-card p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }

/* Org chart */
.org-chart { max-width: 700px; margin: 2rem auto 0; }
.org-level { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.org-connector { height: 2rem; border-left: 2px dashed var(--sv-lima); margin-left: 50%; }
.org-box {
  background: var(--blanco);
  border: 2px solid var(--sv-verde);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 150px;
}
.org-box strong { display: block; font-family: var(--display); font-weight: 800; color: var(--sv-verde); margin-bottom: 0.25rem; }
.org-box span { font-size: 0.82rem; color: var(--ink-mute); }
.org-box--primary { border-color: var(--sv-naranja); background: linear-gradient(135deg, #fff7f0, #fff); }
.org-box--primary strong { color: var(--sv-naranja); }
.org-box--light { border-color: var(--sv-lima); background: #f8fce8; }
.org-box--light strong { color: #556B00; }

/* Galería Transparencia */
.galeria-transparencia {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (max-width: 639px) {
  .galeria-transparencia { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .galeria-item--tall { grid-row: span 1; }
  .galeria-item--wide { grid-column: span 2; }
}
.galeria-item { border-radius: 12px; overflow: hidden; }
.galeria-item--tall { grid-row: span 2; }
.galeria-item--wide { grid-column: span 2; }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.galeria-item:hover img { transform: scale(1.05); }

/* Financiero */
.financiero-grid { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.financiero-bar { }
.fin-bar-header { display: flex; justify-content: space-between; margin-bottom: 0.5rem; font-size: 0.9rem; }
.fin-bar-header strong { font-weight: 800; color: var(--sv-verde); }
.fin-bar-track { height: 10px; background: var(--linea); border-radius: 50px; overflow: hidden; }
.fin-bar-fill { height: 100%; border-radius: 50px; transition: width 1.2s ease; }
.financiero-nota { margin-top: 2rem; font-size: 0.85rem; color: var(--ink-mute); text-align: center; }
.financiero-nota a { color: var(--sv-verde); }

/* ============================================================
   CONTACTO PAGE
   ============================================================ */
.contacto-layout {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 760px) { .contacto-layout { grid-template-columns: 1fr 1.3fr; } }

.contacto-info h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.5rem; }

.contacto-canales { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }

.canal-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 14px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}
.canal-card:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,108,100,0.1); }
.canal-card--whatsapp { border-color: #00D563; }
.canal-card--whatsapp:hover { border-color: #00D563; box-shadow: 0 6px 24px rgba(0,213,99,0.15); }
.canal-card--email { border-color: var(--sv-cyan); }
.canal-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.canal-card--whatsapp .canal-icon { background: #00D56322; color: #00A950; }
.canal-card--email .canal-icon { background: #00AEEF22; color: var(--sv-cyan); }
.canal-icon svg { width: 22px; height: 22px; }
.canal-body { flex: 1; }
.canal-body strong { display: block; font-weight: 700; }
.canal-body span { font-size: 0.9rem; color: var(--ink-soft); }
.canal-body small { display: block; font-size: 0.78rem; color: var(--ink-mute); margin-top: 0.25rem; }
.canal-arrow { width: 18px; height: 18px; color: var(--ink-mute); flex-shrink: 0; }

.contacto-redes { margin-bottom: 2rem; }
.contacto-redes h3 { font-family: var(--display); font-weight: 800; margin-bottom: 0.5rem; }
.contacto-redes p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1rem; }
.redes-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.red-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--linea);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.25s;
}
.red-link svg { width: 16px; height: 16px; }
.red-link--instagram { color: #E1306C; border-color: #E1306C44; }
.red-link--instagram:hover { background: #E1306C11; }
.red-link--facebook { color: #1877F2; border-color: #1877F244; }
.red-link--facebook:hover { background: #1877F211; }
.red-link--tiktok { color: var(--ink); border-color: var(--linea); }
.red-link--tiktok:hover { background: #00000011; }

.contacto-direccion h3 { font-family: var(--display); font-weight: 800; margin-bottom: 0.75rem; }
.contacto-direccion address { font-style: normal; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.7; margin-bottom: 0.75rem; }
.horario-nota { font-size: 0.85rem; color: var(--ink-mute); }

/* Formulario */
.contacto-form-wrap {
  background: var(--blanco);
  border: 1.5px solid var(--linea);
  border-radius: 20px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}
.contacto-form-wrap h2 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.contacto-form-wrap > p { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 1.5rem; }

.contacto-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--linea);
  border-radius: 10px;
  font-family: var(--body);
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--papel);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sv-verde);
  box-shadow: 0 0 0 3px rgba(0,108,100,0.1);
}
.form-group input.field-error,
.form-group textarea.field-error { border-color: #e63946; }
.form-group textarea { resize: vertical; }
.btn-block { width: 100%; justify-content: center; }
.form-disclaimer { font-size: 0.8rem; color: var(--ink-mute); text-align: center; margin-top: 0.5rem; }
.form-disclaimer a { color: var(--sv-verde); }

.form-success {
  text-align: center;
  padding: 2rem;
}
.form-success svg { width: 64px; height: 64px; margin: 0 auto 1rem; }
.form-success h3 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 0.75rem; }
.form-success p { color: var(--ink-soft); }
.form-success a { color: var(--sv-verde); font-weight: 600; }

/* Mapa */
.mapa-embed { margin-bottom: 2rem; box-shadow: 0 4px 24px rgba(0,0,0,0.08); border-radius: 12px; overflow: hidden; }
.mapa-directions { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .mapa-directions { grid-template-columns: repeat(3, 1fr); } }
.direction-item { display: flex; gap: 1rem; align-items: start; }
.direction-item svg { width: 24px; height: 24px; color: var(--sv-verde); flex-shrink: 0; margin-top: 0.15rem; }
.direction-item strong { display: block; font-weight: 700; margin-bottom: 0.35rem; font-size: 0.9rem; }
.direction-item p, .direction-item a { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.6; }
.direction-item a { color: var(--sv-verde); font-weight: 600; }

/* ============================================================
   SECTION VERDE (dark bg) helper
   ============================================================ */
.section-verde {
  background: var(--sv-verde);
}
.section-verde h2 { color: #fff; }
.section-verde p { color: rgba(255,255,255,0.85); }

/* ============================================================
   FOOTER — complementary styles
   ============================================================ */
.footer-inner {
  display: grid;
  gap: 2rem;
  padding: clamp(3rem, 6vw, 4rem) 0 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; } }
@media (min-width: 960px) { .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

.footer-brand img { width: 72px; height: 72px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.7); line-height: 1.6; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.footer-social a:hover { background: var(--sv-lima); color: var(--ink); }
.footer-social a svg { width: 16px; height: 16px; }

.footer-nav h4 {
  font-family: var(--display);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--sv-lima);
  margin-bottom: 1rem;
}
.footer-nav ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-nav a, .footer-nav span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
}
.footer-bottom a { color: rgba(255,255,255,0.65); }

/* ============================================================
   REVEAL ANIMATION — ensure elements are visible
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out); }
.reveal.revealed { opacity: 1; transform: none; }
/* Safety net: if data-split is used, don't hide */
.reveal[data-split] { opacity: 1; transform: none; }

/* Stagger children */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   SECTION CTA helper
   ============================================================ */
.section-cta { background: var(--sv-beige); }
.section-cta h2 { color: var(--sv-verde); }

.cta-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  border: 2px solid var(--sv-verde);
  color: var(--sv-verde);
  border-radius: 50px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--sv-verde); color: #fff; }

