/* =========================================
   CONFIGURACIÓN GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background: #ffffff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
}


/* =========================================
   ENCABEZADO
========================================= */

.header {
    min-height: 70px;
    padding: 12px 5%;
    background: #071c3f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: 90px;
    height: auto;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex: 1;
}

.menu a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    transition: color 0.25s ease;
}

.menu a:hover {
    color: #25d366;
}

.boton-whatsapp {
    flex-shrink: 0;
    padding: 13px 20px;
    color: #ffffff;
    background: #25d366;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.boton-whatsapp:hover {
    background: #1eaf53;
    transform: translateY(-2px);
}


/* =========================================
   PORTADA PRINCIPAL
========================================= */

.hero {
    min-height: 500px;
    display: grid;
    grid-template-columns: 42% 58%;
    background: #071c3f;
    overflow: hidden;
}

.hero-contenido {
    padding: 70px 8%;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-etiqueta {
    color: #25d366;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero h1 span {
    display: block;
    color: #ffffff;
    text-transform: uppercase;
}

.hero-descripcion {
    max-width: 560px;
    color: #dbe5f5;
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.hero-beneficios {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 20px;
    margin-bottom: 32px;
}

.hero-beneficios span {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    padding-left: 22px;
}

.hero-beneficios span::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #25d366;
    font-weight: 900;
}

.hero-botones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.boton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.boton:hover {
    transform: translateY(-2px);
}

.boton-verde {
    background: #25d366;
    color: #ffffff;
}

.boton-verde:hover {
    background: #1eaf53;
}

.boton-borde {
    border: 2px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.boton-borde:hover {
    background: #ffffff;
    color: #071c3f;
}

.hero-imagen {
    min-width: 0;
    min-height: 500px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}


/* =========================================
   BARRA DE BENEFICIOS
========================================= */

.barra-beneficios {
    padding: 22px 6%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.beneficio {
    padding: 8px 24px;
    text-align: center;
    border-right: 1px solid #d8dee8;
}

.beneficio:last-child {
    border-right: none;
}

.beneficio strong,
.beneficio span {
    display: block;
}

.beneficio strong {
    color: #071c3f;
    font-size: 16px;
    margin-bottom: 4px;
}

.beneficio span {
    color: #667085;
    font-size: 13px;
}


/* =========================================
   TÍTULOS DE SECCIÓN
========================================= */

.titulo-seccion {
    text-align: center;
    margin-bottom: 42px;
}

.titulo-seccion h2 {
    color: #071c3f;
    font-size: 36px;
    margin-bottom: 12px;
}

.linea {
    width: 75px;
    height: 4px;
    margin: 0 auto;
    border-radius: 10px;
    background: #1677ff;
}


/* =========================================
   SERVICIOS
========================================= */

.servicios {
    padding: 70px 4% 85px;
    background: #f7f9fc;
}

.cards {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(7, 28, 63, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(7, 28, 63, 0.17);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.card-contenido {
    padding: 20px 16px 24px;
    text-align: center;
}

.card h3 {
    color: #071c3f;
    font-size: 19px;
    margin-bottom: 10px;
}

.card p {
    color: #667085;
    font-size: 14px;
    line-height: 1.55;
}


/* =========================================
   TRABAJOS REALIZADOS
========================================= */

.trabajos {
    padding: 75px 4% 90px;
    background: #ffffff;
}

.trabajos-descripcion {
    max-width: 680px;
    margin: 18px auto 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.6;
}

.galeria-trabajos {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.foto-trabajo {
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    background: #e9eef5;
    box-shadow: 0 8px 22px rgba(7, 28, 63, 0.12);
}

.foto-trabajo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.foto-trabajo:hover img {
    transform: scale(1.07);
}


/* =========================================
   MARCAS
========================================= */

.marcas {
    padding: 55px 20px;
    background: #ffffff;
    text-align: center;
}

.marcas h2 {
    color: #194a8d;
    font-size: 34px;
    margin: 0 0 35px;
}

.logos-marcas {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 45px;
}

.logos-marcas img {
    width: 125px;
    height: 70px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.logos-marcas img:hover {
    transform: scale(1.08);
}


/* =========================================
   POR QUÉ ELEGIR SEMSAPRO
========================================= */

.por-que-elegir {
    padding: 70px 4% 80px;
    background: #071c3f;
    color: #ffffff;
}

.titulo-claro h2 {
    color: #ffffff;
}

.titulo-claro h2 span {
    color: #3a8dff;
}

.linea-verde {
    background: #25d366;
}

.ventajas {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ventaja {
    padding: 10px 28px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.ventaja:last-child {
    border-right: none;
}

.ventaja-icono {
    width: 55px;
    height: 55px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #3a8dff;
    border-radius: 50%;
    color: #25d366;
    font-size: 25px;
    font-weight: 900;
}

.ventaja h3 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 17px;
}

.ventaja p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================
   COBERTURA
========================================= */

.cobertura {
    padding: 80px 20px;
    background: #f4f7fb;
}

.cobertura-contenido {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.cobertura-texto .subtitulo {
    color: #20b95a;
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
}

.cobertura-texto h2 {
    color: #102856;
    font-size: 38px;
    line-height: 1.2;
    margin: 14px 0 20px;
}

.cobertura-texto p {
    color: #5f6775;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.zonas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    color: #17366d;
    font-weight: bold;
    margin-bottom: 30px;
}

.boton-cobertura {
    display: inline-block;
    padding: 14px 25px;
    background: #21bd59;
    color: #ffffff;
    font-weight: bold;
    border-radius: 7px;
    text-align: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

.boton-cobertura:hover {
    background: #159845;
    transform: translateY(-2px);
}

.cobertura-mapa {
    min-height: 350px;
}

.mapa-placeholder {
    min-height: 350px;
    background: linear-gradient(135deg, #102653, #0860b8);
    border-radius: 18px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
}

.mapa-placeholder span {
    font-size: 60px;
    margin-bottom: 15px;
}

.mapa-placeholder h3 {
    font-size: 25px;
    margin-bottom: 10px;
}

.mapa-placeholder p {
    color: #dce9ff;
    font-size: 16px;
}


/* =========================================
   CONTACTO
========================================= */

.contacto {
    padding: 80px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
}

.contacto .subtitulo {
    color: #23b757;
    font-weight: bold;
}

.contacto h2 {
    font-size: 40px;
    color: #102856;
    margin: 15px 0;
}

.contacto p {
    color: #666666;
    line-height: 1.7;
}

.datos-contacto {
    margin-top: 35px;
}

.datos-contacto p {
    margin-bottom: 18px;
    font-size: 17px;
}

.formulario {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.formulario input,
.formulario select,
.formulario textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #dddddd;
    border-radius: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    outline: none;
    background: #ffffff;
}

.formulario textarea {
    resize: vertical;
    min-height: 130px;
}

.formulario input:focus,
.formulario select:focus,
.formulario textarea:focus {
    border-color: #0b5ed7;
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.1);
}

.formulario button {
    width: 100%;
    padding: 18px;
    background: #1fb857;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.formulario button:hover {
    background: #169446;
    transform: translateY(-2px);
}


/* =========================================
   TABLET GRANDE
========================================= */

@media (max-width: 1150px) {

    .menu {
        gap: 17px;
    }

    .menu a {
        font-size: 12px;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .galeria-trabajos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ventajas {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 35px 0;
    }

    .ventaja:nth-child(3) {
        border-right: none;
    }
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .header {
        position: static;
        flex-direction: column;
        justify-content: center;
        padding: 18px 20px;
        gap: 18px;
    }

    .logo img {
        width: 105px;
    }

    .menu {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .menu a {
        font-size: 12px;
    }

    .boton-whatsapp {
        padding: 12px 18px;
        font-size: 13px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-contenido {
        padding: 50px 30px;
        text-align: center;
        align-items: center;
    }

    .hero-descripcion {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-beneficios {
        width: 100%;
        max-width: 550px;
        text-align: left;
    }

    .hero-botones {
        justify-content: center;
    }

    .hero-imagen {
        min-height: 380px;
    }

    .barra-beneficios {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 0;
    }

    .beneficio:nth-child(2) {
        border-right: none;
    }

    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .galeria-trabajos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ventajas {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ventaja,
    .ventaja:nth-child(3) {
        border-right: none;
    }

    .cobertura-contenido {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contacto {
        grid-template-columns: 1fr;
        padding: 60px 25px;
    }
}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 650px) {

    .header {
        padding: 16px;
    }

    .logo img {
        width: 100px;
    }

    .menu {
        gap: 10px 14px;
    }

    .menu a {
        font-size: 11px;
    }

    .boton-whatsapp {
        width: 100%;
        max-width: 290px;
        padding: 12px 15px;
        font-size: 12px;
    }

    .hero {
        min-height: auto;
    }

    .hero-contenido {
        padding: 42px 20px;
    }

    .hero-etiqueta {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 34px;
        line-height: 1.12;
    }

    .hero-descripcion {
        font-size: 16px;
    }

    .hero-beneficios {
        grid-template-columns: 1fr;
    }

    .hero-botones {
        width: 100%;
        flex-direction: column;
    }

    .boton {
        width: 100%;
    }

    .hero-imagen {
        min-height: 260px;
    }

    .hero-imagen img {
        object-fit: cover;
    }

    .barra-beneficios {
        grid-template-columns: 1fr;
        padding: 15px 20px;
    }

    .beneficio,
    .beneficio:nth-child(2) {
        padding: 15px 10px;
        border-right: none;
        border-bottom: 1px solid #d8dee8;
    }

    .beneficio:last-child {
        border-bottom: none;
    }

    .servicios {
        padding: 55px 18px 70px;
    }

    .trabajos {
        padding: 55px 18px 70px;
    }

    .marcas {
        padding: 50px 18px;
    }

    .por-que-elegir {
        padding: 55px 18px 65px;
    }

    .titulo-seccion {
        margin-bottom: 32px;
    }

    .titulo-seccion h2,
    .marcas h2 {
        font-size: 29px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .card img {
        height: 230px;
    }

    .galeria-trabajos {
        grid-template-columns: 1fr;
    }

    .foto-trabajo {
        height: 270px;
    }

    .logos-marcas {
        gap: 22px;
    }

    .logos-marcas img {
        width: 95px;
        height: 55px;
    }

    .ventajas {
        grid-template-columns: 1fr;
    }

    .ventaja {
        padding: 25px 12px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .ventaja:last-child {
        border-bottom: none;
    }

    .cobertura {
        padding: 55px 18px;
    }

    .cobertura-contenido {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cobertura-texto {
        text-align: center;
    }

    .cobertura-texto h2 {
        font-size: 29px;
    }

    .zonas {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .boton-cobertura {
        width: 100%;
    }

    .cobertura-mapa,
    .mapa-placeholder {
        min-height: 270px;
    }

    .mapa-placeholder {
        padding: 25px 20px;
    }

    .mapa-placeholder span {
        font-size: 50px;
    }

    .mapa-placeholder h3 {
        font-size: 22px;
    }

    .contacto {
        padding: 50px 18px;
        gap: 35px;
    }

    .contacto h2 {
        font-size: 30px;
    }

    .formulario,
    .formulario input,
    .formulario select,
    .formulario textarea,
    .formulario button {
        width: 100%;
    }
}


/* =========================================
   CELULARES PEQUEÑOS
========================================= */

@media (max-width: 400px) {

    .menu {
        flex-direction: column;
        gap: 12px;
    }

    .menu a {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-imagen {
        min-height: 220px;
    }

    .titulo-seccion h2,
    .marcas h2 {
        font-size: 26px;
    }

    .foto-trabajo {
        height: 235px;
    }

    .logos-marcas img {
        width: 85px;
        height: 50px;
    }

    .cobertura-texto h2 {
        font-size: 26px;
    }

    .contacto h2 {
        font-size: 27px;
    }
}
/* =====================================
   BOTÓN FLOTANTE WHATSAPP
===================================== */

.whatsapp-float{
    position:fixed;
    right:25px;
    bottom:25px;
    width:70px;
    height:70px;
    background:#25D366;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 10px 25px rgba(0,0,0,.25);
    z-index:9999;
    transition:.3s;
}

.whatsapp-float:hover{
    transform:scale(1.12);
}

.whatsapp-float img{
    width:38px;
    height:38px;
}

@media(max-width:768px){

    .whatsapp-float{

        width:60px;
        height:60px;
        right:18px;
        bottom:18px;

    }

    .whatsapp-float img{

        width:34px;
        height:34px;

    }

}
/* =====================================
   MENÚ HAMBURGUESA
===================================== */

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    padding: 5px 10px;
}

@media screen and (max-width: 768px) {

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }

    .header {
        position: relative;
    }

    .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #003b73;
        padding: 15px;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .menu.activo {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .menu a {
        display: block;
        width: 100%;
        padding: 12px;
        text-align: center;
        color: #ffffff;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .menu a:last-child {
        border-bottom: none;
    }
}
/*==================================
            FOOTER
===================================*/

.footer{
    background:#003b73;
    color:#fff;
}

.footer-container{
    max-width:1200px;
    margin:auto;
    padding:50px 20px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

.footer-logo{
    width:180px;
    margin-bottom:15px;
}

.footer h3{
    margin-bottom:15px;
    color:#ffffff;
}

.footer p,
.footer li{
    color:#d8e6f5;
    line-height:1.8;
}

.footer ul{
    list-style:none;
    padding:0;
}

.footer li{
    margin-bottom:8px;
}

.footer-copy{
    text-align:center;
    padding:20px;
    background:#00274d;
    font-size:14px;
}

/*=========================
      CELULAR
=========================*/

@media(max-width:768px){

.footer-container{

grid-template-columns:1fr;
text-align:center;

}

.footer-logo{

margin:auto;
display:block;

}

}
/* =====================================
   MAPA DE COBERTURA
===================================== */

.mapa-seccion{
    padding:70px 20px;
    background:#f4f7fa;
}

.mapa-contenido{
    max-width:1200px;
    margin:auto;
    text-align:center;
}

.mapa-contenido h2{
    margin-bottom:15px;
    color:#003b73;
    font-size:36px;
}

.mapa-contenido p{
    margin-bottom:30px;
    color:#555;
    font-size:18px;
}

.mapa-contenedor{
    width:100%;
    height:420px;
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 12px 30px rgba(0,0,0,.15);
}

.mapa-contenedor iframe{
    width:100%;
    height:100%;
    border:0;
}

/* CELULAR */

@media screen and (max-width:768px){

    .mapa-seccion{
        padding:45px 15px;
    }

    .mapa-contenido h2{
        font-size:28px;
    }

    .mapa-contenido p{
        font-size:16px;
    }

    .mapa-contenedor{
        height:320px;
        border-radius:12px;
    }

}
/* =====================================
   ANIMACIONES AL HACER SCROLL
===================================== */

.animar {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animar.visible {
    opacity: 1;
    transform: translateY(0);
}
/*==================================
        ESTADÍSTICAS
==================================*/

.estadisticas{

    background:#003b73;
    color:#fff;
    text-align:center;
    padding:80px 20px;

}

.estadisticas h2{

    margin-bottom:50px;
    font-size:38px;

}

.estadisticas-grid{

    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;

}

.estadistica{

    background:rgba(255,255,255,.08);
    border-radius:15px;
    padding:30px;
    transition:.3s;

}

.estadistica:hover{

    transform:translateY(-8px);

}

.contador{

    font-size:50px;
    color:#FFD54F;
    margin-bottom:15px;

}

.estadistica p{

    font-size:18px;

}

@media(max-width:768px){

.estadisticas-grid{

grid-template-columns:1fr 1fr;

}

.contador{

font-size:36px;

}

}

/* =========================================
   AJUSTES FINALES DEL ARCHIVO ACTUALIZADO
========================================= */

@media screen and (max-width: 768px) {
    .header {
        min-height: 72px;
        position: sticky;
        top: 0;
        flex-direction: row;
        justify-content: space-between;
        padding: 10px 16px;
        gap: 12px;
    }

    .logo img {
        width: 82px;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .boton-whatsapp {
        display: none;
    }

    .hero-imagen {
        min-height: auto;
        height: auto;
    }

    .hero-imagen img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media screen and (max-width: 400px) {
    .estadisticas-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================================
   DESCRIPCIÓN GENERAL DE SECCIONES
========================================= */

.seccion-descripcion {
    max-width: 760px;
    margin: 18px auto 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.65;
}


/* =========================================
   TESTIMONIOS
========================================= */

.testimonios {
    padding: 75px 4% 90px;
    background: #f7f9fc;
}

.testimonios-grid {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.testimonio {
    padding: 28px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(7, 28, 63, 0.08);
}

.estrellas {
    margin-bottom: 16px;
    color: #f4b400;
    font-size: 20px;
    letter-spacing: 2px;
}

.testimonio p {
    min-height: 125px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.7;
}

.testimonio h3 {
    margin-top: 20px;
    margin-bottom: 5px;
    color: #071c3f;
    font-size: 17px;
}

.testimonio span {
    color: #667085;
    font-size: 13px;
}


/* =========================================
   GARANTÍA Y COMPROMISO
========================================= */

.garantia {
    padding: 75px 4% 80px;
    background: #071c3f;
    color: #ffffff;
}

.garantia-grid {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.garantia-card {
    padding: 28px 22px;
    text-align: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
}

.garantia-icono {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: #25d366;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 900;
}

.garantia-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.garantia-card p {
    color: #dbe5f5;
    font-size: 14px;
    line-height: 1.65;
}

.garantia-nota {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 16px 20px;
    color: #dbe5f5;
    text-align: center;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
}


/* =========================================
   PREGUNTAS FRECUENTES
========================================= */

.faq {
    padding: 75px 20px 90px;
    background: #f7f9fc;
}

.faq-lista {
    max-width: 950px;
    margin: 0 auto;
}

.faq details {
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid #e1e7ef;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(7, 28, 63, 0.06);
    overflow: hidden;
}

.faq summary {
    position: relative;
    padding: 20px 55px 20px 22px;
    color: #071c3f;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 22px;
    transform: translateY(-50%);
    color: #25b95a;
    font-size: 25px;
    font-weight: 700;
}

.faq details[open] summary::after {
    content: "−";
}

.faq details p {
    padding: 0 22px 22px;
    color: #5f6775;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   ENLACES DEL FOOTER
========================================= */

.footer a {
    color: #d8e6f5;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}


@media (max-width: 900px) {
    .testimonios-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .garantia-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .testimonios,
    .garantia,
    .faq {
        padding: 55px 18px 70px;
    }

    .testimonios-grid,
    .garantia-grid {
        grid-template-columns: 1fr;
    }

    .testimonio p {
        min-height: auto;
    }

    .faq summary {
        padding: 18px 50px 18px 18px;
    }

    .faq details p {
        padding: 0 18px 20px;
    }
}

/* Accesibilidad y rendimiento */
:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
}

img {
    height: auto;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Cobertura local detallada */
.cobertura-listas {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0;
}
.cobertura-grupo {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 14px;
    padding: 18px;
}
.cobertura-grupo h3 { margin: 0 0 12px; font-size: 1.05rem; }
.cobertura-grupo ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.cobertura-grupo li::before { content: "✓ "; font-weight: 700; }
.datos-contacto a, .footer a[href^="mailto:"] { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) { .cobertura-listas { grid-template-columns: 1fr; } }

/* =========================================
   SEMSAPRO 2.0: MARCA Y BARRA DE CONFIANZA
========================================= */
.logo img {
    width: clamp(150px, 13vw, 205px);
    max-height: 62px;
    object-fit: contain;
}

.barra-confianza-superior {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1px;
    background: #d8e0ec;
    border-bottom: 1px solid #cbd5e1;
    position: relative;
    z-index: 20;
}

.barra-confianza-superior div {
    min-height: 42px;
    padding: 10px 12px;
    background: #f7f9fc;
    color: #071c3f;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

.barra-confianza-superior div::first-letter {
    color: #25d366;
}

.nota-confianza {
    margin: 0;
    padding: 4px 6%;
    background: #f7f9fc;
    color: #64748b;
    font-size: 11px;
    text-align: right;
}

@media (max-width: 1050px) {
    .header { gap: 18px; }
    .menu { gap: 18px; }
    .menu a { font-size: 12px; }
    .boton-whatsapp { padding: 11px 15px; font-size: 12px; }
    .barra-confianza-superior {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .barra-confianza-superior div:nth-child(4),
    .barra-confianza-superior div:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 760px) {
    .header {
        min-height: 66px;
        padding: 8px 4%;
    }
    .logo img {
        width: 145px;
        max-height: 52px;
    }
    .barra-confianza-superior {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .barra-confianza-superior::-webkit-scrollbar { display: none; }
    .barra-confianza-superior div {
        flex: 0 0 auto;
        min-width: 190px;
        min-height: 38px;
        font-size: 12px;
        scroll-snap-align: start;
    }
    .nota-confianza {
        padding: 3px 4%;
        font-size: 10px;
    }
    .hero-contenido {
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .hero h1 { font-size: clamp(32px, 10vw, 44px); }
    .hero-descripcion { font-size: 17px; }
    .hero-botones .boton { width: 100%; }
}

@media (max-width: 420px) {
    .logo img { width: 125px; }
    .hero-beneficios { grid-template-columns: 1fr; }
}

/* =========================================
   AJUSTE DEL LOGOTIPO — SIN CAMBIAR EL DISEÑO
========================================= */
@media (min-width: 769px) {
    .header {
        min-height: 112px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .logo img {
        width: 155px;
        max-height: none;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .logo img {
        width: 112px;
        max-height: none;
        height: auto;
    }
}
