/* ================================
   HIDROFONT — Home CSS
   Estilo Outfit moderno
================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');
body { font-family: 'Outfit', var(--font-main); }

/* HERO */
/* HERO OSCURO — igual que zonas */
.hero-dark {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-dark-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1825 0%, #132840 100%);
  z-index: 0;
}
.hero-dark-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .04;
  background-image:
    repeating-linear-gradient(0deg,transparent,transparent 40px,rgba(255,255,255,.5) 40px,rgba(255,255,255,.5) 41px),
    repeating-linear-gradient(90deg,transparent,transparent 40px,rgba(255,255,255,.5) 40px,rgba(255,255,255,.5) 41px);
}
.hero-dark-glow {
  position: absolute;
  bottom: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,.15) 0%, transparent 65%);
  z-index: 1;
  pointer-events: none;
}
.hero-dark-con {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem var(--space-md) 4rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}
.hero-dark-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: .03em;
}
.hero-dark-dot {
  width: 6px;
  height: 6px;
  background: #60a5fa;
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-dark h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -.03em;
  max-width: 700px;
}
.hero-dark h1 .hl { color: #60a5fa; }
.hero-dark-sub {
  color: #94a3b8;
  font-size: 16px;
  line-height: 1.75;
  max-width: 520px;
}
.hero-dark-btns {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-dark-main {
  background: #fff;
  color: #0a1825;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.btn-dark-ghost {
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.18);
}
.hero-dark-kpis {
  display: grid;
  grid-template-columns: repeat(3, auto);
  width: fit-content;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  margin-top: 1rem;
}
.hero-dark-kpi {
  padding: 1.1rem 1.75rem;
  border-right: 1px solid rgba(255,255,255,.08);
}
.hero-dark-kpi:last-child { border-right: none; }
.hero-dark-kpi-val {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  display: block;
  line-height: 1;
}
.hero-dark-kpi-lbl {
  color: #64748b;
  font-size: 11.5px;
  margin-top: 5px;
  display: block;
}

@media (max-width: 560px) {
  .hero-dark-kpis { grid-template-columns: 1fr 1fr; width: 100%; }
  .hero-dark-kpi:nth-child(2) { border-right: none; }
  .hero-dark-kpi:nth-child(3) { border-top: 1px solid rgba(255,255,255,.08); grid-column: span 2; }
}

/* ZONAS BAR */
.zonas-bar {
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  padding: 1.1rem 0;
}
.zonas-bar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.zonas-label {
  color: #94a3b8;
  font-size: 13px;
  white-space: nowrap;
  font-weight: 500;
}
.zonas-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.zona-tag {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e3a5f;
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  transition: all .15s;
  white-space: nowrap;
  text-decoration: none;
}
.zona-tag:hover {
  background: #1e3a5f;
  color: #fff;
  border-color: #1e3a5f;
}

/* SECTIONS */
.home-sec { padding: 5rem 0; }
.home-sec-gray { background: #f8fafc; }
.home-con {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
.home-lbl {
  font-size: 11.5px;
  font-weight: 700;
  color: #3b82f6;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .65rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.home-lbl::before {
  content: '';
  width: 18px;
  height: 2px;
  background: #3b82f6;
  border-radius: 2px;
  display: block;
}
.home-sec h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #0d1f33;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin-bottom: .75rem;
}
.home-sec h2 .hl { color: #3b82f6; }
.home-sub {
  color: #64748b;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 580px;
}
.sec-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.sec-header a {
  color: #64748b;
  font-size: 13.5px;
  text-decoration: none;
  font-weight: 500;
  transition: color .15s;
}
.sec-header a:hover { color: #1e3a5f; }

/* SERVICIOS GRID */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}
.servicio-card {
  background: #fff;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: background .15s;
  text-decoration: none;
}
.servicio-card:hover { background: #f8fafc; }
.svc-num {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: .1em;
}
.servicio-card h3 {
  color: #0d1f33;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.3;
}
.servicio-card p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.6;
  flex: 1;
}
.servicio-card .svc-link {
  color: #1e3a5f;
  font-size: 13px;
  font-weight: 600;
  margin-top: auto;
}

/* STRIP DIFERENCIADORES */
.dif-strip {
  background: #1e3a5f;
  padding: 1.5rem 0;
}
.dif-strip-in {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.dif-item {
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
  margin-right: 1.5rem;
}
.dif-item:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}
.dif-val {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}
.dif-lbl { color: #5a85a8; font-size: 12px; }

/* POR QUÉ */
.porque-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #e2e8f0;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
}
.porque-item {
  background: #fff;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  transition: background .15s;
}
.porque-item:hover { background: #f8fafc; }
.porque-num {
  font-size: 11px;
  font-weight: 700;
  color: #cbd5e1;
  letter-spacing: .1em;
}
.porque-item h3 {
  color: #0d1f33;
  font-size: 14.5px;
  font-weight: 700;
}
.porque-item p {
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
}

/* FINANCIACIÓN */
.fin-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.fin-texto h2 { margin-bottom: 1rem; }
.fin-texto p {
  color: #64748b;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.fin-lista {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 2rem;
  list-style: none;
}
.fin-lista li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #1e293b;
  font-size: 14px;
  line-height: 1.5;
}
.fin-check {
  width: 20px;
  height: 20px;
  background: #1e3a5f;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.fin-check svg { width: 10px; height: 10px; }
.btn-fin {
  background: #1e3a5f;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fin-visual {
  background: #020c18;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.fin-paso {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.fin-paso:last-child { border-bottom: none; }
.fin-num {
  width: 32px;
  height: 32px;
  background: #3b5bdb;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}
.fin-paso-txt strong {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  display: block;
  margin-bottom: 3px;
}
.fin-paso-txt span { color: #64748b; font-size: 13px; }

/* RESEÑAS */
.resenas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.resena-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.resena-estrellas { color: #f59e0b; font-size: 14px; letter-spacing: 2px; }
.resena-texto {
  color: #475569;
  font-size: 13.5px;
  line-height: 1.7;
  flex: 1;
}
.resena-autor { color: #94a3b8; font-size: 12.5px; font-weight: 500; }

/* CTA FINAL */
.cta-final {
  background: linear-gradient(135deg, #0a1825 0%, #0f2d50 100%);
  padding: 6rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(59,130,246,.12) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -.03em;
  margin-bottom: .75rem;
  position: relative;
}
.cta-final h2 span { color: #60a5fa; }
.cta-final p {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 2.5rem;
  position: relative;
}
.cta-final-btns {
  display: flex;
  gap: .75rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.btn-cta-w {
  background: #fff;
  color: #0a1825;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.btn-cta-o {
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 15px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.15);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .servicios-grid,
  .porque-grid,
  .resenas-grid { grid-template-columns: repeat(2, 1fr); }
  .dif-strip-in { grid-template-columns: repeat(2, 1fr); }
  .dif-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 0 0 1rem; margin: 0 0 1rem; }
  .dif-item:last-child { border-bottom: none; padding: 0; margin: 0; }
  .fin-wrap { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  .servicios-grid,
  .porque-grid,
  .resenas-grid,
  .dif-strip-in { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}