/* =========================================================
   ALIANZAPP SpA
   Sitio Web Corporativo
   ========================================================= */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {

    /* Marca */
    --blue: #1B80B6;
    --blue-dark: #136394;
    --blue-light: #4aa5d3;

    --charcoal: #232323;
    --dark: #17191b;
    --dark-soft: #292c2f;

    --gray: #6f7880;
    --gray-light: #eef2f5;
    --gray-border: #dfe5e9;

    --white: #ffffff;

    /* Tipografía */
    --font-main: "Inter", sans-serif;

    /* Layout */
    --container: 1200px;

    /* Bordes */
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;

    /* Sombras */
    --shadow-sm:
        0 10px 30px rgba(20, 40, 55, 0.08);

    --shadow-md:
        0 25px 60px rgba(20, 40, 55, 0.13);

    --shadow-blue:
        0 20px 50px rgba(27, 128, 182, 0.25);

    /* Transiciones */
    --transition: 0.3s ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: var(--font-main);

    color: var(--charcoal);

    background: var(--white);

    line-height: 1.6;

    -webkit-font-smoothing: antialiased;

    overflow-x: hidden;
}


img {
    display: block;
    max-width: 100%;
}


a {
    color: inherit;
    text-decoration: none;
}


button,
input,
textarea {
    font-family: inherit;
}


button {
    border: none;
    background: none;
    cursor: pointer;
}


ul {
    list-style: none;
}


/* =========================================================
   3. UTILIDADES GENERALES
   ========================================================= */

.container {

    width: min(
        calc(100% - 48px),
        var(--container)
    );

    margin-inline: auto;
}


.section {

    padding: 120px 0;

    position: relative;
}


.section-label {

    display: inline-block;

    color: var(--blue);

    text-transform: uppercase;

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 0.16em;

    margin-bottom: 12px;
}


.section-heading {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-bottom: 65px;
}

.section-heading > div {
    min-width: 0;
}

.about .section-heading h2 {
    max-width: 820px;
}


.section-number {

    color: var(--blue);

    font-size: 0.8rem;

    font-weight: 700;

    padding-top: 10px;
}


.section-heading h2 {

    font-size: clamp(
        2.2rem,
        4vw,
        4rem
    );

    line-height: 1.05;

    letter-spacing: -0.045em;

    max-width: 760px;
}


.section-heading h2 span {

    display: block;

    color: var(--blue);
}


/* =========================================================
   4. BOTONES
   ========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 52px;

    padding: 0 25px;

    border-radius: 100px;

    font-size: 0.9rem;

    font-weight: 700;

    transition:
        transform var(--transition),
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}


.btn:hover {
    transform: translateY(-2px);
}


.btn-primary {

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-dark)
        );

    box-shadow:
        0 10px 30px rgba(27, 128, 182, 0.22);
}


.btn-primary:hover {

    box-shadow: var(--shadow-blue);
}


.btn-secondary {

    color: var(--charcoal);

    border:
        1px solid rgba(35, 35, 35, 0.15);

    background:
        rgba(255,255,255,0.7);

    backdrop-filter: blur(10px);
}


.btn-secondary:hover {

    border-color: var(--blue);

    color: var(--blue);
}


/* =========================================================
   5. HEADER
   ========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 82px;

    display: flex;
    align-items: center;

    z-index: 9999;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    border-top: none;

    transition:
        height 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


/* Posteriormente JS agregará esta clase */

.header.scrolled {

    height: 70px;

    background:
        rgba(255, 255, 255, 0.92);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    box-shadow:
        0 1px 0 rgba(20, 40, 55, 0.08);
}


.nav-container {

    display: flex;

    align-items: center;

    justify-content: space-between;
}



.about .section-heading {
    position: relative;
    margin-bottom: 75px;
}

.about .section-heading h2 {
    max-width: 820px;
}


/* =========================================================
   LOGO
   ========================================================= */

.logo {
    display: flex;
    align-items: center;
    width: 190px;
    height: 58px;
    position: relative;
    z-index: 1001;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/*
   Mientras no exista el logo,
   el espacio se mantiene correctamente.
*/


/* =========================================================
   NAVEGACIÓN
   ========================================================= */

.nav-list {

    display: flex;

    align-items: center;

    gap: 38px;
}


.nav-link {

    position: relative;

    font-size: 0.87rem;

    font-weight: 600;

    color: #41484d;

    transition: color var(--transition);
}


.nav-link::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -8px;

    width: 0;

    height: 2px;

    border-radius: 20px;

    background: var(--blue);

    transition: width var(--transition);
}


.nav-link:hover {

    color: var(--blue);
}


.nav-link:hover::after {

    width: 100%;
}


.about {
    background: var(--white);
    padding-top: 180px;
    padding-bottom: 120px;
}


/* =========================================================
   BOTÓN CONTACTO NAV
   ========================================================= */

.btn-nav {

    min-height: 44px;

    padding: 0 22px;

    color: var(--white);

    background: var(--charcoal);
}


.btn-nav:hover {

    background: var(--blue);
}


/* =========================================================
   MENU MOBILE
   ========================================================= */

.menu-toggle {

    width: 44px;

    height: 44px;

    display: none;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 5px;

    position: relative;

    z-index: 1001;
}


.menu-toggle span {

    display: block;

    width: 23px;

    height: 2px;

    background: var(--charcoal);

    border-radius: 5px;

    transition: var(--transition);
}


/* =========================================================
   6. HERO
   ========================================================= */

.hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding:
        145px 0
        90px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f7fafc 55%,
            #eef6fa 100%
        );
}


/* Grid principal */

.hero-grid {

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(400px, 0.8fr);

    gap: 90px;

    align-items: center;

    position: relative;

    z-index: 2;
}


/* =========================================================
   HERO CONTENIDO
   ========================================================= */

.hero-content {

    max-width: 700px;
}


.eyebrow {

    display: inline-flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;

    color: var(--blue);

    font-size: 0.75rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.13em;

    margin-bottom: 28px;
}


.eyebrow span {

    color: #a9b3b9;
}


.hero h1 {

    font-size:
        clamp(
            3.7rem,
            6.8vw,
            6.6rem
        );

    line-height: 0.92;

    letter-spacing: -0.065em;

    font-weight: 800;

    color: var(--charcoal);

    margin-bottom: 32px;
}


.hero h1 span {

    display: block;

    color: var(--blue);

    position: relative;
}


.hero-description {

    max-width: 620px;

    font-size: clamp(
        1rem,
        1.5vw,
        1.18rem
    );

    color: #657078;

    line-height: 1.75;

    margin-bottom: 38px;
}


.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   HERO PANEL
   ========================================================= */

.hero-panel {

    position: relative;

    border-radius: var(--radius-lg);

    padding: 28px;

    color: var(--white);

    background:
        linear-gradient(
            145deg,
            #272b2e,
            #17191b
        );

    box-shadow:
        0 40px 90px rgba(23, 25, 27, 0.22);

    overflow: hidden;
}


