﻿html {
    scroll-behavior: smooth;          /* Desplazamiento suave al usar enlaces # */
    scroll-padding-top: 120px;        /* Espacio superior igual a la altura del header fijo */
    box-sizing: border-box;           /* Mejora el control de tamaños */
}


body{
    background:url(../images/fondo-servicios.jpg) no-repeat center center fixed;
    background-size: cover;
    font-family: "Montserrat", sans-serif;
}

.cabecera-ayuda{
    height: 104px;
}

.cabecera{
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: white;
    padding-top: 10px;
    padding-bottom: 10px;

    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.logotipo img{
    width: 100%;
}



nav a{
    text-decoration: none;
}
nav ul{
    list-style: none;
    padding: 0;
}

nav ul li{
    position: relative;
    width: 33%;
    float: left;
}

.menuR{
    display: none;
}
.menu, .menuR{
    text-align: center;
    color: blue;
    font-size: 19px;
    cursor: pointer;
}
.menu:hover{
    font-weight: bold;
}


nav ul li:hover .menuSec{
    display: block;
}


.menuSec{
    position: absolute;
    top: 30px;
    left: -50%;
    border: 1px solid #ddd;
    background: white;
    width: 250%;
    padding: 12px 20px;
    display: none;

    box-shadow: 2px 2px 2px black;

    border-radius: 20px;
}
.menuSec ul li{
    width: 100%;
}

.menuSecundario{
    font-size: 18px;
    padding: 12px 0;
}
.menuSecundario:hover{
    font-weight: bold;
}


.datos{
    text-align: center;
    font-size: 19px;
}
.datos img{
    width: 30px;
}


.efecto{
    padding: 0;
}


.servicios{
    
    padding-top: 40px;
    padding-bottom: 40px;
}

.titulo{
    font-size: 33px;
    text-align: center;
    color: #015291;
    font-weight: bold;
    margin-bottom: 40px;
}


.cuadro img{
    width: 100%;
    height: 280px;

    border-radius: 10px;

    object-fit: cover;
}
.cuadro strong{
    width: 100%;
    text-align: center;
    font-size: 21px;
    display: inline-block;
    margin: 12px 0;
}


.nosotros{
    margin: 40px 0;
}



.seccion{
    background: #015291;
    text-align: justify;
    color: white;
    font-size:19px;
    padding: 50px;
}
.seccion strong{
    width: 100%;
    font-size: 27px;
    display: inline-block;
    margin-bottom: 30px;
}


.img1{
    background: url(../images/1.jpg) no-repeat center center;
    background-size: cover;
}
.img2{
    background: url(../images/2.jpg) no-repeat center center;
    background-size: cover;
}


.servicios2{
    padding-top: 40px;
    padding-bottom: 40px;
}


.imagen img{
    width: 100%;

    border-radius: 20px;
}


.texto{
    font-size: 20px;
    line-height: 30px;
}
.texto strong{
    width: 100%;
    font-size: 23px;
    display: inline-block;
    margin-bottom: 20px;
}



:root {
    --bg: #0b1220;
    --bg-soft: #111a2b;
    --text: #c0c8d2;
    --muted: #9aa4b2;
    --white: #ffffff;
    --accent: #4f8cff;
}
.footer {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
    color: var(--text);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, 'Helvetica Neue', Arial, sans-serif;

    margin-top: 30px;
}
.footer a {
    color: var(--text);
    text-decoration: none;
}
.footer a:hover {
    color: var(--white);
}
.footer__top {
    max-width: 1200px;
    margin: auto;
    padding: 56px 20px;
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.footer__col {
    min-width: 0;
}
.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}
.footer__logo {
    display: inline-block;
    font-weight: 800;
    letter-spacing: .5px;
    font-size: 28px;
    color: var(--white);
}
.footer__tagline {
    font-size: 13px;
    color: var(--muted);
}
.footer__text {
    margin: 12px 0 16px;
    line-height: 1.6;
    color: var(--muted);
}
.footer__title {
    color: var(--white);
    font-size: 16px;
    margin: 6px 0 14px;
    position: relative;
}
.footer__title::after {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: var(--accent);
    margin-top: 8px;
    border-radius: 2px;
}
.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}
.footer__list li {
    color: var(--text);
    font-size: 14px;
}
.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}
.footer__social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
}
.footer__social svg {
    width: 18px;
    height: 18px;
    fill: var(--text);
}
.footer__social a:hover {
    background: rgba(255, 255, 255, .12);
}
.footer__form {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}
.footer__form input {
    flex: 1;
    background: #0e1626;
    border: 1px solid #1b2740;
    color: var(--text);
    padding: 10px 12px;
    border-radius: 10px;
    outline: none;
}
.footer__form input::placeholder {
    color: #7c8798;
}
.footer__form button {
    background: var(--accent);
    color: #08111f;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}
.footer__form button:hover {
    filter: brightness(1.08);
}
.footer__bottom {
    border-top: 1px solid #1b2740;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    max-width: 1200px;
    margin: auto;
    color: var(--muted);
    font-size: 13px;
}
@media (max-width: 990px) {
    .footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 580px) {
    .footer__top {
        grid-template-columns: 1fr;
    }
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
}


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

}

@media screen and (max-width:1200px){
    .cabecera-ayuda{
        display: none;
    }
    .cabecera{
        position: relative;
    }
}

@media screen and (max-width:992px){
    nav{
        margin: 30px 0 !important;
    }
}

@media screen and (max-width:768px){
    .img{
        height: 300px;
    }
    .seccion{
        padding: 10px;
    }
}

@media screen and (max-width:576px){
    .menuR{
        display: block;
    }
    nav ul{
        display: none;
    }
    nav ul li{
        width: 100%;
    }
    .menu{
        padding: 12px 0;
    }
    .menuSec{
        position: relative;
        left: 0;
        top: 0;
        z-index: 0;
        width: 100%;
        display: block;
        float: left;
    }
    .menuSec ul{
        display: block;
    }
}

.chat{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    background: #24d366;
    font-weight: bold;
    font-size: 20px;
    color: white;
    padding: 6px 17px;
    border-radius: 20px;

    animation-name: pulse;
    animation-duration: 1s;
    animation-fill-mode: both;
    animation-delay: 0s;
    animation-iteration-count: 100;
}
@keyframes pulse {
    from,to {
        transform: scale3d(1,1,1)
    }

    50% {
        transform: scale3d(1.05,1.05,1.05)
    }
}

.pulse {
    animation-name: pulse
}