﻿/* =========================================
   CONFIGURACIÓN GENERAL
   ========================================= */
:root {
    --rojo: #D53C37;
    --gris: #828385;
    --oscuro: #17191b;
    --blanco: #ffffff;
    --gris-claro: #f2f2f2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--blanco);
    color: var(--oscuro);
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================
   HEADER
   ========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 24px 0;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}
    .site-header.scrolled {
        background: rgba(23, 25, 27, 0.96);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
        padding: 16px 0;
    }

.header-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--blanco);
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rojo);
    color: white;
    font-size: 22px;
    font-weight: 800;
    transform: skew(-8deg);
}

.logo-text {
    font-size: 16px;
}


/* NAVEGACIÓN */

.main-nav {
    display: flex;
    gap: 34px;
}

    .main-nav a {
        position: relative;
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s ease;
    }

        .main-nav a::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -7px;
            width: 0;
            height: 2px;
            background: var(--rojo);
            transition: width 0.3s ease;
        }

        .main-nav a:hover {
            color: white;
        }

            .main-nav a:hover::after {
                width: 100%;
            }


/* BOTÓN CLIENTES */

.client-button {
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 3px;
    color: white;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .client-button:hover {
        background: var(--rojo);
        border-color: var(--rojo);
    }


/* =========================================
   HERO
   ========================================= */

.hero {
    position: relative;
    min-height: 110vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: white;
    isolation: isolate;
}

/* IMAGEN DE FONDO */

.hero-background {
    position: absolute;
    top: -8%;
    left: -3%;
    width: 106%;
    height: 116%;
    background-image: url("https://images.unsplash.com/photo-1504307651254-35680f356dfd");
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    will-change: transform;
    z-index: -3;
}

/* CAPA OSCURA */
/* =========================================
   CAPA DE PROFUNDIDAD
   ========================================= */

.hero-depth {
    position: absolute;
    inset: 0;
    background: radial-gradient( circle at 78% 48%, rgba(213, 60, 55, 0.20), transparent 28% ), linear-gradient( 135deg, transparent 55%, rgba(213, 60, 55, 0.06) 100% );
    z-index: -2;
    pointer-events: none;
    will-change: transform;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 90deg, rgba(8, 10, 12, 0.92) 0%, rgba(8, 10, 12, 0.72) 38%, rgba(8, 10, 12, 0.34) 72%, rgba(8, 10, 12, 0.45) 100% ), linear-gradient( 180deg, rgba(8, 10, 12, 0.15) 0%, rgba(8, 10, 12, 0.05) 45%, rgba(8, 10, 12, 0.65) 100% );
    z-index: -1;
    pointer-events: none;
}


/* CONTENIDO */

.hero-content {
    position: relative;
    width: min(1200px, 90%);
    margin: 0 auto;
    z-index: 2;
    padding-top: 70px;
    will-change: transform;
    transition: transform 0.05s linear;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    color: var(--rojo);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
}
    .hero-label::before {
        content: "";
        width: 35px;
        height: 2px;
        background: var(--rojo);
    }

.hero h1 {
    max-width: 900px;
    font-size: clamp(52px, 7vw, 94px);
    line-height: 0.94;
    letter-spacing: -4px;
    margin-bottom: 30px;
    text-wrap: balance;
}
.hero-description {
    max-width: 560px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 38px;
}


/* BOTONES */

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 3px;
    transition: transform 0.3s ease, background 0.3s ease, border 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .button:hover {
        transform: translateY(-3px);
    }

.button-primary {
    background: var(--rojo);
    color: white;
    box-shadow: 0 10px 30px rgba(213, 60, 55, 0.22);
}

    .button-primary:hover {
        background: #b92f2b;
    }

.button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: white;
}

    .button-secondary:hover {
        background: rgba(255, 255, 255, 0.1);
    }


/* =========================================
   INFORMACIÓN INFERIOR
   ========================================= */

.hero-bottom {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    width: min(1200px, 90%);
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    color: rgba(255, 255, 255, 0.65);
    font-size: 10px;
    letter-spacing: 2px;
}


/* =========================================
   SECCIÓN TEMPORAL
   ========================================= */

