/* ===================== BASE ===================== */
body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  color: #333;
  background: #f8f9fa;
  padding-top: 140px; /* espacio para el header fijo */
}

a {
  text-decoration: none;
  transition: 0.3s;
}

h1, h2, h3, h4 {
  font-weight: 700;
}

/* ===================== HEADER ===================== */
header {
  background: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 30px;
}

.logo img {
  max-height: 110px;
  width: auto;
  display: block;
}

/* ===================== MENÚ ===================== */
.menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  z-index: 1002;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #c8102e;
  margin: 6px auto;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* ===================== NAV ===================== */
.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-links a {
  color: #333;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: #c8102e;
  color: #fff;
}

.btn-ayuda {
  border: 1px solid #c8102e;
  border-radius: 30px;
  padding: 6px 18px;
  color: #c8102e !important;
  font-weight: 600;
}
.btn-ayuda:hover {
  background: #c8102e;
  color: white !important;
}

/* ===================== RESPONSIVE NAV ===================== */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    width: 220px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-radius: 0 0 0 8px;
    padding: 1rem;
    z-index: 1001;
  }
  .nav-links.active { display: flex; }
  .nav-links a { margin: 10px 0; color:#333; }
}


/* ===================== HERO VEHÍCULO ===================== */
.service-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
              url('../../Milenio/img/sample8.webp') center/cover no-repeat;
  height: 50vh; /* un poco más pequeño */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}


/* ===================== BENEFICIOS AUTOS ===================== */
.beneficios {
  background-color: #f9fafb;
}

.beneficio-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.beneficio-card i {
  font-size: 42px;
  color: var(--color-primario, #c8102e);
  margin-bottom: 15px;
}

.beneficio-card h5 {
  font-weight: 600;
  color: #111;
  margin-bottom: 10px;
}

.beneficio-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.6;
}

.beneficio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}


/* ===================== SECCIÓN SOAT ===================== */
.soat-section {
  position: relative;
  background: url('../img/Sample3.webp') center/cover fixed no-repeat;
  text-align: center;
  padding: 180px 20px;
  color: #fff;
  overflow: hidden;
}

.soat-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(200,16,46,0.7), rgba(0,0,0,0.7));
  z-index: 1;
  backdrop-filter: blur(2px);
}

.soat-section .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.soat-section h1 {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.soat-section p {
  font-size: 1.2rem;
  color: #f8f8f8;
  margin-bottom: 45px;
  line-height: 1.6;
}

.btn-soat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #c8102e;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 16px 45px;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.btn-soat:hover {
  background: #c8102e;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(200,16,46,0.5);
}

/* Ajustes responsivos para SOAT */
@media (max-width: 768px) {
  .soat-section { padding: 100px 20px; background-attachment: scroll; }
  .soat-section h1 { font-size: 2rem; }
  .btn-soat { padding: 12px 28px; font-size: 1rem; }
}