/* Halo azul interno */

.hero-panel::before {

    content: "";

    position: absolute;

    width: 260px;

    height: 260px;

    border-radius: 50%;

    right: -120px;

    top: -130px;

    background:
        rgba(27, 128, 182, 0.3);

    filter: blur(20px);
}


/* Línea decorativa */

.hero-panel::after {

    content: "";

    position: absolute;

    width: 150px;

    height: 1px;

    right: 20px;

    bottom: 70px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.25)
        );
}


.hero-panel-header {

    position: relative;

    display: flex;

    align-items: center;

    gap: 10px;

    padding-bottom: 22px;

    margin-bottom: 10px;

    border-bottom:
        1px solid rgba(255,255,255,0.1);

    font-size: 0.75rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: uppercase;

    color: rgba(255,255,255,0.65);
}


.panel-dot {

    width: 8px;

    height: 8px;

    border-radius: 50%;

    background: var(--blue);

    box-shadow:
        0 0 15px rgba(27,128,182,0.8);
}


/* =========================================================
   ESTADÍSTICAS HERO
   ========================================================= */

.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    position: relative;
}


.stat {

    min-height: 155px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 25px;

    border-bottom:
        1px solid rgba(255,255,255,0.08);
}


.stat:nth-child(odd) {

    border-right:
        1px solid rgba(255,255,255,0.08);
}


.stat:nth-child(3),
.stat:nth-child(4) {

    border-bottom: none;
}


.stat strong {

    display: block;

    font-size: clamp(
        1.8rem,
        3vw,
        2.6rem
    );

    line-height: 1;

    letter-spacing: -0.05em;

    margin-bottom: 12px;

    color: var(--white);
}


.stat span {

    max-width: 140px;

    font-size: 0.77rem;

    line-height: 1.5;

    color: rgba(255,255,255,0.55);
}


/* =========================================================
   FOOTER PANEL HERO
   ========================================================= */

.hero-panel-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    padding-top: 22px;

    border-top:
        1px solid rgba(255,255,255,0.08);

    position: relative;
}


.hero-panel-footer span {

    font-size: 0.64rem;

    text-transform: uppercase;

    letter-spacing: 0.12em;

    color: rgba(255,255,255,0.4);
}


/* =========================================================
   DECORACIONES HERO
   ========================================================= */

.hero-decoration {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.hero-decoration-one {

    width: 550px;

    height: 550px;

    right: -280px;

    top: -180px;

    border:
        1px solid rgba(27,128,182,0.12);
}


.hero-decoration-two {

    width: 800px;

    height: 800px;

    right: -450px;

    top: -310px;

    border:
        1px solid rgba(27,128,182,0.06);
}


/* Punto decorativo */

.hero-decoration-one::after {

    content: "";

    position: absolute;

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: var(--blue);

    left: 60px;

    bottom: 90px;

    box-shadow:
        0 0 0 10px rgba(27,128,182,0.08);
}


/* =========================================================
   SCROLL INDICATOR
   ========================================================= */

.scroll-indicator {

    position: absolute;

    left: 50%;

    bottom: 30px;

    transform: translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    color: #8a949a;

    font-size: 0.65rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.14em;

    z-index: 3;
}


.scroll-line {

    width: 1px;

    height: 35px;

    background:
        linear-gradient(
            to bottom,
            var(--blue),
            transparent
        );
}


/* =========================================================
   7. ANIMACIONES BASE
   ========================================================= */

.reveal {

    opacity: 1;

    transform: translateY(0);
}


/*
   Cuando incorporemos JavaScript utilizaremos
   estas clases para las animaciones.
*/

.js .reveal {

    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}


.js .reveal.visible {

    opacity: 1;

    transform: translateY(0);
}



/* =========================================================
   8. NOSOTROS
   ========================================================= */




/* Introducción */

.about-intro {

    display: grid;

    grid-template-columns:
        minmax(0, 1.15fr)
        minmax(300px, 0.85fr);

    gap: 90px;

    align-items: start;

    margin-left: 90px;

    margin-bottom: 75px;
}


.about-intro .lead {

    font-size: clamp(
        1.35rem,
        2.2vw,
        2rem
    );

    line-height: 1.45;

    letter-spacing: -0.025em;

    font-weight: 600;

    color: var(--charcoal);
}


.about-intro > p:not(.lead) {

    color: #69737a;

    font-size: 1rem;

    line-height: 1.85;

    padding-top: 7px;
}


/* =========================================================
   PILARES
   ========================================================= */

.pillars-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top:
        1px solid var(--gray-border);

    border-bottom:
        1px solid var(--gray-border);
}


.pillar-card {

    position: relative;

    min-height: 340px;

    padding:
        38px 30px
        35px;

    border-right:
        1px solid var(--gray-border);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}


.pillar-card:first-child {

    border-left:
        1px solid var(--gray-border);
}


.pillar-card:hover {

    z-index: 2;

    background: var(--white);

    transform: translateY(-8px);

    box-shadow:
        0 25px 55px
        rgba(25, 55, 75, 0.09);
}


/* Número */

.pillar-number {

    display: block;

    color: #a6b0b6;

    font-size: 0.67rem;

    font-weight: 800;

    letter-spacing: 0.1em;

    margin-bottom: 50px;
}


/* Icono */

.pillar-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 28px;

    border-radius: 14px;

    color: var(--blue);

    background:
        rgba(27, 128, 182, 0.08);

    font-size: 1.2rem;

    font-weight: 700;

    transition:
        color var(--transition),
        background var(--transition),
        transform var(--transition);
}


.pillar-card:hover .pillar-icon {

    color: var(--white);

    background: var(--blue);

    transform: scale(1.05);
}


/* Textos */

.pillar-card h3 {

    font-size: 1.1rem;

    line-height: 1.3;

    letter-spacing: -0.02em;

    margin-bottom: 15px;
}


.pillar-card p {

    color: #737d84;

    font-size: 0.88rem;

    line-height: 1.7;
}


/* Pequeño acento superior */

.pillar-card::before {

    content: "";

    position: absolute;

    top: -1px;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--blue);

    transition: width 0.4s ease;
}


.pillar-card:hover::before {

    width: 100%;
}


/* =========================================================
   9. BANNER DE MARCA
   ========================================================= */

.brand-banner {

    position: relative;

    min-height: 380px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        linear-gradient(
            125deg,
            var(--blue-dark) 0%,
            var(--blue) 55%,
            #2898cc 100%
        );
}


/* Círculos decorativos */

.brand-banner::before {

    content: "";

    position: absolute;

    width: 520px;

    height: 520px;

    border-radius: 50%;

    right: -180px;

    top: -250px;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);
}


