/* =========================================================
   INDEX HERO - Artemide Capital Partners
   Layout pulito e bilanciato
   ========================================================= */

.acp-home-hero {
    position: relative;
    width: 100%;
    min-height: calc(100svh - var(--header-h));
    background: #006672;
    color: #f3f1ed;
    overflow: hidden;
    font-family: 'SF Pro Display', 'Anuphan', sans-serif;
    margin-bottom: 80px;
}

.acp-home-hero__inner {
    position: relative;
    z-index: 2;
    max-width: none;
    margin: 0 auto;
    min-height: calc(100svh - var(--header-h));
    padding: 72px 0 88px;
    box-sizing: border-box;
}

.acp-home-hero__content {
    position: relative;
    z-index: 3;
    max-width: 100%;
    padding-top: 6px;
}

.acp-home-hero__title {
    position: relative;
    z-index: 3;
    margin: 0;
    max-width: 1180px;
    font-size: clamp(78px, 7.35vw, 112px);
    line-height: 0.9;
    font-weight: 300;
    letter-spacing: -0.065em;
    color: #f3f1ed;
}

.acp-home-hero__text {
    max-width: 640px;
    margin-top: 24px;
    font-size: 21px;
    line-height: 1.28;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #f3f1ed;
}

.acp-home-hero__image {
    position: absolute;
    right: 0;
    top: 0;
    width: 48.5%;
    height: 100%;
    background: #d6d6d6;
    z-index: 1;
    overflow: hidden;
}

.acp-home-hero__image::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
}

.acp-home-hero__image::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(
            45deg,
            rgba(255,255,255,0.08) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255,255,255,0.08) 50%,
            rgba(255,255,255,0.08) 75%,
            transparent 75%,
            transparent
        );
    background-size: 22px 22px;
    opacity: 0.15;
}

.acp-home-hero__image--photo {
    background-image: url('assets/img/apertura-sito.png');
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.acp-home-hero__image--photo::before,
.acp-home-hero__image--photo::after {
    display: none;
}

/* =========================================================
   DESKTOP / NOTEBOOK
   Testo centrato verticalmente e bilanciato nello spazio verde
   ========================================================= */
@media (min-width: 1200px) {
    .acp-home-hero__inner {
        display: flex;
        align-items: center;
        min-height: calc(100svh - var(--header-h));
        padding: 0;
    }

    .acp-home-hero .site-shell {
        display: flex;
        align-items: center;
        min-height: calc(100svh - var(--header-h));
        width: 100%;
    }

    .acp-home-hero__content {
        width: 51.5%;
        max-width: none;
        min-height: calc(100svh - var(--header-h));
        display: flex;
        flex-direction: column;
        justify-content: center;     /* centratura verticale */
        align-items: center;         /* centratura orizzontale della massa del contenuto */
        text-align: left;
        padding-left: clamp(40px, 4vw, 88px);
        padding-right: clamp(40px, 4vw, 88px);
        margin: 0;
    }

   .acp-home-hero__title {
        width: 100%;
        max-width: 860px;
        margin: 0 auto;
    }

    .acp-home-hero__text {
        width: 100%;
        max-width: 860px;
        margin: 24px auto 0;
        text-align: left;
    }
}

/* =========================================================
   NOTEBOOK / DESKTOP MEDI
   Riduce leggermente l’impatto del titolo
   ========================================================= */
@media (min-width: 1200px) and (max-width: 1599.98px) {
    .acp-home-hero__title {
        max-width: 760px;
        font-size: clamp(62px, 5.9vw, 92px);
        line-height: 0.92;
        letter-spacing: -0.058em;
    }

    .acp-home-hero__text {
        max-width: 760px;
        margin-top: 24px;
        font-size: 20px;
        line-height: 1.24;
    }

    .acp-home-hero__image {
        width: 46%;
        height: 100%;
    }

    .acp-home-hero__content {
        width: 54%;
    }
}

/* =========================================================
   TABLET
   Foto sotto al testo
   ========================================================= */
@media (max-width: 1199.98px) {
    .acp-home-hero {
        min-height: auto;
        margin-bottom: 48px;
    }

    .acp-home-hero__inner {
        min-height: auto;
        padding: 60px 0 32px;
    }

    .acp-home-hero__content {
        max-width: 100%;
        padding-top: 0;
    }

    .acp-home-hero__title {
        max-width: 100%;
        font-size: clamp(46px, 6.2vw, 72px);
        line-height: 0.94;
        letter-spacing: -0.055em;
    }

    .acp-home-hero__text {
        max-width: 100%;
        margin-top: 20px;
        font-size: 17px;
        line-height: 1.2;
    }

    .acp-home-hero__image {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        height: clamp(320px, 42vw, 430px);
        margin-top: 28px;
    }

    .acp-home-hero__image--photo {
        background-position: center center;
    }
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 767.98px) {
    .acp-home-hero {
        min-height: auto;
        margin-bottom: 24px;
    }

    .acp-home-hero__inner {
        min-height: auto;
        padding: 40px 0 24px;
    }

    .acp-home-hero__content {
        max-width: 100%;
    }

    .acp-home-hero__title {
        max-width: 100%;
        font-size: clamp(34px, 9vw, 48px);
        line-height: 0.96;
        letter-spacing: -0.05em;
    }

    .acp-home-hero__text {
        margin-top: 18px;
        max-width: 100%;
        font-size: 16px;
        line-height: 1.18;
    }

    .acp-home-hero__image {
        width: 100%;
        height: 240px;
        margin-top: 24px;
    }
}