/* ===================== FOOTER ===================== */
footer {
  background: #111;
  color: #fff;
  font-size: 0.9rem;
  padding: 40px 20px;
}
footer h2 { font-size: 1.2rem; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: #dc3545; }
.footer-logo { max-width: 120px; height: auto; }
.social-links a { font-size: 1.5rem; margin-right: 10px; color: #fff; }
.social-links a:hover { color: #dc3545; }

/* ===================== WHATSAPP FLOAT ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: transform .3s ease;
  z-index: 1000;
  animation: bounce 3s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 35px; height: 35px; }

/* ===================== ANIMACIONES ===================== */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ===================== SEGURO DE SALUD ===================== */
/* ===================== HERO SEGURO DE SALUD ===================== */
.salud-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
              url('../img/Sample2.webp') center/cover no-repeat;
  height: 60vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  color: #fff;
  text-align: center;
}

.salud-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
}

.salud-hero p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.salud-hero .btn {
  background: #fff;
  color: #c8102e;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  padding: 0.8rem 2rem;
  border: none;
}

.salud-hero .btn:hover {
  background: #c8102e;
  color: #fff;
}

/* ===================== INFO SALUD ===================== */
.salud-info i {
  flex-shrink: 0;
}

/* ===================== SLASH INTERMEDIO ===================== */
.slash-milenio {
  background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
              url('../img/Sample7.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.slash-milenio h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.slash-milenio p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* ===================== FORMULARIO SALUD ===================== */
.info-form-salud {
  background: #fff;
  margin: 0;
  padding: 80px 20px 40px 20px;
  text-align: center;
}

.formulario-estandar {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.formulario-estandar h2 {
  font-weight: 700;
  color: #c8102e;
  margin-bottom: 10px;
}

.formulario-estandar p {
  color: #555;
  margin-bottom: 25px;
}

.formulario-estandar .btn {
  background: #c8102e;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 12px 35px;
  transition: all 0.3s ease;
  border: none;
}

.formulario-estandar .btn:hover {
  background: #a50c25;
}

/* Frase debajo del formulario */
.frase-form {
  margin-top: 30px;
  font-size: 1.1rem;
  color: #666;
  font-style: italic;
  text-align: center;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 992px) {
  .salud-hero {
    height: 50vh;
    padding: 2rem 1rem;
  }

  .coberturas-beneficios {
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
  }

  .coberturas,
  .beneficios {
    max-width: 100%;
  }

  .formulario-estandar {
    padding: 30px;
  }

  .slash-milenio {
    padding: 4rem 1rem;
  }
}


/* ==========================================================
   ===================== VIDA DOCENTE =====================
   ========================================================== */

/* ==========================================================
   HERO
   ========================================================== */
.vida-hero {
  background: 
    linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(200, 16, 46, 0.85)),
    url('../img/Sample7.webp') center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

.vida-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.15), transparent 70%);
  opacity: 0.4;
}

.vida-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.vida-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: #f2f2f2;
}

/* ==========================================================
   DIVISIONES
   ========================================================== */
