/* ==== RESET ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}

/* ==== CABECERA ==== */
header.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo img {
  height: 70px;
}

/* ==== MENÚ CENTRAL ==== */


.nav {
  display: none;
}





/* ==== DERECHA ==== */


.texto {
  display: none;
}


.hamburguesa {
  display: block;
  /* ocultar el ícono */
}



/* ==== MENÚ MÓVIL ==== */
.menu-movil {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: var(--blueberry);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.3s ease;
  z-index: 200;
}

.menu-movil.active {
  right: 0;
}

.menu-movil-cerrar {
  background: none;
  border: none;
  font-size: 40px;
  color: white;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}

.menu-movil-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 120px; /* separa del botón de cierre */
}

.menu-movil-nav a {
  color: white;
  text-decoration: none;
  font-size: 1.6rem;
  font-family: var(--font-family-clash_grotesk_variable-regular);
}

.menu-movil-nav a:hover {
  color: var(--chartreuse-yellow);
}

/* 🟡 Franja inferior */
.menu-movil-footer {
  background-color: var(--chartreuse-yellow);
  color: var(--blue-zodiac);
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: var(--font-family-clash_grotesk_variable-regular);
}







.hero {
  display: flex;
  flex-direction: column;
  /* Móvil: imagen arriba, texto abajo */
  align-items: center;
  padding: 20px;
  gap: 20px;
}

.hero-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
}

.hero-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
}


.hero-text p {
  font-size: 1.1rem;
}


.cta {
  display: none;
}



/* ICONO */
.cta img {
  width: 35px;
  height: 35px;
}


.izquierda {
  order: 2;
  /* la columna izquierda va después */
}

.derecha {
  order: 1;
  /* la columna derecha sube encima */
}



.fondo-rejilla-oscuro {
  background-image: url("../img/fondoRejilla.png");
  /* ruta de la imagen */
  background-repeat: repeat;
  /* hace que se repita */
  background-size: auto;
  /* mantiene el tamaño original */
  background-position: top left;
  /* empieza desde arriba a la izquierda */
  background-color: #0a1a3a;
}


.fondo-rejilla-claro {
  background-image: url("../img/fondoRejilla.png");
  /* ruta de la imagen */
  background-repeat: repeat;
  /* hace que se repita */
  background-size: auto;
  /* mantiene el tamaño original */
  background-position: top left;
  /* empieza desde arriba a la izquierda */
  background-color: white;
}


.fondo-liso {
  background-color: var(--zircon)
}



.resaltado {
  display: inline-block;
  position: relative;
}

.linea-debajo {
  position: absolute;
  left: 0;
  bottom: -15px;
  /* ajusta la separación */
  width: 100%;
  /* misma anchura que el texto */
  height: auto;
  /* o auto si es imagen real */
}



.proceso {
  display: flex;
  flex-direction: column;
  /* pone los elementos uno debajo de otro */
  align-items: center;
  /* centra horizontalmente */
  text-align: left;
  /* centra el texto dentro de cada <p> */
  gap: 35px;
  /* espacio entre los párrafos */
  padding: 40px 25px;
  /* opcional: separación interna */
}



/* ==== FOOTER BASE ==== */
footer.footer {
  background-color: #0a1a3a;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
  font-family: Arial, sans-serif;
}

/* ==== FILA SUPERIOR (MÓVIL) ==== */
.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-top a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-top a:hover {
  color: #e2ff00;
  /* chartreuse yellow */
}

/* ==== FILA INFERIOR ==== */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 14px;
}

.footer-left,
.footer-right {
  white-space: nowrap;
}





/* ===== container-mensaje PRINCIPAL ===== */
.container-mensaje {
  display: flex;
  flex-direction: column;
  /* móvil: columna */
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 20px;
  background-color: var(--blueberry);
}

/* ===== BLOQUE CENTRAL ===== */
.container-mensaje-central-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  max-width: 400px;
  padding: 15px;
}



