/* ============================================
   G&D SOLUCIONES SAS — Unidad Móvil Veterinaria
   ============================================ */

:root {
  --azul: #0042AA;
  --azul-oscuro: #002d78;
  --azul-claro: #EAF0FB;
  --naranja: #FF9300;
  --naranja-oscuro: #d97a00;
  --texto: #1A1A1A;
  --texto-suave: #55606e;
  --blanco: #ffffff;
  --gris-claro: #F5F7FA;
  --borde: #E3E8F0;
  --oro: #D4AF37;
  --plata: #A7A7AD;
  --bronce: #B08D57;

  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 45, 120, 0.10);
  --shadow-lg: 0 20px 50px rgba(0, 45, 120, 0.18);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--texto);
  background: var(--blanco);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

section { position: relative; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--naranja);
  background: rgba(255, 147, 0, 0.1);
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--texto);
}

.section-intro {
  font-size: 1.05rem;
  color: var(--texto-suave);
  max-width: 640px;
  line-height: 1.6;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 44px;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease;
  white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn-primary {
  background: var(--naranja);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 147, 0, 0.35);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 16px 32px rgba(255, 147, 0, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--blanco);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-3px); }

.btn-outline-dark {
  background: transparent;
  color: var(--azul);
  border: 2px solid var(--azul);
}
.btn-outline-dark:hover { background: var(--azul); color: #fff; transform: translateY(-3px); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.header .container { display: flex; align-items: center; justify-content: space-between; }

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blanco);
  transition: color 0.35s ease;
}
.header.scrolled .logo { color: var(--azul); }

.logo-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--naranja), var(--azul));
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--blanco);
  position: relative;
  transition: color 0.3s ease;
}
.header.scrolled .nav-links a { color: var(--texto); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--naranja);
  transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--naranja);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(255, 147, 0, 0.3);
}

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--blanco);
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.header.scrolled .nav-toggle { color: var(--azul); background: rgba(0,66,170,0.08); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 0 100px;
  background: linear-gradient(155deg, var(--azul-oscuro) 0%, var(--azul) 55%, #1362d6 100%);
  overflow: hidden;
  color: #fff;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.08) 0, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(255,147,0,0.18) 0, transparent 45%);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
}
.hero-shape.s1 { width: 220px; height: 220px; top: 10%; right: 8%; background: radial-gradient(circle, rgba(255,147,0,0.35), transparent 70%); animation: float 7s ease-in-out infinite; }
.hero-shape.s2 { width: 140px; height: 140px; bottom: 12%; left: 6%; background: radial-gradient(circle, rgba(255,255,255,0.2), transparent 70%); animation: float 9s ease-in-out infinite reverse; }

@keyframes float {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-26px) translateX(14px); }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 18px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.hero-tag .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--naranja);
  box-shadow: 0 0 0 0 rgba(255,147,0,0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255,147,0,0.6); }
  70% { box-shadow: 0 0 0 10px rgba(255,147,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,147,0,0); }
}

.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 22px;
}
.hero h1 span { color: var(--naranja); }

.hero p {
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 0 34px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual .img-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  border: 6px solid rgba(255,255,255,0.15);
}
.hero-visual .img-card img { height: 440px; object-fit: cover; width: 100%; }

.hero-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: #fff;
  color: var(--texto);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatSlow 5s ease-in-out infinite;
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-badge .num { font-size: 1.6rem; font-weight: 800; color: var(--azul); }
.hero-badge .lbl { font-size: 0.78rem; color: var(--texto-suave); font-weight: 600; }

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-cue .line { width: 1px; height: 34px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--naranja);
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown { to { top: 100%; } }

/* ---------- Reveal animations (scroll driven) ---------- */
.reveal {
  opacity: 0;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: transform, opacity;
}
.reveal.from-left { transform: translateX(-70px); }
.reveal.from-right { transform: translateX(70px); }
.reveal.from-up { transform: translateY(50px); }
.reveal.from-down { transform: translateY(-40px); }
.reveal.zoom-in { transform: scale(0.85); }
.reveal.in-view { opacity: 1; transform: translate(0, 0) scale(1); }

.reveal-stagger.in-view .stagger-item { opacity: 1; transform: translate(0,0) scale(1); }
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.stagger-item:nth-child(1) { transition-delay: 0.05s; }
.stagger-item:nth-child(2) { transition-delay: 0.15s; }
.stagger-item:nth-child(3) { transition-delay: 0.25s; }
.stagger-item:nth-child(4) { transition-delay: 0.35s; }
.stagger-item:nth-child(5) { transition-delay: 0.45s; }
.stagger-item:nth-child(6) { transition-delay: 0.55s; }
.stagger-item:nth-child(7) { transition-delay: 0.65s; }
.stagger-item:nth-child(8) { transition-delay: 0.75s; }
.stagger-item:nth-child(9) { transition-delay: 0.85s; }
.stagger-item:nth-child(10) { transition-delay: 0.95s; }