.brand-banner::after {

    content: "";

    position: absolute;

    width: 310px;

    height: 310px;

    border-radius: 50%;

    right: -40px;

    top: -140px;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);
}


.brand-banner .container {

    position: relative;

    z-index: 2;
}


.brand-banner p {

    max-width: 980px;

    color:
        rgba(255, 255, 255, 0.6);

    font-size: clamp(
        2.6rem,
        5.3vw,
        5.4rem
    );

    line-height: 1.03;

    letter-spacing: -0.055em;

    font-weight: 800;
}


.brand-banner p span {

    display: block;

    color: var(--white);
}


/* Línea decorativa inferior */

.brand-banner .container::after {

    content: "";

    display: block;

    width: 75px;

    height: 3px;

    margin-top: 38px;

    border-radius: 50px;

    background:
        rgba(255,255,255,0.8);
}



/* =========================================================
   AJUSTE SECCIONES + NAVBAR FIJO
   ========================================================= */

section[id] {
    scroll-margin-top: 120px;
}

.about .section-heading {
    margin-bottom: 70px;
}



/* =========================================================
   10. PROPÓSITO / MISIÓN / VISIÓN
   ========================================================= */

.purpose-section {

    position: relative;

    padding: 140px 0;

    color: var(--white);

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(27, 128, 182, 0.18),
            transparent 30%
        ),
        linear-gradient(
            145deg,
            #24282b 0%,
            #17191b 65%,
            #111315 100%
        );

    overflow: hidden;
}


/* Decoración de fondo */

.purpose-section::before {

    content: "";

    position: absolute;

    width: 650px;

    height: 650px;

    border-radius: 50%;

    right: -360px;

    top: -280px;

    border:
        1px solid rgba(255,255,255,0.06);

    pointer-events: none;
}


.purpose-section::after {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    right: -170px;

    top: -180px;

    border:
        1px solid rgba(27,128,182,0.18);

    pointer-events: none;
}


.purpose-section .container {

    position: relative;

    z-index: 2;
}


/* =========================================================
   ENCABEZADO CLARO
   ========================================================= */

.section-heading.light .section-number {

    color:
        rgba(255,255,255,0.35);
}


.section-heading.light .section-label {

    color: #64b9e3;
}


.section-heading.light h2 {

    color: var(--white);
}


.section-heading.light h2 span {

    color: #55afe0;
}


/* =========================================================
   GRID PROPÓSITO
   ========================================================= */

.purpose-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    margin-top: 30px;

    border-top:
        1px solid rgba(255,255,255,0.12);

    border-bottom:
        1px solid rgba(255,255,255,0.12);
}


/* =========================================================
   TARJETAS
   ========================================================= */

.purpose-card {

    position: relative;

    min-height: 390px;

    padding:
        42px 38px
        45px;

    border-right:
        1px solid rgba(255,255,255,0.12);

    transition:
        background 0.35s ease,
        transform 0.35s ease;
}


.purpose-card:first-child {

    border-left:
        1px solid rgba(255,255,255,0.12);
}


.purpose-card:hover {

    background:
        rgba(255,255,255,0.035);
}


/* Línea azul hover */

.purpose-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: -1px;

    width: 0;

    height: 2px;

    background: var(--blue);

    transition:
        width 0.45s ease;
}


.purpose-card:hover::before {

    width: 100%;
}


/* Número */

.purpose-index {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 42px;

    height: 42px;

    margin-bottom: 75px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.16);

    color:
        rgba(255,255,255,0.55);

    font-size: 0.68rem;

    font-weight: 700;

    transition:
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease;
}


.purpose-card:hover .purpose-index {

    color: var(--white);

    background: var(--blue);

    border-color: var(--blue);
}


/* Título */

.purpose-card h3 {

    color: var(--white);

    font-size: clamp(
        1.5rem,
        2vw,
        2rem
    );

    line-height: 1.2;

    letter-spacing: -0.035em;

    margin-bottom: 20px;
}


/* Texto */

.purpose-card p {

    max-width: 310px;

    color:
        rgba(255,255,255,0.58);

    font-size: 0.92rem;

    line-height: 1.8;
}


/* =========================================================
   VALORES
   ========================================================= */

.values {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;

    margin-top: 55px;
}


.values::before {

    content: "Nuestros valores";

    width: 100%;

    margin-bottom: 12px;

    color:
        rgba(255,255,255,0.35);

    font-size: 0.68rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.16em;
}


