﻿html {
    scroll-behavior: smooth; 
    scroll-padding-top: 150px; /* altura del header fijo */
}

body{
    font-family: "Montserrat", sans-serif;
}

.cabecera-ayuda{
    height: 130px;
}

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

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logotipo{
    text-align: center;
}
.logotipo img{
    width: 70%;
}

nav a{
    color: black;
    text-decoration: none;
}
nav ul{
    list-style: none;
    padding: 0;
}
nav ul li{
    width: 20%;
    float: left;
}

.menu-r{
    display: none;
}

.menu, .menu-r{
    color: #223753;
    text-align: center;
    font-size: 19px;
    padding: 12px 0;
    cursor: pointer;
}
.menu:hover{
    color: #8dbd1a;
    font-weight: bold;
}
.menuTalent{
    background: #fe9906;
    color: white;
}
.menuTalent:hover{
    color: white;
}

.dosM{
    padding: 0;
}


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


.efecto{
    position: relative;
    background: url(../images/fondo-efecto2.jpg) no-repeat center center;
    background-size: cover;
    color: white;
    padding-top: 450px;
    padding-bottom: 300px;
}
.efecto .container{
    position: relative;
    z-index: 2;
}
.fondo-negro{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: rgba(0,0,0,0.4);
    background: linear-gradient(to right, rgb(34, 55, 83, 0.9), transparent);
    width: 100%;
    height: 100%;
}


.efecto h1{
    text-shadow: -4px 4px 2px black;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.8);
    font-family: "Anton", sans-serif;
    font-size: 50px;
}
.efecto strong{
    font-size: 20px;
    font-weight: 300;
}


.imagenes{
    padding-top: 50px;
    padding-bottom: 50px;
}


.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 40px;
    background: #fff;
}
.carousel {
    display: flex;
    scroll-behavior: smooth;
    overflow-x: auto;
    gap: 20px;
    scrollbar-width: none;
}
.carousel::-webkit-scrollbar {
    display: none;
}
.logo-cliente {
    flex: 0 0 auto;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-cliente img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #3b82f6;
    background: #223753;
    border: none;
    color: white;
    font-size: 1.5rem;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background 0.1s;
}
.carousel-btn:hover {
    background: #2563eb;
    background: #8dbd1a;
}
.carousel-btn.prev {
    left: 10px;
}
.carousel-btn.next {
    right: 10px;
}


.seccion{
    background: #223753;
    color: white;
    font-size: 19px;
    padding: 30px;
}
.seccion strong{
    width: 100%;
    font-size: 27px;
    display: inline-block;
    margin-bottom: 20px;
}


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



.servicios {
    max-width: 1340px;
    margin: auto;
    padding: 50px 20px;
    text-align: center;
}
.servicios a{
    text-decoration: none;
}

.servicios h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #333;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.servicio {
    border: 1px solid #ddd;
    background: #ffffff;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 40px;
}

.servicio:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.servicio img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.servicio h3 {
    font-size: 1.2rem;
    padding: 15px;
    background: #f0f0f0;
    margin: 0;
    color: #8dbd1a;
    font-weight: bold;
}


.services{
    padding-top: 40px;
    padding-bottom: 40px;

    scroll-margin-top: -80px; /* Ajusta al alto de tu header */
}

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

.area{
    background: #f7f7f7;
    font-size: 18px;
    line-height: 23px;
    padding: 40px;

    scroll-margin-top: 800px; /* Ajusta al alto de tu header */

    border-radius: 100px 67px 234px 45px;

}
.area strong{
    width: 100%;
    color: #8dbd1a;
    font-size: 27px;
    display: inline-block;
    margin-bottom: 20px;
}


.imagen img{
    width: 100%;
    height: 370px;

    object-fit: cover;

    border-radius: 90px;

    /* border-radius: 234px 45px 100px 67px; */
}


.tarjetas{
    padding-top: 50px;
    padding-bottom: 50px;
}




footer {
    background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
    background: black;
    background: #223753;
    color: #ccc;
    padding: 40px 20px 20px;
    margin-top: 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid #8dbd1a;
    display: inline-block;
    padding-bottom: 5px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #8dbd1a;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #8dbd1a;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
    color: #aaa;
}


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

}

