/* ========================================
   HERO SECTION
   ======================================== */

/* ===== HEADER ===== */
.hero {
    position: relative;
    min-height: calc(100vh - 64px);
    overflow: hidden;
    background-color: var(--color-bg);
    margin-bottom: 100px;
}

.hero__header {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px 0 32px;
}

.hero__logo img {
    height: 26px;
    width: auto;
}

.hero__buttons {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ===== TEXT CONTENT ===== */
.hero__text {
    position: absolute;
    z-index: 2;
    left: 32px;
    bottom: 48px;
    width: min(720px, 46%);
}

.hero__title {
    font-family: var(--font-family);
    font-style: normal;
    font-weight: 500;
    font-size: 42px;
    line-height: 110%;
    letter-spacing: -0.03em;
    color: var(--color-gray);
}

.title-gray {
    color: var(--color-gray);
}

.title-white {
    color: var(--color-white);
}

/* ===== HERO IMAGE ===== */
/*
 * Hero image uses object-fit: contain to preserve the full image
 * without cropping any part of the composition.
 * 
 * If design requires filling the entire area regardless of image
 * proportions, switch to: object-fit: cover; object-position: center;
 */
.hero__image {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    overflow: hidden;
}

.hero__image img {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
}

/* Mobile CTA Button - Hidden by default */
.hero__mobile-btn {
    display: none;
}

/* ===== RESPONSIVE ===== */

/* Large Desktop */
@media (max-width: 1440px) {
    .hero__text {
        width: 48%;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .hero__text {
        width: 52%;
        bottom: 40px;
    }

    .hero__title {
        font-size: 40px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .hero {
        min-height: calc(100vh - 56px);
    }

    .hero__header {
        padding: 20px 24px 0 24px;
    }

    .hero__text {
        left: 24px;
        bottom: 36px;
        width: 55%;
    }

    .hero__title {
        font-size: 34px;
    }
}

/* Small Tablet */
@media (max-width: 768px) {
    .hero__header {
        padding: 16px 20px 0 20px;
    }

    .hero__logo img {
        height: 22px;
    }

    .hero__text {
        left: 20px;
        bottom: 32px;
        width: 65%;
    }

    .hero__title {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .hero {
        min-height: calc(100vh - 48px);
    }

    .hero__header {
        padding: 12px 16px 0 16px;
    }

    .hero__logo img {
        height: 18px;
    }

    .btn-secondary {
        display: none;
    }

    /* Mobile CTA Button */
    .hero__mobile-btn {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 6px 12px;
        gap: 6px;
        margin: 0 auto;
        width: 107px;
        height: 36px;
        background: transparent;
        border: 1px solid #FFFFFF;
        border-radius: 100px;
        color: #FFFFFF;
        font-family: 'Inter Tight';
        font-style: normal;
        font-weight: 700;
        font-size: 10px;
        line-height: 150%;
        z-index: 3;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .hero__mobile-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .hero__image {
        top: 0;
        left: 0;
        right: 0;
        bottom: auto;
        width: 100%;
        height: auto;
        justify-content: center;
        align-items: flex-start;
    }

    .hero__image img {
        width: 100%;
        height: auto;
        max-width: 100%;
    }

    .hero__text {
        left: 16px;
        bottom: 24px;
        width: calc(100% - 32px);
    }

    .hero__title {
        font-size: 36px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .hero__header {
        padding: 10px 14px 0 14px;
    }

    .hero__logo img {
        height: 16px;
    }

    .hero__text {
        left: 14px;
        bottom: 20px;
        width: calc(100% - 28px);
    }

    .hero__title {
        font-size: 20px;
    }
}