.values span {

    display: inline-flex;

    align-items: center;

    min-height: 42px;

    padding:
        0 18px;

    border-radius: 100px;

    border:
        1px solid rgba(255,255,255,0.13);

    color:
        rgba(255,255,255,0.72);

    background:
        rgba(255,255,255,0.025);

    font-size: 0.78rem;

    font-weight: 600;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.values span:hover {

    color: var(--white);

    background:
        rgba(27,128,182,0.16);

    border-color:
        rgba(27,128,182,0.6);
}



/* =========================================================
   11. TRAYECTORIA
   ========================================================= */

.timeline-section {
    position: relative;
    padding: 145px 0 155px;
    background: #f7f9fa;
    overflow: hidden;
}


/* Decoración muy sutil */

.timeline-section::before {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    left: -320px;
    bottom: -280px;

    border-radius: 50%;

    border: 1px solid rgba(27, 128, 182, 0.08);

    pointer-events: none;
}


/* =========================================================
   CONTENEDOR TIMELINE
   ========================================================= */

.timeline {
    position: relative;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    margin-top: 90px;
}


/* Línea horizontal */

.timeline::before {
    content: "";

    position: absolute;

    top: 51px;
    left: 0;

    width: 100%;
    height: 1px;

    background:
        linear-gradient(
            90deg,
            #cbd5da 0%,
            #aebdc5 70%,
            var(--blue) 100%
        );
}


/* =========================================================
   ITEM
   ========================================================= */

.timeline-item {
    position: relative;

    min-height: 360px;

    padding-right: 40px;
}


/* =========================================================
   AÑO
   ========================================================= */

.timeline-year {
    height: 30px;

    display: flex;
    align-items: center;

    color: #8a969d;

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.12em;

    margin-bottom: 10px;
}


/* =========================================================
   PUNTO
   ========================================================= */

.timeline-dot {
    position: relative;

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: var(--white);

    border: 3px solid #9eb0ba;

    margin-top: 5px;
    margin-bottom: 45px;

    z-index: 2;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


/* Halo */

.timeline-dot::before {
    content: "";

    position: absolute;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    border: 1px solid rgba(27, 128, 182, 0);

    transition: border-color 0.3s ease;
}


/* Hover */

.timeline-item:hover .timeline-dot {
    background: var(--blue);
    border-color: var(--blue);

    transform: scale(1.08);

    box-shadow:
        0 0 0 7px rgba(27, 128, 182, 0.08);
}


.timeline-item:hover .timeline-dot::before {
    border-color: rgba(27, 128, 182, 0.2);
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.timeline-content {
    max-width: 235px;
}


.timeline-content > span {
    display: block;

    margin-bottom: 10px;

    color: var(--blue);

    font-size: 0.65rem;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.13em;
}


.timeline-content h3 {
    margin-bottom: 16px;

    color: var(--charcoal);

    font-size: 1.25rem;
    line-height: 1.25;

    letter-spacing: -0.025em;
}


.timeline-content p {
    color: #6f7a81;

    font-size: 0.85rem;
    line-height: 1.75;
}


.timeline-content strong {
    display: block;

    margin-top: 18px;

    color: var(--blue);

    font-size: 0.82rem;
    line-height: 1.5;
}


/* =========================================================
   ÚLTIMO HITO — SELI
   ========================================================= */

.timeline-item.featured {
    padding: 0;
}


.timeline-item.featured .timeline-year {
    color: var(--blue);
}


.timeline-item.featured .timeline-dot {
    width: 17px;
    height: 17px;

    margin-top: 3px;
    margin-bottom: 41px;

    background: var(--blue);

    border-color: var(--blue);

    box-shadow:
        0 0 0 8px rgba(27, 128, 182, 0.10);
}


.timeline-item.featured .timeline-dot::after {
    content: "";

    position: absolute;

    width: 5px;
    height: 5px;

    top: 50%;
    left: 50%;

    border-radius: 50%;

    background: var(--white);

    transform: translate(-50%, -50%);
}


.timeline-item.featured .timeline-content {
    position: relative;

    max-width: 260px;

    padding: 25px;

    margin-top: -12px;

    border-radius: 18px;

    background: var(--white);

    box-shadow:
        0 20px 55px rgba(20, 50, 70, 0.09);
}


.timeline-item.featured .timeline-content::before {
    content: "HOY";

    position: absolute;

    right: 20px;
    top: 20px;

    color: var(--blue);

    font-size: 0.58rem;
    font-weight: 800;

    letter-spacing: 0.15em;
}


.timeline-item.featured .timeline-content h3 {
    font-size: 1.6rem;
    color: var(--blue);
}


/* =========================================================
   DETALLE FINAL
   ========================================================= */

.timeline-item.featured::after {
    content: "";

    position: absolute;

    top: 45px;
    right: -10px;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: rgba(27, 128, 182, 0.08);
}



/* =========================================================
   12. NUESTRAS MARCAS
   ========================================================= */

.brands-section {
    position: relative;
    padding: 150px 0;
    background: var(--white);
}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.brands-heading {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 90px;
    align-items: end;

    margin-bottom: 75px;
}


.brands-heading h2 {
    max-width: 650px;

    color: var(--charcoal);

    font-size: clamp(2.5rem, 4vw, 4.3rem);
    line-height: 1.02;
    letter-spacing: -0.055em;
}


.brands-heading h2 span {
    display: block;
    color: var(--blue);
}


.brands-heading > p {
    max-width: 420px;

    padding-bottom: 8px;

    color: #6f7a81;

    font-size: 0.95rem;
    line-height: 1.8;
}


/* =========================================================
   GRID DE MARCAS
   ========================================================= */

.brands-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 22px;
}


/* =========================================================
   TARJETA BASE
   ========================================================= */

.brand-card {
    position: relative;

    display: flex;
    flex-direction: column;

    min-height: 500px;

    padding: 35px;

    border: 1px solid var(--gray-border);
    border-radius: 22px;

    background: #fafbfc;

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.brand-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(27, 128, 182, 0.25);

    box-shadow:
        0 25px 65px rgba(25, 55, 75, 0.10);
}


/* =========================================================
   CABECERA TARJETA
   ========================================================= */

.brand-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 70px;
}


/* Placeholder del logo */

.brand-logo-placeholder {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    color: var(--blue);

    background:
        rgba(27, 128, 182, 0.08);

    font-size: 1rem;
    font-weight: 800;

    letter-spacing: -0.03em;
}


/* Estado */

.brand-status {
    display: inline-flex;
    align-items: center;

    min-height: 30px;

    padding: 0 13px;

    border-radius: 100px;

    border:
        1px solid var(--gray-border);

    color: #758088;

    background: var(--white);

    font-size: 0.62rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.09em;
}


/* =========================================================
   CONTENIDO
   ========================================================= */

.brand-card-content {
    flex: 1;
}


.brand-meta {
    display: block;

    margin-bottom: 12px;

    color: var(--blue);

    font-size: 0.66rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.11em;
}


.brand-card-content h3 {
    margin-bottom: 22px;

    color: var(--charcoal);

    font-size: clamp(1.7rem, 2.5vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -0.045em;
}


.brand-card-content h4 {
    margin-top: -12px;
    margin-bottom: 25px;

    color: var(--blue);

    font-size: 1rem;
    line-height: 1.4;
}


.brand-card-content p {
    max-width: 480px;

    margin-bottom: 15px;

    color: #6f7980;

    font-size: 0.88rem;
    line-height: 1.75;
}


/* =========================================================
   FOOTER DE TARJETA
   ========================================================= */

.brand-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 40px;
    padding-top: 22px;

    border-top:
        1px solid var(--gray-border);
}


.brand-card-footer > span {
    color: #667078;

    font-size: 0.68rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}


/* =========================================================
   SELI — TARJETA DESTACADA
   ========================================================= */

.brand-card-featured {
    grid-column: 1 / -1;

    min-height: 570px;

    padding: 50px;

    color: var(--white);

    border: none;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(55, 169, 224, 0.35),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #202427 0%,
            #15242c 55%,
            #123e55 100%
        );

    box-shadow:
        0 30px 80px rgba(15, 45, 60, 0.16);
}


/* Círculo decorativo */

.brand-card-featured::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

    right: -210px;
    top: -250px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.12);
}


.brand-card-featured::after {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -20px;
    top: -150px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.10);
}


/* =========================================================
   BADGE SELI
   ========================================================= */

.featured-badge {
    position: absolute;

    right: 45px;
    top: 45px;

    display: inline-flex;
    align-items: center;

    min-height: 32px;

    padding: 0 14px;

    border-radius: 100px;

    color: var(--white);

    background:
        rgba(27, 128, 182, 0.9);

    font-size: 0.63rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.1em;

    z-index: 3;
}


/* =========================================================
   SELI TOP
   ========================================================= */

.brand-card-featured .brand-card-top {
    max-width: 65%;

    position: relative;

    z-index: 2;
}


.brand-card-featured .brand-logo-placeholder {
    width: 70px;
    height: 70px;

    border-radius: 20px;

    color: var(--white);

    background:
        rgba(255,255,255,0.10);

    border:
        1px solid rgba(255,255,255,0.12);

    font-size: 1.5rem;
}