@media screen and (max-width:1200px){
    html {
        scroll-behavior: smooth; 
        scroll-padding-top: 0; /* altura del header fijo */
    }

    .cabecera-ayuda{
        display: none;
    }
    .cabecera{
        position: relative;
    }
}

@media screen and (max-width:992px){
    .menu-r{
        display: block;
    }
    nav ul{
        display: none;
    }
    nav ul li{
        width: 100%;
    }
    .menu{
        padding: 12px 0;
    }
    .efecto{
        padding-top: 100px;
    }
}

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

}

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



.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
}





 /* ====== Base colores de tu sitio ====== */
:root{
    --primario: #223753;
    --acento: #8dbc22;
    --gris-1:#f7f7f7;
    --gris-2:#e9edf3;
    --texto:#1f2937;
}

.contacto-section{
    padding: 50px 0 60px;
    background: linear-gradient(180deg, #fff, var(--gris-1));
}

.titulo{
    text-align: center;
    font-size: 33px;
    font-weight: 700;
    color: var(--primario);
    margin-bottom: 28px;
}

/* ====== Tarjeta lateral ====== */
.contact-card{
    background: #ffffff;
    border: 1px solid var(--gris-2);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.contact-title{
    margin: 0 0 6px 0;
    font-size: 22px;
    color: var(--primario);
    font-weight: 800;
}

.mini-title{
    font-size: 15px;
    color: var(--primario);
    letter-spacing: .4px;
    margin: 6px 0 10px;
    text-transform: uppercase;
}

.contact-list{
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    font-size: 16px;
}
.contact-list li{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gris-2);
}
.contact-list li:last-child{ border-bottom: 0; }
.contact-list b[class^="icon-"]{
    color: var(--acento);
    font-size: 20px;
    line-height: 1;
}
.contact-list a{
    color: var(--primario);
    text-decoration: none;
    transition: color .2s ease;
    word-break: break-word;
}
.contact-list a:hover{ color: var(--acento); }

.wa-pill{
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #24d366;
    color: #fff !important;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(36,211,102,.35);
    transition: transform .15s ease;
}
.wa-pill:hover{ transform: translateY(-1px); }

.sep{
    margin: 16px 0 10px;
    border: none;
    height: 1px;
    background: var(--gris-2);
    opacity: 1;
}

.social-row{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 6px;
}
.social-btn{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f0f3f7;
    border: 1px solid var(--gris-2);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--primario);
    text-decoration: none;
    transition: background .2s ease, transform .15s ease, box-shadow .2s ease;
}
.social-btn b[class^="icon-"]{ font-size: 18px; color: var(--primario); }
.social-btn:hover{
    background: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.hint{
    font-size: 13px;
    color: #6b7280;
    margin: 8px 0 0 0;
}

/* ====== Formulario ====== */
.contact-form{
    background: #ffffff;
    border: 1px solid var(--gris-2);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.form-label{
    font-size: 13px;
    color: var(--primario);
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: .2px;
}
.form-control{
    display: block;
    width: 100%;
    border: 1px solid var(--gris-2);
    background: #fbfbfd;
    color: var(--texto);
    border-radius: 12px;
    padding: 12px 14px;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-control:focus{
    border-color: var(--acento);
    box-shadow: 0 0 0 4px rgba(141,189,26,.18);
    background: #fff;
}
textarea.form-control{ resize: vertical; }

.check{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: #4b5563;
    margin-top: 6px;
}
.check input{ margin-top: 3px; }

.btn-enviar{
    appearance: none;
    border: none;
    border-radius: 14px;
    padding: 12px 18px;
    background: linear-gradient(135deg, var(--acento), #a6d732);
    color: white;
    font-weight: 800;
    letter-spacing: .2px;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
    box-shadow: 0 10px 24px rgba(141,189,26,.28);
}
.btn-enviar:hover{
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 12px 26px rgba(141,189,26,.33);
}

.disclaimer{
    display: inline-block;
    margin: 10px 0 0 12px;
    font-size: 12px;
    color: #6b7280;
}

/* Anti-spam: oculto a usuarios, visible a bots */
.hp-field{
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    pointer-events: none !important;
}

/* ====== Responsivo ====== */
@media (min-width: 576px){
    .social-row{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px){
    .social-row{ grid-template-columns: 1fr; }
    .contact-form{ padding: 26px; }
    .contact-card{ padding: 30px; }
}