.container-mensaje-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--chartreuse-yellow);
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-decoration: none;
  color: var(--blueberry);
}



.container-mensaje-cta img {
  width: 30px;
  height: 30px;
}


/* ===== IMAGENES LATERALES ===== */
.container-mensaje-left-image,
.container-mensaje-right-image {
  display: none;
  /* móvil: no se muestran */
}





.container-enlaces {
  display: flex;
  flex-direction: column;
  /* mobile-first: columna */
  align-items: center;
  justify-content: center;
  padding: 10px;
  gap: 30px;
  background-color: var(--blue-zodiac);
}

/* ===== BLOQUE IZQUIERDA ===== */
.container-enlaces-left-block img {
  height: 70px;
}

/* ===== BLOQUE CENTRAL ===== */
.container-enlaces-central-block {
  display: flex;
  flex-direction: column;
  /* móvil: vertical */
  align-items: center;
  gap: 15px;
}

.container-enlaces-central-block a {
  font-size: 1.2rem;
  padding: 5px 10px;
  color: white;
}

/* ===== BLOQUE DERECHA ===== */
.container-enlaces-right-block {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}

.container-enlaces-right-block img {
  width: 80px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s;
}

.container-enlaces-right-block img:hover {
  transform: scale(1.05);
}


.cuadro {
  background-color: var(--blueberry);
  height: 45px;
  width: 45px;
  margin: 10px;
}



.link-con-subrayado {
  position: relative;
  display: inline-block;
}

.subrayado-sierra {
  position: absolute;
  bottom: -10px;
  /* ajusta según el diseño */
  left: 0;
  width: 120px;
  height: auto;
  pointer-events: none;
}



/* ==== RESPONSIVE ==== */
@media (min-width: 768px) {

  .right {
    display: flex;
    align-items: center;
    gap: 15px;
  }


  .nav {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 40px;
  }

  .nav a {
    font-weight: 500;
    transition: color 0.3s;
    text-decoration: none;
  }

  .nav a:hover {
    color: #0077ff;
  }

  .texto {
    display: block;
    font-weight: bold;
    color: #0077ff;
  }

  .hamburguesa {
    width: 28px;
    cursor: pointer;
    display: none;
    /* visible en móvil */
  }

  header.header {
    padding: 10px 20px;
  }



  .hero {
    flex-direction: row;
    /* PC: lado a lado */
    justify-content: space-between;
    align-items: center;
    padding: 50px 80px;
    gap: 40px;
  }

  .hero-text {
    text-align: left;
    flex: 1;
  }

  .hero-image {
    flex: 1;
  }

  .hero-image img {
    max-width: 100%;
  }

  .cta {
    padding: 12px 20px;
    font-size: 1rem;
  }


  .izquierda,
  .derecha {
    order: 0;
    /* orden natural */
    flex: 1;
    /* columnas de igual ancho */
    margin-bottom: 0;
    /* quitar margen vertical */
  }


  .cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #0077ff;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    white-space: nowrap;
    width: 185px;
  }

  .proceso {
    display: flex;
    flex-direction: column;
    /* pone los elementos uno debajo de otro */
    align-items: center;
    /* centra horizontalmente */
    text-align: center;
    /* centra el texto dentro de cada <p> */
    gap: 15px;
    /* espacio entre los párrafos */
    padding: 40px 250px;
    /* opcional: separación interna */
  }



  .container-mensaje {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 40px;
  }

  /* Bloque izquierdo */
  .container-mensaje-left-image {
    display: block;
    flex: 1;
  }

  .container-mensaje-left-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
  }

  /* Bloque central */
  .container-mensaje-central-text {
    flex: 2;
    max-width: none;
    align-items: center;
    justify-content: center;
  }




  /* Bloque derecho */
  .container-mensaje-right-image {
    display: block;
    flex: 1;
  }

  .container-mensaje-right-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
    display: block;
  }


  .container-enlaces {
    flex-direction: row;
    /* fila */
    justify-content: space-between;
    align-items: center;
    /* verticalmente centrados */
    padding: 10px 20px;
    gap: 40px;
  }

  /* Bloque izquierdo */
  .container-enlaces-left-block {
    flex: 1;
    display: flex;
    justify-content: center;
  }

  /* Bloque central */
  .container-enlaces-central-block {
    flex: 2;
    flex-direction: row;
    /* horizontal */
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .container-enlaces-central-block a {
    font-size: 1.3rem;
    text-decoration: none;
    color: white;
  }

  /* Bloque derecho */
  .container-enlaces-right-block {
    flex: 1;
    flex-direction: row;
    /* horizontal */
    justify-content: center;
    gap: 20px;
  }

  .container-enlaces-right-block img {
    width: 100px;
  }



}




