/* SPECIAL FEATURES — MODULE 01: HERO HEADER */

.sf-hero {
    position: relative;
    display: grid;
    grid-template-columns: 37.5% 62.5%;
    width: 100%;
    min-height: 700px;
    background: var(--sf-bg-light);
}

.sf-hero-content {
    position: relative;
    display: flex;
    min-width: 0;
    width: 100%;
}

.sf-hero-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 40px 35px 70px max(20px, calc((100vw - 1400px) / 2));
}

.sf-hero-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
    font-family: var(--font-family-principal);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-gris-azulado);
}

.sf-hero-breadcrumb a {
    color: var(--color-blue);
    text-decoration: none;
    transition: color .2s ease;
}

.sf-hero-breadcrumb a:hover {
    color: var(--color-teal);
}

.sf-hero-breadcrumb-separator {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 8px;
    height: 12px;
    color: var(--color-blue);
}

.sf-hero-breadcrumb-separator svg {
    display: block;
    width: 8px;
    height: 12px;
}

.sf-hero-breadcrumb-current {
    color: var(--color-gris-azulado);
}

.sf-hero-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    flex: 1;
    width: 100%;
    max-width: 440px;
    padding-top: 40px;
}

.sf-hero-title {
    margin: 0 0 20px;
    font-family: var(--font-family-secundaria);
    font-size: clamp(48px, 3.4vw, 68px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.025em;
    color: var(--color-principal);
}

.sf-hero-description {
    width: 100%;
    max-width: 410px;
}

.sf-hero-description p {
    margin: 0;
    font-family: var(--font-family-secundaria);
    font-size: clamp(18px, 1.2vw, 24px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-principal);
}

.sf-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    margin-top: 60px;
    color: var(--color-gris-azulado);
    text-decoration: none;
    transition: color .2s ease;
}

.sf-hero-cta-arrow {
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 40px;
    color: var(--color-dark-blue);
    transition: transform .25s ease;
}

.sf-hero-cta-label {
    font-family: var(--font-family-principal);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.sf-hero-cta:hover {
    color: var(--color-teal);
}

.sf-hero-cta:hover .sf-hero-cta-arrow {
    transform: translateY(5px);
}

.sf-hero-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 700px;
    overflow: hidden;
}

.sf-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sf-hero-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 17%;
    display: flex;
    width: 12%;
    pointer-events: none;
    isolation: isolate;
}

.sf-hero-overlay-teal {
    display: block;
    flex: 0 0 34%;
    height: 100%;
    background: var(--sf-overlay-teal);
    transform-origin: right center;
    animation: sf-hero-teal-motion 11s ease-in-out infinite alternate;
    will-change: transform;
}

.sf-hero-overlay-blue {
    display: block;
    flex: 0 0 66%;
    height: 100%;
    background: var(--sf-overlay-blue);
    transform-origin: left center;
    animation: sf-hero-blue-motion 13s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes sf-hero-teal-motion {
    0% {
        transform: translateX(0) scaleX(1);
    }

    35% {
        transform: translateX(12px) scaleX(1.45);
    }

    70% {
        transform: translateX(-8px) scaleX(.75);
    }

    100% {
        transform: translateX(5px) scaleX(1.2);
    }
}

@keyframes sf-hero-blue-motion {
    0% {
        transform: translateX(0) scaleX(1);
    }

    30% {
        transform: translateX(-15px) scaleX(.8);
    }

    65% {
        transform: translateX(10px) scaleX(1.25);
    }

    100% {
        transform: translateX(-5px) scaleX(.95);
    }
}

@media (min-width: 1600px) {
    .sf-hero-container {
        padding-left: calc((100vw - 1400px) / 2);
    }
}

@media (max-width: 1500px) {
    .sf-hero-container {
        padding-left: 40px;
    }

    .sf-hero-title {
        font-size: clamp(46px, 4.2vw, 64px);
    }
}

@media (max-width: 1199px) {
    .sf-hero {
        grid-template-columns: 42% 58%;
        min-height: 620px;
    }

    .sf-hero-container {
        padding: 35px 30px 60px 40px;
    }

    .sf-hero-media {
        min-height: 620px;
    }

    .sf-hero-title {
        font-size: clamp(44px, 5vw, 60px);
    }

    .sf-hero-description p {
        font-size: 20px;
    }

    .sf-hero-cta {
        margin-top: 45px;
    }
}

@media (max-width: 767px) {
    .sf-hero {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .sf-hero-content {
        width: 100%;
    }

    .sf-hero-container {
        width: 100%;
        padding: 25px 20px 55px;
    }

    .sf-hero-breadcrumb {
        gap: 10px;
        font-size: 12px;
    }

    .sf-hero-main {
        max-width: 100%;
        padding-top: 65px;
    }

    .sf-hero-title {
        margin-bottom: 25px;
        font-size: clamp(44px, 11vw, 60px);
    }

    .sf-hero-description {
        max-width: 450px;
    }

    .sf-hero-description p {
        font-size: 20px;
        line-height: 1.3;
    }

    .sf-hero-cta {
        gap: 22px;
        margin-top: 45px;
    }

    .sf-hero-media {
        height: 350px;
        min-height: 350px;
    }

    .sf-hero-overlay {
        right: 12%;
        width: 16%;
    }
}

@media (max-width: 480px) {
    .sf-hero-main {
        padding-top: 55px;
    }

    .sf-hero-title {
        font-size: 48px;
    }

    .sf-hero-description p {
        font-size: 18px;
    }

    .sf-hero-media {
        height: 280px;
        min-height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-hero-overlay-teal,
    .sf-hero-overlay-blue {
        animation: none;
        transform: none;
        will-change: auto;
    }

    .sf-hero-cta,
    .sf-hero-cta-arrow,
    .sf-hero-breadcrumb a {
        transition: none;
    }
}