.division-roja {
  height: 8px;
  background: linear-gradient(to right, #c8102e, #ff4d4d, #c8102e);
}

.division-gris {
  height: 8px;
  background: linear-gradient(to right, #dcdcdc, #f5f5f5, #dcdcdc);
}

.division-oscura {
  height: 8px;
  background: linear-gradient(to right, #111, #c8102e, #111);
}

/* ==========================================================
   INTRODUCCIÓN
   ========================================================== */
.vida-intro {
  background: linear-gradient(145deg, #ffffff 0%, #f5f6f8 50%, #e8eaed 100%);
  padding: 5rem 1rem;
  text-align: center;
}

.vida-intro h2 {
  color: #c8102e;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.vida-intro p {
  max-width: 800px;
  margin: 0 auto;
  color: #333;
  font-size: 1.15rem;
  line-height: 1.9;
}

/* ==========================================================
   CASOS REALES
   ========================================================== */
.vida-casos {
  background: linear-gradient(120deg, #f9fafc, #ffffff, #f4f6f8);
  padding: 5rem 0;
}

.vida-casos .contenedor {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
}

.vida-casos .texto {
  flex: 1;
  min-width: 300px;
}

.vida-casos .texto h2 {
  color: #c8102e;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.vida-casos .texto ul {
  list-style: none;
  padding: 0;
}

.vida-casos .texto li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  color: #333;
}

.vida-casos .texto i {
  color: #c8102e;
  margin-right: 10px;
  font-size: 1.3rem;
}

.vida-casos img {
  flex: 1;
  max-width: 480px;
  border-radius: 25px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.vida-casos img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   COBERTURAS
   ========================================================== */
.vida-coberturas {
  background: linear-gradient(180deg, #fff 0%, #f3f4f6 50%, #e9ebee 100%);
  padding: 5rem 1rem;
  text-align: center;
}

.vida-coberturas h2 {
  color: #c8102e;
  font-weight: 800;
  margin-bottom: 1rem;
}

.vida-coberturas p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

.vida-coberturas .card {
  border: none;
  border-radius: 20px;
  background: linear-gradient(145deg, #fff, #f9f9f9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.vida-coberturas .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  background: linear-gradient(145deg, #fff, #f1f1f1);
}

.vida-coberturas i {
  font-size: 2.8rem;
  color: #c8102e;
  margin-bottom: 15px;
}

/* ==========================================================
   FORMULARIO DE CONTACTO
   ========================================================== */
.vida-form {
  background: linear-gradient(160deg, #eef0f3, #ffffff 50%, #f4f6f9);
  padding: 5rem 0;
}

.vida-form h2 {
  color: #c8102e;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.2rem;
}

.vida-form p {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
}

.vida-form form {
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.vida-form form:hover {
  transform: scale(1.02);
}

.vida-form .btn {
  background-color: #c8102e;
  color: #fff;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.vida-form .btn:hover {
  background-color: #a40d25;
  transform: scale(1.05);
}

/* ==========================================================
   SECCIÓN FINAL
   ========================================================== */
.vida-final {
  background: linear-gradient(180deg, #c8102e, #440000);
  color: #fff;
  padding: 5rem 1rem;
  text-align: center;
}

.vida-final h2 {
  font-weight: 800;
  margin-bottom: 1rem;
}

.vida-final p {
  font-size: 1.15rem;
  margin-bottom: 2rem;
  color: #f2f2f2;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 992px) {
  .vida-hero {
    min-height: 50vh;
    padding: 3rem 1rem;
  }

  .vida-casos .contenedor {
    flex-direction: column;
    text-align: center;
  }

  .vida-casos .texto {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .vida-casos img {
    max-width: 100%;
  }

  .vida-form form {
    padding: 1.5rem;
  }
}



/* ===================== HERO HOGAR ===================== */
.hogar-hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('../img/Sample4.webp') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

.hogar-hero .hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.hogar-hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.hogar-hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.hogar-hero .btn-primary {
  background-color: #c8102e;
  color: #fff;
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
}

.hogar-hero .btn-primary:hover {
  background-color: #a60d25;
}

/* ===================== COBERTURAS ===================== */
.hogar-section {
  background-color: #f8f9fa;
  padding: 80px 20px;
  text-align: center;
}

.hogar-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #222;
}

.hogar-coverages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-content: center;
}

.hogar-card {
  background-color: #fff;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hogar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hogar-card i {
  font-size: 2.5rem;
  color: #c8102e;
  margin-bottom: 15px;
}

.hogar-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #222;
  font-weight: 600;
}

.hogar-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}



/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .hogar-hero {
    padding: 70px 15px;
  }

  .hogar-hero h1 {
    font-size: 2.2rem;
  }

  .hogar-section {
    padding: 60px 15px;
  }

  .form-container {
    grid-template-columns: 1fr;
  }

  .hogar-card {
    padding: 25px 15px;
  }
}

/* ===================== FORMULARIO ESTÁNDAR ===================== */
.formulario-estandar {
  max-width: 900px;
  margin: 50px auto;
  background: #fff5f5;
  padding: 40px 50px;
  border-radius: 25px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
  border: 1px solid #f3dcdc;
}

/* Fondo con degradado suave */
.fondo-empresa {
  background: linear-gradient(to bottom right, #fff5f5, #ffe9e9);
}

/* Título y texto */
.titulo-form {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
  color: #c8102e;
}

.texto-form {
  text-align: center;
  font-size: 1rem;
  color: #555;
  margin-bottom: 30px;
}

/* Campos */
.formulario-estandar label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

.formulario-estandar .form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.formulario-estandar .form-control:focus {
  border-color: #c8102e;
  box-shadow: 0 0 6px rgba(200, 16, 46, 0.3);
}

/* Checkbox */
.formulario-estandar .form-check-label {
  color: #444;
  font-size: 0.9rem;
}

/* Botón */
.formulario-estandar .btn {
  background: linear-gradient(90deg, #c8102e, #a50d23);
  color: #fff;
  border: none;
  padding: 14px 0;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.formulario-estandar .btn:hover {
  background: linear-gradient(90deg, #a50d23, #c8102e);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(200, 16, 46, 0.3);
}

/* Adaptabilidad */
@media (max-width: 768px) {
  .formulario-estandar {
    padding: 25px;
  }

  .titulo-form {
    font-size: 1.6rem;
  }
}