.brand-card-featured .brand-status {
    color:
        rgba(255,255,255,0.75);

    background:
        rgba(255,255,255,0.06);

    border-color:
        rgba(255,255,255,0.15);
}


/* =========================================================
   SELI CONTENIDO
   ========================================================= */

.brand-card-featured .brand-card-content {
    max-width: 720px;

    position: relative;

    z-index: 2;
}


.brand-card-featured .brand-meta {
    color: #68bee6;
}


.brand-card-featured .brand-card-content h3 {
    color: var(--white);

    font-size: clamp(3rem, 5vw, 5.2rem);

    margin-bottom: 12px;
}


.brand-card-featured .brand-card-content h4 {
    color: #6cc2e9;

    font-size: clamp(1.2rem, 2vw, 1.7rem);

    margin: 0 0 30px;
}


.brand-card-featured .brand-card-content p {
    max-width: 680px;

    color:
        rgba(255,255,255,0.62);

    font-size: 0.94rem;
}


/* =========================================================
   SELI FOOTER
   ========================================================= */

.brand-card-featured .brand-card-footer {
    position: relative;

    z-index: 2;

    border-color:
        rgba(255,255,255,0.12);
}


.brand-card-featured .brand-card-footer > span {
    color:
        rgba(255,255,255,0.45);
}


/* =========================================================
   APP STORES
   ========================================================= */

.store-links {
    display: flex;
    align-items: center;

    gap: 10px;
}


.store-links span {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 0 14px;

    border-radius: 8px;

    color:
        rgba(255,255,255,0.75);

    border:
        1px solid rgba(255,255,255,0.14);

    font-size: 0.67rem;
    font-weight: 600;
}


/* =========================================================
   13. EMPRESA
   ========================================================= */

.company-section {
    position: relative;
    padding: 150px 0;
    background: var(--gray-light);
    overflow: hidden;
}

.company-section::before {
    content: "";
    position: absolute;

    width: 500px;
    height: 500px;

    left: -280px;
    top: -280px;

    border-radius: 50%;

    border: 1px solid rgba(27, 128, 182, 0.08);
}

.company-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(420px, 0.85fr);

    gap: 120px;

    align-items: center;
}


/* =========================================================
   TEXTO EMPRESA
   ========================================================= */

.company-content h2 {
    max-width: 650px;

    margin-bottom: 30px;

    color: var(--charcoal);

    font-size: clamp(2.7rem, 4.5vw, 4.8rem);
    line-height: 1.02;

    letter-spacing: -0.055em;
}

.company-content h2 span {
    display: block;
    color: var(--blue);
}

.company-content > p {
    color: #707b82;

    font-size: 1rem;
    line-height: 1.8;
}


/* =========================================================
   FICHA EMPRESA
   ========================================================= */

.company-data {
    position: relative;

    padding: 38px;

    border-radius: 24px;

    background: var(--white);

    border: 1px solid var(--gray-border);

    box-shadow:
        0 25px 70px rgba(25, 55, 75, 0.08);
}


/* Línea superior */

.company-data::before {
    content: "";

    position: absolute;

    left: 38px;
    right: 38px;
    top: 0;

    height: 3px;

    border-radius: 0 0 10px 10px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--blue-dark)
        );
}


/* =========================================================
   CABECERA EMPRESA
   ========================================================= */

.company-data-header {
    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 35px;
    padding-bottom: 30px;

    border-bottom:
        1px solid var(--gray-border);
}

.company-symbol {
    width: 55px;
    height: 55px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--blue),
            var(--blue-dark)
        );

    font-size: 1.25rem;
    font-weight: 800;
}

.company-data-header div {
    display: flex;
    flex-direction: column;
}

.company-data-header strong {
    color: var(--charcoal);

    font-size: 1.05rem;
}

.company-data-header div span {
    margin-top: 3px;

    color: #7b858b;

    font-size: 0.76rem;
}


/* =========================================================
   DATOS EMPRESA
   ========================================================= */

.company-details {
    display: flex;
    flex-direction: column;
}

.company-details > div {
    display: grid;

    grid-template-columns: 120px 1fr;

    gap: 25px;

    padding: 20px 0;

    border-bottom:
        1px solid var(--gray-border);
}

.company-details > div:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.company-details dt {
    color: #9aa4aa;

    font-size: 0.65rem;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.company-details dd {
    color: #4e585e;

    font-size: 0.85rem;

    line-height: 1.65;
}

.company-details dd a {
    color: var(--blue);

    font-weight: 600;

    transition: color var(--transition);
}

.company-details dd a:hover {
    color: var(--blue-dark);
}


/* =========================================================
   14. CONTACTO
   ========================================================= */

.contact-section {
    position: relative;

    padding: 125px 0;

    color: var(--white);

    background:
        linear-gradient(
            125deg,
            var(--blue-dark),
            var(--blue)
        );

    overflow: hidden;
}


/* Decoraciones */

.contact-section::before {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -250px;
    top: -350px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.13);
}

.contact-section::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -50px;
    top: -230px;

    border-radius: 50%;

    border:
        1px solid rgba(255,255,255,0.10);
}


/* =========================================================
   CONTENEDOR CONTACTO
   ========================================================= */

.contact-container {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 100px;

    align-items: center;
}


/* =========================================================
   TEXTO CONTACTO
   ========================================================= */

.light-label {
    color:
        rgba(255,255,255,0.65);
}

.contact-content {
    max-width: 720px;
}

.contact-content h2 {
    margin-bottom: 25px;

    color: var(--white);

    font-size: clamp(2.7rem, 4.5vw, 4.8rem);

    line-height: 1.02;

    letter-spacing: -0.055em;
}

.contact-content h2 span {
    display: block;

    color:
        rgba(255,255,255,0.62);
}

.contact-content p {
    max-width: 600px;

    color:
        rgba(255,255,255,0.72);

    font-size: 0.95rem;

    line-height: 1.8;
}


/* =========================================================
   BOTÓN CONTACTO
   ========================================================= */

