/* =========================
   FONT
========================= */

@font-face {
    font-family: 'Bosch Sans';
    src: url('../fonts/BoschSans-Regular-v5_003.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bosch Sans';
    src: url('../fonts/BoschSans-Bold-v5_003.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Bosch Sans';
    src: url('../fonts/BoschSans-Light-v5_003.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* =========================
   BASE
========================= */

html,
body {
    min-height: 100%;
}

body {
    font-family: 'Bosch Sans', Arial, sans-serif;
}

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

.home-hero {
    position: relative;
    min-height: 100svh;
    color: #ffffff;
    overflow: hidden;
    background: #000000;
}

.home-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.18)),
        url("../img/hero-bg.jpg") center center / cover no-repeat;
    z-index: 1;
}

.home-hero__overlay {
    position: relative;
    z-index: 2;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:
        clamp(20px, 2vw, 28px)
        clamp(16px, 2vw, 24px);
}

.home-hero__inner {
    width: 100%;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 2vh, 26px);
}

/* =========================
   BRANDING TOP
========================= */

.home-branding {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(6px, 1vh, 12px);
}

.home-branding__logo {
    width: clamp(54px, 5.5vw, 78px);
    height: auto;
    display: block;
}

.home-branding__title-image {
    width: min(86vw, 540px);
    height: auto;
    display: block;
}

.home-branding__subtitle {
    font-size: clamp(18px, 1.65vw, 28px);
    line-height: 1;
    font-weight: 700;
    color: #ffffff;
    text-shadow:
        0 1px 1px rgba(0, 0, 0, 0.35),
        0 0 10px rgba(255, 255, 255, 0.08);
}

/* =========================
   CARD
========================= */

.home-card {
    width: min(100%, 572px);
    background: rgba(255, 255, 255, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0;
    padding:
        clamp(24px, 3vw, 34px)
        clamp(22px, 3.2vw, 38px);
    text-align: left;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
    color: #ffffff;
}

.home-card__eyebrow {
    margin: 0 0 14px;
    font-size: clamp(12px, 0.95vw, 14px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #dce8ff;
}

.home-card__title {
    margin: 0 0 16px;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    max-width: 12ch;
}

.home-card__text {
    margin: 0 0 24px;
    max-width: 460px;
    font-size: clamp(16px, 1.15vw, 19px);
    line-height: 1.45;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.94);
}

.home-card__alert {
    margin-bottom: 18px;
    border-radius: 10px;
}

.home-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 240px;
    min-height: 54px;
    padding: 14px 24px;
    background: #17335C;
    border: 0;
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(10, 4, 61, 0.28);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.home-card__cta:hover,
.home-card__cta:focus {
    background: #122947;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(20, 3, 61, 0.34);
}

.home-card__meta {
    margin-top: 14px;
    font-size: clamp(13px, 0.95vw, 15px);
    line-height: 1.3;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.84);
}

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

@media (max-width: 991.98px) {
    .home-hero__overlay {
        padding: 18px 16px;
    }

    .home-hero__inner {
        gap: 14px;
    }

    .home-branding__title-image {
        width: min(84vw, 470px);
    }

    .home-card {
        width: min(100%, 540px);
        padding: 26px 24px;
    }

    .home-card__title {
        font-size: clamp(32px, 6vw, 46px);
        max-width: 10ch;
    }

    .home-card__text {
        font-size: 16px;
        line-height: 1.42;
        margin-bottom: 20px;
    }

    .home-card__cta {
        min-width: 220px;
        min-height: 50px;
        font-size: 20px;
    }
}

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

@media (max-width: 767.98px) {
    .home-hero__bg {
        background:
            linear-gradient(to bottom, rgba(0, 0, 0, 0.44), rgba(0, 0, 0, 0.22)),
            url("../img/hero-bg.jpg") center center / cover no-repeat;
    }

    .home-hero__overlay {
        align-items: center;
        padding: 14px 12px;
    }

    .home-hero__inner {
        gap: 12px;
        max-width: 100%;
    }

    .home-branding {
        gap: 4px;
    }

    .home-branding__logo {
        width: 48px;
    }

    .home-branding__title-image {
        width: min(92vw, 390px);
    }

    .home-branding__subtitle {
        font-size: clamp(15px, 4.8vw, 22px);
    }

    .home-card {
        width: 100%;
        max-width: 100%;
        padding: 20px 18px;
    }

    .home-card__eyebrow {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .home-card__title {
        margin-bottom: 12px;
        font-size: clamp(27px, 8.2vw, 38px);
        line-height: 0.98;
        max-width: 10.5ch;
    }

    .home-card__text {
        margin-bottom: 16px;
        font-size: 14px;
        line-height: 1.36;
        max-width: none;
    }

    .home-card__cta {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        font-size: 18px;
        padding: 12px 18px;
    }

    .home-card__meta {
        margin-top: 10px;
        font-size: 12px;
    }
}

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

@media (max-width: 380px), (max-height: 740px) {
    .home-hero__overlay {
        padding: 10px 10px;
    }

    .home-hero__inner {
        gap: 10px;
    }

    .home-branding__logo {
        width: 42px;
    }

    .home-branding__title-image {
        width: min(90vw, 340px);
    }

    .home-branding__subtitle {
        font-size: 14px;
    }

    .home-card {
        padding: 16px 15px;
    }

    .home-card__eyebrow {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .home-card__title {
        font-size: clamp(24px, 7.6vw, 32px);
        margin-bottom: 10px;
    }

    .home-card__text {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .home-card__cta {
        min-height: 44px;
        font-size: 16px;
    }

    .home-card__meta {
        margin-top: 8px;
        font-size: 11px;
    }
}