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 ================= */

.header-empresas {
    background: linear-gradient(135deg, #0f1c2e, #152a45);
    color: #ffffff;
    padding: 90px 20px;
}

.header-empresas-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.header-empresas-title {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.header-empresas-title span {
    color: #d4af37;
}

.header-empresas-title strong {
    color: #ffffff;
    font-weight: 700;
}

.header-empresas-subtitle {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #dcdcdc;
}

.header-empresas-subtitle span {
    color: #d4af37;
    font-weight: 600;
}

.header-empresas-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #e0e0e0;
}

.header-empresas-cta {
    display: inline-block;
    background: #d4af37;
    color: #0f1c2e;
    padding: 14px 26px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.header-empresas-cta:hover {
    background: #b8962e;
}

.header-empresas-trust {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #cfcfcf;
}

.header-empresas-right {
    background: #ffffff;
    color: #0f1c2e;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.header-empresas-box-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.header-empresas-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.header-empresas-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.header-empresas-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #d4af37;
    font-size: 1.4rem;
}

.header-empresas-warning {
    font-size: 0.95rem;
    color: #7a1f1f;
    font-weight: 600;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
    .header-empresas-container {
        grid-template-columns: 1fr;
    }

    .header-empresas {
        padding: 70px 20px;
    }
}

/* ================= RIESGOS EMPRESAS ================= */

.empresas-riesgos {
    padding: 90px 20px;
    background: #f2f7fb;
}

.empresas-riesgos-container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.empresas-riesgos-title {
    font-size: 2.4rem;
    margin-bottom: 20px;
    color: #0f1c2e;
}

.empresas-riesgos-title span {
    color: #0077b6;
}

.empresas-riesgos-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.05rem;
    color: #444;
}

.empresas-riesgos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

/* ---- Tarjetas Cristal ---- */
.empresas-riesgos-card {
    background: #06143ad9;
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px 25px;
    color: #ffffff;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.empresas-riesgos-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
}

.empresas-riesgos-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.empresas-riesgos-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.empresas-riesgos-solucion {
    font-size: 0.95rem;
    font-weight: 500;
}

.empresas-riesgos-icon {
    display: block;
    font-size: 1.8rem;
    margin-top: 12px;
}

/* ---- CTA ---- */
.empresas-riesgos-cta {
    margin-top: 60px;
}

.empresas-riesgos-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #0f1c2e;
    font-weight: 600;
}

.empresas-riesgos-btn {
    display: inline-block;
    background: #0f1c2e;
    color: #ffffff;
    padding: 16px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}

.empresas-riesgos-btn:hover {
    background: #091321;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .empresas-riesgos {
        padding: 70px 20px;
    }
}

/* ================= ESTRATEGIA EMPRESARIAL ================= */

.empresas-estrategia {
    padding: 90px 20px;
    background: #ffffff;
}

.empresas-estrategia-container {
    max-width: 1100px;
    margin: auto;
}

.empresas-estrategia-title {
    text-align: center;
    font-size: 2.3rem;
    margin-bottom: 20px;
    color: #0f1c2e;
}

.empresas-estrategia-title span {
    color: #0077b6;
}

.empresas-estrategia-intro {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 70px;
    font-size: 1.05rem;
    color: #444;
}

/* ---- Timeline ---- */
.empresas-estrategia-timeline {
    position: relative;
    padding-left: 40px;
}

.empresas-estrategia-timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #0077b6;
    border-radius: 2px;
}

/* ---- Paso ---- */
.empresas-estrategia-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

.empresas-estrategia-marker {
    min-width: 40px;
    height: 40px;
    background: #0f1c2e;
    color: #ffffff;
    border-radius: 50%;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 30px;
    z-index: 1;
}

.empresas-estrategia-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #0f1c2e;
}

.empresas-estrategia-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .empresas-estrategia-timeline {
        padding-left: 30px;
    }

    .empresas-estrategia-step {
        margin-bottom: 40px;
    }
}

/* ================= AUTORIDAD EMPRESARIAL ================= */

.empresas-autoridad {
    padding: 100px 20px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.empresas-autoridad-container {
    max-width: 1200px;
    margin: auto;
}

/* ---- Autoridad ---- */
.empresas-autoridad-title {
    font-size: 2.2rem;
    color: #0f1c2e;
    margin-bottom: 20px;
}

.empresas-autoridad-title span {
    color: #0077b6;
}

.empresas-autoridad-intro {
    max-width: 800px;
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 50px;
}

.empresas-autoridad-casos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.empresas-autoridad-caso {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.empresas-autoridad-caso h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #0f1c2e;
}

.empresas-autoridad-caso p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.empresas-autoridad-resultado {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0077b6;
}

/* ---- CTA Final ---- */
.empresas-autoridad-cta {
    margin-top: 90px;
    padding: 60px;
    background: #0f1c2e;
    border-radius: 18px;
    text-align: center;
    color: #ffffff;
}

.empresas-autoridad-cta-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.empresas-autoridad-cta-title span {
    color: #00b4d8;
}

.empresas-autoridad-cta-text {
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: #dbe7f0;
}

.empresas-autoridad-cta-btn {
    display: inline-block;
    padding: 16px 38px;
    background: #00b4d8;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.empresas-autoridad-cta-btn:hover {
    background: #0096c7;
    transform: translateY(-2px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
    .empresas-autoridad-cta {
        padding: 40px 25px;
    }

    .empresas-autoridad-cta-title {
        font-size: 1.6rem;
    }
}

/* ===============================
   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;
    }
}
