/* ============================================================
   PAGO ÁGIL — Estilos principales
   Archivo: styles.css
   ============================================================ */

:root {
  --navy: #0D1B3E;
  --navy-mid: #152652;
  --blue: #1A47A8;
  --blue-light: #2563EB;
  --gold: #F5A623;
  --gold-light: #FFCA55;
  --white: #FFFFFF;
  --gray-soft: #F4F6FB;
  --gray-text: #6B7A99;
  --radius: 16px;
  --radius-sm: 8px;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo-text {
  font-family: 'Sora', sans-serif;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 27, 62, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: 14px !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--navy);
  z-index: 99;
  flex-direction: column;
  padding: 24px 5% 32px;
  gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  animation: slideDown 0.25s ease;
}

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

.mobile-menu a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold); }

.mobile-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  text-align: center;
  padding: 14px !important;
  border-radius: 50px;
  font-weight: 700 !important;
  margin-top: 8px;
  border-bottom: none !important;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #1A2E6B 50%, #0D1B3E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 5% 60px;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.07);
}

.hero-circle-1 {
  width: 600px; height: 600px;
  top: -200px; right: -200px;
  animation: pulse 6s ease-in-out infinite;
}

.hero-circle-2 {
  width: 400px; height: 400px;
  bottom: -150px; left: -100px;
  background: rgba(37, 99, 235, 0.1);
  animation: pulse 8s ease-in-out infinite reverse;
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
  max-width: 680px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  color: var(--gold);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease both;
}

.hero-badge span { font-size: 16px; }

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease 0.1s both;
}

h1 em { font-style: normal; color: var(--gold); }

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeUp 0.7s ease 0.2s both;
}

.hero-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 15px 32px;
  border-radius: 50px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s;
  box-shadow: 0 8px 30px rgba(245,166,35,0.3);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245,166,35,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 15px 32px;
  border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,0.3);
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s;
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 56px;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.45s both;
}

.stat { text-align: center; }

.stat-num {
  font-family: 'Sora', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  align-self: stretch;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── CITIES STRIP ─── */
.cities-strip {
  background: var(--gold);
  padding: 14px 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
}

.cities-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  animation: marquee 14s linear infinite;
  white-space: nowrap;
}

.city-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--navy);
  padding: 0 16px;
}

.city-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.4;
}

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

/* ─── SECCIONES BASE ─── */
section { padding: 80px 5%; }

.section-label {
  display: inline-block;
  font-family: 'Sora', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

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

.section-sub {
  font-size: 16px;
  color: var(--gray-text);
  line-height: 1.7;
  max-width: 540px;
}

/* ─── SERVICIOS ─── */
#servicios {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

#servicios::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(245,166,35,0.03) 0%, transparent 50%);
  pointer-events: none;
}

#servicios .section-label { color: #3B82F6; }

.services-header {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 2;
}

.services-header .section-title { color: var(--navy); }
.services-header .section-title em { color: #3B82F6; }
.services-header .section-sub { color: var(--gray-text); margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--white);
  border: 1.5px solid #E8EDF8;
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.service-card.visible { opacity: 1; transform: translateY(0); }

.service-card:hover {
  border-color: #3B82F6;
  background: rgba(59,130,246,0.07);
  box-shadow: 0 16px 48px rgba(37,99,235,0.15);
  transform: translateY(-4px) !important;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #3B82F6, var(--gold));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px; height: 52px;
  background: var(--gray-soft);
  border: 1px solid #E8EDF8;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  transition: background 0.3s, border-color 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(59,130,246,0.2);
  border-color: rgba(59,130,246,0.4);
}

.service-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--gray-text); line-height: 1.65; }

/* ─── CÓMO FUNCIONA ─── */
.how-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.how-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

.how-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.how-section .section-label { color: var(--gold); }
.how-section .section-title { color: var(--white); }
.how-section .section-title em { color: var(--gold); }

.steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  left: 27px; top: 28px; bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold) 0%, var(--blue-light) 100%);
  opacity: 0.3;
}

.step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 24px 0;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step.visible { opacity: 1; transform: translateX(0); }

.step-num {
  width: 56px; height: 56px;
  min-width: 56px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  position: relative;
  z-index: 2;
}

.step-body h4 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 8px; padding-top: 14px; }
.step-body p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.65; }

/* ─── STATS COUNTER ─── */
.stats-section {
  background: linear-gradient(135deg, #3B82F6 0%, #1A47A8 100%);
  padding: 60px 5%;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}

.stats-row {
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.stat-block {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 20px 24px;
  position: relative;
}

.stat-block:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.stat-block-num {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-block-num span { color: var(--gold-light); }

.stat-block-label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ─── ALIADOS ─── */
.aliados-section {
  background: var(--gray-soft);
  padding: 64px 5%;
}

.aliados-section .section-label { display: block; text-align: center; }
.aliados-section .section-title { text-align: center; margin-bottom: 8px; }

.aliados-sub {
  text-align: center;
  color: var(--gray-text);
  font-size: 15px;
  margin-bottom: 48px;
}

.aliados-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.aliado-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1.5px solid #E8EDF8;
  border-radius: 50px;
  padding: 12px 22px;
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.25s, border-color 0.25s;
}

.aliado-chip.visible { opacity: 1; transform: translateY(0); }

.aliado-chip:hover {
  border-color: #3B82F6;
  box-shadow: 0 6px 20px rgba(37,99,235,0.12);
  transform: translateY(-2px) !important;
}

.aliado-icon { font-size: 20px; }

/* ESTILOS PARA LOS LOGOS DE LOS BANCOS */
.aliado-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 4px;
}

/* ─── CIUDADES ─── */
.cities-section { background: var(--gray-soft); }
.cities-section .section-title { text-align: center; }
.cities-section .section-label { display: block; text-align: center; }

.cities-cards {
  display: grid;
  /* Ajuste: Permite que entren las 4 tarjetas cómodamente */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 40px auto 0;
}

.city-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1.5px solid #E8EDF8;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s;
}

