/* =========================================
   HOME HERO
========================================= */

:root {
    --hero-bg: #f3f0e9;
    --hero-text: #1f2925;
    --hero-muted: #50615a;
    --hero-accent: #b78b49;
    --hero-line: rgba(31, 41, 37, 0.12);
    --hero-button-bg: #182420;
    --hero-button-bg-hover: #24312c;
}

.home-hero {

    width: 100%;
    height: calc(100svh - var(--header-height));

    box-sizing: border-box;
    background: var(--hero-bg);

}

.home-hero__container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    height: 100%;
    gap: 50px;
    padding: 0px 100px;
}

.home-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    flex: 0 0 calc((100% - 50px) * 0.45);
    min-width: 0;
}

.home-hero__eyebrow {
    margin: 0 0 28px;
    color: var(--hero-accent);

    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-hero__title {
    margin: 0;
    color: var(--hero-text);

    
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 60px;
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.03em;
}

.home-hero__lead {
    max-width: 560px;
    margin: 42px 0 0;

    color: var(--hero-muted);
    font-size: 20px;
    font-weight: 300;
    line-height: 1.55;
    font-family: "Inter", sans-serif;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 34px;

    margin-top: 48px;
}

.home-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.home-hero__button svg {
    width: 26px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.home-hero__button:hover svg {
    transform: translateX(4px);
}

.home-hero__button--primary {
    min-width: 320px;
    min-height: 50px;
    padding: 0 28px;

    background: var(--hero-button-bg);
    color: #ffffff;

    font-size: 17px;
    font-weight: 500;
}

.home-hero__button--primary:hover {
    background: var(--hero-button-bg-hover);
}

.home-hero__button--secondary {
    min-height: 50px;
    padding: 0 0 0 4px;

    color: var(--hero-text);
    font-size: 17px;
    font-weight: 500;

    border-bottom: 1px solid rgba(31, 41, 37, 0.25);
}

.home-hero__button--secondary:hover {
    color: var(--hero-accent);
    border-color: var(--hero-accent);
}

.home-hero__footer {
    margin-top: 56px;
    padding-top: 22px;
    border-top: 1px solid var(--hero-line);

    color: #6f7a75;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.20em;
    text-transform: uppercase;
}

.home-hero__media {
    position: relative;
    flex: 0 0 calc((100% - 50px) * 0.55);
    min-width: 0;

    background-image: url("/assets/img/home/hero.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* =========================================
   HERO — BROSZURY PDF
========================================= */

.home-hero__brochures {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;

    margin-top: 26px;
}

.home-hero__brochures-label {
    color: #a97b42;

    font-family: "Inter", sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    line-height: 1.5;
    text-transform: uppercase;
}

.home-hero__brochures-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 30px;
}

.home-hero__brochure {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #1f2925;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;

    transition: color 0.25s ease;
}

.home-hero__brochure-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;

    color: #a97b42;
}

.home-hero__brochure-arrow {
    width: 15px;
    height: 15px;
    flex-shrink: 0;

    color: #a97b42;

    transition: transform 0.25s ease;
}

.home-hero__brochure:hover {
    color: #a97b42;
}

.home-hero__brochure:hover .home-hero__brochure-arrow {
    transform: translate(3px, -3px);
}

.home-hero__brochure:focus-visible {
    outline: 2px solid #a97b42;
    outline-offset: 5px;
}

/* MOBILE */

@media (max-width: 600px) {

    .home-hero__brochures {
        margin-top: 24px;
        gap: 14px;
    }

    .home-hero__brochures-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .home-hero__brochure {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__brochure,
    .home-hero__brochure-arrow {
        transition: none;
    }
}


@media (max-width: 1450px) {
    .home-hero__title{
        font-size: 45px;
    }
}

@media (max-width: 1240px) {
    .home-hero__title{
        font-size: 45px;
    }
    .home-hero__container{
        padding: 0px 50px;
    }
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {
    .home-hero__container {
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 0px 24px;
    }

    .home-hero__content {
        order: 1;
    }

    .home-hero__media {
        order: 2;
        min-height: 460px;
    }

    .home-hero__title {
        font-size: 32px;
    }

    .home-hero__lead {
        max-width: 100%;
        margin-top: 28px;
        font-size: 18px;
    }

    .home-hero__actions {
        margin-top: 34px;
    }

    .home-hero__button--primary {
        min-width: 280px;
        min-height: 64px;
    }

    .home-hero__button--secondary {
        min-height: 64px;
    }

    .home-hero__footer {
        margin-top: 42px;
        font-size: 12px;
    }

    
    .home-hero {

        width: 100%;
        height: 100%;

    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 740px) {



    .home-hero__container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;

        width: 100%;
        height: auto;
        min-height: 0;

        padding: 40px 20px 0;
        margin: 0 auto;
        gap: 30px;
    }

    .home-hero__content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;

        flex: 0 0 auto;
        width: 100%;
        height: auto;
        min-width: 0;

        gap: 20px;
    }

    .home-hero__media {
        flex: 0 0 auto;

        width: 100%;
        height: 400px;
        min-height: 0;

        background-size: cover;
        background-position: center;
    }

    .home-hero__eyebrow {
        margin: 0;
        font-size: 12px;
        letter-spacing: 0.16em;
    }

    .home-hero__title {
        margin: 0;
        font-size: clamp(42px, 13vw, 60px);
        line-height: 0.96;
    }

    .home-hero__lead {
        margin: 0;
        font-size: 18px;
        line-height: 1.6;
    }

    .home-hero__actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: start;

        width: 100%;
        margin: 8px 0 0;
        gap: 35px;
    }

    .home-hero__button--primary {
        width: 45%;
        min-width: 0;
    }
    .home-hero__button--secondary {
        width: auto !important;
        min-width: 0;
    }

    .home-hero__button--primary {
        min-height: 58px;
        font-size: 16px;
    }

    .home-hero__button--secondary {
        min-height: 54px;
        justify-content: space-between;
        padding: 0;
        font-size: 16px;
    }

    .home-hero__footer {
        width: 100%;
        margin: 8px 0 0;
        padding-top: 18px;

        font-size: 12px;
        letter-spacing: 0.16em;
    }
}

@media (max-width: 588px) {
    .home-hero__title {
        margin: 0;
        font-size: clamp(22px, 13vw, 40px);
        line-height: 0.96;
    }
    .home-hero__button--primary {
        width: 55%;
        min-width: 0;
    }
    .home-hero__lead{
        font-size: 16px;
    }
    .home-hero__lead br{
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__button,
    .home-hero__button svg {
        transition-duration: 0.01ms !important;
    }
}

/* MBF-PERF-MOBILE-HERO */
@media (max-width: 740px) {
    .home-hero__media {
        background-image: url("/assets/img/home/hero-mobile.webp");
    }
}
