/* Decorative Background Logos */
.cross-section-decor {
    position: relative;
    /* the logos now position relative to THIS, not either section */
    width: 100%;
    /* no overflow property — let children bleed freely */
}

.section {
    position: relative;
    overflow: hidden;
    /* clips the bled-off portions */
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-grow: 1;
    /* take up remaining height */
    min-height: 100vh;
    /* ensure enough height to see the background */
}

.section-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hero__decorative-logo {
    position: absolute;
    width: 42%;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.hero__decorative-logo--left {
    left: -24%;
    top: 5%;
}

.hero__decorative-logo--right {
    right: -19%;
    top: 28%;
}

/* Hero Section Content */
.hero-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    padding: 0 3.75rem;
    /* Match header horizontal padding */
    margin-top: 2rem;
    /* Add some spacing below header */
}

.hero-text-col {
    width: 38%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-image-col {
    width: 48%;
}

.hero-heading {
    color: var(--color-white);
    font-weight: 700;
    letter-spacing: 2%;
    line-height: 100%;
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2rem, 1.2rem + 2.5vw, 4.5rem);
    margin: 0 0 0.75rem 0;
    max-width: 85%;
}

.hero-paragraph {
    color: #A8B2C3;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0;
    margin: 0 0 2rem 0;
    max-width: 92%;
}

.hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    width: fit-content;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    padding: 1rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    outline: none;
    line-height: 100%;
    letter-spacing: 0%;
    font-family: "Lato", sans-serif;
}

.hero-btn--primary {
    background-color: var(--color-brand-blue);
    color: var(--color-white);
}

.hero-btn--primary:hover {
    background-color: var(--color-brand-blue-hover);
}

.hero-btn--secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-text-muted);
}

.hero-btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding-top: 1.5rem;
    }

    .hero-container {
        flex-direction: column;
        padding: 0 1rem;
        margin-top: 0;
        /* if margin was used here previously, replace with equivalent top padding on the section itself instead */
        gap: 2.5rem;
        /* creates consistent spacing between heading, paragraph, buttons, and image — replaces any margin-based spacing */
    }

    .hero-text-col,
    .hero-image-col {
        width: 100%;
        text-align: center;
    }

    .hero-image-col {
        margin-top: 0;
        /* no margin per our standing rule — if spacing is needed above the image, add padding-top to .hero-container or use gap on it instead */
    }

    .hero-image {
        width: 100%;
        aspect-ratio: 1 / 0.85;
        /* adjust to match the reference's proportions — slightly wider than tall */
        border-radius: 16px;
    }

    .hero-heading {
        font-size: clamp(1.75rem, 1.2rem + 5vw, 2.5rem);
        /* steeper scaling for narrow viewports */
        /* max-width: 100%; */
        text-align: center;
        line-height: 100%;
        letter-spacing: 2%;
        font-family: "Bricolage Grotesque", sans-serif;
        font-weight: 700;

    }

    .hero-paragraph {
        /* max-width: 100%; */
        text-align: center;
        margin-bottom: 2rem;
        line-height: 30px;
        letter-spacing: 0%;
        font-size: 1.25rem;
        font-family: "Bricolage Grotesque", sans-serif;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1.25rem;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }
}