html {
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Lato', Arial, sans-serif;
    scroll-behavior: smooth;
}
    
*,
*::after,
*::before {
   box-sizing: inherit;
}
    
body {
   margin: 0;
   padding: 0;
   overflow-x: hidden;
}

ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

a{
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p{
    padding: 0;
    margin: 0;
}

section, main, header{
    position: relative;
}


/*-------------------------------------
header-trabajadores-
--------------------------------*/

.headers-empresas {
    background: linear-gradient(135deg, #111, #1b1b1b);
    padding: 90px 20px;
    color: #ffffff;
}

.headers-empresas-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

/* IZQUIERDA */

.headers-empresas-title {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.headers-empresas-title span {
    color: #c9a54a;
}

.headers-empresas-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e5e5e5;
}

.headers-empresas-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #d0d0d0;
    margin-bottom: 35px;
}

.headers-empresas-cta {
    display: inline-block;
    background: #25d366;
    color: #111;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}

.headers-empresas-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37,211,102,0.35);
}

/* DERECHA – SLIDER */

.headers-empresas-slider {
    background: #ffffff;
    color: #111;
    padding: 30px;
    border-radius: 16px;
    min-height: 260px;
}

.headers-empresas-slide {
    display: none;
}

.headers-empresas-slide.active {
    display: block;
}

.headers-empresas-stars {
    color: #f5b301;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.headers-empresas-testimonio {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.headers-empresas-name {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
}

.headers-empresas-thanks {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

/* DOTS */

.headers-empresas-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.headers-empresas-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #bbb;
    cursor: pointer;
}

.headers-empresas-dot.active {
    background: #c9a54a;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .headers-empresas-container {
        grid-template-columns: 1fr;
    }
}

.conexion-trabajadores {
    padding: 90px 20px;
    background: #f7f7f7;
}

.conexion-trabajadores-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* FAQ */

.conexion-trabajadores-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #111;
}

.conexion-trabajadores-item {
    background: #ffffff;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.conexion-trabajadores-question {
    width: 100%;
    padding: 18px 22px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.conexion-trabajadores-question::after {
    content: "+";
    position: absolute;
    right: 22px;
    font-size: 1.2rem;
}

.conexion-trabajadores-item.active 
.conexion-trabajadores-question::after {
    content: "–";
}

.conexion-trabajadores-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.conexion-trabajadores-answer p {
    padding: 0 22px 20px;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

/* IMAGEN */

.conexion-trabajadores-img {
    width: 100%;
    height: 420px;
    background: url("../img/conexion-trabajadores.webp") center / cover no-repeat;
    border-radius: 18px;
}

.conexion-liquidacion-img {
    width: 100%;
    height: 420px;
    background: url("../img/conexion-liquidacion.webp") center / cover no-repeat;
    border-radius: 18px;
}

.conexion-indebmiazacion-img {
    width: 100%;
    height: 420px;
    background: url("../img/conexion-indebmiazacion.webp") center / cover no-repeat;
    border-radius: 18px;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    .conexion-trabajadores-container {
        grid-template-columns: 1fr;
    }

    .conexion-trabajadores-img {
        height: 300px;
    }
}

.cierre-trabajadores {
    background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
    padding: 100px 20px;
    color: #ffffff;
}

.cierre-trabajadores-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.cierre-trabajadores-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.cierre-trabajadores-title span {
    color: #c9a54a;
}

.cierre-trabajadores-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #dcdcdc;
    margin-bottom: 30px;
}

.cierre-trabajadores-frase {
    font-size: 1.1rem;
    margin-bottom: 45px;
    color: #ffffff;
}

.cierre-trabajadores-btn {
    display: inline-block;
    background: #25d366;
    color: #111;
    padding: 18px 44px;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    font-size: 1.05rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.cierre-trabajadores-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37,211,102,0.45);
}

/* RESPONSIVE */

@media (max-width: 600px) {
    .cierre-trabajadores-title {
        font-size: 2rem;
    }
}
.cierre-trabajadores-btn {
    opacity: 0;
    transform: translateY(10px);
}

.cierre-trabajadores-btn.activo {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .4s ease, transform .4s ease;
}

/* ===============================
   FOOTER
================================ */

.footer {
    background: #0d0d0d;
    color: #ccc;
    padding: 70px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 60px;
}

.footer-logo {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-socials img {
    width: 28px;
}

.footer-legal-links,
.footer-links {
    list-style: none;
    padding: 0;
}

.footer-legal-links li,
.footer-links li {
    margin-bottom: 8px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.footer a:hover {
    color: #f5c77a;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

/* ===============================
   WHATSAPP STICKY
================================ */

.whatsapp-sticky {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25d366;
    border-radius: 50%;
    padding: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    z-index: 999;
}

.whatsapp-sticky img {
    width: 32px;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }
}

/* ================= NAV ================= */

.nav {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.nav-logo img {
    height: 48px;
    width: auto;
}

/* LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f1c2e;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #0077b6;
}

/* BOTÓN MOBILE */
.nav-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #0f1c2e;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.3s ease;
        border-bottom: 1px solid #e5e5e5;
    }

    .nav-links li {
        border-top: 1px solid #f0f0f0;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
    }

    .nav-links.active {
        max-height: 400px;
    }
}
