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 EMPRESAS
================================ */

.header-empresas {
    position: relative;
    min-height: 100vh;
    background: url("../img/header-empresas-bg.webp") center/cover no-repeat;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.header-empresas-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.75);
    z-index: 1;
}

.header-empresas-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

/* ===============================
   CONTENIDO
================================ */

.header-empresas-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.header-empresas-title span {
    color: #f5c77a;
}

.header-empresas-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 560px;
}

.header-empresas-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.header-empresas-benefits li {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* ===============================
   BOTÓN
================================ */

.header-empresas-btn {
    display: inline-block;
    background: #f5c77a;
    color: #000;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.header-empresas-btn:hover {
    transform: translateY(-2px);
}

/* ===============================
   BLOQUE CONFIANZA
================================ */

.header-empresas-trust {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.header-empresas-trust-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-left: 4px solid #f5c77a;
}

.header-empresas-trust-card strong {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.header-empresas-trust-card span {
    font-size: 0.95rem;
    color: #ddd;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 992px) {
    .header-empresas-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header-empresas-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 576px) {
    .header-empresas-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===============================
   PROBLEMAS FRECUENTES EMPRESAS
================================ */

.empresas-problemas {
    padding: 100px 20px;
    background: #f6f6f6;
}

.empresas-problemas-container {
    max-width: 1200px;
    margin: 0 auto;
}

.empresas-problemas-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.empresas-problemas-title span {
    color: #b8903e;
}

.empresas-problemas-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
}

/* GRID */

.empresas-problemas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.empresas-problema-card {
    background: #ffffff;
    padding: 35px 30px;
    border-left: 4px solid #b8903e;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.empresas-problema-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.empresas-problema-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .empresas-problemas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .empresas-problemas-grid {
        grid-template-columns: 1fr;
    }

    .empresas-problemas-title {
        font-size: 2rem;
    }
}

/* ===============================
   PROCESO PREVENTIVO EMPRESAS
================================ */

.empresas-proceso {
    padding: 100px 20px;
    background: #ffffff;
}

.empresas-proceso-container {
    max-width: 1200px;
    margin: 0 auto;
}

.empresas-proceso-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.empresas-proceso-title span {
    color: #b8903e;
}

.empresas-proceso-intro {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}

/* STEPS */

.empresas-proceso-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 35px;
    margin-bottom: 80px;
}

.empresas-proceso-step {
    background: #f8f8f8;
    padding: 35px 25px;
    border-top: 4px solid #b8903e;
}

.empresas-proceso-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #b8903e;
    display: block;
    margin-bottom: 15px;
}

.empresas-proceso-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.empresas-proceso-step p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

/* CTA */

.empresas-proceso-cta {
    text-align: center;
    background: #111;
    color: #fff;
    padding: 50px 30px;
}

.empresas-proceso-cta p {
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.empresas-proceso-btn {
    display: inline-block;
    background: #f5c77a;
    color: #000;
    padding: 16px 36px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.empresas-proceso-btn:hover {
    transform: translateY(-2px);
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .empresas-proceso-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .empresas-proceso-steps {
        grid-template-columns: 1fr;
    }

    .empresas-proceso-title {
        font-size: 2rem;
    }
}

/* ===============================
   SERVICIOS EMPRESAS
================================ */

.empresas-servicios {
    padding: 100px 20px;
    background: #f6f6f6;
}

.empresas-servicios-container {
    max-width: 1200px;
    margin: 0 auto;
}

.empresas-servicios-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.empresas-servicios-title span {
    color: #b8903e;
}

.empresas-servicios-intro {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}

/* GRID */

.empresas-servicios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.empresas-servicio-card {
    background: #ffffff;
    padding: 40px 30px;
    border-top: 4px solid #b8903e;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.empresas-servicio-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
}

.empresas-servicio-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 25px;
}

.empresas-servicio-link {
    font-size: 0.95rem;
    font-weight: 700;
    color: #b8903e;
    text-decoration: none;
}

.empresas-servicio-link:hover {
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .empresas-servicios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .empresas-servicios-grid {
        grid-template-columns: 1fr;
    }

    .empresas-servicios-title {
        font-size: 2rem;
    }
}


/* ===============================
   AUTORIDAD EMPRESARIAL
================================ */

.empresas-autoridad {
    padding: 100px 20px;
    background: #ffffff;
}

.empresas-autoridad-container {
    max-width: 1200px;
    margin: 0 auto;
}

.empresas-autoridad-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.empresas-autoridad-title span {
    color: #b8903e;
}

.empresas-autoridad-intro {
    max-width: 850px;
    margin: 0 auto 70px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #444;
}

/* GRID */

.empresas-autoridad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.empresas-autoridad-card {
    background: #f8f8f8;
    padding: 30px 25px;
    border-left: 4px solid #b8903e;
}

.empresas-autoridad-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
}

.empresas-autoridad-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.empresas-autoridad-date {
    font-size: 0.85rem;
    font-weight: 600;
    color: #777;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .empresas-autoridad-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .empresas-autoridad-grid {
        grid-template-columns: 1fr;
    }

    .empresas-autoridad-title {
        font-size: 2rem;
    }
}

/* ===============================
   CTA FINAL EMPRESAS
================================ */

.empresas-cta-final {
    padding: 90px 20px;
    background: linear-gradient(135deg, #111, #1c1c1c);
    color: #ffffff;
}

.empresas-cta-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.empresas-cta-title {
    font-size: 2.3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.empresas-cta-title span {
    color: #b8903e;
}

.empresas-cta-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #dcdcdc;
    margin-bottom: 40px;
}

.empresas-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.empresas-cta-whatsapp {
    background: #25d366;
    color: #111;
    font-weight: 800;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.empresas-cta-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,211,102,0.4);
}

.empresas-cta-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #aaaaaa;
}

/* RESPONSIVE */

@media (max-width: 576px) {
    .empresas-cta-title {
        font-size: 1.9rem;
    }
}

/* ===============================
   CTA FINAL
================================ */

.footer-cta {
    background: linear-gradient(135deg, #111, #222);
    color: #fff;
    padding: 90px 20px;
    text-align: center;
}

.footer-cta-container {
    max-width: 900px;
    margin: 0 auto;
}

.footer-cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.footer-cta-title span {
    color: #f5c77a;
}

.footer-cta-text {
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.footer-cta-btn {
    display: inline-block;
    background: #25d366;
    color: #000;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
}

/* ===============================
   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;
    }
}