/* ================= EQUIPO ================= */

.equipo {
  padding: 60px 20px;
  text-align: center;
}

.titulo-equipo {
  margin-bottom: 40px;
}

.equipo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.equipo-card {
  border-radius: 10px;
  padding: 20px;
  text-align: center;
}

.equipo-card img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.equipo-card .nombre {
  color: var(--blueberry);
  font-size: var(--font-size-l);
  margin-bottom: 5px;
}

.equipo-card .cargo {
  font-weight: bold;
  color: var(--black);
  font-size: 14px;
  margin-bottom: 10px;
}

.equipo-card .descripcion {
  color: var(--black);
  font-size: var(--font-size-m);
}

/* ================= EQUIPO RESPONSIVE ================= */
@media (min-width: 768px) {
  .equipo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Posicionamiento manual de tarjetas en grid */
  .equipo-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
  }

  .equipo-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .equipo-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
  }

  .equipo-card:nth-child(4) {
    grid-column: 1;
    grid-row: 2;
  }

  .equipo-card:nth-child(5) {
    grid-column: 2;
    grid-row: 2;
  }
}











/* ================= MENSAJE IMPACTO ================= */

.mensaje-impacto {
  padding: 60px 20px;
}

.mensaje-impacto-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mensaje-impacto-izquierda img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
}

.titulo-impacto {
  position: relative;
  text-align: center;
  line-height: 1.2;
}

.titulo-impacto .resaltado {
  position: relative;
  display: inline-block;
}

.titulo-impacto .linea-debajo {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: auto;
}

.descripcion-impacto {
  text-align: center;
  max-width: 500px;
  margin: 20px auto 0 auto;
}

/* ================= MENSAJE IMPACTO ================= */
/* ================= RESPONSIVE PC ================= */
@media (min-width: 768px) {
  .mensaje-impacto-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }

  .mensaje-impacto-izquierda,
  .mensaje-impacto-derecha {
    flex: 1;
  }

  .titulo-impacto {
    text-align: left;
  }

  .descripcion-impacto {
    text-align: left;
    margin: 20px 0 0 0;
  }
}





/* ================= PEQUEÑAS COSAS ================= */

.pequenas-cosas {
  padding: 60px 20px;
}

