/* ============================================
   MEJORAS VISUALES - Web blanca, azul suave
   ============================================ */

:root {
  --card-hover-shadow: 0 12px 36px rgba(37,99,235,0.09);
}

/* ---- Body blanco total ---- */
body { background-color: #ffffff !important; }

/* ---- TOP BAR azul muy suave ---- */
.top-bar {
  background: linear-gradient(90deg, #4f86c6 0%, #6fa3d8 100%) !important;
}

/* ---- Header ---- */
header {
  border-bottom: 1px solid #e8f0fb !important;
  background: rgba(255,255,255,0.97) !important;
}

/* ---- Hero overlay suave para máxima legibilidad del texto sin oscurecer toda la imagen ---- */
.hero-overlay {
  background: linear-gradient(to right, 
    rgba(5, 10, 40, 0.98) 0%, 
    rgba(5, 10, 40, 0.85) 30%, 
    rgba(5, 10, 40, 0.4) 60%, 
    rgba(5, 10, 40, 0.1) 100%) !important;
}

/* ---- Badge animado hero ---- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.30);
  color: white;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.6; transform:scale(1.4); }
}

/* ---- Trust strip ---- */
.trust-strip {
  background: #f5f8ff;
  padding: 13px 0;
  border-bottom: 1px solid #dce8f8;
}
.trust-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #3a6aaa;
}
.trust-item i { color: #6fa3d8; font-size: 0.92rem; }

/* ---- Stats: fondo casi blanco ---- */
.stats-section {
  padding: 50px 0;
  background: #f5f8ff !important;
  border-top: 1px solid #dce8f8;
  border-bottom: 1px solid #dce8f8;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media(max-width:768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
.stat-item .number {
  font-size: 2.3rem;
  font-weight: 800;
  color: #3a6aaa;
  line-height: 1;
  margin-bottom: 5px;
}
.stat-item .label {
  font-size: 0.84rem;
  color: #6fa3d8;
  font-weight: 600;
}

/* ============================================================
   SERVICIOS HOME: pills compactos
   ============================================================ */
.services-pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 2rem;
}
.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f5f8ff;
  border: 1.5px solid #c8ddf5;
  border-radius: 50px;
  padding: 9px 17px;
  font-size: 0.87rem;
  font-weight: 700;
  color: #3a6aaa;
  transition: all 0.22s ease;
  box-shadow: 0 1px 4px rgba(60,106,170,0.06);
}
.service-pill i { font-size: 0.88rem; color: #6fa3d8; }
.service-pill:hover {
  background: #e4eefb;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(60,106,170,0.10);
}

/* ============================================================
   SERVICE CARDS (página servicios) — compactas, check inline
   ============================================================ */
.service-card {
  padding: 22px 24px !important;
  border: 1px solid #e4eefb !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease !important;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #93c5fd, #c4b5fd);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--card-hover-shadow) !important;
  border-color: #c8ddf5 !important;
}

/* Icono dentro de card: tamaño moderado */
.service-card > i {
  display: block !important;
  font-size: 1.4rem !important;
  color: #4f86c6 !important;
  margin-bottom: 12px !important;
  width: auto !important; height: auto !important;
  background: none !important;
  padding: 0 !important;
  text-align: left !important;
}
.service-card h3 {
  font-size: 1.05rem !important;
  margin-bottom: 8px !important;
  font-weight: 700 !important;
  color: #1e293b !important;
}
.service-card p {
  font-size: 0.88rem !important;
  line-height: 1.55 !important;
  color: #64748b !important;
  margin-bottom: 10px !important;
}

/* Lista de checks dentro de cards: inline horizontal */
.service-card ul li {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 4px 0 !important;
  font-size: 0.85rem !important;
  color: #475569 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
.service-card ul li:last-child { border-bottom: none !important; }
.service-card ul li .fas.fa-check {
  color: #4f86c6 !important;
  font-size: 0.75rem !important;
  flex-shrink: 0 !important;
  width: 14px !important; height: auto !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline !important;
}

/* Grid de servicios interno: gap ajustado */
.services-grid { gap: 18px !important; }

/* ---- Fondos de secciones: casi blanco ---- */
.features,
section[style*="#f1f5f9"],
section[style*="background: var(--bg-light)"] {
  background: #f8fbff !important;
}

/* ---- Section title decoración ---- */
.section-title h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  color: #1e293b !important;
}
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 3px;
  background: linear-gradient(90deg, #93c5fd, #c4b5fd);
  border-radius: 4px;
}

/* ---- Model cards ---- */
.model-card { transition: transform 0.3s ease, box-shadow 0.3s ease !important; }
.model-card:hover { transform: translateY(-5px) !important; box-shadow: 0 14px 40px rgba(0,0,0,0.09) !important; }
.model-card:hover img { transform: scale(1.05) !important; }
.model-card img { transition: transform 0.5s ease; }

/* ---- FAQ ---- */
.faq-section { padding: 70px 0; background: #f8fbff !important; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
  gap: 11px;
  max-width: 1060px;
  margin: 0 auto;
}
@media(max-width:560px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item { background: white; border-radius: 11px; border: 1.5px solid #e4eefb; overflow: hidden; transition: box-shadow 0.22s ease; }
.faq-item:hover { box-shadow: 0 4px 18px rgba(60,106,170,0.07); }
.faq-question { padding: 17px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 0.93rem; color: #1e293b; gap: 12px; }
.faq-question .faq-icon { width: 23px; height: 23px; background: #dbeafe; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #4f86c6; font-size: 0.68rem; flex-shrink: 0; transition: all 0.22s ease; }
.faq-item.open .faq-question .faq-icon { background: #4f86c6; color: white; transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.25s ease; padding: 0 20px; color: #475569; font-size: 0.91rem; line-height: 1.65; }
.faq-item.open .faq-answer { max-height: 240px; padding: 0 20px 16px; }

/* ---- CTA section: azul suave no intenso ---- */
.cta-section-new {
  background: linear-gradient(135deg, #4f86c6 0%, #6fa3d8 50%, #93c5fd 100%) !important;
  position: relative; overflow: hidden;
}
.cta-section-new::before {
  content: '';
  position: absolute; top: -40%; right: -8%;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}
/* CTA section heredado de inline styles (otras páginas) */
section[style*="linear-gradient(135deg, #1e40af"],
section[style*="linear-gradient(135deg, var(--primary-color)"] {
  background: linear-gradient(135deg, #4f86c6 0%, #6fa3d8 50%, #93c5fd 100%) !important;
}

/* ---- Callout phone ---- */
.callout-phone {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px dashed rgba(255,255,255,0.38);
  border-radius: 10px; padding: 10px 17px;
  color: white; font-size: 0.95rem; font-weight: 700; margin-top: 1.5rem;
}

/* ---- FOOTER CLARO ---- */
footer {
  background: #f0f6ff !important;
  color: #1e293b !important;
}
footer .footer-section h3 {
  color: #3a6aaa !important;
}
footer .footer-section a,
footer .footer-section ul li a {
  color: #475569 !important;
}
footer .footer-section a:hover { color: #4f86c6 !important; }
footer .footer-section p { color: #64748b !important; }
footer .logo { color: #1e293b !important; }
footer .logo span { color: #4f86c6 !important; }
footer .footer-contact-item { color: #1e293b !important; }
footer .footer-contact-item span:last-child { color: #475569 !important; }
footer .footer-contact-circle {
  background: #4f86c6 !important;
  box-shadow: 0 2px 8px rgba(79,134,198,0.18) !important;
}
footer .footer-contact-circle i,
footer .footer-contact-item .footer-contact-circle i {
  color: white !important;
}
footer .footer-bottom {
  border-top: 1px solid #c8ddf5 !important;
  color: #475569 !important;
}
footer .footer-bottom p { color: #64748b !important; }
footer .footer-bottom a { color: #64748b !important; }
footer .footer-bottom a:hover { color: #1d4ed8 !important; }
footer .footer-legal-links span { color: #cbd5e1 !important; }

/* ---- Btn primary ---- */
.btn-primary {
  background: #4f86c6 !important;
  box-shadow: 0 4px 14px rgba(79,134,198,0.25) !important;
}
.btn-primary:hover { background: #3a6aaa !important; }

/* ---- Scroll reveal ---- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- Hero texto con máximo contraste ---- */
.hero h1 {
  color: #ffffff !important;
  text-shadow: 0 4px 12px rgba(0,0,0,0.8), 0 2px 4px rgba(0,0,0,0.5) !important;
}
.hero p {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8) !important;
}
.hero-content h1,
.hero-content p,
.hero-content span,
.hero-content strong {
  text-shadow: 0 2px 6px rgba(0,0,0,0.95) !important;
}
