
/* =========================================================
   KUSKA LANDING PAGE
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 78px;
    margin: 0;
    padding: 0;

    font-family: "General Sans", sans-serif;

    background-color: #FCF0D9;
    color: #000000;
}
main {

    padding-top: 78px;
}

/* =========================================================
   TIPOGRAFÍA
   ========================================================= */

/*
    Parkinsans:
    - Títulos
    - Menú
    - Botones
    - Subtítulos destacados

    General Sans:
    - Párrafos
    - Textos generales
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Parkinsans", sans-serif;
    font-weight: 700;
}


/* =====================================================
   HEADER
===================================================== */

.header {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    pointer-events: none;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    width: 100%;

    height: 78px;

    margin: 0;

    padding: 0 40px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    background: rgba(255, 255, 255, 0.72);

    border: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 0;

    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.06);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

    pointer-events: auto;
}

/* =====================================================
   LOGO
===================================================== */

.logo {

    display: flex;

    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}


.logo img {

    display: block;

    width: 125px;

    height: auto;
}


/* =====================================================
   MENÚ
===================================================== */

.nav-links {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 30px;

    margin: 0;

    padding: 0;

    list-style: none;

    flex: 1;
}


.nav-links li {

    margin: 0;

    padding: 0;
}


.nav-links a {

    position: relative;

    display: inline-block;

    padding: 8px 0;

    color: #1e1e1e;

    font-size: 15px;

    font-weight: 500;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


/* Línea inferior */

.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;

    height: 2px;

    background: #ED484A;

    border-radius: 10px;

    transition: width 0.25s ease;
}


.nav-links a:hover {

    color: #ED484A;
}


.nav-links a:hover::after {

    width: 100%;
}


/* =====================================================
   BOTONES
===================================================== */

.nav-buttons {

    display: flex;

    align-items: center;

    gap: 10px;

    flex-shrink: 0;
}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding: 0 20px;

    border-radius: 12px;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.btn:hover {

    transform: translateY(-2px);
}


/* Descargar App */

.btn-app {

    color: #ffffff;

    background: #ED484A;

    box-shadow:
        0 5px 15px rgba(237, 72, 74, 0.20);
}


.btn-app:hover {

    box-shadow:
        0 8px 20px rgba(237, 72, 74, 0.30);
}


/* Kuska+ */

.btn-kuska {

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #F6D365 0%,
        #D4A72C 50%,
        #B8860B 100%
    );

    border: none;

    box-shadow:
        0 5px 15px rgba(212, 167, 44, 0.25);
}


.btn-kuska:hover {

    color: #ffffff;

    background: linear-gradient(
        135deg,
        #FFE08A 0%,
        #E0B43A 50%,
        #C59416 100%
    );

    box-shadow:
        0 8px 20px rgba(212, 167, 44, 0.35);
}


/* =====================================================
   BOTÓN MENÚ MOBILE
===================================================== */

.menu-toggle {

    display: none;

    width: 44px;

    height: 44px;

    padding: 10px;

    border: none;

    border-radius: 10px;

    background: transparent;

    cursor: pointer;
}


.menu-toggle img {

    width: 100%;

    height: 100%;

    object-fit: contain;
}


/* =====================================================
   MENÚ MOBILE
===================================================== */

.mobile-menu {

    display: none;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1050px) {

    .navbar {

        width: calc(100% - 30px);

        padding: 0 20px;
    }


    .nav-links {

        gap: 18px;
    }


    .nav-links a {

        font-size: 14px;
    }


    .btn {

        padding: 0 15px;

        font-size: 13px;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 800px) {

    .header {

        width: 100%;
    }


    .navbar {

    width: 100%;

    height: 64px;

    margin: 0;

    padding: 0 18px;

    border-radius: 0;

    border: none;

    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}


    /* Logo */

    .logo img {

        width: 105px;
    }


    /* Ocultar menú desktop */

    .nav-links,
    .nav-buttons {

        display: none;
    }


    /* Mostrar botón */

    .menu-toggle {

        display: flex;

        align-items: center;

        justify-content: center;
    }


    /* =================================================
       MENÚ MOBILE ABIERTO
    ================================================= */

    .mobile-menu {

        position: absolute;

        top: 74px;

        left: 12px;

        right: 12px;

        padding: 25px 20px;

        background: rgba(255, 255, 255, 0.90);

        border: 1px solid rgba(255, 255, 255, 0.7);

        border-radius: 18px;

        box-shadow:
            0 15px 40px rgba(0, 0, 0, 0.12);

        backdrop-filter: blur(20px);

        -webkit-backdrop-filter: blur(20px);

        opacity: 0;

        visibility: hidden;

        transform: translateY(-15px);

        transition:
            opacity 0.3s ease,
            transform 0.3s ease,
            visibility 0.3s ease;

        pointer-events: none;
    }


    .mobile-menu.active {

        opacity: 1;

        visibility: visible;

        transform: translateY(0);

        pointer-events: auto;
    }


    /* Lista */

    .mobile-menu ul {

        display: flex;

        flex-direction: column;

        gap: 5px;

        margin: 0;

        padding: 0;

        list-style: none;
    }


    .mobile-menu li {

        width: 100%;
    }


    .mobile-menu li a {

        display: block;

        padding: 13px 10px;

        color: #1e1e1e;

        font-size: 17px;

        font-weight: 600;

        text-decoration: none;

        border-radius: 10px;

        transition:
            color 0.2s ease,
            background 0.2s ease;
    }


    .mobile-menu li a:hover {

        color: #ED484A;

        background: rgba(237, 72, 74, 0.07);
    }


    /* =================================================
       BOTONES MOBILE
    ================================================= */

    .mobile-menu-buttons {

        display: flex;

        flex-direction: column;

        gap: 10px;

        margin-top: 20px;

        padding-top: 20px;

        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }


    .mobile-menu-buttons .btn {

        width: 100%;

        min-height: 46px;

        font-size: 15px;
    }

}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    width: 100%;

    min-height: calc(100vh - 92px);

    position: relative;

    overflow: hidden;

    background-color: #FCF0D9;

    /*
        Portada 2.webp contiene TODA la composición:

        - Personas
        - Montañas
        - Celular
        - Cielo
        - Elementos gráficos

        Por eso NO utilizamos un <img>.
        La imagen funciona como fondo completo.
    */

    background-image: url("../img/Portada 2.webp");

    background-repeat: no-repeat;

    background-size: cover;

    background-position: center center;
}


/* =========================================================
   CONTENIDO DEL HERO
   ========================================================= */

.hero-content {
    position: relative;

    z-index: 2;

    width: 52%;

    padding-left: 8.5%;
    padding-top: 2%;
}


/* =========================================================
   TÍTULO PRINCIPAL
   ========================================================= */

.hero h1 {
    font-family: "Parkinsans", sans-serif;

    font-weight: 700;

    font-size: clamp(48px, 4.7vw, 76px);

    line-height: 1.35;

    letter-spacing: -2px;

    color: #000000;

    margin-bottom: 20px;
}


/*
    Primera palabra en rojo
*/

.hero h1 span {
    color: #ED484A;
}


/* =========================================================
   PÁRRAFO
   ========================================================= */

.hero p {
    font-family: "General Sans", sans-serif;

    font-weight: 400;

    max-width: 620px;

    font-size: 23px;

    line-height: 1.4;

    color: #000000;

    margin-bottom: 45px;
}


/* =========================================================
   FRASE INFERIOR
   ========================================================= */

.hero-subtitle {
    display: flex;
    align-items: center;

    gap: 20px;

    width: 100%;
}


/* Texto */

.hero-subtitle h2 {
    font-family: "Parkinsans", sans-serif;

    font-weight: 700;

    color: #000;

    font-size: 22px;

    line-height: 1;

    white-space: nowrap;
}


/* Líneas laterales */

.line {
    width: 85px;

    height: 3px;

    background-color: #ED484A;

    flex-shrink: 0;
}


/* =========================================================
   TABLET GRANDE
   ========================================================= */

