/* ================================
   CAROLTEMP — Home CSS v6
================================ */

/* ================================
   HERO
================================ */
.hero {
  background: #fff;
  padding: 16px 16px 0;
}
.hero-card {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  min-height: 520px;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,15,30,.50);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 4rem 1.5rem;
  max-width: 820px;
  width: 100%;
}
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.hero h1 .hl { color: #fff; }
.hero-sub {
  color: #fff;
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  max-width: 580px;
}
.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
  max-width: 420px;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1976D2;
  color: #fff;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  min-height: 46px;
  box-shadow: 0 4px 16px rgba(25,118,210,.45);
  transition: opacity .15s;
}
.hero-btn-primary:hover { opacity:.9; }
.hero-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  min-height: 46px;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: opacity .15s;
}
.hero-btn-wa:hover { opacity:.9; }
.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.15);
  width: 100%;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 100px;
  padding: 7px 16px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.hero-trust-icon {
  width: 14px;
  height: 14px;
  color: #69F0AE;
  flex-shrink: 0;
}

/* ================================
   SECCIONES BASE
================================ */
.home-sec {
  padding: 5rem 0;
  background: var(--color-bg);
}
.home-sec-gray { background: var(--color-bg-soft); }
.home-sec-dark {
  background: #EEF4FB;
  position: relative;
  overflow: hidden;
}
.home-con {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.home-lbl {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-lbl::before {
  content: '';
  width: 18px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
}
.home-lbl-light {
  color: var(--color-accent);
  position: relative;
  z-index: 1;
}
.home-lbl-light::before { background: var(--color-accent); }
.home-sec h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.75rem);
  font-weight: 800;
  color: var(--color-text);
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 0.85rem;
  position: relative;
  z-index: 1;
}
.home-sec h2 .hl { color: var(--color-accent); }
.home-sec-dark h2 { color: var(--color-primary); }
.home-sub {
  color: var(--color-text-muted);
  font-size: 15.5px;
  line-height: 1.75;
  max-width: 560px;
  position: relative;
  z-index: 1;
}
.sec-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.sec-link {
  color: var(--color-accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
  white-space: nowrap;
  align-self: flex-end;
  padding-bottom: .25rem;
}
.sec-link:hover { opacity: 0.75; }

/* ================================
   SERVICIOS GRID
================================ */
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.svc-card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-decoration: none;
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.22s var(--ease);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
  border-radius: 3px 3px 0 0;
}
.svc-card:hover {
  border-color: rgba(25,118,210,.3);
  box-shadow: 0 8px 32px rgba(11,36,71,.10);
  transform: translateY(-3px);
}
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon-wrap {
  width: 48px;
  height: 48px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s;
}
.svc-card:hover .svc-icon-wrap { background: var(--color-accent); }
.svc-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  transition: color 0.18s;
}
.svc-card:hover .svc-icon { color: #fff; }
.svc-card h3 {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.svc-card p {
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}
.svc-more {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-top: 0.25rem;
}

/* ================================
   BANNER FINANCIACIÓN
================================ */
.home-fin-banner {
  background: #0d1f33;
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 1.75rem 0;
}
.home-fin-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.home-fin-text {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.home-fin-tag {
  font-size: 11px;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.home-fin-text strong {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.home-fin-text span {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.55;
}
.home-fin-cta {
  background: #3b82f6;
  color: #fff;
  padding: .85rem 1.75rem;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .15s, transform .15s;
}
.home-fin-cta:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* ================================
   CÓMO TRABAJAMOS — 3 pasos
================================ */
.pasos-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}
.paso-sep { display: none; }
.paso-card {
  background: #fff;
  border: 1.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: 0 2px 12px rgba(11,36,71,.06);
}
.paso-num {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(25,118,210,.4);
}
.paso-content h3 {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.paso-content p {
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.65;
}
.pasos-cta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

/* ================================
   POR QUÉ ELEGIRNOS
================================ */
.porque-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.porque-card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
  will-change: transform;
}
.porque-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11,36,71,.09);
  border-color: rgba(25,118,210,.2);
}
.porque-icon-wrap {
  width: 52px;
  height: 52px;
  background: var(--color-accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}
.porque-icon {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}
.porque-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-primary);
  letter-spacing: -0.04em;
  line-height: 1;
}
.porque-card h3 {
  color: var(--color-primary);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.porque-card p {
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.65;
}

/* ================================
   TESTIMONIOS
================================ */
.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.testimonio-card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
  will-change: transform;
}
.testimonio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(11,36,71,.09);
}
.testimonio-estrellas {
  display: flex;
  gap: 3px;
}
.testimonio-estrellas svg {
  width: 16px;
  height: 16px;
}
.testimonio-texto {
  color: var(--color-text-body);
  font-size: 14.5px;
  line-height: 1.75;
  flex: 1;
  font-style: italic;
  quotes: none;
}
.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--color-border-soft);
}
.testimonio-avatar {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}
.testimonio-autor strong {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 700;
  display: block;
  letter-spacing: -0.01em;
}
.testimonio-autor span {
  color: var(--color-text-muted);
  font-size: 12px;
}