/* ---------- Ruta del mes ---------- */
.ruta {
  background: var(--gris-claro);
  padding: 70px 0;
}
.ruta-panel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px;
  border: 1px solid var(--borde);
}
.ruta-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}
.ruta-panel-head h2 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.ruta-live {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 700; color: var(--azul);
  background: var(--azul-claro); padding: 6px 14px; border-radius: 30px;
}
.ruta-live .dot { width: 7px; height: 7px; border-radius: 50%; background: #1cc35a; animation: pulse 1.8s infinite; }

.ruta-list { display: flex; flex-direction: column; gap: 12px; }
.ruta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--gris-claro);
  border: 1px solid var(--borde);
  flex-wrap: wrap;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ruta-row:hover { transform: translateX(4px); box-shadow: var(--shadow); }
.ruta-pin {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--azul); color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.ruta-info { flex: 1; min-width: 160px; }
.ruta-info .lugar { font-weight: 700; font-size: 1.02rem; }
.ruta-info .fechas { font-size: 0.88rem; color: var(--texto-suave); }
.ruta-estado {
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}
.ruta-estado.disponible { background: #E4F9EE; color: #17954f; }
.ruta-estado.agotada { background: #FDEAEA; color: #d13438; }
.ruta-estado.proximamente { background: #FFF3E0; color: #c9740a; }

.ruta-cta {
  margin-top: 24px;
  text-align: center;
  font-weight: 600;
  color: var(--texto-suave);
}
.ruta-cta a { color: var(--azul); font-weight: 700; }

/* ---------- Servicios ---------- */
.servicios { padding: 100px 0; }

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.servicio-card {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}
.servicio-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--azul), var(--naranja));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.servicio-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.servicio-card:hover::before { opacity: 1; }
.servicio-card:hover .servicio-icon,
.servicio-card:hover h3,
.servicio-card:hover p { color: #fff; position: relative; z-index: 1; }
.servicio-card > * { position: relative; z-index: 1; }

.servicio-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--azul-claro);
  color: var(--azul);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: background 0.4s ease, color 0.4s ease;
}
.servicio-card h3 { font-size: 1.12rem; font-weight: 700; margin: 0 0 8px; transition: color 0.4s ease; }
.servicio-card p { font-size: 0.92rem; color: var(--texto-suave); line-height: 1.55; margin: 0; transition: color 0.4s ease; }

.servicios-cta { text-align: center; margin-top: 44px; }

/* ---------- Nuestra causa ---------- */
.causa {
  padding: 100px 0;
  background: var(--azul-claro);
  overflow: hidden;
}
.causa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.causa-media { position: relative; }
.causa-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 420px; object-fit: cover; }
.causa-media .float-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.causa-media .fc1 { top: -20px; right: -24px; animation: floatSlow 6s ease-in-out infinite; }
.causa-media .fc2 { bottom: -24px; left: -24px; animation: floatSlow 5.5s ease-in-out infinite reverse; }
.fc-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--naranja); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.fc-num { font-weight: 800; font-size: 1.2rem; color: var(--azul); line-height: 1; }
.fc-lbl { font-size: 0.75rem; color: var(--texto-suave); font-weight: 600; }

.causa-text p { font-size: 1.05rem; line-height: 1.75; color: var(--texto); margin: 0 0 18px; }

.leer-mas-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s var(--ease), opacity 0.5s ease;
  opacity: 0;
}
.leer-mas-panel.open { max-height: 1400px; opacity: 1; }

.leer-mas-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--azul);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease, gap 0.3s ease;
}
.leer-mas-btn:hover { border-color: var(--azul); }
.leer-mas-btn svg { transition: transform 0.35s var(--ease); }
.leer-mas-btn.open svg { transform: rotate(180deg); }

.cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.cifra {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cifra .n { font-size: 1.5rem; font-weight: 800; color: var(--azul); display: block; }
.cifra .l { font-size: 0.78rem; color: var(--texto-suave); font-weight: 600; margin-top: 4px; }

/* ---------- Galería ---------- */
.galeria { padding: 100px 0; background: #fff; }

.galeria-video {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
  aspect-ratio: 16/7;
  background: linear-gradient(135deg, var(--azul-oscuro), var(--azul));
}
.galeria-video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.galeria-video .play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: #fff;
}
.play-circle {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  backdrop-filter: blur(4px);
  transition: transform 0.35s var(--ease), background 0.35s ease;
}
.galeria-video:hover .play-circle { transform: scale(1.1); background: rgba(255,147,0,0.85); }
.galeria-video .cap { font-weight: 600; font-size: 0.95rem; }
.galeria-video .badge-pending {
  position: absolute; top: 16px; right: 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 0.72rem; font-weight: 700;
  padding: 6px 12px; border-radius: 30px;
}

.galeria-track-wrap { overflow: hidden; border-radius: var(--radius); }
.galeria-track {
  display: flex;
  gap: 18px;
  animation: slideGallery 30s linear infinite;
  width: max-content;
}
.galeria-track:hover { animation-play-state: paused; }
.galeria-track img {
  width: 260px; height: 190px; object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease;
}
.galeria-track img:hover { transform: scale(1.04); }
@keyframes slideGallery {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Empresas aliadas (vitrina) ---------- */
.aliados { padding: 100px 0; background: var(--gris-claro); }

.tier-block { margin-bottom: 36px; }
.tier-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.tier-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 0.95rem;
  padding: 8px 18px; border-radius: 30px;
  color: #fff;
}
.tier-badge.oro { background: linear-gradient(135deg, #D4AF37, #f1cf6a); }
.tier-badge.plata { background: linear-gradient(135deg, #9aa0a6, #c8ccd1); color: #222; }
.tier-badge.bronce { background: linear-gradient(135deg, #B08D57, #d1ad7c); }
.tier-note { font-size: 0.85rem; color: var(--texto-suave); }

.logos-row { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.logo-slot {
  background: #fff;
  border: 1px solid var(--borde);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--texto-suave);
  font-weight: 700;
  font-size: 0.85rem;
  text-align: center;
  padding: 10px 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-slot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.logo-slot.oro { width: 220px; height: 110px; font-size: 1rem; border: 2px dashed #D4AF37; color: #a8811f; background: #FFFBEE; }
.logo-slot.plata { width: 170px; height: 90px; border: 2px dashed #A7A7AD; color: #6a6a70; background: #FAFAFA; }
.logo-slot.bronce { width: 130px; height: 72px; font-size: 0.78rem; border: 2px dashed #B08D57; color: #8a6a3f; background: #FFF8F0; }

.empty-oro {
  width: 100%;
  border: 2px dashed var(--oro);
  border-radius: var(--radius);
  background: #FFFBEE;
  padding: 30px;
  text-align: center;
  color: #a8811f;
  font-weight: 700;
  font-size: 1.05rem;
}
.empty-oro span { display: block; font-size: 0.85rem; font-weight: 500; color: #b58a2a; margin-top: 6px; }

.contador-bronce {
  width: 130px; height: 72px;
  border-radius: var(--radius-sm);
  background: var(--azul);
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 800;
}
.contador-bronce small { font-weight: 600; font-size: 0.68rem; }

.aliados-cta { text-align: center; margin-top: 40px; }

/* ---------- Footer / Contacto ---------- */
.footer {
  background: linear-gradient(160deg, var(--azul-oscuro), #001d4e);
  color: #fff;
  padding: 70px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { color: rgba(255,255,255,0.7); line-height: 1.6; max-width: 320px; font-size: 0.94rem; }
.footer h4 { font-size: 1rem; margin: 0 0 18px; font-weight: 700; }
.footer-list { display: flex; flex-direction: column; gap: 12px; }
.footer-list a, .footer-list span {
  color: rgba(255,255,255,0.75);
  font-size: 0.93rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-list a:hover { color: var(--naranja); transform: translateX(4px); }
.footer-icon {
  width: 34px; height: 34px; border-radius: 9px;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.social-row { display: flex; gap: 12px; margin-top: 6px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease, transform 0.3s ease;
}
.social-row a:hover { background: var(--naranja); transform: translateY(-4px); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.5);
  animation: pulseWa 2.4s infinite;
}
@keyframes pulseWa {
  0% { box-shadow: 0 10px 26px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 10px 26px rgba(37,211,102,0.5), 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 10px 26px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Página Empresas ---------- */
.page-hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: linear-gradient(155deg, var(--azul-oscuro), var(--azul) 65%, #1362d6);
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero .container { max-width: 820px; position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); font-weight: 800; margin: 0 0 20px; line-height: 1.2; }
.page-hero p { font-size: 1.08rem; color: rgba(255,255,255,0.85); line-height: 1.7; margin: 0 auto 34px; max-width: 620px; }

.planes { padding: 100px 0; background: #fff; }
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 20px;
  align-items: stretch;
}
.plan-card {
  border-radius: var(--radius);
  border: 1px solid var(--borde);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  position: relative;
}
.plan-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.plan-card.featured { border: 2px solid var(--naranja); transform: scale(1.03); }
.plan-card.featured:hover { transform: scale(1.03) translateY(-10px); }
.plan-ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--naranja); color: #fff; font-size: 0.75rem; font-weight: 800;
  padding: 6px 16px; border-radius: 30px; white-space: nowrap;
}
.plan-tier {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 30px; display: inline-block; margin-bottom: 14px; width: fit-content;
}
.plan-tier.bronce { background: #FFF3E7; color: #8a5a24; }
.plan-tier.plata { background: #F1F2F4; color: #55585c; }
.plan-tier.oro { background: #FFF6DC; color: #8a6d15; }
.plan-name { font-size: 1.3rem; font-weight: 800; margin: 0 0 6px; }
.plan-price { font-size: 1.9rem; font-weight: 800; color: var(--azul); margin: 0 0 20px; }
.plan-price span { font-size: 0.9rem; color: var(--texto-suave); font-weight: 600; }
.plan-benefits { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; flex: 1; }
.plan-benefits li { display: flex; gap: 10px; font-size: 0.92rem; align-items: flex-start; }
.plan-benefits li svg { flex-shrink: 0; margin-top: 3px; color: var(--naranja); }
.plan-more {
  border-top: 1px dashed var(--borde);
  margin-top: 6px; padding-top: 14px;
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease), opacity 0.4s ease, margin 0.4s ease;
  opacity: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.plan-more.open { max-height: 500px; opacity: 1; }
.plan-toggle {
  font-weight: 700; font-size: 0.88rem; color: var(--azul);
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px;
}
.plan-toggle svg { transition: transform 0.35s var(--ease); }
.plan-toggle.open svg { transform: rotate(180deg); }

/* ---------- Por qué patrocinar ---------- */
.porque { padding: 100px 0; background: var(--azul-claro); }
.porque-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 10px; }
.porque-card {
  background: #fff; border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.porque-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.porque-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--azul), var(--naranja));
  color: #fff; display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; font-size: 1.3rem;
}
.porque-card h3 { font-size: 1.05rem; font-weight: 700; margin: 0 0 8px; }
.porque-card p { font-size: 0.9rem; color: var(--texto-suave); line-height: 1.55; margin: 0; }
.porque-note {
  margin-top: 34px; text-align: center; font-size: 0.88rem; color: var(--texto-suave);
  background: #fff; border-radius: var(--radius-sm); padding: 16px 22px; max-width: 700px; margin-left: auto; margin-right: auto;
}

/* ---------- Cómo patrocinar ---------- */
.como-patrocinar {
  padding: 90px 0;
  text-align: center;
  background: linear-gradient(155deg, var(--azul-oscuro), var(--azul));
  color: #fff;
}
.como-patrocinar h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 800; margin: 0 0 16px; }
.como-patrocinar p { max-width: 560px; margin: 0 auto 30px; color: rgba(255,255,255,0.85); line-height: 1.7; }
.como-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.tel-cta { font-weight: 800; font-size: 1.1rem; }

/* ---------- Utilidades responsive ---------- */
@media (max-width: 980px) {
  .servicios-grid { grid-template-columns: repeat(2, 1fr); }
  .planes-grid { grid-template-columns: 1fr; max-width: 440px; margin-left: auto; margin-right: auto; }
  .plan-card.featured { transform: scale(1); }
  .plan-card.featured:hover { transform: translateY(-10px); }
  .porque-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .causa-grid { grid-template-columns: 1fr; }
  .causa-media { margin-bottom: 40px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 20px; order: -1; }
  .hero-visual .img-card img { height: 300px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .servicios-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .porque-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cifras { grid-template-columns: 1fr; }
  .ruta-panel { padding: 22px; }
}

@media (max-width: 560px) {
  .servicios-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .hero { padding: 120px 0 80px; }
  .planes { padding: 70px 0; }
  .servicios, .causa, .galeria, .aliados, .porque { padding: 70px 0; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, var(--azul-oscuro), var(--azul));
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { color: #fff; font-size: 1.25rem; font-weight: 700; }
.mobile-nav .nav-cta { margin-top: 10px; }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
