/*ESTILOS DE LA NAVBAR*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

:root {
    --gris: #434444;
    --azul: #095374;
    --verde: #b0bf3e;
    --verde-claro: #d0da89;
    --blanco: #e7ecea;
}

body {
    background: var(--blanco);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}


.navbar {
    background: var(--verde);
    padding: 0.8rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
    box-shadow: 0 15px 25px -8px rgba(9, 83, 116, 0.4);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

}

.brand img {
    height: 50px;
    width: auto;
    display: block;
}

.hamburger {
    display: none;
    background: var(--verde);
    border: none;
    color: var(--gris);
    font-size: 2rem;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    cursor: pointer;
    border: 2px solid var(--verde-claro);
    transition: 0.2s;
    z-index: 100;
}

.hamburger:hover {
    background: var(--verde-claro);
    color: var(--azul);
}

.menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    transition: all 0.3s ease;
}

.menu li a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    background: transparent;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu li a i {
    color: #ffffff;
}

.menu li a:hover {
    background: var(--verde);
    color: var(--blanco);
}

.menu li a:hover i {
    color: var(--blanco);
}


.hero {
    position: relative;
    width: 100%;
    height: 700px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* Capa semitransparente encima de la imagen */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(9, 83, 116, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    color: white;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1rem, 4vw, 1.3rem);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primario {
    background: var(--verde);
    color: var(--gris);
    border: 2px solid var(--verde-claro);
}