.placeholder-section {
    min-height: 500px;
    margin-top: -5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--gris-claro);
    text-align: center;
    position: relative;
    z-index: 3;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.18);
    padding: 80px 20px;
}

    .placeholder-section p {
        margin-bottom: 12px;
        color: var(--rojo);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 3px;
    }

    .placeholder-section h2 {
        font-size: 42px;
    }

/* =========================================
   NOSOTROS
   ========================================= */

.about-section {
    min-height: 700px;
    margin-top: -5vh;
    position: relative;
    z-index: 3;
    background: var(--gris-claro);
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.20);
    padding: 130px 0;
}

.about-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: center;
}

.about-content {
    max-width: 540px;
}

    .about-content h2 {
        margin-bottom: 28px;
        font-size: clamp(40px, 5vw, 64px);
        line-height: 1.02;
        letter-spacing: -2.5px;
    }

.about-text {
    max-width: 500px;
    color: #555;
    font-size: 17px;
    line-height: 1.8;
}

.about-image {
    min-height: 560px;
    position: relative;
}

.about-image-frame {
    position: absolute;
    inset: 0;
    background-image: url("https://images.unsplash.com/photo-1541888946425-d81bb19240f5");
    background-size: cover;
    background-position: center;
    border-radius: 3px;
    transform: scale(1.02);
    will-change: transform;
    transition: transform 0.8s ease;
    box-shadow: 20px 25px 50px rgba(0, 0, 0, 0.18);
}

.about-image::before {
    content: "";
    position: absolute;
    inset: -18px;
    border: 1px solid rgba(213, 60, 55, 0.35);
    z-index: -1;
}

.about-image::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    right: -25px;
    bottom: -25px;
    background: var(--rojo);
    z-index: -1;
}

.about-image:hover .about-image-frame {
    transform: scale(1.05);
}


/* =========================================
   SERVICIOS
   ========================================= */

.services-section {
    padding: 120px 0;
    background: var(--blanco);
}

.section-container {
    width: min(1200px, 90%);
    margin: 0 auto;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 70px;
}

    .section-heading h2 {
        margin-bottom: 24px;
        font-size: clamp(38px, 5vw, 64px);
        line-height: 1.05;
        letter-spacing: -2px;
    }

    .section-heading > p:last-child {
        max-width: 620px;
        color: #666;
        font-size: 17px;
        line-height: 1.8;
    }


/* TARJETAS */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    
}

.service-card {
    min-height: 280px;
    padding: 30px 26px;
    border-right: 1px solid #ddd;
    position: relative;
    overflow: hidden;
    background: white;
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

    .service-card:last-child {
        border-right: none;
    }

    .service-card::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 4px;
        background: var(--rojo);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.35s ease;
    }

    .service-card:hover {
        background: #fafafa;
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    }

        .service-card:hover::after {
            transform: scaleX(1);
        }

.service-number {
    display: block;
    margin-bottom: 45px;
    position: relative;
    color: var(--rojo);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.service-card h3 {
    margin-bottom: 18px;
    font-size: 24px;
    line-height: 1.15;
}

.service-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   APLICACIONES
   ========================================= */

.applications-section {
    padding: 140px 0;
    background: var(--oscuro);
    color: white;
}

    .applications-section .section-heading > p:last-child {
        color: rgba(255, 255, 255, 0.65);
    }

.applications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.application-card {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: #222;
    border-radius: 3px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.20);
}

    .application-card::after {
        content: "";
        position: absolute;
        inset: 0;
        border: 1px solid rgba(255, 255, 255, 0.10);
        pointer-events: none;
        z-index: 3;
    }

    .application-card::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 65%;
        background: linear-gradient( to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.35), transparent );
        z-index: 1;
        pointer-events: none;
    }

.application-image {
    position: absolute;
    inset: -3%;
    background-size: cover;
    background-position: center;
    transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.6s ease;
}
.application-image-1 {
    background-image: url("https://images.unsplash.com/photo-1564501049559-0b54b6f0dc1b?auto=format&fit=crop&w=1600&q=85");
    background-position: center;
}

.application-image-2 {
    background-image: url("https://images.unsplash.com/photo-1673978484091-6a743a9058cf?auto=format&fit=crop&w=1600&q=85");
    background-position: center 35%;
}

.application-image-3 {
    background-image: url("https://images.unsplash.com/photo-1562804239-0bd8346b9eaa?auto=format&fit=crop&w=1600&q=85");
    background-position: center;
}