/* ================================
   CTA FINAL
================================ */
.cta-final {
  background: linear-gradient(135deg, #0B2447 0%, #1565C0 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 350px;
  background: radial-gradient(ellipse, rgba(255,255,255,.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-final-con {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.cta-final-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(25,118,210,.15);
  border: 1px solid rgba(25,118,210,.3);
  color: #90CAF9;
  font-size: 10px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.cta-final-dot {
  width: 5px;
  height: 5px;
  background: #64B5F6;
  border-radius: 50%;
  animation: hero-pulse 2.5s ease-in-out infinite;
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  max-width: 700px;
}
.cta-final h2 .hl { color: #64B5F6; }
.cta-final p {
  color: #fff;
  font-size: 15px;
  max-width: 480px;
  line-height: 1.7;
}
.cta-final-btns {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  max-width: 400px;
}

/* ================================
   CONTENT CARDS (proyectos / blog)
================================ */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
.content-card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s;
  will-change: transform;
}
.content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(11,36,71,.10);
  border-color: rgba(25,118,210,.25);
}
.content-card-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
  flex-shrink: 0;
}
.content-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.content-card:hover .content-card-img img { transform: scale(1.04); }
.content-card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}
.content-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.content-card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}
.content-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.content-tag-blue   { background: #EFF6FF; color: #1D4ED8; }
.content-tag-purple { background: #F5F3FF; color: #6D28D9; }
.content-tag-gray   { background: var(--color-bg-soft); color: var(--color-text-muted); }
.content-card-body h3 {
  color: var(--color-primary);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.content-card-body p {
  color: var(--color-gray);
  font-size: 13.5px;
  line-height: 1.65;
  flex: 1;
}
.content-card-cta {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-top: 0.25rem;
  letter-spacing: -0.01em;
}

/* ================================
   BOTONES OSCUROS
================================ */
.btn-dark-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-accent);
  color: #fff;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.02em;
  min-height: 52px;
  box-shadow: 0 4px 16px rgba(25,118,210,.35);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
  will-change: transform;
}
.btn-dark-main:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(25,118,210,.45);
}
.btn-dark-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: var(--color-primary);
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--color-border);
  min-height: 52px;
  transition: border-color 0.18s, color 0.18s;
}
.btn-dark-ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ================================
   RESPONSIVE — TABLET (600px+)