.contact-button {
    min-width: 330px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 35px;

    padding: 25px 28px;

    border-radius: 18px;

    color: var(--charcoal);

    background: var(--white);

    box-shadow:
        0 20px 50px rgba(0,0,0,0.12);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.contact-button:hover {
    transform: translateY(-5px);

    box-shadow:
        0 28px 65px rgba(0,0,0,0.18);
}

.contact-button div {
    display: flex;
    flex-direction: column;
}

.contact-button div span {
    margin-bottom: 5px;

    color: #8b959b;

    font-size: 0.62rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.contact-button strong {
    color: var(--charcoal);

    font-size: 0.82rem;
}

.contact-arrow {
    width: 42px;
    height: 42px;

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--white);

    background: var(--blue);

    font-size: 1.1rem;

    transition:
        transform 0.3s ease;
}

.contact-button:hover .contact-arrow {
    transform: translateX(4px);
}


/* =========================================================
   15. FOOTER
   ========================================================= */

.footer {
    padding: 85px 0 30px;

    color: var(--white);

    background: #151719;
}


/* =========================================================
   FOOTER PRINCIPAL
   ========================================================= */

.footer-main {
    display: grid;

    grid-template-columns:
        1.5fr
        0.6fr
        0.8fr;

    gap: 100px;

    padding-bottom: 70px;
}


/* =========================================================
   MARCA FOOTER
   ========================================================= */

.footer-brand {
    max-width: 420px;
}

.footer-logo {
    width: 180px;

    margin-bottom: 25px;
}

.footer-logo img {
    width: 100%;
    height: auto;

    object-fit: contain;
}

.footer-brand p {
    max-width: 360px;

    color:
        rgba(255,255,255,0.48);

    font-size: 0.85rem;

    line-height: 1.75;
}


/* =========================================================
   COLUMNAS FOOTER
   ========================================================= */

.footer-nav,
.footer-company {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-nav > span,
.footer-company > span {
    margin-bottom: 12px;

    color:
        rgba(255,255,255,0.35);

    font-size: 0.62rem;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.13em;
}

.footer-nav a,
.footer-company a {
    color:
        rgba(255,255,255,0.68);

    font-size: 0.8rem;

    transition: color 0.3s ease;
}

.footer-nav a:hover,
.footer-company a:hover {
    color: var(--white);
}

.footer-company p {
    margin-bottom: 8px;

    color:
        rgba(255,255,255,0.48);

    font-size: 0.78rem;

    line-height: 1.7;
}


/* =========================================================
   FOOTER INFERIOR
   ========================================================= */

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding-top: 25px;

    border-top:
        1px solid rgba(255,255,255,0.08);
}

.footer-bottom p,
.footer-bottom a {
    color:
        rgba(255,255,255,0.35);

    font-size: 0.68rem;
}

.footer-bottom a {
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--white);
}



/* =========================================================
   16. RESPONSIVE
   ========================================================= */


/* =========================================================
   NOTEBOOK / DESKTOP PEQUEÑO
   ========================================================= */

@media (max-width: 1200px) {

    :root {
        --container: 1050px;
    }

    .hero-grid {
        gap: 60px;

        grid-template-columns:
            minmax(0, 1fr)
            minmax(370px, 0.8fr);
    }

    .hero h1 {
        font-size: clamp(3.5rem, 6vw, 5.5rem);
    }

    .about-intro {
        margin-left: 70px;
        gap: 60px;
    }

    .company-grid {
        gap: 70px;
    }

    .contact-container {
        gap: 60px;
    }

}


/* =========================================================
   TABLET GRANDE
   ========================================================= */