.btn-primario:hover {
    background: var(--verde-claro);
    color: var(--azul);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn-secundario {
    background: transparent;
    color: white;
    border: 2px solid var(--verde-claro);
    backdrop-filter: blur(5px);
}

.btn-secundario:hover {
    background: var(--verde-claro);
    color: var(--blanco);
    border-color: var(--verde);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        margin-top: 1.5rem;
        padding: 1rem 0;
        background: var(--azul);
    }

    .menu.show {
        display: flex;
    }

    .menu li {
        width: 100%;
        text-align: center;
    }

    .menu li a {
        justify-content: center;
        padding: 0.8rem;
    }


    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {


    .hero-content {
        padding: 1rem;
    }
}

/*ESTILOS PARA SEGURIDAD-SEGUNDA SECCION*/
.seguridad-3 {
    background: white;
    padding: 3rem;
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    border-top: 8px solid var(--azul);
    border-bottom: 8px solid var(--azul);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.seguridad-3 .tituloParte1 {
    color: var(--azul);
    font-size: clamp(1.8rem, 4.5vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    /* Cambiado de nowrap a normal */
    word-break: break-word;
}

.seguridad-3 .grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.seguridad-3 .titulo {
    color: var(--gris);
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    border-bottom: 3px dotted var(--azul);
    padding-bottom: 0.8rem;
}

.seguridad-3 .descripcionInicio {
    text-align: justify;
    color: var(--gris);
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;

}

.seguridad-3 .botones {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.seguridad-3 .btn {
    padding: 0.9rem 2.2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-principal);
}

.seguridad-3 .btn a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
}

.seguridad-3 .btn i {
    font-size: 1.1rem;
}

.seguridad-3 .btn-primario {
    background: var(--azul);
    color: white;
}

.seguridad-3 .btn-primario:hover {
    background: var(--verde-claro);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.seguridad-3 .btn-secundario {
    background: var(--azul);
    color: var(--blanco);
}

.seguridad-3 .btn-secundario:hover {
    background: var(--verde-claro);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgb(255, 255, 255);
}


.seguridad-3 .bloque-imagen {
    background: var(--azul);
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    min-height: 250px;
    width: 100%;
    height: 350px;
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}


.seguridad-3 .bloque-imagen:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .seguridad-3 {
        padding: 1.8rem;
    }

    .seguridad-3 .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .seguridad-3 .botones {
        flex-direction: column;
    }

    .seguridad-3 .btn {
        width: 100%;
        justify-content: center;
    }

    .seguridad-3 .btn a {
        justify-content: center;
    }

    .seguridad-3 .bloque-imagen {
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .seguridad-3 .titulo {
        font-size: 1.6rem;
    }

    .seguridad-3 .descripcionInicio {
        font-size: 1rem;
    }

    .seguridad-3 .bloque-imagen {
        min-height: 180px;
    }
}

/* ===== RESPONSIVE PARA TU DISEÑO ===== */

/* Para tablets y móviles grandes */
@media screen and (max-width: 992px) {

    /* Grid de 2 columnas se convierte en 1 columna */
    .grid-2 {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Grid de tarjetas en la parte inferior */
    div[style*="grid-template-columns: repeat(2, 1fr)"] {
        grid-template-columns: 1fr !important;
    }
}

/* Para móviles */
@media screen and (max-width: 768px) {

    /* Ajuste de títulos */
    .tituloParte1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }

    .titulo {
        font-size: 1.6rem !important;
    }

    /* Ajuste de descripciones */
    .descripcionInicio {
        font-size: 1rem !important;
    }

    /* Botones en columna */
    .botones {
        flex-direction: column !important;
        gap: 0.8rem !important;
    }

    .btn {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Separador */
    hr[style*="margin: 3rem 0"] {
        margin: 2rem 0 !important;
    }
}

/* Para móviles pequeños */
@media screen and (max-width: 480px) {
    .tituloParte1 {
        font-size: 1.6rem !important;
    }

    .titulo {
        font-size: 1.3rem !important;
    }

    /* Imágenes más pequeñas */
    .bloque-imagen {
        min-height: 180px !important;
    }

    /* Padding de las tarjetas */
    div[style*="padding: 1.5rem"] {
        padding: 1rem !important;
    }
}

/* Ajustes específicos para las tarjetas */
@media screen and (max-width: 600px) {

    /* Títulos dentro de tarjetas */
    div[style*="padding: 1.5rem"] h3.titulo {
        font-size: 1.2rem !important;
    }

    /* Descripciones dentro de tarjetas */
    div[style*="padding: 1.5rem"] .descripcionInicio {
        font-size: 1.1rem !important;
    }
}

.seccion-simple {
    max-width: 1450px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-top: 8px solid var(--azul);
    border-bottom: 8px solid var(--azul);
}

.titulo-simple {
    color: var(--azul);
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Hatsch Sans', 'Segoe UI', sans-serif;
}

.fila-simple {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 3rem;
}

.imagen-simple {
    width: 40%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    border: 2px solid var(--verde-claro);
}

.texto-simple {
    width: 60%;
}

.subtitulo-simple {
    color: var(--azul);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-family: 'Montserrat', sans-serif;
}

.parrafo-simple {
    text-align: justify;
    color: var(--gris);
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-family: 'Roboto', sans-serif;
}

.botones-simple {
    display: flex;
    gap: 0.8rem;
}

.btn-simple {
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.btn-azul {
    background: var(--azul);
    color: white;
}

.btn-azul:hover {
    background: var(--verde-claro);
    color: var(--gris);
}

.btn-verde {
    background: var(--verde);
    color: var(--gris);
}

.btn-verde:hover {
    background: var(--azul);
    color: white;
}

/* Lista de opciones en 4 columnas */
.lista-simple {
    border-top: 2px dashed var(--verde-claro);
    padding-top: 2rem;
}

.subtitulo-lista {
    color: var(--azul);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.opciones-grid-4columnas {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.opciones-lista-columna {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opciones-lista-columna li {
    color: var(--gris);
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    padding: 0.4rem 0 0.4rem 1.2rem;
    position: relative;
    line-height: 1.4;
    word-break: break-word;
}

.opciones-lista-columna li::before {
    content: "•";
    color: var(--verde);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: 0.2rem;
}

.btn-pdf {
    background: #dc3545;
    color: white;
    border: 2px solid #ff6b6b;
}

.btn-pdf:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-pdf i {
    margin-right: 5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .opciones-grid-4columnas {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .fila-simple {
        flex-direction: column;
    }

    .imagen-simple,
    .texto-simple {
        width: 100%;
    }

    .botones-simple {
        justify-content: center;
    }

    .opciones-grid-4columnas {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .seccion-simple {
        padding: 1.5rem;
    }

    .titulo-simple {
        font-size: 1.8rem;
    }

    .subtitulo-simple {
        font-size: 1.3rem;
        text-align: center;
    }

    .btn-simple {
        width: 100%;
        text-align: center;
    }
}

/*SECCION DE NOSOTROS (HISTORIA,MISION,VISION)*/
.acercaNosotros {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    background: white;
    padding: 3.5rem 3rem;
    border-top: 8px solid var(--verde);
    border-bottom: 8px solid var(--verde);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

/* --- HEADER (título + descripción) --- */
.header-nosotros {
    max-width: 1300px;
    margin: 0 auto 3rem auto;
    

}

.header-nosotros h1 {
    color: var(--azul);
    font-size: clamp(2.5rem, 6vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    border-left: 8px solid var(--verde);
    padding-left: 1rem;

}

.header-nosotros h1::after {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    border-radius: 4px;
}

.descripcionNosotros {
    color: var(--gris);
    align-items: center;
    font-size: 1.2rem;
    line-height: 1.7;
    margin-top: 1.5rem;
    opacity: 0.9;
    font-weight: 400;
}

/* --- GRID DE 3 COLUMNAS --- */
.seccionConocenos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

/* Tarjetas */
.inicioInicio {
    background: var(--blanco);
    border-radius: 30px;
    overflow: hidden;
    /* para que la imagen respete el borde redondeado */
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 25px -8px rgba(9, 83, 116, 0.2);
    display: flex;
    flex-direction: column;
}

.inicioInicio:hover {
    border-color: var(--verde-claro);
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px var(--azul);
    background: white;
}

/* IMAGEN (ahora sí visible y bien proporcionada) */
.inicioInicio img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    /* hace que la imagen cubra el espacio sin deformarse */
    display: block;
    border-bottom: 4px solid var(--verde);
}

/* Contenedor del texto dentro de la tarjeta */
.inicioInicio .contenido-texto {
    padding: 1.8rem 1.5rem 2rem;
}

.inicioInicio .tituloInicio {
    color: var(--azul);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-left: 8px solid var(--verde);
    padding-left: 1rem;
}

.inicioInicio .descripcionInicio {
    color: var(--gris);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .seccionConocenos {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .acercaNosotros {
        padding: 2rem 1.5rem;
    }

    .seccionConocenos {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .header-nosotros h1 {
        font-size: 2.5rem;
    }

    .descripcionNosotros {
        font-size: 1rem;
    }

    .inicioInicio .tituloInicio {
        font-size: 1.6rem;
    }

    .inicioInicio img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .inicioInicio .contenido-texto {
        padding: 1.3rem;
    }

    .inicioInicio .tituloInicio {
        font-size: 1.4rem;
    }

    .inicioInicio img {
        height: 160px;
    }
}

/* ESTILOS EXCLUSIVOS PARA EL APARTADO DEL TÍTULO */

.seccion-titulo-principal {
    background: white;
    padding: 1.5rem 1.5rem;
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    border-top: 8px solid var(--verde);
    border-bottom: 8px solid var(--verde);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.container-titulo {
    max-width: 900px;
    margin: 0 auto;
}

.titulo-principal {
    color: var(--verde);
    font-size: clamp(2.5rem, 6vw, 4rem);
    /* Tamaño imponente como en header-nosotros */
    font-weight: 800;
    /* Peso más grueso para el título principal */
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* Línea decorativa debajo del título (inspirada en .header-nosotros h1::after) */
.titulo-principal::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--verde);
    border-radius: 4px;
}

.titulo-principal .destacado {
    color: var(--verde-claro);
    /* Usamos el verde para destacar una palabra */
    font-weight: 700;
}

.subtitulo-principal {
    color: var(--gris);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    /* Tamaño adaptable */
    line-height: 1.6;
    margin-top: 2rem;
    /* Espacio después de la línea del título */
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .seccion-titulo-principal {
        padding: 2.5rem 1.5rem;
    }

    .subtitulo-principal {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .titulo-principal {
        font-size: 2.2rem;
        /* Ajuste para móviles muy pequeños */
    }

    .subtitulo-principal {
        font-size: 1rem;
    }
}

/* Contenedor principal - clases completamente nuevas */
.contenedor-principal-flotas {
    background: white;
    padding: 3rem;
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
    border-top: 8px solid var(--verde);
    border-bottom: 8px solid var(--verde);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
}

/* Título principal */
.encabezado-importante {
    color: var(--azul);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    border-left: 8px solid var(--verde);
    padding-left: 1rem;
}

.encabezado-importante::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    border-radius: 4px;
}

/* Contenedor flexible */
.caja-doble {
    display: flex;
    gap: 3rem;
    align-items: center;
}

/* Columna de texto */
.zona-texto {
    flex: 1;
}

/* Columna de imagen */
.zona-imagen {
    flex: 0.8;
}

/* Título secundario */
.subtitulo-destacado {
    color: var(--gris);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    border-bottom: 3px dotted var(--verde);
    padding-bottom: 0.8rem;
}

/* Párrafo descriptivo */
.parrafo-explicativo {
    color: var(--gris);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Título de opciones */
.titulo-opciones-verde {
    color: var(--verde);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    border-left: 8px solid var(--verde);
    padding-left: 1rem;
}

/* Lista de opciones */
.listado-capacidades {
    list-style: none;
    padding: 0;
    margin: 0;
}

.listado-capacidades li {
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(176, 191, 62, 0.1);
    border-left: 8px solid var(--verde);
    border-radius: 10px;
    color: var(--gris);
    font-weight: 500;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.listado-capacidades li:hover {
    background: rgba(176, 191, 62, 0.2);
    transform: translateX(5px);
}

.listado-capacidades i {
    color: var(--verde);
    font-size: 1.2rem;
    width: 25px;
}

/* Imagen */
.imagen-presentacion {
    background-size: cover;
    background-position: center;
    border-radius: 30px;
    height: 500px;
    width: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--verde);
}

.imagen-presentacion:hover {
    transform: scale(1.02);
}

/* ===== RESPONSIVE ===== */
@media screen and (max-width: 992px) {
    .caja-doble {
        flex-direction: column !important;
    }

    .zona-texto,
    .zona-imagen {
        width: 100% !important;
    }

    .imagen-presentacion {
        height: 350px !important;
    }
}

@media screen and (max-width: 768px) {

    .contenedor-principal-flotas {
        padding: 1.5rem;
    }

    .imagen-presentacion {
        height: 250px !important;
    }
}

/* Contenedor principal centrado */
.contenedor-principal {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}



/* Título fuera de la imagen, centrado */
.titulo-soluciones-externo {
    text-align: center;
    margin-bottom: 3rem;
}

.titulo-soluciones-externo h1 {
    color: var(--azul);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin: 0 auto;
}

.titulo-soluciones-externo h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--verde);
    border-radius: 4px;
}

/* Contenedor con imagen de fondo - centrado */
.contenedor-soluciones {
    position: relative;
    width: 800px;
    height: 450px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    margin: 0 auto 2rem;
}

/* Imagen de fondo */
.fondo-soluciones {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.5s ease;
}

.contenedor-soluciones:hover .fondo-soluciones {
    transform: scale(1.05);
}

/* Capa oscura para mejorar legibilidad */
.overlay-soluciones {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Contenido (texto y botones) dentro de la imagen - centrado */
.contenido-soluciones {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: white;
}

.contenido-soluciones p {
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    margin-bottom: 2.5rem;
    max-width: 800px;
    line-height: 1.5;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.contenido-soluciones p i {
    color: var(--verde);
    margin: 0 5px;
    animation: latido 1.5s ease infinite;
}

@keyframes latido {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

.botones-soluciones {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-soluciones {
    padding: 1.2rem 3rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.btn-soluciones i {
    font-size: 1.2rem;
}

.btn-primario-sol {
    background: var(--verde);
    color: var(--gris);
    border: 2px solid var(--verde-claro);
}

.btn-primario-sol:hover {
    background: var(--verde-claro);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.btn-secundario-sol {
    background: transparent;
    color: white;
    border: 2px solid var(--verde-claro);
    backdrop-filter: blur(5px);
}

.btn-secundario-sol:hover {
    background: white;
    color: var(--azul);
    transform: translateY(-5px) scale(1.05);
}

.marca-soluciones {
    position: absolute;
    bottom: 30px;
    right: 30px;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.3);
    z-index: 4;
    letter-spacing: 5px;
}

/* ===== RESPONSIVE MEJORADO ===== */

/* Tablets y laptops pequeñas */
@media screen and (max-width: 992px) {
    .contenedor-soluciones {
        height: 450px;
    }

    .titulo-soluciones-externo h1 {
        font-size: 3rem;
    }
}

/* Móviles grandes y tablets pequeñas */
@media screen and (max-width: 768px) {

    .contenedor-soluciones {
        height: 400px;
    }

    .botones-soluciones {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-soluciones {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }

    .marca-soluciones {
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }

    .titulo-soluciones-externo h1 {
        font-size: 2.5rem;
    }
}

/* Móviles pequeños */
@media screen and (max-width: 480px) {


    .contenedor-soluciones {
        height: 350px;
    }

    .contenido-soluciones p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }

    .btn-soluciones {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }

    .marca-soluciones {
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }

    .titulo-soluciones-externo {
        margin-bottom: 2rem;
    }

    .titulo-soluciones-externo h1 {
        font-size: 2rem;
    }

    .titulo-soluciones-externo h1::after {
        width: 70px;
    }
}

/* Móviles muy pequeños */
@media screen and (max-width: 360px) {
    .contenedor-soluciones {
        height: 300px;
    }

    .contenido-soluciones p {
        font-size: 1rem;
    }

    .btn-soluciones {
        padding: 0.8rem 1.2rem;
    }

    .marca-soluciones {
        font-size: 1.2rem;
    }
}

/* ===== RESPONSIVE MEJORADO - SOLUCIONES ===== */

/* Tablets y laptops pequeñas */
@media screen and (max-width: 992px) {
    .contenedor-soluciones {
        width: 90%;
        height: 450px;
    }

    .titulo-soluciones-externo h1 {
        font-size: 3rem;
    }
}

/* Móviles grandes y tablets pequeñas */
@media screen and (max-width: 768px) {

    .contenedor-soluciones {
        width: 95%;
        height: 400px;
        border-radius: 30px;
    }

    .botones-soluciones {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn-soluciones {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }

    .marca-soluciones {
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }

    .titulo-soluciones-externo h1 {
        font-size: 2.5rem;
    }
}

/* Móviles pequeños */
@media screen and (max-width: 480px) {


    .contenedor-soluciones {
        width: 100%;
        height: 350px;
        border-radius: 20px;
    }

    .contenido-soluciones p {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .btn-soluciones {
        font-size: 1rem;
        padding: 0.9rem 1.5rem;
    }

    .marca-soluciones {
        font-size: 1.5rem;
        bottom: 15px;
        right: 15px;
    }

    .titulo-soluciones-externo {
        margin-bottom: 2rem;
    }

    .titulo-soluciones-externo h1 {
        font-size: 2rem;
    }

    .titulo-soluciones-externo h1::after {
        width: 70px;
    }
}

/* Móviles muy pequeños */
@media screen and (max-width: 360px) {
    .contenedor-soluciones {
        height: 300px;
    }

    .contenido-soluciones p {
        font-size: 1rem;
    }

    .btn-soluciones {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }

    .marca-soluciones {
        font-size: 1.2rem;
    }
}

/* ===== AJUSTE PARA SCROLL CON NAVBAR FIJO ===== */
html {
    scroll-behavior: smooth;
}


section[id],
div[id] {
    scroll-margin-top: 90px;
}

#nosotros,
#servicios,
#alianzas,
#contacto,
#certificaciones,
#app,
#video-moderno {
    scroll-margin-top: 90px;
}

#seccion-localizacion,
#seccion-dispositivos,
#seccion-novedades,
#seccion-rastreo,
#seccion-calentadores {
    scroll-margin-top: 90px;
}

/* Estilo para el botón VER PDF */
.botones-guardia-virtual .btn-terciario {
    background: var(--azul);
    color: white;
    border: 2px solid var(--verde-claro);
}

.botones-guardia-virtual .btn-terciario:hover {
    background: var(--verde-claro);
    color: var(--azul);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(9, 83, 116, 0.3);
}

/* ===== PREVENIR OVERFLOW HORIZONTAL ===== */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    overflow-x: hidden;
}

/* Asegurar que ningún elemento cause desbordamiento */
* {
    max-width: 100%;
    box-sizing: border-box;
}

.inicioInicio img[alt="Valores"] {
    width: 100%;
    object-fit: cover;
    object-position: center 20%;
}