================================ */
@media (min-width: 600px) {
  .hero-btns { flex-direction: row; width: auto; }
  .hero-trust {
    flex-direction: row;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .pasos-cta { flex-direction: row; }
  .cta-final-btns { flex-direction: row; width: auto; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .porque-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ================================
   RESPONSIVE — DESKTOP (900px+)
================================ */
@media (min-width: 900px) {
  .hero { padding: 20px 24px 0; }
  .hero-card { min-height: 80vh; border-radius: 32px; }
  .hero-content { padding: 6rem 2rem; }
  .hero-btns { flex-direction: row; width: auto; }
  .hero-trust { flex-direction: row; gap: 0.75rem; flex-wrap: nowrap; justify-content: center; }

  .home-sec { padding: 7rem 0; }

  .svc-grid { grid-template-columns: repeat(3, 1fr); }
  .svc-card { padding: 2rem 1.75rem; }

  .pasos-grid {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
  .paso-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0 0.25rem;
  }
  .paso-card {
    flex: 1;
    flex-direction: column;
    padding: 2rem;
  }
  .pasos-cta { justify-content: center; }

  .porque-grid { grid-template-columns: repeat(4, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(3, 1fr); }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }

  .cta-final-btns { flex-direction: row; width: auto; }
}

/* ================================
   RESPONSIVE — LARGE (1200px+)
================================ */
@media (min-width: 1200px) {
  .hero { padding: 24px 32px 0; }
  .hero-card { min-height: 85vh; }
}

/* ================================
   ESTADÍSTICAS / NÚMEROS
================================ */
.home-stats {
  background: var(--color-primary);
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.home-stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  justify-content: center;
}
.home-stat {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: .35rem;
  padding: 1rem .75rem;
}
.home-stat-num {
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1;
}
.home-stat-label {
  font-size: 12.5px;
  color: #fff;
  line-height: 1.45;
}
.home-stat-sep { display: none; }

/* ================================
   URGENCIAS DESTACADA
================================ */
.home-urg {
  background: #071829;
  padding: 4.5rem 0;
}
.home-urg-inner {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.home-urg-badge {
  display: inline-block;
  background: rgba(239,68,68,.18);
  border: 1px solid rgba(239,68,68,.35);
  color: #fca5a5;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: .65rem;
}
.home-urg-left h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0 0 .9rem;
}
.home-urg-left h2 span { color: #60a5fa; }
.home-urg-left > p {
  color: #fff;
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}
.home-urg-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}
.home-urg-list li {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
}
.home-urg-right {
  display: flex;
  flex-direction: column;
  gap: .85rem;
  max-width: 380px;
  width: 100%;
}

/* ================================
   FAQ HOME
================================ */
.home-faqs {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  max-width: 760px;
  margin: 2.5rem auto 0;
}
.home-faq {
  background: #fff;
  border: 1.5px solid var(--color-border-soft);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s;
}
.home-faq[open] { border-color: var(--color-accent); }
.home-faq summary {
  padding: 1.1rem 1.4rem;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  line-height: 1.4;
}
.home-faq summary::-webkit-details-marker { display: none; }
.home-faq summary::after {
  content: '+';
  min-width: 24px;
  height: 24px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
  flex-shrink: 0;
  transition: all .15s;
}
.home-faq[open] summary::after {
  content: '×';
  background: var(--color-accent);
  color: #fff;
}
.home-faq-ans {
  padding: 1rem 1.4rem 1.2rem;
  font-size: 14px;
  color: #475569;
  line-height: 1.75;
  border-top: 1px solid #f1f5f9;
}
.home-faq-ans a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration: none;
}
.home-faq-ans a:hover { text-decoration: underline; }

/* ================================
   HUB GRID (cobertura por municipio)
================================ */
.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .65rem;
  margin-top: 2.5rem;
}
.hub-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-border-soft);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.hub-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 6px 20px rgba(25,118,210,.10);
  transform: translateX(3px);
}
.hub-pin {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
}
.hub-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hub-card-body strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: -.01em;
}
.hub-card-body span {
  font-size: 12.5px;
  color: var(--color-text-muted);
}
.hub-arrow {
  color: var(--color-accent);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform .2s;
}
.hub-card:hover .hub-arrow { transform: translateX(3px); }

/* ================================
   RESPONSIVE — MOBILE (max 600px)
================================ */
@media (max-width: 600px) {
  .home-fin-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .home-fin-cta {
    align-self: stretch;
    text-align: center;
  }
}

/* ================================
   RESPONSIVE NUEVAS SECCIONES
   (debe ir AL FINAL para ganar la cascada)
================================ */
@media (min-width: 600px) {
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  /* Stats: 4 en una fila */
  .home-stats-grid { flex-wrap: nowrap; }
  .home-stat {
    flex: 1 1 0;
    padding: 1rem 2rem;
    border-right: 1px solid rgba(255,255,255,.15);
  }
  .home-stat:last-child { border-right: none; }

  /* Urgencias: dos columnas */
  .home-urg-inner {
    flex-direction: row;
    align-items: center;
    gap: 5rem;
  }
  .home-urg-left  { flex: 1; }
  .home-urg-right { flex-shrink: 0; max-width: 360px; width: 100%; }

  /* Hub: 3 columnas */
  .hub-grid { grid-template-columns: repeat(3, 1fr); }
}