.pequenas-cosas-container {
  display: flex;
  flex-direction: column;
  /* 📱 En móvil: columna */
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.pequenas-cosas-container-frase {
  margin-bottom: 10px;
  background-color: var(--chartreuse-yellow);
  padding: 10px;
}


.pequenas-cosas-izquierda {
  text-align: center;
  order: 1;
  /* Título y frases arriba en móvil */
}

.pequenas-cosas-izquierda h2 {
  line-height: 1.2;
  margin-bottom: 20px;
}

.pequenas-cosas-frases {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pequenas-cosas-frases li {
  font-size: var(--font-size-m);
}

.pequenas-cosas-derecha {
  order: 2;
  /* Imagen abajo en móvil */
}

.pequenas-cosas-derecha img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* ================= PEQUEÑAS COSAS ================= */
/* ================= RESPONSIVE PC ================= */
@media (min-width: 768px) {
  .pequenas-cosas-container {
    flex-direction: row;
    /* 🖥️ En escritorio: fila */
    justify-content: space-between;
    align-items: center;
    gap: 60px;
  }

  .pequenas-cosas-izquierda {
    flex: 1;
    text-align: left;
    order: 1;
  }

  .pequenas-cosas-derecha {
    flex: 1;
    text-align: right;
    order: 2;
  }

  .pequenas-cosas-derecha img {
    max-width: 600px;
  }
}



/* ================= MENSAJE ACCIDENTE ================= */

.mensaje-accidente {
  padding: 60px 20px;
}

.mensaje-accidente-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mensaje-accidente-hero {
  text-align: center;
  line-height: 1.3;
}

.mensaje-accidente-hero h2 {
  margin-bottom: 20px;
}

.mensaje-accidente-hero p {
  max-width: 500px;
  margin: 0 auto;
}

.mensaje-accidente-textos {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: left;
}

.mensaje-accidente-bloque p {
  font-size: var(--font-size-m);
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* ================= MENSAJE ACCIDENTE ================= */
/* ================= RESPONSIVE PC ================= */
@media (min-width: 768px) {
  .mensaje-accidente-hero {
    text-align: center;
  }

  .mensaje-accidente-textos {
    flex-direction: row;
    justify-content: space-between;
    gap: 60px;
  }

  .mensaje-accidente-bloque {
    flex: 1;
  }

  .mensaje-accidente-bloque p {
    max-width: 500px;
  }
}




.mensaje-accidente-hero {
  position: relative;
  /* Esto sirve como contenedor de referencia */
}

.mensaje-accidente-imagen-decorativa {
  position: absolute;
  top: -195px;
  /* 🔸 Ajusta esta distancia para que se superponga como quieras */
  height: auto;
  z-index: 2;
  /* Asegura que quede por encima */
  pointer-events: none;
  /* Para que no interfiera con clics */
}

@media (min-width: 768px) {
  .mensaje-accidente-imagen-decorativa {
    top: -195px;
    /* 🔸 más separación en escritorio */
    right: -140px;
  }
}




/* Contenedor principal */
.seccion-paso-a-paso {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 20px;
}

/* Texto */
.paso-texto h2 {
  color: var(--blueberry);
  font-family: var(--font-family-clash_grotesk_variable-regular);
  font-size: 2.5rem;
  line-height: 1.2;
}

/* Contenedor de imagen */
.paso-imagen {
  position: relative;
  flex-shrink: 0;
}

.paso-imagen img {
  display: block;
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Flecha superpuesta */
.flecha-decorativa {
  position: absolute;
  left: -150px;         /* ajusta según tu diseño */
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  max-width: 40vw;
  z-index: 2;
}

/* 📱 Mobile */
@media (max-width: 768px) {
  .seccion-paso-a-paso {
    flex-direction: column;
    text-align: center;
  }

  .paso-texto h2 {
    font-size: 2rem;
  }

  .flecha-decorativa {
    position: static;
    transform: none;
    margin: 20px auto;
    width: 200px;
  }

  .paso-imagen img {
    max-width: 100%;
  }
}









/* ================= SECCIÓN IDENTIFICATE ================= */
.seccion-identificate {
  padding: 60px 20px;
}

.identificate-container {
  display: flex;
  flex-direction: column;
  /* 📱 Mobile first */
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === BLOQUE DERECHO (IMAGEN ARRIBA EN MOBILE) === */
.identificate-imagen {
  order: 1;
  max-width: 250px;
  width: 100%;
}

.identificate-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

/* === BLOQUE IZQUIERDO (TEXTO EN MEDIO EN MOBILE) === */
.identificate-texto {
  text-align: center;
  order: 2;
}

.identificate-texto h2 {
  line-height: 1.2;
  margin-bottom: 10px;
}

/* === BLOQUE CENTRAL (FLECHA ABAJO EN MOBILE) === */
.identificate-flecha {
  order: 3;
  width: 150px;
}

.identificate-flecha img {
  width: 100%;
  height: auto;
  display: block;
  transform: rotate(-75deg);
  /* 🌀 gira la imagen -75 grados */
  transform-origin: center;
  /* 📍 gira desde el centro de la imagen */
}

/* ================= SECCIÓN IDENTIFICATE ================= */
/* ================= 🖥️ RESPONSIVE DESKTOP ================= */
@media (min-width: 768px) {
  .identificate-container {
    flex-direction: row;
    /* 🖥️ disposición horizontal */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .identificate-texto {
    flex: 1;
    text-align: left;
    order: 1;
    /* Izquierda */
  }

  .identificate-flecha {
    flex: 0 0 150px;
    order: 2;
    /* Centro */
  }

  .identificate-imagen {
    flex: 1;
    order: 3;
    /* Derecha */
    display: flex;
    justify-content: flex-end;
  }

  .identificate-imagen img {
    max-width: 300px;
  }
}



/* ================= SECCIÓN RELLENA ================= */
.seccion-rellena {
  padding: 60px 20px;
}

.rellena-container {
  display: flex;
  flex-direction: column;   /* 📱 Mobile first */
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Bloque izquierdo (imagen) === */
.rellena-imagen {
  order: 1;
  max-width: 250px;
  width: 100%;
}

.rellena-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

/* === Bloque derecho (texto) === */
.rellena-texto {
  order: 2;
  text-align: center;
}

.rellena-texto h2 {
  line-height: 1.2;
  margin-bottom: 10px;
}

/* === Bloque inferior (flecha) === */
.rellena-flecha {
  order: 3;
  width: 120px;
}

.rellena-flecha img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= SECCIÓN RELLENA ================= */
/* ================= 🖥️ RESPONSIVE DESKTOP ================= */
@media (min-width: 768px) {
  .rellena-container {
    flex-direction: row;           /* 🖥️ disposición horizontal */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;           /* para posicionar flecha sobre esta zona */
  }

  .rellena-imagen {
    flex: 1;
    order: 1;
  }

  .rellena-texto {
    flex: 1;
    text-align: left;
    order: 2;
  }

  .rellena-flecha {
    position: absolute;           /* flecha superpuesta */
    bottom: -40px;                /* 🔸 bajamos la flecha debajo del bloque */
    left: 50%;
    width: 150px;
    order: 3;
  }
}




/* ================= SECCIÓN FIRMA ================= */
.seccion-firma {
  padding: 60px 20px;
}

.firma-container {
  display: flex;
  flex-direction: column;  /* 📱 Mobile first */
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* === Imagen arriba en mobile === */
.firma-imagen {
  order: 1;
  max-width: 300px;
  width: 100%;
}

.firma-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

/* === Texto abajo en mobile === */
.firma-texto {
  order: 2;
  text-align: center;
}

.firma-texto h2 {
  line-height: 1.2;
  margin-bottom: 10px;
}

/* ================= SECCIÓN FIRMA ================= */
/* ================= 🖥️ RESPONSIVE DESKTOP ================= */
@media (min-width: 768px) {
  .firma-container {
    flex-direction: row;           /* 🖥️ disposición horizontal */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }

  .firma-texto {
    flex: 1;
    text-align: left;
    order: 1;
  }

  .firma-imagen {
    flex: 1;
    order: 2;
    display: flex;
    justify-content: flex-end;
  }

  .firma-imagen img {
    max-width: 400px;
  }
}




/* ================= SECCIÓN VIDEO ================= */
.seccion-video {
  padding: 0; /* El video ocupará el ancho completo sin padding extra */
}

.video-container {
  display: flex;
  justify-content: center;   /* Centra el contenido en desktop */
  align-items: center;
  width: 100%;
}

.video-imagen {
  width: 100%;              /* 📱 Mobile: ocupa todo el ancho */
  height: auto;
  display: block;
}

/* ================= SECCIÓN VIDEO ================= */
/* ================= 🖥️ RESPONSIVE DESKTOP ================= */
@media (min-width: 768px) {
  .video-imagen {
    max-width: 900px;       /* 🖥️ Controla el tamaño máximo */
    width: 400px;
    margin: 0 auto;         /* Centrado horizontal */
  }
}




/* ================= SECCIÓN MENSAJE ACCIDENTE ================= */
.mensaje-accidente {
  padding: 60px 20px;
}

.mensaje-accidente-container {
  display: flex;
  flex-direction: column; /* 📱 Mobile first */
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.mensaje-accidente-hero {
  text-align: center;
  line-height: 1.4;
}

.mensaje-accidente-hero h2 {
  margin-bottom: 20px;
}

.mensaje-accidente-hero p {
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ================= SECCIÓN MENSAJE ACCIDENTE ================= */
/* ================= 🖥️ RESPONSIVE DESKTOP ================= */
@media (min-width: 768px) {
  .mensaje-accidente-hero {
    text-align: center;
  }

  .mensaje-accidente-hero h2 {
    font-size: 2rem;
  }

  .mensaje-accidente-hero p {
    font-size: 1rem;
  }
}



/* ================= SECCIÓN LA DAA ================= */
.seccion-la-daa {
  padding: 60px 20px;
}

.la-daa-container {
  display: flex;
  flex-direction: column; /* 📱 Mobile first */
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.la-daa-imagen {
  order: 1; /* Imagen primero en mobile */
  max-width: 400px;
  width: 100%;
}

.la-daa-imagen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.la-daa-texto {
  order: 2; /* Texto después en mobile */
  text-align: center;
}

.la-daa-texto h2 {
  position: relative;
  display: inline-block;
  line-height: 1.2;
  margin-bottom: 20px;
}

.la-daa-texto p {
  margin-bottom: 15px;
  line-height: 1.6;
}

/* ================= SECCIÓN LA DAA ================= */
/* ================= 🖥️ RESPONSIVE DESKTOP ================= */
@media (min-width: 768px) {
  .la-daa-container {
    flex-direction: row; /* 🖥️ disposición horizontal */
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }

  .la-daa-texto {
    flex: 1;
    text-align: left;
    order: 1;
  }

  .la-daa-imagen {
    flex: 1;
    order: 2;
    display: flex;
    justify-content: flex-end;
  }

  .la-daa-imagen img {
    max-width: 500px;
  }
}


/* ================= SECCIÓN SABÍAS QUE ================= */
.seccion-sabias {
  padding: 0; /* sin márgenes exteriores */
}

.sabias-container {
  background-color: var(--chartreuse-yellow); /* 🟡 bloque amarillo */
  display: flex;
  flex-direction: column; /* 📱 Mobile first */
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;               /* 📱 ocupa todo el ancho en mobile */
  padding: 40px 20px;
}

.sabias-izquierda {
  order: 1;
  text-align: center;
}

.sabias-icono img {
  width: 50px;
  height: auto;
  margin-bottom: 10px;
}

.sabias-izquierda h2 {
  line-height: 1.2;
}

.sabias-derecha {
  order: 2;
  text-align: center;
}

.sabias-derecha p {
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ================= SECCIÓN SABÍAS QUE ================= */
/* ================= 🖥️ RESPONSIVE DESKTOP ================= */
@media (min-width: 768px) {
  .sabias-container {
    flex-direction: row;          /* 🖥️ disposición horizontal */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1000px;            /* 💡 ancho limitado en desktop */
    margin: 0 auto;               /* 🤍 deja márgenes blancos a los lados */
    border-radius: 8px;
    padding: 40px 60px;
  }

  .sabias-izquierda {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .sabias-derecha {
    flex: 2;
    text-align: left;
  }

  .sabias-derecha p {
    max-width: 700px;
    margin: 0;
  }
}


/* ================= SECCIÓN POR QUÉ ES IMPORTANTE ================= */
.seccion-importante {
  padding: 60px 20px;
}

.importante-container {
  display: flex;
  flex-direction: column; /* 📱 Mobile first */
  align-items: center;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.importante-imagen {
  order: 1; /* Imagen arriba en mobile */
  max-width: 400px;
  width: 100%;
}

.importante-imagen img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.importante-texto {
  order: 2; /* Texto abajo en mobile */
  text-align: center;
}

.importante-texto h2 {
  position: relative;
  display: inline-block;
  line-height: 1.2;
  margin-bottom: 20px;
}

.importante-texto p {
  max-width: 600px;
  line-height: 1.6;
  margin: 0 auto;
}

/* ================= SECCIÓN POR QUÉ ES IMPORTANTE ================= */
/* ================= 🖥️ RESPONSIVE DESKTOP ================= */
@media (min-width: 768px) {
  .importante-container {
    flex-direction: row; /* 🖥️ disposición horizontal */
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }

  .importante-imagen {
    flex: 1;
    order: 1; /* Imagen a la izquierda */
  }

  .importante-texto {
    flex: 1;
    text-align: left;
    order: 2;
  }

  .importante-texto p {
    margin: 0;
  }

  .importante-imagen img {
    max-width: 500px;
  }
}



/* ================= SECCIÓN ACOMPANARTE ================= */
.seccion-acompanarte {
  padding: 60px 20px;
}

.acompanarte-container {
  display: flex;
  flex-direction: column; /* 📱 Mobile first */
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.acompanarte-texto {
  order: 1;
  text-align: left;
}

.acompanarte-texto h2 {
  line-height: 1.2;
}

.acompanarte-imagen {
  order: 2;
  display: flex;
  justify-content: flex-start;
  width: 100%;
  max-width: 300px;
}

.acompanarte-imagen img {
  width: 100%;
  height: auto;
  display: block;
}

/* ================= SECCIÓN ACOMPANARTE ================= */
/* ================= 🖥️ RESPONSIVE DESKTOP ================= */
@media (min-width: 768px) {
  .acompanarte-container {
    flex-direction: row; /* 🖥️ Texto izquierda, flecha derecha */
    align-items: center;
    justify-content: space-between;
    gap: 60px;
  }

  .acompanarte-texto {
    flex: 1;
  }

  .acompanarte-imagen {
    flex: 1;
    order: 2;
    max-width: 350px;
    justify-content: flex-end;
  }
}





/* ================= SECCIÓN CONTACTO FORM ================= */
.seccion-contacto-form {
  padding: 40px 16px 60px;
}

.contacto-form-container {
  max-width: 1120px;
  margin: 0 auto;
}

.contacto-titulo {
  text-align: center;
  line-height: 1.25;
  margin-bottom: 12px;
}

.contacto-subtitulo {
  text-align: center;
  line-height: 1.5;
  max-width: 780px;
  margin: 0 auto 28px;
}

/* Formulario (mobile first) */
.contacto-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Campo genérico */
.campo label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.campo input,
.campo textarea {
  width: 100%;
  border: none;
  outline: none;
  border-radius: 10px;
  background-color: var(--pattens-blue);
  padding: 16px 18px;
  font-size: var(--font-size-m);
  color: var(--shark);
}

/* Mensaje ocupa todo el ancho */
.campo-mensaje {
  grid-column: 1 / -1;
}

/* Acciones (checkbox + botón) */
.contacto-acciones {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  margin-top: 10px;
}

.check-legal {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-legal input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blueberry);
}

/* Botón Enviar, siguiendo el estilo del diseño */
.btn-enviar {
  background-color: var(--chartreuse-yellow);
  border: none;
  border-radius: 8px;
  padding: 16px 34px;
  cursor: pointer;
  transition: transform 0.15s ease;
  align-self: stretch;         /* full width en mobile */
  color: var(--blue-zodiac);
}

.btn-enviar:active {
  transform: translateY(1px);
}



/* ================= SECCIÓN CONTACTO FORM ================= */
/* ================= DESKTOP ================= */
@media (min-width: 768px) {
  .seccion-contacto-form {
    padding: 60px 20px 90px;
  }

  .contacto-titulo {
    font-size: var(--font-size-xxxl);
  }

  /* Dos columnas como en la imagen: 
     - Fila 1: Nombre | Apellidos
     - Fila 2: Email  | Teléfono
     - Fila 3: Mensaje (full)
     - Fila 4: Checkbox izquierda | Botón a la derecha
  */
  .contacto-form {
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    row-gap: 22px;
  }

  .campo:nth-child(1),
  .campo:nth-child(2),
  .campo:nth-child(3),
  .campo:nth-child(4) {
    grid-column: auto;
  }

  .campo-mensaje {
    grid-column: 1 / 3; /* full width */
  }

  .contacto-acciones {
    grid-column: 1 / 3;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
  }

  .btn-enviar {
    align-self: auto;     /* botón no ocupa todo el ancho */
    min-width: 220px;
  }
}




/* ==================== ESTRUCTURA GENERAL ==================== */
.carrusel-wrapper {
  overflow: hidden;
  width: 100%;
}

.carrusel-track {
  display: flex;
  transition: transform 0.6s ease;  /* Transición suave */
}

.slice {
  flex: 0 0 100%;
  width: 100%;
  padding: 20px;
  text-align: left;
  border: 1px solid var(--blueberry);
  border-radius: 8px;
  background-color: var(--white);
  box-sizing: border-box;
}

.slice-icono {
  width: 35px;
  height: auto;
  margin-bottom: 15px;
}

/* ==================== INDICADORES ==================== */
.carrusel-indicadores {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: var(--blueberry);
  opacity: 0.3;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
}

.dot.active {
  background-color: var(--chartreuse-yellow);
  opacity: 1;
}

/* ==================== INDICADORES ==================== */
/* ==================== DESKTOP ==================== */
@media (min-width: 768px) {
  .carrusel-wrapper {
    overflow: visible;
  }

  .carrusel-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
    transform: none;           /* 👈 no se mueve */
    transition: none;          /* 👈 sin animación */
  }

  .slice {
    flex: none;
    width: auto;
  }

  .carrusel-indicadores {
    display: none; /* 👈 indicadores desaparecen */
  }
}



/* ================= CARRUSEL PASOS ================= */
.seccion-carrusel-pasos {
  padding: 60px 20px;
}

.carrusel-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}




.carrusel-wrapper {
  overflow: hidden;
  width: 100%;
}

.carrusel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.slice {
  flex: 0 0 100%;
  width: 100%;
  padding: 20px;
  text-align: center;
  border: 1px solid var(--blueberry);
  border-radius: 8px;
  background-color: var(--white);
  box-sizing: border-box;
}

/* Ícono más grande */
.slice-icono {
  width: 100px;                   /* 🖼️ icono grande */
  height: auto;
  margin-bottom: 20px;
}

.carrusel-indicadores {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: var(--blueberry);
  opacity: 0.3;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity 0.3s;
}

.dot.active {
  background-color: var(--chartreuse-yellow);
  opacity: 1;
}

/* ================= CARRUSEL PASOS ================= */
/* ================= DESKTOP ================= */
@media (min-width: 768px) {
  .carrusel-wrapper {
    overflow: visible;
  }

  .carrusel-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    transform: none;
    transition: none;
  }

  .slice {
    flex: none;
    width: auto;
  }

  .carrusel-indicadores {
    display: none;
  }
}