@media (max-width: 1200px) {

    /* Navbar */

    .navbar {
        padding: 0 5%;
    }

    .nav-links {
        gap: 30px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .nav-buttons {
        gap: 15px;
    }

    .btn {
        width: 160px;

        font-size: 15px;
    }


    /* Hero */

    .hero-content {
        padding-left: 5%;
    }

    .hero h1 {
        font-size: 55px;
    }

    .hero p {
        font-size: 19px;
    }

    .hero-subtitle h2 {
        font-size: 18px;
    }

    .line {
        width: 60px;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    /* Navbar */

    .header {
        height: auto;
    }

    .navbar {
        height: auto;

        padding: 20px 5%;

        flex-wrap: wrap;

        justify-content: center;

        gap: 20px;
    }


    /* Logo */

    .logo {
        width: 100%;

        justify-content: center;
    }


    /* Links */

    .nav-links {
        margin-left: 0;

        gap: 25px;

        flex-wrap: wrap;

        justify-content: center;
    }


    /* Botones */

    .nav-buttons {
        justify-content: center;

        width: 100%;
    }


    /* Hero */

    .hero {
        min-height: 800px;

        background-position: 65% center;
    }

    .hero-content {
        width: 60%;

        padding-left: 5%;
        padding-top: 10%;
    }

    .hero h1 {
        font-size: 48px;

        line-height: 1.2;
    }

    .hero p {
        font-size: 18px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    main{
        padding-top: 0.1rem;
    }

    /* =====================================================
       NAVBAR MOBILE
    ===================================================== */

    .header {
        height: auto;
    }

    .navbar {
        flex-direction: column;

        gap: 20px;

        padding: 20px;
    }

    .logo img {
        width: 150px;
    }

    .nav-links {
        flex-direction: column;

        gap: 15px;
    }

    .nav-links a {
        font-size: 16px;
    }

    .nav-buttons {
        flex-direction: column;

        width: 100%;

        gap: 10px;
    }

    .btn-app,
    .btn-kuska {
        width: 100%;

        height: 40px;
    }


    /* =====================================================
       HERO MOBILE
    ===================================================== */

    .hero {
        
        min-height: 850px;

        /*
            En móvil utilizamos la portada vertical
            diseñada específicamente para 9:16.
        */
        background-image: url("../img/portadaMovil.webp");

        background-size: cover;

        background-repeat: no-repeat;

        background-position: center top;
    }


    /* Contenido */

    .hero-content {
        width: 100%;

        /*
            Antes: 50px
            Ahora acercamos el texto al comienzo
            del hero.
        */
        padding: 25px 25px 0;

        text-align: center;
    }


    /* Título */

    .hero h1 {
        font-size: 3rem;

        line-height: 1.15;

        letter-spacing: -1px;

        margin-bottom: 20px;
    }


    /* Párrafo */

    .hero p {
        font-size: 18px;

        line-height: 1.4;

        margin-left: auto;
        margin-right: auto;

        margin-bottom: 35px;
    }


    /* Subtítulo */

    .hero-subtitle {
        justify-content: center;

        gap: 10px;

    }

    .hero-subtitle h2 {
        font-size: 18px;
    }

    .line {
        width: 30px;

        height: 2px;
    }
}

/* =========================================================
   MOBILE PEQUEÑO
   ========================================================= */

@media (max-width: 400px) {

    .hero {
        min-height: 800px;
    }

    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-subtitle h2 {
        font-size: 12px;
    }

    .line {
        width: 20px;
    }
}

/* =========================================================
   MENÚ MOBILE
========================================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 0;

    background: transparent;

    border: none;

    cursor: pointer;

    align-items: center;
    justify-content: center;
}

.menu-toggle img {
    width: 32px;
    height: 32px;

    display: block;
}


/* =========================================================
   PANEL MOBILE
========================================================= */

.mobile-menu {
    display: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* -----------------------------------------------------
       HEADER
    ----------------------------------------------------- */

    .header {
        height: auto;

        position: relative;
    }


    /* -----------------------------------------------------
       NAVBAR
    ----------------------------------------------------- */

    .navbar {
        width: 100%;

        height: 80px;

        padding: 0 20px;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: space-between;

        gap: 0;
    }


    /* -----------------------------------------------------
       LOGO
    ----------------------------------------------------- */

    .logo {
        width: auto;

        display: flex;

        justify-content: flex-start;
    }

    .logo img {
        width: 140px;
    }


    /* -----------------------------------------------------
       OCULTAR LINKS DESKTOP
    ----------------------------------------------------- */

    .nav-links {
        display: none;
    }


    /* -----------------------------------------------------
       BOTONES
    ----------------------------------------------------- */

    .nav-buttons {
        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: flex-end;

        width: auto;

        gap: 8px;

        margin-left: auto;

        margin-right: 10px;
    }

    .btn {
        height: 36px;

        padding: 0 12px;

        width: auto;

        border-radius: 7px;

        font-size: 12px;
    }

    .btn-app {
        width: auto;
    }

    .btn-kuska {
        width: auto;
    }


    /* -----------------------------------------------------
       ICONO MENU
    ----------------------------------------------------- */

    .menu-toggle {
        display: flex;

        flex-shrink: 0;
    }


    /* -----------------------------------------------------
       MENÚ DESLIZABLE
    ----------------------------------------------------- */

    .mobile-menu {

        display: block;

        position: absolute;

        top: 80px;

        left: 0;

        width: 100%;

        background-color: #FCF0D9;

        z-index: 99;

        /*
            Oculto inicialmente
        */

        transform: translateY(-120%);

        opacity: 0;

        visibility: hidden;

        transition:
            transform 0.35s ease,
            opacity 0.25s ease,
            visibility 0.35s ease;

        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }


    /* -----------------------------------------------------
       MENÚ ABIERTO
    ----------------------------------------------------- */

    .mobile-menu.active {

        transform: translateY(0);

        opacity: 1;

        visibility: visible;
    }


    /* -----------------------------------------------------
       LISTA
    ----------------------------------------------------- */

    .mobile-menu ul {

        list-style: none;

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 0;

        padding: 20px 0 25px;
    }


    /* -----------------------------------------------------
       ITEMS
    ----------------------------------------------------- */

    .mobile-menu li {
        width: 100%;

        text-align: center;
    }


    .mobile-menu a {

        display: block;

        width: 100%;

        padding: 15px 20px;

        font-family: "Parkinsans", sans-serif;

        font-size: 18px;

        font-weight: 700;

        color: #000000;

        text-decoration: none;

        transition:
            background-color 0.2s ease,
            color 0.2s ease;
    }

    .mobile-menu a:hover {
        color: #ED484A;

        background-color: rgba(237, 72, 74, 0.05);
    }
}















/* =========================================================
   NUESTRA ESENCIA
========================================================= */

.essence {
    width: 100%;

    min-height: 100vh;

    position: relative;

    overflow: hidden;

    /*
        Rojo Kuska con 20% de opacidad
        sobre el beige de la landing.
    */

    background-color: #FCF0D9;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
========================================================= */

.essence-container {
    width: 100%;

    max-width: 1500px;

    min-height: 100vh;

    margin: 0 auto;

    padding: 70px 8%;

    display: grid;

    grid-template-columns: 43% 57%;

    align-items: center;

    position: relative;

    z-index: 2;
}


/* =========================================================
   CONTENIDO IZQUIERDO
========================================================= */

.essence-content {
    width: 100%;

    position: relative;

    z-index: 3;

    padding-left: 20px;
}


/* =========================================================
   TÍTULO PEQUEÑO
========================================================= */

.essence-kicker {
    font-family: "Parkinsans", sans-serif;

    font-size: 30px;

    line-height: 1.2;

    font-weight: 700;

    color: #ED484A;

    margin: 0 0 20px;
}


/* =========================================================
   TÍTULO PRINCIPAL
========================================================= */

.essence-title {
    font-family: "Parkinsans", sans-serif;

    font-size: clamp(55px, 5vw, 78px);

    line-height: 1.12;

    letter-spacing: -2px;

    font-weight: 700;

    color: #000000;

    margin: 0 0 28px;
}


/*
    Bolivia en rojo
*/

.essence-title span {
    color: #ED484A;
}


/* =========================================================
   PÁRRAFO
========================================================= */

.essence-description {
    font-family: "General Sans", sans-serif;

    font-size: 20px;

    line-height: 1.45;

    font-weight: 400;

    color: #000000;

    max-width: 590px;

    margin: 0 0 30px;
}


/* =========================================================
   IMAGEN MOBILE
========================================================= */

/*
    Oculta en desktop.
*/

.essence-image-mobile {
    display: none;
}


/* =========================================================
   CARACTERÍSTICAS
========================================================= */

.essence-features {
    width: 100%;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;

    margin: 15px 0 35px;
}


/* Cada característica */

.essence-feature {
    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


/* Iconos */

.essence-feature img {
    width: 70px;

    height: 70px;

    object-fit: contain;

    display: block;

    margin-bottom: 12px;
}


/* Texto */

.essence-feature h3 {
    font-family: "Parkinsans", sans-serif;

    font-size: 16px;

    line-height: 1.25;

    font-weight: 700;

    color: #000000;

    margin: 0;
}


/* =========================================================
   FRASE "DIFERENTES LUGARES"
========================================================= */

.essence-highlight {
    width: 100%;

    max-width: 580px;

    min-height: 52px;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 10px 18px;

    background-color: rgba(237, 72, 74, 0.18);

    border-radius: 15px;
}


/* Icono */

.essence-highlight img {
    width: 25px;

    height: 25px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;
}


/* Texto general */

.essence-highlight p {
    font-family: "Parkinsans", sans-serif;

    font-size: 17px;

    line-height: 1.3;

    font-weight: 400;

    color: #000000;

    margin: 0;
}


/*
    SOLO "Diferentes lugares."
    es Bold y rojo.
*/

.essence-highlight strong {
    font-family: "Parkinsans", sans-serif;

    font-weight: 700;

    color: #ED484A;
}


/* =========================================================
   IMAGEN DESKTOP
========================================================= */

.essence-image {
    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    z-index: 2;
}


.essence-image img {
    width: 100%;

    max-width: 760px;

    height: auto;

    display: block;

    object-fit: contain;
}


/* =========================================================
   PATRONES DECORATIVOS
========================================================= */

.essence-pattern {
    position: absolute;

    z-index: 1;

    pointer-events: none;
}


/* Patrón izquierdo */

.essence-pattern-left {
    left: -5px;

    bottom: 0;

    width: 150px;

    height: auto;
}


/* Patrón derecho */

.essence-pattern-right {
    right: -5px;

    top: 0;

    width: 170px;

    height: auto;
}


/* =========================================================
   TABLET GRANDE
========================================================= */

@media (max-width: 1200px) {

    .essence-container {
        padding: 60px 5%;
    }


    .essence-content {
        padding-left: 10px;
    }


    .essence-kicker {
        font-size: 26px;
    }


    .essence-title {
        font-size: 55px;
    }


    .essence-description {
        font-size: 18px;
    }


    .essence-feature img {
        width: 58px;

        height: 58px;
    }


    .essence-feature h3 {
        font-size: 14px;
    }


    .essence-highlight p {
        font-size: 15px;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .essence {
        min-height: auto;
    }


    .essence-container {
        min-height: auto;

        grid-template-columns: 1fr;

        padding: 70px 7%;

        gap: 50px;
    }


    /* Contenido */

    .essence-content {
        padding-left: 0;

        text-align: center;
    }


    .essence-kicker {
        font-size: 25px;
    }


    .essence-title {
        font-size: 55px;
    }


    .essence-description {
        margin-left: auto;

        margin-right: auto;

        font-size: 18px;
    }


    /* Características */

    .essence-features {
        max-width: 650px;

        margin-left: auto;

        margin-right: auto;
    }


    /* Frase */

    .essence-highlight {
        margin-left: auto;

        margin-right: auto;

        text-align: left;
    }


    /* Imagen */

    .essence-image {
        width: 100%;

        max-width: 700px;

        margin: 0 auto;
    }


    /* Patrones */

    .essence-pattern-left {
        width: 100px;
    }


    .essence-pattern-right {
        width: 120px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .essence {
        min-height: auto;
    }


    /* =====================================================
       CONTENEDOR
    ===================================================== */

    .essence-container {
        width: 100%;

        min-height: auto;

        display: flex;

        flex-direction: column;

        padding: 50px 20px 50px;

        gap: 0;
    }


    /* =====================================================
       CONTENIDO
    ===================================================== */

    .essence-content {
        width: 100%;

        padding: 0;

        text-align: center;
    }


    /* =====================================================
       TÍTULO PEQUEÑO
    ===================================================== */

    .essence-kicker {
        font-size: 23px;

        line-height: 1.2;

        margin-bottom: 15px;
    }


    /* =====================================================
       TÍTULO
    ===================================================== */

    .essence-title {
        font-size: 43px;

        line-height: 1.12;

        letter-spacing: -1px;

        margin-bottom: 22px;
    }


    /* =====================================================
       PÁRRAFO
    ===================================================== */

    .essence-description {
        width: 100%;

        max-width: 100%;

        font-size: 16px;

        line-height: 1.45;

        margin: 0 0 20px;
    }


    /* =====================================================
       IMAGEN MOBILE
       
       AQUÍ aparece inmediatamente después
       del párrafo.
    ===================================================== */

    .essence-image-mobile {
        width: 100%;

        display: flex;

        align-items: center;

        justify-content: center;

        margin: 0 0 30px;
    }


    .essence-image-mobile img {
        width: 100%;

        max-width: 500px;

        height: auto;

        display: block;

        object-fit: contain;
    }


    /*
        Ocultamos la imagen desktop.
    */

    .essence-image {
        display: none;
    }


    /* =====================================================
       CARACTERÍSTICAS
    ===================================================== */

    .essence-features {
        width: 100%;

        grid-template-columns: repeat(2, 1fr);

        gap: 30px 15px;

        margin: 0 0 30px;
    }


    .essence-feature img {
        width: 58px;

        height: 58px;

        margin-bottom: 10px;
    }


    .essence-feature h3 {
        font-size: 14px;

        line-height: 1.25;
    }


    /* =====================================================
       FRASE INFERIOR
    ===================================================== */

    .essence-highlight {
        width: 100%;

        max-width: 100%;

        min-height: auto;

        padding: 12px 15px;

        gap: 8px;

        border-radius: 12px;

        text-align: left;
    }


    .essence-highlight img {
        width: 22px;

        height: 22px;
    }


    .essence-highlight p {
        font-size: 14px;

        line-height: 1.3;
    }


    /* =====================================================
       PATRONES
    ===================================================== */

    .essence-pattern-left {
        width: 70px;

        left: -10px;

        bottom: 20px;
    }


    .essence-pattern-right {
        width: 80px;

        right: -10px;

        top: 20px;
    }
}


/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 400px) {

    .essence-container {
        padding-left: 15px;

        padding-right: 15px;
    }


    .essence-kicker {
        font-size: 21px;
    }


    .essence-title {
        font-size: 37px;
    }


    .essence-description {
        font-size: 15px;
    }


    .essence-image-mobile {
        margin-bottom: 25px;
    }


    .essence-feature img {
        width: 52px;

        height: 52px;
    }


    .essence-feature h3 {
        font-size: 13px;
    }


    .essence-highlight p {
        font-size: 13px;
    }
}


























/* =========================================================
   SECCIÓN ASÍ FUNCIONA
========================================================= */

.how-it-works {

    width: 100%;

    min-height: 100vh;

    position: relative;

    overflow: hidden;

    background-color: #FFFFFF;

    padding: 60px 8% 70px;
}


/* =========================================================
   ENCABEZADO
========================================================= */

.how-header {

    width: 100%;

    max-width: 1500px;

    margin: 0 auto 35px;

    display: grid;

    grid-template-columns: 55% 45%;

    align-items: start;

    position: relative;

    z-index: 2;
}


/* =========================================================
   TÍTULOS
========================================================= */

.how-title h2 {

    font-family: "Parkinsans", sans-serif;

    font-size: 30px;

    line-height: 1.2;

    font-weight: 700;

    color: #ED484A;

    margin: 0 0 12px;
}


.how-title h1 {

    font-family: "Parkinsans", sans-serif;

    font-size: clamp(48px, 4.5vw, 68px);

    line-height: 1.1;

    letter-spacing: -2px;

    font-weight: 700;

    color: #000000;

    margin: 0;
}


/*
    "cuatro" en rojo
*/

.how-title h1 span {

    color: #ED484A;

}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.how-description {

    padding-top: 50px;

    padding-left: 20px;
}


.how-description p {

    font-family: "General Sans", sans-serif;

    font-size: 18px;

    line-height: 1.4;

    font-weight: 400;

    color: #000000;

    max-width: 560px;

    margin: 0;
}


/* =========================================================
   CONTENEDOR DE LOS PASOS
========================================================= */

.how-steps {

    width: 100%;

    max-width: 1500px;

    min-height: 650px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;

    align-items: start;

    position: relative;

    z-index: 2;
}


/* =========================================================
   CADA PASO
========================================================= */

.how-step {

    width: 100%;

    position: relative;

    min-height: 650px;

    display: flex;

    flex-direction: column;

    align-items: center;
}


/* =========================================================
   TEXTO DEL PASO

   IMPORTANTE:
   Este elemento NO tiene ninguna animación.
========================================================= */

.how-step-text {

    width: 100%;

    min-height: 105px;

    display: flex;

    align-items: flex-start;

    gap: 14px;

    position: relative;

    z-index: 3;
}


/* =========================================================
   NÚMERO
========================================================= */

.how-step-number {

    width: 38px;

    height: 38px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background-color: #ED484A;

    color: #FFFFFF;

    font-family: "Parkinsans", sans-serif;

    font-size: 19px;

    line-height: 1;

    font-weight: 700;
}


/* =========================================================
   INFORMACIÓN
========================================================= */

.how-step-info {

    padding-top: 2px;
}


.how-step-info h3 {

    font-family: "Parkinsans", sans-serif;

    font-size: 20px;

    line-height: 1.15;

    font-weight: 700;

    color: #000000;

    margin: 0 0 7px;
}


.how-step-info p {

    font-family: "General Sans", sans-serif;

    font-size: 14px;

    line-height: 1.35;

    font-weight: 400;

    color: #000000;

    max-width: 180px;

    margin: 0;
}


/* =========================================================
   CELULAR
========================================================= */

.how-phone {

    width: 100%;

    display: flex;

    justify-content: center;

    align-items: flex-start;

    position: relative;

    z-index: 2;

    /*
        Estado inicial de la animación.
        Todos comienzan debajo de su posición.
    */

    opacity: 0;

    transform: translateY(180px);

    transition:
        transform 1.35s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.8s ease;
}


/* Imagen del celular */

.how-phone img {

    width: 100%;

    max-width: 230px;

    height: auto;

    display: block;

    object-fit: contain;
}


/* =========================================================
   ANIMACIÓN ACTIVADA
========================================================= */

.how-it-works.is-visible .how-phone {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   DELAY DE CADA CELULAR
========================================================= */

/* =========================================================
   DELAY DESKTOP
========================================================= */

.how-step:nth-child(1) .how-phone {
    transition-delay: 0.15s;
}


.how-step:nth-child(2) .how-phone {
    transition-delay: 0.75s;
}


.how-step:nth-child(3) .how-phone {
    transition-delay: 1.35s;
}


.how-step:nth-child(4) .how-phone {
    transition-delay: 1.95s;
}


/* =========================================================
   ALTURAS ALTERNADAS
========================================================= */

/*
    Esto reproduce la composición de tu diseño:
    
    celular 1 → arriba
    celular 2 → abajo
    celular 3 → arriba
    celular 4 → abajo
*/


/* =========================================================
   DISTRIBUCIÓN INTERCALADA
========================================================= */

/* PASO 1 — arriba */

.how-step:nth-child(1) .how-step-text {
    margin-top: 0;
}

.how-step:nth-child(1) .how-phone {
    margin-top: 5px;
}


/* PASO 2 — abajo */

.how-step:nth-child(2) .how-step-text {
    margin-top: 90px;
}

.how-step:nth-child(2) .how-phone {
    margin-top: 5px;
}


/* PASO 3 — arriba */

.how-step:nth-child(3) .how-step-text {
    margin-top: 0;
}

.how-step:nth-child(3) .how-phone {
    margin-top: 5px;
}


/* PASO 4 — abajo */

.how-step:nth-child(4) .how-step-text {
    margin-top: 100px;
}

.how-step:nth-child(4) .how-phone {
    margin-top: 5px;
}


/* =========================================================
   PATRONES
========================================================= */

.how-pattern {

    position: absolute;

    z-index: 1;

    pointer-events: none;

    opacity: 0.65;
}


/* Izquierda */

.how-pattern-left {

    left: -5px;

    top: 210px;

    width: 145px;

    height: auto;
}


/* Derecha superior */

.how-pattern-right {

    right: -5px;

    top: 160px;

    width: 205px;

    height: auto;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .how-it-works {

        padding-left: 5%;

        padding-right: 5%;
    }


    .how-header {

        grid-template-columns: 52% 48%;
    }


    .how-title h2 {

        font-size: 26px;
    }


    .how-title h1 {

        font-size: 48px;
    }


    .how-description {

        padding-top: 42px;

        padding-left: 10px;
    }


    .how-description p {

        font-size: 16px;
    }


    .how-steps {

        gap: 10px;
    }


    .how-step-info h3 {

        font-size: 17px;
    }


    .how-step-info p {

        font-size: 12px;
    }


    .how-phone img {

        max-width: 190px;
    }


    .how-pattern-left {

        width: 100px;
    }


    .how-pattern-right {

        width: 150px;
    }
}


/* =========================================================
   TABLET PEQUEÑA
========================================================= */

@media (max-width: 900px) {

    .how-it-works {

        min-height: auto;

        padding: 55px 6%;
    }


    .how-header {

        grid-template-columns: 1fr;

        gap: 15px;

        margin-bottom: 40px;
    }


    .how-title h2 {

        font-size: 25px;
    }


    .how-title h1 {

        font-size: 45px;
    }


    .how-description {

        padding: 0;

        max-width: 600px;
    }


    .how-steps {

        min-height: auto;

        grid-template-columns: repeat(2, 1fr);

        gap: 50px 25px;
    }


    .how-step {

        min-height: 520px;
    }


    .how-phone img {

        max-width: 220px;
    }


    .how-step:nth-child(2) .how-phone,

    .how-step:nth-child(4) .how-phone {

        margin-top: 50px;
    }


    .how-pattern-left {

        width: 80px;

        top: 250px;
    }


    .how-pattern-right {

        width: 100px;

        top: 180px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* =====================================================
       SECCIÓN
    ===================================================== */

    .how-it-works {

        min-height: auto;

        padding: 50px 20px 60px;
    }


    /* =====================================================
       HEADER
    ===================================================== */

    .how-header {

        display: block;

        margin-bottom: 45px;

        text-align: center;
    }


    .how-title h2 {

        font-size: 23px;

        margin-bottom: 12px;
    }


    .how-title h1 {

        font-size: 38px;

        line-height: 1.12;

        letter-spacing: -1px;
    }


    .how-description {

        padding: 18px 0 0;

        max-width: 100%;
    }


    .how-description p {

        font-size: 16px;

        line-height: 1.45;
    }


    /* =====================================================
       PASOS
    ===================================================== */

    .how-steps {

        width: 100%;

        min-height: auto;

        display: flex;

        flex-direction: column;

        gap: 70px;
    }


    /* =====================================================
       CADA PASO
    ===================================================== */

    .how-step {

        width: 100%;

        min-height: auto;

        display: flex;

        flex-direction: column;

        align-items: center;
    }


    /* =====================================================
       TEXTO DEL PASO

       El texto queda completamente FIJO.
       No tiene animación.
    ===================================================== */

    .how-step-text {

        width: 100%;

        max-width: 320px;

        min-height: auto;

        justify-content: flex-start;

        gap: 12px;

        margin-bottom: 20px;
    }


    /* =====================================================
       NÚMERO
    ===================================================== */

    .how-step-number {

        width: 36px;

        height: 36px;

        font-size: 17px;
    }


    /* =====================================================
       TÍTULO DEL PASO
    ===================================================== */

    .how-step-info h3 {

        font-size: 19px;
    }


    /* =====================================================
       DESCRIPCIÓN DEL PASO
    ===================================================== */

    .how-step-info p {

        max-width: 240px;

        font-size: 14px;
    }


    /* =====================================================
       CELULARES
       
       Cada celular comienza oculto.
       
       IMPORTANTE:
       No usamos .how-it-works.is-visible aquí.
       Cada teléfono se activa individualmente mediante
       .phone-visible desde JavaScript.
    ===================================================== */

    .how-phone {

        width: 100%;

        opacity: 0;

        margin-top: 0 !important;

        /*
            Animación lenta y suave.
        */

        transition:
            transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 0.7s ease;
    }


    /* =====================================================
       IMAGEN DEL CELULAR
    ===================================================== */

    .how-phone img {

        width: 100%;

        max-width: 230px;

        height: auto;

        display: block;
    }


/* =====================================================
   DIRECCIÓN INICIAL DE CADA CELULAR
===================================================== */


/* -----------------------------------------------------
   CELULAR 1
   Entra desde la izquierda
----------------------------------------------------- */

.how-step:nth-child(1) .how-phone {
    transform: translateX(-150px);
}


/* -----------------------------------------------------
   CELULAR 2
   Entra desde la derecha
----------------------------------------------------- */

.how-step:nth-child(2) .how-phone {
    transform: translateX(150px);
}


/* -----------------------------------------------------
   CELULAR 3
   Entra desde la izquierda
----------------------------------------------------- */

.how-step:nth-child(3) .how-phone {
    transform: translateX(-150px);
}


/* -----------------------------------------------------
   CELULAR 4
   Entra desde la derecha
----------------------------------------------------- */

.how-step:nth-child(4) .how-phone {
    transform: translateX(150px);
}


/* =====================================================
   POSICIÓN FINAL
===================================================== */

/*
   Usamos la misma especificidad que las reglas
   anteriores para asegurarnos de que translateX(0)
   gane correctamente.
*/

.how-step:nth-child(1) .how-phone.phone-visible {
    opacity: 1;
    transform: translateX(0);
}


.how-step:nth-child(2) .how-phone.phone-visible {
    opacity: 1;
    transform: translateX(0);
}


.how-step:nth-child(3) .how-phone.phone-visible {
    opacity: 1;
    transform: translateX(0);
}


.how-step:nth-child(4) .how-phone.phone-visible {
    opacity: 1;
    transform: translateX(0);
}


    /* =====================================================
       CELULAR CUANDO ES VISIBLE
       
       JavaScript agrega esta clase cuando el espectador
       realmente llega a ese celular.
    ===================================================== */

    .how-phone.phone-visible {

        opacity: 1;

        transform: translateX(0);
    }


    /* =====================================================
       DELAYS INDIVIDUALES
       
       Son pequeños retrasos después de detectar
       cada celular.
    ===================================================== */

    .how-step:nth-child(1) .how-phone {

        transition-delay: 0.05s;
    }


    .how-step:nth-child(2) .how-phone {

        transition-delay: 0.10s;
    }


    .how-step:nth-child(3) .how-phone {

        transition-delay: 0.15s;
    }


    .how-step:nth-child(4) .how-phone {

        transition-delay: 0.20s;
    }


    /* =====================================================
       PATRÓN IZQUIERDO
    ===================================================== */

    .how-pattern-left {

        width: 65px;

        left: -15px;

        top: 180px;
    }


    /* =====================================================
       PATRÓN DERECHO
    ===================================================== */

    .how-pattern-right {

        width: 80px;

        right: -15px;

        top: 250px;
    }

}


/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 400px) {

    .how-it-works {

        padding-left: 15px;

        padding-right: 15px;
    }


    .how-title h2 {

        font-size: 21px;
    }


    .how-title h1 {

        font-size: 34px;
    }


    .how-description p {

        font-size: 15px;
    }


    .how-step-text {

        max-width: 290px;
    }


    .how-phone img {

        max-width: 210px;
    }
}













/* =========================================================
   LO QUE NOS HACE DIFERENTES
========================================================= */

.different-section {

    position: relative;

    width: 100%;

    min-height: 900px;

    background-color: #FCF0D9;

    overflow: hidden;

    padding: 70px 8% 80px;
}


/* =========================================================
   CONTENEDOR PRINCIPAL
========================================================= */

.different-container {

    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1450px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: 0.95fr 1.05fr;

    gap: 55px;

    align-items: stretch;
}


/* =========================================================
   BLOQUE IZQUIERDO
========================================================= */

.different-intro {

    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 760px;
}


/* =========================================================
   SUBTÍTULO
========================================================= */

.different-intro > h2 {

    margin: 0 0 25px;

    color: #ED484A;

    font-family: 'Parkinsans', sans-serif;

    font-size: 28px;

    font-weight: 700;

    line-height: 1.1;
}


/* =========================================================
   TÍTULO PRINCIPAL
========================================================= */

.different-intro > h1 {

    margin: 0;

    color: #000000;

    font-family: 'Parkinsans', sans-serif;

    font-size: 68px;

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -2px;
}


/* =========================================================
   PALABRAS ROJAS
========================================================= */

.different-intro > h1 span {

    color: #ED484A;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.different-intro > p {

    margin: 30px 0 0;

    color: #171717;

    font-family: 'General Sans', sans-serif;

    font-size: 20px;

    font-weight: 400;

    line-height: 1.45;
}


/* =========================================================
   IMAGEN PRINCIPAL
========================================================= */

.different-main-image {

    position: absolute;

    left: -45px;

    bottom: -30px;

    width: 110%;

    z-index: 2;

    pointer-events: none;
}


.different-main-image img {

    display: block;

    width: 100%;

    height: auto;
}


/* =========================================================
   GRID DE TARJETAS
========================================================= */

.different-cards {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

    align-content: start;
}


/* =========================================================
   TARJETA BASE
========================================================= */

.different-card {

    position: relative;

    height: 415px;

    border-radius: 14px;

    overflow: hidden;

    display: flex;

    flex-direction: column;

    padding: 28px 30px 0;

    box-sizing: border-box;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;

    opacity: 0;

    transform: translateY(45px);
}


/* =========================================================
   ANIMACIÓN DE ENTRADA
========================================================= */

.different-section.is-visible .different-card {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   DELAYS DE ENTRADA
========================================================= */

.different-section.is-visible .different-card:nth-child(1) {

    transition-delay: 0.10s;
}


.different-section.is-visible .different-card:nth-child(2) {

    transition-delay: 0.25s;
}


.different-section.is-visible .different-card:nth-child(3) {

    transition-delay: 0.40s;
}


.different-section.is-visible .different-card:nth-child(4) {

    transition-delay: 0.55s;
}


/* =========================================================
   HOVER DE TARJETA
========================================================= */

.different-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 18px 35px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   COLORES DE TARJETAS
========================================================= */

.card-red {

    background-color: rgba(237, 72, 74, 0.60);
}


.card-green {

    background-color: rgba(69, 165, 90, 0.60);
}


.card-orange {

    background-color: rgba(245, 158, 102, 0.60);
}


.card-yellow {

    background-color: rgba(254, 210, 100, 0.60);
}


/* =========================================================
   CONTENIDO DE TARJETA
========================================================= */

.card-content {

    position: relative;

    z-index: 3;

    flex-shrink: 0;
}


/* =========================================================
   TÍTULO + ICONO
========================================================= */

.card-title {

    display: flex;

    align-items: flex-start;

    gap: 12px;
}


/* =========================================================
   CÍRCULO DEL ICONO
========================================================= */

.card-icon {

    width: 46px;

    height: 46px;

    min-width: 46px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;
}


/* =========================================================
   COLOR DEL CÍRCULO
========================================================= */

.card-red .card-icon {

    background-color: #ED484A;
}


.card-green .card-icon {

    background-color: #45A55A;
}


.card-orange .card-icon {

    background-color: #F59E66;
}


.card-yellow .card-icon {

    background-color: #FED264;
}


/* =========================================================
   ICONO DENTRO DEL CÍRCULO
========================================================= */

.card-icon img {

    width: 24px;

    height: 24px;

    object-fit: contain;

    display: block;
}


/* =========================================================
   TÍTULO DE TARJETA
========================================================= */

.card-title h2 {

    margin: 0;

    color: #000000;

    font-family: 'Parkinsans', sans-serif;

    font-size: 22px;

    font-weight: 700;

    line-height: 1.15;
}


/* =========================================================
   PÁRRAFO DE TARJETA
========================================================= */

.card-content > p {

    margin: 22px 0 0;

    max-width: 330px;

    color: #000000;

    font-family: 'General Sans', sans-serif;

    font-size: 18px;

    font-weight: 400;

    line-height: 1.35;
}


/* =========================================================
   CONTENEDOR DE IMAGEN
========================================================= */

.card-image {

    position: relative;

    z-index: 2;

    width: calc(100% + 60px);

    margin-left: -30px;

    margin-top: auto;

    height: 220px;

    display: flex;

    justify-content: center;

    align-items: flex-end;

    overflow: hidden;

    pointer-events: none;
}


/* =========================================================
   IMAGEN DE TARJETA
========================================================= */

.card-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: contain;

    object-position: center bottom;

    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}


/* =========================================================
   HOVER DE IMAGEN
========================================================= */

.different-card:hover .card-image img {

    transform: scale(1.035);
}


/* =========================================================
   PATRÓN IZQUIERDO
========================================================= */

.different-pattern-left {

    position: absolute;

    left: 0;

    bottom: 40px;

    width: 150px;

    height: auto;

    opacity: 0.35;

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   PATRÓN DERECHO
========================================================= */

.different-pattern-right {

    position: absolute;

    right: -10px;

    top: 20px;

    width: 190px;

    height: auto;

    opacity: 0.35;

    z-index: 1;

    pointer-events: none;
}


/* =========================================================
   RESPONSIVE MOBILE
========================================================= */

@media (max-width: 600px) {


    /* =====================================================
       SECCIÓN
    ===================================================== */

    .different-section {

        min-height: auto;

        padding: 55px 20px 70px;
    }


    /* =====================================================
       CONTENEDOR
    ===================================================== */

    .different-container {

        display: flex;

        flex-direction: column;

        gap: 40px;
    }


    /* =====================================================
       INTRO
    ===================================================== */

    .different-intro {

        min-height: auto;

        display: flex;

        flex-direction: column;
    }


    /* =====================================================
       SUBTÍTULO
    ===================================================== */

    .different-intro > h2 {

        margin-bottom: 18px;

        font-size: 22px;

        text-align: center;
    }


    /* =====================================================
       TÍTULO PRINCIPAL
    ===================================================== */

    .different-intro > h1 {

        font-size: 40px;

        line-height: 1.05;

        letter-spacing: -1px;

        text-align: center;
    }


    /* =====================================================
       DESCRIPCIÓN
    ===================================================== */

    .different-intro > p {

        margin-top: 22px;

        font-size: 16px;

        line-height: 1.4;

        text-align: center;
    }


    /* =====================================================
       IMAGEN PRINCIPAL
    ===================================================== */

    .different-main-image {

        position: relative;

        left: auto;

        bottom: auto;

        width: 115%;

        margin-left: -7.5%;

        margin-top: 20px;
    }


    /* =====================================================
       TARJETAS
    ===================================================== */

    .different-cards {

        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 18px;
    }


    /* =====================================================
       TARJETA MOBILE
    ===================================================== */

    .different-card {

        width: 100%;

        height: 390px;

        padding: 25px 22px 0;

        border-radius: 14px;
    }


    /* =====================================================
       ICONO MOBILE
    ===================================================== */

    .card-icon {

        width: 42px;

        height: 42px;

        min-width: 42px;
    }


    .card-icon img {

        width: 22px;

        height: 22px;
    }


    /* =====================================================
       TÍTULO MOBILE
    ===================================================== */

    .card-title h2 {

        font-size: 20px;

        line-height: 1.15;
    }


    /* =====================================================
       PÁRRAFO MOBILE
    ===================================================== */

    .card-content > p {

        margin-top: 18px;

        font-size: 16px;

        line-height: 1.35;
    }


    /* =====================================================
       IMAGEN DE LAS TARJETAS MOBILE
    ===================================================== */

    .card-image {

        width: calc(100% + 44px);

        margin-left: -22px;

        margin-top: auto;

        height: 210px;

        display: flex;

        justify-content: center;

        align-items: flex-end;

        overflow: hidden;
    }


    .card-image img {

        width: 100%;

        height: 100%;

        object-fit: contain;

        object-position: center bottom;
    }


    /* =====================================================
       DESACTIVAR HOVER EN MOBILE
    ===================================================== */

    .different-card:hover {

        transform: none;

        box-shadow: none;
    }


    .different-card:hover .card-image img {

        transform: none;
    }


    /* =====================================================
       PATRÓN IZQUIERDO MOBILE
    ===================================================== */

    .different-pattern-left {

        width: 80px;

        left: -20px;

        bottom: 250px;
    }


    /* =====================================================
       PATRÓN DERECHO MOBILE
    ===================================================== */

    .different-pattern-right {

        width: 100px;

        right: -20px;

        top: 80px;
    }

}



































/* =========================================================
   SLAM SECTION
========================================================= */

.slam-section {
    position: relative;

    width: 100%;
    min-height: 100vh;

    overflow: hidden;

    background: #ffffff;
}


/* =========================================================
   FONDO PRINCIPAL DESKTOP
========================================================= */

.slam-background {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1);
    transform-origin: right center;

    z-index: 1;
}


/* =========================================================
   PANEL BLANCO DESKTOP
========================================================= */

.slam-white-panel {
    position: absolute;

    top: 0;
    left: 0;

    width: 63%;
    height: 100%;

    background: #ffffff;

    z-index: 2;

    clip-path: ellipse(
        100% 75% at 0% 50%
    );
}


/* =========================================================
   CONTENIDO
========================================================= */

.slam-content {
    position: relative;

    z-index: 5;

    width: 100%;
    min-height: 100vh;

    padding: 55px 0 60px 9%;

    box-sizing: border-box;
}


/* =========================================================
   INTRO
========================================================= */

.slam-intro {
    width: 590px;

    position: relative;

    z-index: 10;
}


/* =========================================================
   SUBTÍTULO
========================================================= */

.slam-subtitle {
    margin: 0 0 8px;

    font-family: 'Parkinsans', sans-serif;

    font-size: 32px;
    font-weight: 700;

    line-height: 1.1;

    color: #ED484A;
}


/* =========================================================
   TÍTULO
========================================================= */

.slam-title {
    margin: 0;

    font-family: 'Parkinsans', sans-serif;

    font-size: 72px;
    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -2px;

    color: #000000;
}


.slam-title span {
    display: block;

    color: #ED484A;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.slam-description {
    margin: 25px 0 0;

    max-width: 620px;

    font-family: 'General Sans', sans-serif;

    font-size: 20px;
    font-weight: 400;

    line-height: 1.4;

    color: #111111;
}


/* =========================================================
   CARACTERÍSTICAS
========================================================= */

.slam-features {
    width: 530px;

    margin-top: 42px;

    display: flex;

    flex-direction: column;

    gap: 22px;

    position: relative;

    z-index: 10;
}


.slam-feature {
    display: flex;

    align-items: center;

    gap: 20px;

    min-height: 80px;
}


.slam-feature > img {
    width: 80px;
    height: 80px;

    flex-shrink: 0;
}


.slam-feature h3 {
    margin: 0 0 5px;

    font-family: 'Parkinsans', sans-serif;

    font-size: 21px;
    font-weight: 700;

    line-height: 1.2;

    color: #000000;
}


.slam-feature p {
    margin: 0;

    font-family: 'General Sans', sans-serif;

    font-size: 18px;
    font-weight: 400;

    line-height: 1.35;

    color: #222222;
}


/* =========================================================
   TARJETAS DESKTOP
========================================================= */

.slam-cards-desktop {
    position: absolute;

    z-index: 20;

    width: 1000px;
    height: 500px;

    right: 8%;
    top: 40%;

    transform: translateY(-50%);
}


/* =========================================================
   TARJETAS BASE
========================================================= */

.slam-card {
    position: absolute;

    width: 250px;
    height: auto;

    transform-origin: center center;

    transition:
        left 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        right 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        top 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.9s ease,
        filter 0.9s ease;

    will-change: transform, left, right, top;

    pointer-events: none;
}


/* =========================================================
   TARJETA DELANTERA DESKTOP
========================================================= */

.slam-card.front {
    left: 135px;
    top: 120px;

    z-index: 30;

    transform:
        rotate(-8deg)
        scale(1);

    opacity: 1;

    filter: none;
}


/* =========================================================
   TARJETA TRASERA IZQUIERDA DESKTOP
========================================================= */

.slam-card.back-left {
    left: 25px;
    top: 100px;

    z-index: 10;

    transform:
        rotate(-15deg)
        scale(0.88);

    opacity: 0.95;

    filter: brightness(0.98);
}


/* =========================================================
   TARJETA TRASERA DERECHA DESKTOP
========================================================= */

.slam-card.back-right {
    left: 245px;
    top: 95px;

    z-index: 15;

    transform:
        rotate(10deg)
        scale(0.88);

    opacity: 0.95;

    filter: brightness(0.98);
}


/* =========================================================
   VISUAL MOBILE
   Oculto completamente en desktop.
========================================================= */

.slam-mobile-visual {
    display: none;
}


/* =========================================================
   PATRÓN
========================================================= */

.slam-pattern {
    position: absolute;

    left: 0;
    top: 18%;

    width: 140px;
    height: auto;

    z-index: 4;

    opacity: 0.8;

    pointer-events: none;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {


    /* =====================================================
       SECCIÓN
    ===================================================== */

    .slam-section {
        min-height: auto;

        overflow: hidden;

        background: #ffffff;
    }


    /* =====================================================
       FONDO DESKTOP
       
       Se oculta completamente.
    ===================================================== */

    .slam-background {
        display: none;
    }


    /* =====================================================
       PANEL DESKTOP
       
       Se oculta completamente.
    ===================================================== */

    .slam-white-panel {
        display: none;
    }


    /* =====================================================
       CONTENIDO
    ===================================================== */

    .slam-content {
        min-height: auto;

        padding: 45px 0 60px;

        display: flex;

        flex-direction: column;
    }


    /* =====================================================
       INTRO
    ===================================================== */

    .slam-intro {
        width: auto;

        margin: 0 25px;

        position: relative;

        z-index: 10;
    }


    /* =====================================================
       SUBTÍTULO
    ===================================================== */

    .slam-subtitle {
        margin-bottom: 8px;

        font-size: 27px;

        line-height: 1.1;
    }


    /* =====================================================
       TÍTULO
    ===================================================== */

    .slam-title {
        font-size: 46px;

        line-height: 1.03;

        letter-spacing: -1.5px;
    }


    /* =====================================================
       DESCRIPCIÓN
    ===================================================== */

    .slam-description {
        margin-top: 22px;

        max-width: none;

        font-size: 17px;

        line-height: 1.42;
    }


    /* =====================================================
       VISUAL MOBILE
       
       Aparece después del párrafo.
       
       El contenedor conserva formato 9:16.
    ===================================================== */

    .slam-mobile-visual {
        display: block;

        position: relative;

        width: 100%;

        height: auto;

        aspect-ratio: 9 / 16;

        margin-top: 30px;

        overflow: hidden;

        z-index: 5;
    }


    /* =====================================================
       FONDO VERTICAL MOBILE
       
       IMPORTANTE:
       Esta imagen es un fondo, no una imagen normal.
    ===================================================== */

    .slam-mobile-background {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;

        object-position: center center;

        z-index: 1;

        pointer-events: none;
    }


    /* =====================================================
       CONTENEDOR DE TARJETAS MOBILE
    ===================================================== */

    .slam-cards-mobile {
        position: absolute;

        inset: 0;

        width: 100%;
        height: 100%;

        z-index: 10;
    }


    /* =====================================================
       TARJETAS MOBILE
    ===================================================== */

    .slam-cards-mobile .slam-card {
        position: absolute;

        width: 200px;

        height: auto;

        transition:
            left 1s cubic-bezier(0.22, 1, 0.36, 1),
            right 1s cubic-bezier(0.22, 1, 0.36, 1),
            top 1s cubic-bezier(0.22, 1, 0.36, 1),
            transform 1s cubic-bezier(0.22, 1, 0.36, 1),
            opacity 1s ease;

        will-change:
            left,
            right,
            top,
            transform;

        pointer-events: none;
    }


    /* =====================================================
       TARJETA DELANTERA
    ===================================================== */

    .slam-cards-mobile .slam-card.front {
        left: 50%;

        top: 8%;

        transform:
            translateX(-50%)
            rotate(-7deg)
            scale(1);

        z-index: 30;

        opacity: 1;
    }


    /* =====================================================
       TARJETA TRASERA IZQUIERDA
    ===================================================== */

    .slam-cards-mobile .slam-card.back-left {
        left: 8%;

        top: 8%;

        transform:
            rotate(-15deg)
            scale(0.82);

        z-index: 10;

        opacity: 0.95;
    }


    /* =====================================================
       TARJETA TRASERA DERECHA
    ===================================================== */

    .slam-cards-mobile .slam-card.back-right {
        left: auto;

        right: 8%;

        top: 10%;

        transform:
            rotate(10deg)
            scale(0.82);

        z-index: 15;

        opacity: 0.95;
    }


    /* =====================================================
       CARACTERÍSTICAS
       
       Aparecen DESPUÉS de la portada mobile.
    ===================================================== */

    .slam-features {
        width: auto;

        margin: 35px 30px 0;

        display: flex;

        flex-direction: column;

        gap: 28px;

        position: relative;

        z-index: 10;
    }


    /* =====================================================
       FEATURE
    ===================================================== */

    .slam-feature {
        display: flex;

        gap: 14px;

        align-items: flex-start;

        min-height: auto;
    }


    /* =====================================================
       ICONOS
    ===================================================== */

    .slam-feature > img {
        width: 65px;
        height: 65px;

        flex-shrink: 0;
    }


    /* =====================================================
       TÍTULO FEATURE
    ===================================================== */

    .slam-feature h3 {
        margin: 0 0 5px;

        font-size: 18px;

        line-height: 1.2;
    }


    /* =====================================================
       DESCRIPCIÓN FEATURE
    ===================================================== */

    .slam-feature p {
        margin: 0;

        font-size: 15px;

        line-height: 1.35;
    }


    /* =====================================================
       OCULTAR TARJETAS DESKTOP
    ===================================================== */

    .slam-cards-desktop {
        display: none;
    }


    /* =====================================================
       PATRÓN
    ===================================================== */

    .slam-pattern {
        width: 90px;

        left: -25px;

        top: 105px;

        opacity: 0.65;

        z-index: 3;
    }

}





























/* =========================================================
   SECURITY SECTION
========================================================= */

.security-section {

    position: relative;

    width: 100%;

    min-height: 700px;

    overflow: hidden;

    background: #FCF0D9;
}


/* =========================================================
   PORTADA DESKTOP
========================================================= */

.security-background-desktop {

    position: absolute;

    inset: 0;

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: center center;

    z-index: 1;
}


/* =========================================================
   CONTENIDO
========================================================= */

.security-content {

    position: relative;

    z-index: 5;

    width: 100%;

    min-height: 700px;

    display: flex;

    align-items: flex-start;
}


.security-text {

    width: 50%;

    padding: 35px 0 40px 8%;

    box-sizing: border-box;
}


/* =========================================================
   SUBTÍTULO
========================================================= */

.security-subtitle {

    margin: 0 0 8px;

    font-family: "Parkinsans", sans-serif;

    font-size: 28px;

    line-height: 1.1;

    font-weight: 700;

    color: #ED484A;
}


/* =========================================================
   TÍTULO
========================================================= */

.security-title {

    max-width: 560px;

    margin: 0;

    font-family: "Parkinsans", sans-serif;

    font-size: 54px;

    line-height: 1.08;

    letter-spacing: -1.5px;

    font-weight: 700;

    color: #000;
}


.security-title span {

    display: block;

    color: #ED484A;
}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.security-description {

    max-width: 470px;

    margin: 8px 0 25px;

    font-family: "General Sans", sans-serif;

    font-size: 17px;

    line-height: 1.4;

    color: #111;
}


/* =========================================================
   PORTADA MOBILE

   Oculta en desktop.
========================================================= */

.security-mobile-visual {

    display: none;
}


/* =========================================================
   TARJETAS
========================================================= */

.security-cards {

    display: flex;

    gap: 12px;

    width: 100%;

    max-width: 590px;
}


.security-card {

    flex: 1;

    min-height: 190px;

    padding: 18px;

    border-radius: 10px;

    text-align: center;

    font-family: "General Sans", sans-serif;

    box-sizing: border-box;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


/* =========================================================
   COLORES DE LAS TARJETAS
========================================================= */

.security-card-green {

    background: #8BD49B;
}


.security-card-red {

    background: #FF8789;
}


.security-card-purple {

    background: #B896D8;
}


/* =========================================================
   ICONOS

   IMPORTANTE:
   Los SVG ya contienen su propio círculo.
   No agregamos ningún fondo aquí.
========================================================= */

.security-icon {

    width: 55px;

    height: 55px;

    margin: 0 auto 12px;

    display: flex;

    align-items: center;

    justify-content: center;
}


.security-icon img {

    width: 55px;

    height: 55px;

    object-fit: contain;
}


/* =========================================================
   CONTENIDO DE LAS TARJETAS
========================================================= */

.security-card-content {

    flex: 1;
}


/* =========================================================
   TÍTULO DE TARJETA
========================================================= */

.security-card h3 {

    margin: 0 0 8px;

    font-family: "Parkinsans", sans-serif;

    font-size: 16px;

    line-height: 1.15;

    font-weight: 700;

    color: #000;
}


/* =========================================================
   PÁRRAFO DE TARJETA
========================================================= */

.security-card p {

    margin: 0;

    font-family: "General Sans", sans-serif;

    font-size: 14px;

    line-height: 1.35;

    color: #111;
}


/* =========================================================
   HOVER DESKTOP
========================================================= */

.security-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   PATRONES
========================================================= */

.security-pattern {

    position: absolute;

    pointer-events: none;

    z-index: 4;
}


.security-pattern-right {

    width: 190px;

    right: -35px;

    top: 15px;

    opacity: 0.35;
}


.security-pattern-left {

    width: 110px;

    left: -20px;

    bottom: 70px;

    opacity: 0.35;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {


    /* =====================================================
       SECCIÓN
    ===================================================== */

    .security-section {

        min-height: auto;

        overflow: hidden;

        background: #FCF0D9;
    }


    /* =====================================================
       OCULTAR PORTADA DESKTOP

       Muy importante para evitar que aparezca
       la portada gigante detrás del contenido.
    ===================================================== */

    .security-background-desktop {

        display: none !important;
    }


    /* =====================================================
       CONTENIDO
    ===================================================== */

    .security-content {

        display: block;

        width: 100%;

        min-height: auto;
    }


    .security-text {

        width: 100%;

        padding: 45px 20px 60px;

        box-sizing: border-box;
    }


    /* =====================================================
       SUBTÍTULO
    ===================================================== */

    .security-subtitle {

        font-size: 23px;

        line-height: 1.1;

        margin-bottom: 8px;
    }


    /* =====================================================
       TÍTULO
    ===================================================== */

    .security-title {

        max-width: 100%;

        font-size: 39px;

        line-height: 1.08;

        letter-spacing: -1px;
    }


    .security-title span {

        display: block;
    }


    /* =====================================================
       DESCRIPCIÓN
    ===================================================== */

    .security-description {

        max-width: 100%;

        margin: 12px 0 0;

        font-size: 16px;

        line-height: 1.45;
    }


    /* =====================================================
       PORTADA MOBILE

       Aparece inmediatamente después del párrafo.

       Se pega al borde derecho de la pantalla.
    ===================================================== */

    .security-mobile-visual {

        display: block;

        position: relative;

        width: calc(100% + 20px);

        height: 390px;

        margin-top: 25px;

        margin-right: -20px;

        overflow: visible;

        z-index: 3;
    }


    .security-mobile-visual img {

        position: absolute;

        top: 0;

        right: 0;

        width: 100vw;

        max-width: none;

        height: 390px;

        display: block;

        object-fit: cover;

        object-position: right center;
    }


    /* =====================================================
       TARJETAS MOBILE
    ===================================================== */

    .security-cards {

        position: relative;

        z-index: 6;

        display: flex;

        flex-direction: column;

        gap: 15px;

        width: 100%;

        max-width: none;

        margin-top: 30px;
    }


    /* =====================================================
       TARJETA

       MOBILE:

       [ ICONO ] [ TEXTO ]
    ===================================================== */

    .security-card {

        width: 100%;

        min-height: 120px;

        padding: 18px 20px;

        border-radius: 14px;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: flex-start;

        text-align: left;

        box-sizing: border-box;
    }


    /* =====================================================
       ICONO MOBILE

       El círculo ya viene incluido en el SVG.
    ===================================================== */

    .security-icon {

        flex: 0 0 55px;

        width: 55px;

        height: 55px;

        margin: 0 18px 0 0;

        display: flex;

        align-items: center;

        justify-content: center;
    }


    .security-icon img {

        width: 55px;

        height: 55px;

        object-fit: contain;
    }


    /* =====================================================
       CONTENIDO DE LA TARJETA
    ===================================================== */

    .security-card-content {

        flex: 1;

        min-width: 0;
    }


    /* =====================================================
       TÍTULO MOBILE
    ===================================================== */

    .security-card h3 {

        margin: 0 0 5px;

        font-size: 17px;

        line-height: 1.15;
    }


    /* =====================================================
       PÁRRAFO MOBILE
    ===================================================== */

    .security-card p {

        margin: 0;

        max-width: 250px;

        font-size: 14px;

        line-height: 1.35;

        text-align: left;
    }


    /* =====================================================
       DESACTIVAR HOVER EN MOBILE
    ===================================================== */

    .security-card:hover {

        transform: none;

        box-shadow: none;
    }


    /* =====================================================
       PATRÓN DERECHO
    ===================================================== */

    .security-pattern-right {

        width: 100px;

        right: -30px;

        top: 15px;

        opacity: 0.25;
    }


    /* =====================================================
       PATRÓN IZQUIERDO
    ===================================================== */

    .security-pattern-left {

        width: 70px;

        left: -20px;

        bottom: 50px;

        opacity: 0.25;
    }

}













/* =========================================================
   SECCIÓN FINAL
========================================================= */

.final-section {

    position: relative;

    width: 100%;

    min-height: 650px;

    overflow: hidden;

    background-color: #ED484A;

}


/* =========================================================
   PORTADAS
========================================================= */

.final-background {

    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    z-index: 1;
}


/* =========================================================
   PORTADA DESKTOP

   Se muestra COMPLETA.
   No se recorta arriba ni abajo.
========================================================= */

.final-background-desktop {

    display: block;

    width: 100%;
    height: 100%;



    object-position: center center;

}


/* =========================================================
   PORTADA MOBILE
========================================================= */

.final-background-mobile {

    display: none;

}


/* =========================================================
   CONTENIDO
========================================================= */

.final-content {

    position: relative;

    z-index: 5;

    width: 100%;

    max-width: 1200px;

    min-height: 650px;

    margin: 0 auto;

    padding: 55px 70px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: flex-start;

}


/* =========================================================
   LOGO
========================================================= */

.final-logo {

    width: 165px;

    height: auto;

    display: block;

    margin-bottom: 25px;

}


/* =========================================================
   TÍTULO
========================================================= */

.final-content h1 {

    margin: 0;

    max-width: 540px;

    font-family: "Parkinsans", sans-serif;

    font-size: 54px;

    font-weight: 700;

    line-height: 1.12;

    letter-spacing: -1.5px;

    color: #FCF0D9;

}


/* =========================================================
   DESCRIPCIÓN
========================================================= */

.final-content p {

    margin: 22px 0 0;

    max-width: 370px;

    font-family: "General Sans", sans-serif;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.4;

    color: #FCF0D9;

}


/* =========================================================
   TIENDAS
========================================================= */

.final-stores {

    display: flex;

    flex-direction: row;

    align-items: center;

    gap: 12px;

    margin-top: 20px;

}


.final-store {

    display: block;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;

}


.final-store img {

    display: block;

    width: 165px;

    height: auto;

}


.final-store:hover {

    transform: translateY(-3px);

    opacity: 0.9;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .final-section {

        min-height: 580px;

    }


    .final-content {

        min-height: 580px;

        padding: 45px;

    }


    .final-logo {

        width: 145px;

    }


    .final-content h1 {

        font-size: 46px;

    }


    .final-content p {

        font-size: 16px;

        max-width: 330px;

    }


    .final-store img {

        width: 145px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .final-section {

        width: 100%;

        min-height: 760px;

        overflow: hidden;

    }


    /* =====================================================
       CAMBIO DE PORTADA
    ===================================================== */

    .final-background-desktop {

        display: none;

    }


    .final-background-mobile {

        display: block;

        width: 100%;

        height: 100%;

        object-fit: cover;

        object-position: center center;

    }


    /* =====================================================
       CONTENIDO MOBILE

       Todo queda centrado.
    ===================================================== */

    .final-content {

        min-height: 760px;

        width: 100%;

        margin: 0;

        padding: 40px 24px;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: flex-start;

        text-align: center;

    }


    /* =====================================================
       LOGO
    ===================================================== */

    .final-logo {

        width: 135px;

        margin-bottom: 22px;

    }


    /* =====================================================
       TÍTULO
    ===================================================== */

    .final-content h1 {

        max-width: 340px;

        margin: 0;

        font-size: 39px;

        line-height: 1.08;

        letter-spacing: -1px;

        text-align: center;

    }


    /* =====================================================
       PÁRRAFO
    ===================================================== */

    .final-content p {

        max-width: 300px;

        margin: 18px auto 0;

        font-size: 15px;

        line-height: 1.4;

        text-align: center;

    }


    /* =====================================================
       TIENDAS

       Lado a lado en móvil.
    ===================================================== */

    .final-stores {

        width: 100%;

        display: flex;

        flex-direction: row;

        align-items: center;

        justify-content: center;

        gap: 8px;

        margin-top: 20px;

    }


    .final-store {

        flex: 0 0 auto;

    }


    .final-store img {

        width: 145px;

        height: auto;

    }

}


/* =========================================================
   MOBILE PEQUEÑO
========================================================= */

@media (max-width: 380px) {

    .final-section {

        min-height: 700px;

    }


    .final-content {

        min-height: 700px;

        padding: 32px 18px;

    }


    .final-logo {

        width: 120px;

    }


    .final-content h1 {

        font-size: 34px;

    }


    .final-content p {

        font-size: 14px;

        max-width: 270px;

    }


    .final-stores {

        gap: 6px;

    }


    .final-store img {

        width: 135px;

    }

}









/* =========================================================
   FOOTER
========================================================= */

.footer {

    position: relative;

    width: 100%;

    background-color: #FCF0D9;

    overflow: hidden;

    padding: 55px 7% 0;

}


/* =========================================================
   CONTENIDO PRINCIPAL
========================================================= */

.footer-content {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr;

    column-gap: 80px;

    padding-bottom: 55px;

}


/* =========================================================
   MARCA
========================================================= */

.footer-brand {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.footer-logo {

    width: 170px;

    height: auto;

    display: block;

    margin-bottom: 18px;

}


.footer-brand p {

    margin: 0;

    font-family: "General Sans", sans-serif;

    font-size: 15px;

    font-weight: 400;

    color: #111111;

}


/* =========================================================
   TÍTULOS DE COLUMNAS
========================================================= */

.footer-links h3,
.footer-social h3 {

    margin: 0 0 17px;

    font-family: "Parkinsans", sans-serif;

    font-size: 15px;

    font-weight: 700;

    color: #111111;

}


/* =========================================================
   ENLACES
========================================================= */

.footer-links ul {

    list-style: none;

    padding: 0;

    margin: 0;

    display: flex;

    flex-direction: column;

    gap: 14px;

}


.footer-links li {

    margin: 0;

    padding: 0;

}


.footer-links a {

    font-family: "General Sans", sans-serif;

    font-size: 14px;

    font-weight: 400;

    color: #111111;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;

}


.footer-links a:hover {

    color: #ED484A;

}


/* =========================================================
   REDES SOCIALES
========================================================= */

.footer-social-icons {

    display: flex;

    align-items: center;

    gap: 24px;

}


.footer-social-icons a {

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    transition:
        transform 0.25s ease;

}


.footer-social-icons img {

    width: 100%;

    height: 100%;

    object-fit: contain;

    display: block;

}


.footer-social-icons a:hover {

    transform: translateY(-4px);

}


/* =========================================================
   FRASE DERECHA
========================================================= */

.footer-slogan {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto 12px;

    text-align: right;

    font-family: "Parkinsans", sans-serif;

    font-size: 14px;

    font-weight: 700;

    color: #ED484A;

}


/* =========================================================
   LÍNEA + COPYRIGHT
========================================================= */

.footer-bottom {

    width: 100%;

    max-width: 1200px;

    margin: 0 auto;

    border-top: 1px solid rgba(17, 17, 17, 0.5);

    padding: 15px 0 25px;

    text-align: center;

}


.footer-bottom p {

    margin: 0;

    font-family: "General Sans", sans-serif;

    font-size: 9px;

    font-weight: 400;

    line-height: 1.4;

    color: #333333;

}


/* =========================================================
   PATRÓN INFERIOR
========================================================= */

.footer-pattern {

    position: relative;

    display: block;

    width: calc(100% + 14%);

    max-width: none;

    height: 60px;

    object-fit: cover;

    margin-left: -7%;

    margin-top: 0;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .footer {

        padding-left: 5%;

        padding-right: 5%;

    }


    .footer-content {

        grid-template-columns:
            1.3fr
            1fr
            1fr;

        column-gap: 40px;

    }


    .footer-pattern {

        width: calc(100% + 10%);

        margin-left: -5%;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .footer {

        padding: 45px 25px 0;

    }


    /* =====================================================
       CONTENIDO
    ===================================================== */

    .footer-content {

        display: flex;

        flex-direction: column;

        align-items: center;

        gap: 38px;

        padding-bottom: 40px;

        text-align: center;

    }


    /* =====================================================
       MARCA
    ===================================================== */

    .footer-brand {

        align-items: center;

    }


    .footer-logo {

        width: 150px;

        margin-bottom: 15px;

    }


    .footer-brand p {

        font-size: 14px;

    }


    /* =====================================================
       ENLACES
    ===================================================== */

    .footer-links {

        display: flex;

        flex-direction: column;

        align-items: center;

    }


    .footer-links h3,
    .footer-social h3 {

        font-size: 15px;

        margin-bottom: 15px;

    }


    .footer-links ul {

        align-items: center;

        gap: 12px;

    }


    .footer-links a {

        font-size: 14px;

    }


    /* =====================================================
       REDES
    ===================================================== */

    .footer-social {

        display: flex;

        flex-direction: column;

        align-items: center;

    }


    .footer-social-icons {

        justify-content: center;

        gap: 22px;

    }


    .footer-social-icons a {

        width: 34px;

        height: 34px;

    }


    /* =====================================================
       FRASE
    ===================================================== */

    .footer-slogan {

        margin: 0 auto 15px;

        text-align: center;

        font-size: 14px;

    }


    /* =====================================================
       COPYRIGHT
    ===================================================== */

    .footer-bottom {

        padding: 15px 0 22px;

    }


    .footer-bottom p {

        font-size: 8px;

        line-height: 1.5;

    }


    /* =====================================================
       PATRÓN
    ===================================================== */

    .footer-pattern {

        width: calc(100% + 50px);

        height: 50px;

        margin-left: -25px;

    }

}

section[id] { scroll-margin-top: 80px; }
.security-card a { color: inherit; font-weight: 700; }