@media (max-width: 1024px) {

    .section {
        padding: 100px 0;
    }


    /* NAV */

   .nav {
        display: block !important;

        position: fixed;

        inset: 0;

        width: 100%;
        height: 100dvh;

        padding:
            120px 30px
            40px;

        background:
            rgba(255, 255, 255, 0.98);

        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);

        overflow-y: auto;

        opacity: 0;
        visibility: hidden;

        transform: translateY(-15px);

        pointer-events: none;

        transition:
            opacity 0.35s ease,
            visibility 0.35s ease,
            transform 0.35s ease;

        z-index: 10000;
    }


    .nav.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }


    .nav-list {
        width: 100%;
        max-width: 500px;

        margin: 0 auto;

        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 0;
    }


    .nav-list li {
        width: 100%;

        border-bottom:
            1px solid #dfe5e9;
    }


    .nav-list li:first-child {
        border-top:
            1px solid #dfe5e9;
    }


    .nav-link {
        display: flex;

        align-items: center;
        justify-content: space-between;

        width: 100%;

        padding: 20px 5px;

        color: #232323;

        font-size:
            clamp(
                1.75rem,
                7vw,
                2.3rem
            );

        font-weight: 700;

        line-height: 1.1;

        letter-spacing: -0.04em;
    }


    .nav-link::after {
        content: "↗";

        color: var(--blue);

        font-size: 0.9rem;

        opacity: 0;

        transform:
            translate(-5px, 5px);

        transition:
            opacity 0.25s ease,
            transform 0.25s ease;
    }


    .nav-link:hover::after {
        opacity: 1;

        transform:
            translate(0, 0);
    }


    /* HERO */

    .hero {
        min-height: auto;

        padding:
            150px 0
            110px;
    }

    .hero-grid {
        grid-template-columns: 1fr;

        gap: 70px;
    }

    .hero-content {
        max-width: 760px;
    }

    .hero h1 {
        max-width: 750px;

        font-size: clamp(4rem, 9vw, 6rem);
    }

    .hero-panel {
        max-width: 650px;

        width: 100%;
    }

    .scroll-indicator {
        display: none;
    }


    /* NOSOTROS */

    .about {
        padding-top: 130px;
    }

    .about-intro {
        grid-template-columns: 1fr;

        gap: 30px;

        margin-left: 90px;
    }

    .about-intro > p {
        max-width: 650px;
    }

    .pillars-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .pillar-card:nth-child(2) {
        border-right: 1px solid var(--gray-border);
    }

    .pillar-card:nth-child(3),
    .pillar-card:nth-child(4) {
        border-top: 1px solid var(--gray-border);
    }


    /* PROPÓSITO */

    .purpose-grid {
        grid-template-columns: 1fr;
    }

    .purpose-card {
        min-height: auto;

        border-right:
            1px solid rgba(255,255,255,0.12);

        border-bottom:
            1px solid rgba(255,255,255,0.12);
    }

    .purpose-card:last-child {
        border-bottom: none;
    }

    .purpose-index {
        margin-bottom: 45px;
    }


    /* TIMELINE */

    .timeline {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 60px 40px;
    }

    .timeline::before {
        display: none;
    }

    .timeline-item {
        min-height: 280px;

        padding-right: 20px;
    }

    .timeline-dot {
        margin-bottom: 30px;
    }


    /* MARCAS */

    .brands-heading {
        grid-template-columns: 1fr;

        gap: 25px;
    }

    .brand-card-featured {
        min-height: 540px;
    }


    /* EMPRESA */

    .company-grid {
        grid-template-columns: 1fr;

        gap: 60px;
    }

    .company-data {
        max-width: 650px;
    }


    /* CONTACTO */

    .contact-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .contact-button {
        width: 100%;
        max-width: 500px;
    }


    /* FOOTER */

    .footer-main {
        grid-template-columns:
            1.3fr 0.7fr;

        gap: 60px;
    }

    .footer-company {
        grid-column: 1 / -1;
    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    :root {
        --radius-lg: 20px;
    }

    .container {
        width: min(
            calc(100% - 36px),
            var(--container)
        );
    }


    /* HEADER */

    .header {
        height: 70px;
    }

    .logo {
        width: 155px;
        height: 50px;
    }


    /* HERO */

    .hero {
        padding:
            120px 0
            80px;
    }

    .eyebrow {
        font-size: 0.63rem;

        line-height: 1.6;
    }

    .hero h1 {
        font-size:
            clamp(
                3.2rem,
                15vw,
                4.8rem
            );

        line-height: 0.95;

        margin-bottom: 25px;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }


    /* HERO PANEL */

    .hero-panel {
        padding: 20px;

        border-radius: 20px;
    }

    .stat {
        min-height: 130px;

        padding: 18px 15px;
    }

    .stat strong {
        font-size: 1.7rem;
    }

    .stat span {
        font-size: 0.7rem;
    }

    .hero-panel-footer {
        flex-wrap: wrap;
    }


    /* ENCABEZADOS */

    .section-heading {
        grid-template-columns: 1fr;

        gap: 12px;

        margin-bottom: 50px;
    }

    .section-heading h2 {
        font-size: 2.7rem;
    }

    .section-number {
        padding-top: 0;
    }


    /* NOSOTROS */

    .about {
        padding:
            100px 0;
    }

    .about-intro {
        margin-left: 0;

        margin-bottom: 55px;
    }

    .about-intro .lead {
        font-size: 1.35rem;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .pillar-card {
        min-height: auto;

        padding: 30px 25px;

        border-left:
            1px solid var(--gray-border);

        border-right:
            1px solid var(--gray-border);

        border-bottom:
            1px solid var(--gray-border);
    }

    .pillar-number {
        margin-bottom: 30px;
    }


    /* BANNER */

    .brand-banner {
        min-height: 330px;
    }

    .brand-banner p {
        font-size:
            clamp(
                2.6rem,
                12vw,
                4rem
            );
    }


    /* PROPÓSITO */

    .purpose-section {
        padding:
            100px 0;
    }

    .purpose-card {
        padding: 30px 25px;
    }

    .purpose-index {
        margin-bottom: 35px;
    }

    .values {
        margin-top: 40px;
    }

    .values span {
        font-size: 0.7rem;
    }


    /* TIMELINE */

    .timeline-section {
        padding:
            100px 0;
    }

    .timeline {
        display: block;

        margin-top: 60px;
    }

    .timeline-item {
        position: relative;

        min-height: auto;

        padding:
            0 0
            55px 35px;
    }

    .timeline-item::before {
        content: "";

        position: absolute;

        left: 6px;
        top: 45px;
        bottom: 0;

        width: 1px;

        background: #ccd6db;
    }

    .timeline-item:last-child::before {
        display: none;
    }

    .timeline-year {
        margin-bottom: 5px;
    }

    .timeline-dot {
        position: absolute;

        left: 0;
        top: 35px;

        margin: 0;
    }

    .timeline-content {
        max-width: 100%;
    }

    .timeline-item.featured {
        padding-left: 35px;
    }

    .timeline-item.featured .timeline-dot {
        top: 33px;
    }

    .timeline-item.featured .timeline-content {
        max-width: 100%;

        margin-top: 25px;
    }


    /* MARCAS */

    .brands-section {
        padding:
            100px 0;
    }

    .brands-heading {
        margin-bottom: 50px;
    }

    .brands-heading h2 {
        font-size: 2.8rem;
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }

    .brand-card {
        min-height: auto;

        padding: 28px;
    }

    .brand-card-top {
        margin-bottom: 50px;
    }

    .brand-card-featured {
        grid-column: auto;

        padding: 30px;

        min-height: auto;
    }

    .brand-card-featured .brand-card-top {
        max-width: 100%;

        margin-top: 45px;
    }

    .featured-badge {
        left: 30px;
        right: auto;

        top: 28px;
    }

    .brand-card-featured .brand-card-content h3 {
        font-size: 3.5rem;
    }

    .brand-card-footer {
        flex-direction: column;

        align-items: flex-start;
    }

    .store-links {
        flex-wrap: wrap;
    }


    /* EMPRESA */

    .company-section {
        padding:
            100px 0;
    }

    .company-content h2 {
        font-size: 3rem;
    }

    .company-data {
        padding: 28px 22px;
    }

    .company-data::before {
        left: 22px;
        right: 22px;
    }

    .company-details > div {
        grid-template-columns: 1fr;

        gap: 8px;
    }


    /* CONTACTO */

    .contact-section {
        padding:
            90px 0;
    }

    .contact-content h2 {
        font-size: 3rem;
    }

    .contact-button {
        min-width: 0;

        padding: 20px;

        gap: 15px;
    }

    .contact-button strong {
        font-size: 0.72rem;

        word-break: break-word;
    }


    /* FOOTER */

    .footer {
        padding:
            70px 0
            25px;
    }

    .footer-main {
        grid-template-columns: 1fr;

        gap: 50px;

        padding-bottom: 50px;
    }

    .footer-company {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

}


/* =========================================================
   MÓVILES PEQUEÑOS
   ========================================================= */

@media (max-width: 420px) {

    .container {
        width: calc(100% - 28px);
    }

    .hero h1 {
        font-size: 3rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-right: none !important;

        border-bottom:
            1px solid rgba(255,255,255,0.08) !important;
    }

    .stat:last-child {
        border-bottom: none !important;
    }

    .section-heading h2,
    .brands-heading h2,
    .company-content h2,
    .contact-content h2 {
        font-size: 2.4rem;
    }

}



/* =========================================================
   FIX MENÚ MÓVIL
   ========================================================= */

@media (max-width: 1024px) {

    body.menu-open {
        overflow: hidden;
    }

    .menu-toggle {
        display: flex !important;

        width: 46px;
        height: 46px;

        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 5px;

        border-radius: 50%;

        background: #232323;

        position: relative;
        z-index: 10002;
    }

    .menu-toggle span {
        display: block;

        width: 19px;
        height: 2px;

        margin: 0;

        background: #ffffff;

        border-radius: 10px;

        transition:
            transform 0.3s ease,
            opacity 0.3s ease;
    }


    /* MENÚ */

    .nav {
        display: flex !important;

        position: fixed;

        inset: 0;

        width: 100%;
        height: 100dvh;

        padding: 110px 30px 40px;

        align-items: center;
        justify-content: center;

        background: rgba(255,255,255,0.98);

        opacity: 0;
        visibility: hidden;

        transform: translateY(-20px);

        pointer-events: none;

        transition:
            opacity 0.35s ease,
            visibility 0.35s ease,
            transform 0.35s ease;

        z-index: 10000;
    }


    .nav.active {
        opacity: 1;
        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }


    .nav-list {
        width: 100%;
        max-width: 500px;

        display: flex;
        flex-direction: column;

        gap: 0;
    }


    .nav-list li {
        width: 100%;

        border-bottom: 1px solid #dfe5e9;
    }


    .nav-list li:first-child {
        border-top: 1px solid #dfe5e9;
    }


    .nav-link {
        display: flex;

        width: 100%;

        padding: 22px 5px;

        color: #232323;

        font-size: 2rem;
        font-weight: 700;

        letter-spacing: -0.04em;
    }


    /* HAMBURGUESA → X */

    .menu-toggle.active span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }

}



@media (max-width: 1024px) {

    .header {
        z-index: 10001;
    }

    .header .logo {
        position: relative;
        z-index: 10003;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .header .logo img {
        opacity: 1 !important;
        visibility: visible !important;
    }

}



/* =========================================================
   FIX FINAL HEADER RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {

    .header .btn-nav {
        display: none !important;
    }

    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .menu-toggle {
        margin-left: auto;
    }

}

/* =========================================================
   CONTACTO NAV DESKTOP / MÓVIL
   ========================================================= */

/* Desktop:
   Contacto se muestra como botón,
   no dentro de la lista principal.
*/

@media (min-width: 1025px) {

    .nav-list li:last-child {
        display: none;
    }

}


/* Tablet / móvil:
   Contacto aparece dentro del menú hamburguesa.
   El botón independiente desaparece.
*/

@media (max-width: 1024px) {

    .nav-list li:last-child {
        display: block;
    }

    .header .btn-nav {
        display: none !important;
    }

}


/* =========================================================
   19. ANIMACIÓN HERO
   ========================================================= */

@keyframes heroFadeUp {

    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes heroPanelIn {

    from {
        opacity: 0;
        transform:
            translateY(30px)
            scale(0.97);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }

}


/* EYEBROW */

.hero .eyebrow {
    opacity: 0;

    animation:
        heroFadeUp
        0.7s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.10s
        forwards;
}


/* TÍTULO */

.hero h1 {
    opacity: 0;

    animation:
        heroFadeUp
        0.8s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.20s
        forwards;
}


/* DESCRIPCIÓN */

.hero .hero-description {
    opacity: 0;

    animation:
        heroFadeUp
        0.8s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.32s
        forwards;
}


/* BOTONES */

.hero .hero-actions {
    opacity: 0;

    animation:
        heroFadeUp
        0.8s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.44s
        forwards;
}


/* PANEL */

.hero .hero-panel {
    opacity: 0;

    animation:
        heroPanelIn
        0.9s
        cubic-bezier(0.22, 1, 0.36, 1)
        0.35s
        forwards;
}


/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    .hero .eyebrow,
    .hero h1,
    .hero .hero-description,
    .hero .hero-actions,
    .hero .hero-panel {

        opacity: 1;

        animation: none;

        transform: none;
    }

}



/* =========================================================
   20. SCROLL REVEAL — CONTROLADO
   ========================================================= */

/*
   Solo ocultamos elementos cuando JavaScript
   confirma que el sistema está disponible.
*/

html.reveal-ready [data-reveal] {
    opacity: 0;

    transform: translateY(28px);

    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);

    will-change: opacity, transform;
}


/* Elemento visible */

html.reveal-ready [data-reveal].is-visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   VARIANTES PARA USAR MÁS ADELANTE
   ========================================================= */

html.reveal-ready [data-reveal="left"] {
    transform: translateX(-28px);
}


html.reveal-ready [data-reveal="right"] {
    transform: translateX(28px);
}


html.reveal-ready [data-reveal="scale"] {
    transform: scale(0.97);
}


html.reveal-ready [data-reveal="left"].is-visible,
html.reveal-ready [data-reveal="right"].is-visible {
    transform: translateX(0);
}


html.reveal-ready [data-reveal="scale"].is-visible {
    transform: scale(1);
}


/* =========================================================
   ACCESIBILIDAD
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html.reveal-ready [data-reveal] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

}


/* =========================================================
   21. NAVEGACIÓN ACTIVA
   ========================================================= */

/* Desktop */

@media (min-width: 1025px) {

    .nav-link {
        position: relative;
    }

    .nav-link::before {
        content: "";

        position: absolute;

        left: 50%;
        bottom: -10px;

        width: 4px;
        height: 4px;

        border-radius: 50%;

        background: var(--blue);

        opacity: 0;

        transform:
            translateX(-50%)
            scale(0);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease;
    }

    .nav-link.active {
        color: var(--blue);
    }

    .nav-link.active::before {
        opacity: 1;

        transform:
            translateX(-50%)
            scale(1);
    }

}


/* =========================================================
   ACTIVO EN MENÚ MÓVIL
   ========================================================= */

@media (max-width: 1024px) {

    .nav-link.active {
        color: var(--blue);
    }

    .nav-link.active::after {
        opacity: 1;

        transform: translate(0, 0);
    }

}



.btn-nav.active {
    transform: translateY(-2px);

    box-shadow:
        0 8px 24px
        rgba(27, 128, 182, 0.25);

    background: var(--blue);
}




/* =========================================================
   22. LOGOS DE MARCAS
   ========================================================= */

.brand-logo {
    width: 56px;
    height: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    overflow: hidden;

    flex-shrink: 0;
}


/* CÍRCULO LABORAL */

.brand-logo-cl {
    background: #ffffff;
    border: 1px solid var(--border);
}

.brand-logo-cl img {
    width: 88%;
    height: 88%;

    object-fit: contain;
}


/* MUNDO SINDICAL */

.brand-logo-ms {
    background: #20b98f;
}

.brand-logo-ms img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* MÓVIL */

@media (max-width: 768px) {

    .brand-logo {
        width: 52px;
        height: 52px;

        border-radius: 13px;
    }

}



/* =========================================================
   23. ENLACES MARCAS
   ========================================================= */

.brand-footer {
    margin-top: auto;
    padding-top: 22px;

    border-top: 1px solid var(--border);
}


/* ESTADÍSTICA */

.brand-stat {
    display: block;

    margin-bottom: 18px;

    font-size: 0.72rem;
    font-weight: 700;

    letter-spacing: 0.08em;

    color: var(--text-muted);
}


/* CONTENEDOR ENLACES */

.brand-links {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}


/* WEB */

.brand-web {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    font-size: 0.82rem;
    font-weight: 700;

    color: var(--blue);

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.brand-web:hover {
    transform: translateX(3px);
}


/* REDES SOCIALES */

.brand-socials {
    display: flex;
    align-items: center;

    gap: 8px;
}


.brand-socials a {
    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    color: var(--text-dark);

    text-decoration: none;

    font-size: 0.9rem;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.brand-socials a:hover {
    color: #ffffff;

    background: var(--blue);
    border-color: var(--blue);

    transform: translateY(-3px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {

    .brand-links {
        align-items: flex-start;
        flex-direction: column;

        gap: 14px;
    }

}


.brand-socials svg {
    width: 16px;
    height: 16px;

    display: block;
}