/* =========================================
   HERO - SAMBOS DE CORAZÓN
========================================= */

.hero-ritti {
    position: relative;
    width: 100%;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(255,255,255,.18),
            transparent 25%
        ),
        linear-gradient(
            125deg,
            #061a40 0%,
            #0b3d91 45%,
            #0575e6 100%
        );

    padding: 90px 0 120px;
    margin-bottom: 80px;
}


/* Luces decorativas */

.hero-ritti::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255,255,255,.06);

    top: -200px;
    left: -150px;

    pointer-events: none;
}


.hero-ritti::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;

    background: rgba(255, 193, 7, .10);

    bottom: -120px;
    right: 8%;

    pointer-events: none;
}


/* =========================================
   CONTENIDO
========================================= */

.hero-ritti-row {
    position: relative;
    z-index: 2;
}


.hero-ritti-content {
    max-width: 760px;
}


/* Texto pequeño */

.hero-ritti-subtitle {
    display: inline-block;

    font-size: 14px;
    font-weight: 600;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: #ffd369;

    margin-bottom: 20px;
}


/* Título */

.hero-ritti-title {
    margin: 0;

    font-size: clamp(2.4rem, 5vw, 5rem);
    font-weight: 800;

    line-height: 1.05;
    letter-spacing: -2px;

    color: #ffffff;

    text-transform: uppercase;
}


.hero-ritti-title span {
    display: block;

    color: #ffd369;

    margin: 8px 0;
}


/* Línea decorativa */

.hero-ritti-line {
    width: 85px;
    height: 5px;

    background: #ffd369;

    border-radius: 10px;

    margin: 28px 0 20px;
}


/* Descripción */

.hero-ritti-description {
    font-size: 18px;
    line-height: 1.7;

    color: rgba(255,255,255,.82);

    max-width: 550px;

    margin: 0;
}


/* =========================================
   LOGO
========================================= */

.hero-ritti-image {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px;
}


/* Fondo detrás del logo */

.hero-logo-bg {
    position: relative;

    width: min(420px, 100%);
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.10);

    border: 1px solid rgba(255,255,255,.18);

    box-shadow:
        0 30px 60px rgba(0,0,0,.20),
        inset 0 0 40px rgba(255,255,255,.05);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


/* Segundo círculo */

.hero-logo-bg::before {
    content: "";

    position: absolute;

    width: 88%;
    height: 88%;

    border-radius: 50%;

    border: 1px dashed rgba(255,211,105,.40);

    animation: girarCirculo 35s linear infinite;
}


@keyframes girarCirculo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


/* Imagen */

.hero-logo {
    position: relative;
    z-index: 2;

    width: 82%;
    max-height: 370px;

    object-fit: contain;

    filter:
        drop-shadow(0 15px 20px rgba(0,0,0,.25));

    transition:
        transform .4s ease,
        filter .4s ease;
}


.hero-logo-bg:hover .hero-logo {
    transform: scale(1.06);

    filter:
        drop-shadow(0 20px 30px rgba(0,0,0,.35));
}


/* =========================================
   DECORACIÓN INFERIOR
========================================= */

.hero-shape {
    position: absolute;

    bottom: -1px;
    left: 0;

    width: 100%;
    height: 60px;

    background: #ffffff;

    clip-path: polygon(
        0 65%,
        20% 85%,
        45% 55%,
        70% 85%,
        100% 55%,
        100% 100%,
        0 100%
    );
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .hero-ritti {
        min-height: auto;
        padding: 75px 0 100px;
    }

    .hero-ritti-title {
        font-size: clamp(2.2rem, 5vw, 3.8rem);
    }

    .hero-ritti-image {
        padding: 20px;
    }

}


/* =========================================
   MÓVIL
========================================= */

@media (max-width: 767px) {

    .hero-ritti {
        padding: 65px 15px 100px;

        text-align: center;
    }

    .hero-ritti-content {
        max-width: 100%;
    }


    .hero-ritti-title {
        font-size: clamp(2rem, 9vw, 3rem);

        letter-spacing: -1px;

        line-height: 1.1;
    }


    .hero-ritti-subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }


    .hero-ritti-line {
        margin:
            25px auto
            20px;
    }


    .hero-ritti-description {
        margin: auto;

        font-size: 16px;
    }


    .hero-ritti-image {
        margin-top: 45px;

        padding: 10px;
    }


    .hero-logo-bg {
        width: 310px;
        max-width: 90%;
    }

}


/* =========================================
   MÓVILES PEQUEÑOS
========================================= */

@media (max-width: 420px) {

    .hero-ritti {
        padding-top: 55px;
    }


    .hero-ritti-title {
        font-size: 2rem;
    }


    .hero-logo-bg {
        width: 260px;
    }


    .hero-shape {
        height: 40px;
    }

}