.application-image-4 {
    background-image: url("https://images.unsplash.com/photo-1609535754517-ab5eabb8cee0?auto=format&fit=crop&w=1600&q=85");
    background-position: center;
}

.application-card:hover .application-image {
    transform: scale(1.08);
    filter: saturate(1.08);
}
.application-card.visible .application-image {
    transform: scale(1.04);
    filter: saturate(1.03);
}
.application-content {
    position: absolute;
    left: 40px;
    right: 40px;
    bottom: 35px;
    z-index: 2;
}

    .application-content > span {
        display: block;
        margin-bottom: 14px;
        color: var(--rojo);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .application-content h3 {
        margin-bottom: 14px;
        font-size: clamp(30px, 4vw, 42px);
        line-height: 1;
    }

    .application-content p {
        max-width: 450px;
        color: rgba(255, 255, 255, 0.80);
        font-size: 15px;
        line-height: 1.7;
    }
    /* =========================================
   ADVANTAGES
   ========================================= */

    .advantages-section {
        padding: 130px 0;
        background: var(--gris-claro);
    }

    .advantages-intro {
        max-width: 760px;
        margin-bottom: 80px;
    }

        .advantages-intro h2 {
            margin-bottom: 25px;
            font-size: clamp(38px, 5vw, 64px);
            line-height: 1.05;
            letter-spacing: -2px;
        }

        .advantages-intro > p:last-child {
            max-width: 650px;
            color: #666;
            font-size: 17px;
            line-height: 1.8;
        }

    .advantages-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-top: 1px solid #d6d6d6;
    }

    .advantage-item {
        min-height: 280px;
        padding: 35px 30px;
        border-right: 1px solid #d6d6d6;
        transition: background 0.3s ease, transform 0.3s ease;
    }

        .advantage-item:last-child {
            border-right: none;
        }

        .advantage-item:hover {
            background: white;
            transform: translateY(-5px);
        }

    .advantage-number {
        display: block;
        margin-bottom: 60px;
        color: var(--rojo);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .advantage-item h3 {
        margin-bottom: 15px;
        font-size: 25px;
    }

    .advantage-item p {
        color: #666;
        font-size: 15px;
        line-height: 1.7;
    }
    /* =========================================
   PROCESS
   ========================================= */

    .process-section {
        padding: 130px 0;
        background: white;
    }

    .process-list {
        border-top: 1px solid #ddd;
    }

    .process-item {
        display: grid;
        grid-template-columns: 100px 1fr;
        gap: 35px;
        padding: 32px 0;
        border-bottom: 1px solid #ddd;
        transition: padding-left 0.3s ease, background 0.3s ease;
    }

        .process-item:hover {
            padding-left: 15px;
        }

    .process-number {
        color: var(--rojo);
        font-size: 13px;
        font-weight: 700;
        letter-spacing: 2px;
        padding-top: 5px;
    }

    .process-item h3 {
        margin-bottom: 10px;
        font-size: 28px;
    }

    .process-item p {
        max-width: 650px;
        color: #666;
        font-size: 16px;
        line-height: 1.7;
    }
    /* =========================================
   CLIENT ACCESS
   ========================================= */

    .client-section {
        position: relative;
        overflow: hidden;
        padding: 110px 0;
        background: var(--oscuro);
        color: white;
    }

        .client-section::before {
            content: "";
            position: absolute;
            width: 500px;
            height: 500px;
            right: -180px;
            top: -180px;
            border: 1px solid rgba(213, 60, 55, 0.35);
            border-radius: 50%;
        }

        .client-section::after {
            content: "";
            position: absolute;
            width: 350px;
            height: 350px;
            right: -80px;
            top: -80px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            border-radius: 50%;
        }

    .client-container {
        position: relative;
        z-index: 2;
        width: min(1200px, 90%);
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 50px;
    }

        .client-container > div {
            max-width: 700px;
        }

        .client-container h2 {
            margin-bottom: 25px;
            font-size: clamp(40px, 5vw, 64px);
            line-height: 1.05;
            letter-spacing: -2px;
        }

        .client-container p:not(.section-label) {
            max-width: 600px;
            color: rgba(255, 255, 255, 0.68);
            font-size: 17px;
            line-height: 1.8;
        }

        .client-container .button {
            flex-shrink: 0;
        }
/* =========================================
   RESPONSIVE - TELEFONOS
   ========================================= */

@media (max-width: 800px) {

    /* HEADER */

    .site-header {
        padding: 16px 0;
    }

        .site-header.scrolled {
            padding: 12px 0;
        }

    .header-container {
        width: 92%;
    }

    .main-nav {
        display: none;
    }

    .logo-mark {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .logo-text {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .client-button {
        padding: 8px 12px;
        font-size: 11px;
    }


    /* HERO */

    .hero {
        min-height: 100svh;
    }

    .hero-content {
        width: 88%;
        padding-top: 45px;
    }

    .hero-label {
        margin-bottom: 18px;
        font-size: 10px;
        letter-spacing: 2px;
    }

        .hero-label::before {
            width: 25px;
        }

    .hero h1 {
        max-width: 600px;
        margin-bottom: 22px;
        font-size: clamp(42px, 12vw, 58px);
        line-height: 0.98;
        letter-spacing: -2.5px;
    }

    .hero-description {
        max-width: 450px;
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 28px;
        gap: 12px;
    }

        .hero-actions .button {
            padding: 13px 18px;
            font-size: 12px;
        }

    .hero-bottom {
        display: none;
    }


    /* GENERAL */

    .section-container {
        width: 88%;
    }

    .section-label {
        font-size: 10px;
        letter-spacing: 2px;
    }


    /* NOSOTROS */

    .about-section {
        min-height: auto;
        margin-top: -3vh;
        padding: 85px 0;
        border-radius: 20px 20px 0 0;
    }

    .about-container {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-content h2 {
        margin-bottom: 20px;
        font-size: clamp(34px, 10vw, 48px);
        letter-spacing: -1.8px;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.7;
    }

    .about-image {
        min-height: 380px;
    }


    /* SERVICIOS */

    .services-section {
        padding: 85px 0;
    }

    .section-heading h2 {
        font-size: clamp(34px, 9vw, 48px);
        letter-spacing: -1.8px;
    }

    .section-heading > p:last-child {
        font-size: 15px;
        line-height: 1.7;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 230px;
        padding: 25px 22px;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

        .service-card:last-child {
            border-bottom: none;
        }

    .service-number {
        margin-bottom: 35px;
    }

    .service-card h3 {
        font-size: 23px;
    }

    .service-card p {
        font-size: 14px;
        line-height: 1.65;
    }


    /* APLICACIONES */

    .applications-section {
        padding: 85px 0;
    }

    .applications-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .application-card {
        min-height: 420px;
    }

    .application-content {
        left: 25px;
        right: 25px;
        bottom: 25px;
    }

        .application-content h3 {
            font-size: 32px;
        }

        .application-content p {
            font-size: 14px;
            line-height: 1.6;
        }


    /* VENTAJAS */

    .advantages-section {
        padding: 85px 0;
    }

    .advantages-intro {
        margin-bottom: 55px;
    }

        .advantages-intro h2 {
            font-size: clamp(34px, 9vw, 48px);
            letter-spacing: -1.8px;
        }

        .advantages-intro > p:last-child {
            font-size: 15px;
            line-height: 1.7;
        }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage-item {
        min-height: auto;
        padding: 28px 22px;
        border-right: none;
        border-bottom: 1px solid #d6d6d6;
    }

        .advantage-item:last-child {
            border-bottom: none;
        }

    .advantage-number {
        margin-bottom: 35px;
    }

    .advantage-item h3 {
        font-size: 23px;
    }

    .advantage-item p {
        font-size: 14px;
        line-height: 1.65;
    }


    /* PROCESO */

    .process-section {
        padding: 85px 0;
    }

    .process-item {
        grid-template-columns: 55px 1fr;
        gap: 18px;
        padding: 28px 0;
    }

    .process-number {
        font-size: 11px;
    }

    .process-item h3 {
        font-size: 24px;
    }

    .process-item p {
        font-size: 14px;
        line-height: 1.65;
    }


    /* ACCESO CLIENTES */

    .client-section {
        padding: 85px 0;
    }

    .client-container {
        width: 88%;
        flex-direction: column;
        align-items: flex-start;
        gap: 35px;
    }

        .client-container h2 {
            margin-bottom: 20px;
            font-size: clamp(36px, 10vw, 52px);
            letter-spacing: -2px;
        }

        .client-container p:not(.section-label) {
            font-size: 15px;
            line-height: 1.7;
        }

        .client-container .button {
            padding: 14px 22px;
            font-size: 12px;
        }


    /* CONTACTO */

    .contact-section {
        padding: 90px 0;
    }

    .contact-container {
        width: 88%;
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .contact-content h2 {
        margin-bottom: 20px;
        font-size: clamp(38px, 10vw, 54px);
        letter-spacing: -2px;
    }

    .contact-content > p:last-child {
        font-size: 15px;
        line-height: 1.7;
    }

    .contact-actions {
        gap: 20px;
    }


    /* FOOTER */

    .site-footer {
        padding-top: 60px;
    }

    .footer-container {
        width: 88%;
        grid-template-columns: 1fr 1fr;
        gap: 45px 30px;
        padding-bottom: 50px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        width: 88%;
        flex-direction: column;
        gap: 8px;
        padding: 18px 0;
    }
}
/* =========================================
   CONTACTO
   ========================================= */

.contact-section {
    padding: 130px 0;
    background: var(--gris-claro);
}

.contact-container {
    width: min(1200px, 90%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 100px;
    align-items: center;
}

.contact-content {
    max-width: 700px;
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

    .contact-content.visible {
        opacity: 1;
        transform: translateX(0);
    }

    .contact-content h2 {
        margin-bottom: 25px;
        font-size: clamp(42px, 6vw, 76px);
        line-height: 1;
        letter-spacing: -3px;
    }

    .contact-content > p:last-child {
        max-width: 580px;
        color: #666;
        font-size: 17px;
        line-height: 1.8;
    }

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 1.2s ease 0.20s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.20s;
}

    .contact-actions.visible {
        opacity: 1;
        transform: translateX(0);
    }

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--oscuro);
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #aaa;
    padding-bottom: 7px;
    transition: color 0.3s ease, gap 0.3s ease, border-color 0.3s ease;
}

    .contact-link span {
        color: var(--rojo);
        font-size: 20px;
        transition: transform 0.3s ease;
    }

    .contact-link:hover {
        color: var(--rojo);
        border-color: var(--rojo);
        gap: 17px;
    }

        .contact-link:hover span {
            transform: translateX(4px);
        }
    /* =========================================
   FOOTER
   ========================================= */

    .site-footer {
        background: #101214;
        color: white;
        padding-top: 80px;
    }

    .footer-container {
        width: min(1200px, 90%);
        margin: 0 auto;
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 60px;
        padding-bottom: 70px;
    }

    .footer-brand {
        max-width: 320px;
    }

        .footer-brand .logo {
            margin-bottom: 25px;
        }

        .footer-brand p {
            color: rgba(255, 255, 255, 0.55);
            font-size: 14px;
            line-height: 1.7;
        }

    .footer-column {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

        .footer-column h3 {
            margin-bottom: 12px;
            color: white;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .footer-column a,
        .footer-column p {
            color: rgba(255, 255, 255, 0.55);
            font-size: 14px;
            line-height: 1.5;
            transition: color 0.3s ease;
        }

            .footer-column a:hover {
                color: var(--rojo);
            }

    .footer-bottom {
        width: min(1200px, 90%);
        margin: 0 auto;
        padding: 22px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        gap: 20px;
        color: rgba(255, 255, 255, 0.35);
        font-size: 11px;
        letter-spacing: 0.5px;
    }
/* =========================================
   VENTAJAS
   ========================================= */

.advantages-section {
    position: relative;
    padding: 140px 0;
    background: var(--gris-claro);
    overflow: hidden;
}

    .advantages-section::before {
        content: "04";
        position: absolute;
        right: 4%;
        top: 80px;
        color: rgba(23, 25, 27, 0.035);
        font-size: clamp(180px, 25vw, 360px);
        font-weight: 800;
        line-height: 1;
        pointer-events: none;
    }

.advantages-intro {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin-bottom: 80px;
}

    .advantages-intro h2 {
        margin-bottom: 25px;
        font-size: clamp(40px, 5vw, 64px);
        line-height: 1.02;
        letter-spacing: -2.5px;
    }

    .advantages-intro > p:last-child {
        max-width: 650px;
        color: #666;
        font-size: 17px;
        line-height: 1.8;
    }

.advantages-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #d6d6d6;
}

.advantage-item {
    min-height: 300px;
    padding: 35px 30px;
    border-right: 1px solid #d6d6d6;
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

    .advantage-item:last-child {
        border-right: none;
    }

    .advantage-item:hover {
        background: white;
        transform: translateY(-7px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    }

.advantage-number {
    display: block;
    margin-bottom: 65px;
    color: var(--rojo);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.advantage-item h3 {
    margin-bottom: 15px;
    font-size: 25px;
}

.advantage-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}


/* =========================================
   NUESTRO PROCESO
   ========================================= */

.process-section {
    padding: 140px 0;
    background: white;
}

    .process-section .section-heading {
        max-width: 800px;
        opacity: 0;
        transform: translateY(60px);
        transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    }

        .process-section .section-heading.visible {
            opacity: 1;
            transform: translateY(0);
        }

.process-list {
    border-top: 1px solid #ddd;
}

.process-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 35px;
    padding: 34px 0;
    border-bottom: 1px solid #ddd;
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 1s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1), padding-left 0.35s ease, background 0.35s ease;
}

    .process-item.visible {
        opacity: 1;
        transform: translateX(0);
    }

    /* Aparición escalonada de cada etapa */

    .process-item:nth-child(1) {
        transition-delay: 0.10s;
    }

    .process-item:nth-child(2) {
        transition-delay: 0.25s;
    }

    .process-item:nth-child(3) {
        transition-delay: 0.40s;
    }

    .process-item:nth-child(4) {
        transition-delay: 0.55s;
    }

    .process-item:nth-child(5) {
        transition-delay: 0.70s;
    }

    /* Interacción al pasar el mouse */

    .process-item:hover {
        padding-left: 18px;
    }

.process-number {
    color: var(--rojo);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    padding-top: 5px;
}

.process-item h3 {
    margin-bottom: 10px;
    font-size: 30px;
    line-height: 1.1;
}

.process-item p {
    max-width: 680px;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

/* =========================================
   ACCESO CLIENTES
   ========================================= */
/* =========================================
   ACCESO CLIENTES
   ========================================= */

.client-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: var(--oscuro);
    color: white;
}

    .client-section::before {
        content: "";
        position: absolute;
        width: 620px;
        height: 620px;
        right: -260px;
        top: -250px;
        border: 1px solid rgba(213, 60, 55, 0.30);
        border-radius: 50%;
    }

    .client-section::after {
        content: "";
        position: absolute;
        width: 430px;
        height: 430px;
        right: -160px;
        top: -150px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 50%;
    }

.client-container {
    position: relative;
    z-index: 2;
    width: min(1200px, 90%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

    .client-container > div {
        max-width: 700px;
        opacity: 0;
        transform: translateX(-70px);
        transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    }

        .client-container > div.visible {
            opacity: 1;
            transform: translateX(0);
        }

    .client-container h2 {
        margin-bottom: 25px;
        font-size: clamp(42px, 5vw, 68px);
        line-height: 1;
        letter-spacing: -3px;
    }

    .client-container p:not(.section-label) {
        max-width: 600px;
        color: rgba(255, 255, 255, 0.68);
        font-size: 17px;
        line-height: 1.8;
    }

    .client-container .button {
        flex-shrink: 0;
        padding: 17px 30px;
        box-shadow: 0 12px 35px rgba(213, 60, 55, 0.22);
        opacity: 0;
        transform: translateX(70px);
        transition: opacity 1.2s ease 0.25s, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    }

        .client-container .button.visible {
            opacity: 1;
            transform: translateX(0);
        }/* =========================================
   ANIMACIONES DE ENTRADA
   ========================================= */

.reveal {
    opacity: 0;
    transform: translateY(70px);
    transition: opacity 1.3s ease, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }

.reveal-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 1.3s ease, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

    .reveal-left.visible {
        opacity: 1;
        transform: translateX(0);
    }

.reveal-right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 1.3s ease, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

    .reveal-right.visible {
        opacity: 1;
        transform: translateX(0);
    }


/* =========================================
   RETRASOS
   ========================================= */

.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.30s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.60s;
}

.delay-5 {
    transition-delay: 0.75s;
}