.city-card.visible { opacity: 1; transform: translateY(0); }

.city-card:hover {
  box-shadow: 0 12px 40px rgba(13,27,62,0.1);
  transform: translateY(-4px) !important;
}

.city-emoji { font-size: 40px; margin-bottom: 14px; display: block; }
.city-card h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.city-card p { font-size: 13px; color: var(--gray-text); line-height: 1.6; }

.city-card .city-badge {
  display: inline-block;
  margin-top: 14px;
  background: rgba(37,99,235,0.08);
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
}

/* ─── CORRESPONSALÍA ─── */
.corresponsal-section {
  background: linear-gradient(135deg, var(--navy) 0%, #1A2E6B 100%);
  position: relative;
  overflow: hidden;
}

.corresponsal-section::after {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(245,166,35,0.05);
  pointer-events: none;
}

.corresponsal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.corresponsal-section .section-label { color: var(--gold); }
.corresponsal-section .section-title { color: var(--white); }
.corresponsal-section .section-sub { color: rgba(255,255,255,0.6); }

.corresponsal-features { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.8);
  font-size: 15px;
}

.feature-check {
  width: 26px; height: 26px;
  min-width: 26px;
  background: rgba(245,166,35,0.15);
  border: 1px solid rgba(245,166,35,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 12px;
}

.corresponsal-card {
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(10px);
}

.corresponsal-card h4 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.corresponsal-card p { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }

.benefit-list { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.benefit-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.75); }
.benefit-list li::before { content: '→'; color: var(--gold); font-weight: 700; }

/* ─── CONTACTO ─── */
.contact-section { background: var(--white); }

.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 16px; line-height: 1.2; }
.contact-info h2 em { font-style: normal; color: var(--blue-light); }
.contact-info p { color: var(--gray-text); line-height: 1.7; margin-bottom: 28px; font-size: 15px; }

.contact-links { display: flex; flex-direction: column; gap: 14px; }

.contact-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-link:hover { color: var(--blue-light); }

.contact-icon {
  width: 44px; height: 44px;
  background: var(--gray-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s;
}

.contact-link:hover .contact-icon { background: rgba(37,99,235,0.08); }

.contact-form {
  background: var(--gray-soft);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-form h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; color: var(--navy); }

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  opacity: 0.7;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #DDE3F0;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--navy);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue-light); }

.form-group textarea { height: 90px; resize: none; }

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 14px;
  border-radius: 50px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 4px;
}

.form-submit:hover { background: var(--blue-light); transform: translateY(-1px); }

/* ─── FOOTER ─── */
footer { background: #080F22; padding: 48px 5% 28px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
}

.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; }

.footer-col h5 {
  font-family: 'Sora', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-col a { display: block; color: rgba(255,255,255,0.4); text-decoration: none; font-size: 13px; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }

.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-bottom span { color: var(--gold); }

/* ─── WHATSAPP FLOTANTE ─── */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 200;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all 0.3s;
  animation: bounceIn 0.6s 1s ease both;
}

.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.5); }
.whatsapp-float svg { width: 30px; height: 30px; fill: white; }

@keyframes bounceIn {
  0%   { opacity: 0; transform: scale(0.5); }
  70%  { transform: scale(1.1); }
  100% { opacity: 1; transform: scale(1); }
}

/* ─── PUNTOS DE ATENCIÓN (CARRUSEL) ─── */
.puntos-section {
  background: var(--white);
  padding: 80px 0; /* Quitamos el padding lateral para que el carrusel toque los bordes */
}

.puntos-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 5%;
}

.puntos-header .section-sub {
  margin: 0 auto;
}

.carousel-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 5% 40px 5%;
  /* Esto hace la magia del efecto "imán" en celulares */
  scroll-snap-type: x mandatory; 
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Oculta la barra en Firefox */
}

/* Oculta la barra de scroll en Chrome/Safari */
.carousel-container::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 320px; /* Ancho fijo de la tarjeta */
  background: var(--white);
  border: 1.5px solid #E8EDF8;
  border-radius: var(--radius);
  overflow: hidden;
  scroll-snap-align: center; /* Punto de imán al centro */
  transition: transform 0.3s, box-shadow 0.3s;
}

.carousel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(13,27,62,0.1);
}

.punto-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--navy-mid);
}

.punto-info {
  padding: 24px;
  text-align: left;
}

.punto-info .city-badge {
  display: inline-block;
  margin-bottom: 12px;
  background: rgba(37,99,235,0.08);
  color: var(--blue-light);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
}

.punto-info h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}

.punto-info p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 8px;
}

/* Ajuste específico para que en celulares la tarjeta ocupe casi toda la pantalla */
@media (max-width: 480px) {
  .carousel-card {
    flex: 0 0 85vw;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 60px 5%; }
  .hero-stats { gap: 24px; }
  .stat-divider { display: none; }
  .corresponsal-inner,
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
}

@media (max-width: 600px) {
  .stat-block:not(:last-child)::after { display: none; }
  .aliado-chip { font-size: 13px; padding: 10px 16px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.85rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; text-align: center; }
}
