/* Bodoni Moda ora sta in css/caratteri.css, servito dal sito.
   Qui c'era un @import a fonts.googleapis.com. */

.home-premium-page .home-hero {
    position: relative;
    isolation: isolate;
    min-height: 96vh;
    min-height: 96svh;
    padding: clamp(150px, 18vh, 210px) 0 clamp(72px, 10vh, 112px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #11110f;
    text-align: left;
}

.home-premium-page .home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background-image: url("../img/hero.jpg");
    background-position: center 46%;
    background-size: cover;
    background-repeat: no-repeat;
}

.home-premium-page .home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(13, 13, 11, 0.9) 0%, rgba(13, 13, 11, 0.72) 30%, rgba(13, 13, 11, 0.2) 60%, rgba(13, 13, 11, 0.08) 100%),
        linear-gradient(0deg, rgba(13, 13, 11, 0.62) 0%, transparent 42%);
}

.home-premium-page .home-hero > .container {
    width: min(90%, 1280px);
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: clamp(18px, 2vw, 30px);
}

.home-premium-page .home-hero-content {
    grid-column: 1 / span 6;
    max-width: 650px;
    padding: 0;
    color: #f4f0e7;
}

.home-premium-page .home-hero-small {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 22px;
    color: #b99a5f;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.18em;
}

.home-premium-page .home-hero-small::before {
    content: "";
    width: 42px;
    height: 1px;
    flex: 0 0 auto;
    background: currentColor;
}

.home-premium-page .home-hero h1 {
    max-width: 680px;
    margin: 0;
    color: #f4f0e7;
    font-family: "Bodoni Moda", Georgia, serif;
    font-size: clamp(3.2rem, 4.35vw, 4.2rem);
    font-weight: 500;
    line-height: 1.02;
    letter-spacing: 0;
}

.home-premium-page .home-hero p {
    max-width: 570px;
    margin: 26px 0 0;
    color: rgba(244, 240, 231, 0.82);
    font-family: var(--font-body);
    font-size: clamp(0.96rem, 1.25vw, 1.06rem);
    line-height: 1.75;
}

.home-premium-page .home-hero .hero-buttons {
    margin-top: 34px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.home-premium-page .home-hero .btn-primary,
.home-premium-page .home-hero .btn-outline {
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.04em;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.home-premium-page .home-hero .btn-primary {
    border: 1px solid #b99a5f;
    background: #b99a5f;
    color: #11110f;
}

.home-premium-page .home-hero .btn-outline {
    position: relative;
    min-height: 0;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #f4f0e7;
}

.home-premium-page .home-hero .btn-outline::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: rgba(185, 154, 95, 0.75);
    transform-origin: left;
    transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .home-premium-page .home-hero .btn-primary:hover {
        border-color: #d0b77f;
        background: #d0b77f;
        color: #11110f;
        transform: none;
        box-shadow: none;
    }

    .home-premium-page .home-hero .btn-outline:hover {
        background: transparent;
        color: #d0b77f;
    }

    .home-premium-page .home-hero .btn-outline:hover::after {
        transform: scaleX(0.55);
    }
}

.home-premium-page .home-hero .btn-primary:focus-visible,
.home-premium-page .home-hero .btn-outline:focus-visible {
    outline: 2px solid #f4f0e7;
    outline-offset: 4px;
}

.home-premium-page .home-hero .home-hero-small,
.home-premium-page .home-hero h1,
.home-premium-page .home-hero p,
.home-premium-page .home-hero .hero-buttons {
    opacity: 0;
    transform: translateY(16px);
    animation: home-hero-enter 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.home-premium-page .home-hero h1 {
    animation-delay: 0.08s;
}

.home-premium-page .home-hero p {
    animation-delay: 0.16s;
}

.home-premium-page .home-hero .hero-buttons {
    animation-delay: 0.24s;
}

@keyframes home-hero-enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .home-premium-page .home-hero {
        min-height: 94vh;
        min-height: 94svh;
        padding: 126px 0 58px;
        align-items: flex-end;
        text-align: left;
    }

    .home-premium-page .home-hero::before {
        background-position: 58% center;
    }

    .home-premium-page .home-hero::after {
        background:
            linear-gradient(0deg, #0d0d0b 0%, rgba(13, 13, 11, 0.98) 43%, rgba(13, 13, 11, 0.78) 57%, rgba(13, 13, 11, 0.08) 78%),
            linear-gradient(90deg, rgba(13, 13, 11, 0.32), transparent 70%);
    }

    .home-premium-page .home-hero > .container {
        width: min(88%, 560px);
        grid-template-columns: repeat(4, minmax(0, 1fr));
        column-gap: 16px;
    }

    .home-premium-page .home-hero-content {
        grid-column: 1 / -1;
        max-width: none;
    }

    .home-premium-page .home-hero-small {
        margin-bottom: 16px;
        font-size: 0.66rem;
    }

    .home-premium-page .home-hero-small::before {
        width: 30px;
    }

    .home-premium-page .home-hero h1 {
        max-width: 520px;
        font-size: clamp(2.55rem, 11vw, 3.4rem);
        line-height: 1.02;
    }

    .home-premium-page .home-hero p {
        max-width: 500px;
        margin-top: 20px;
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .home-premium-page .home-hero .hero-buttons {
        margin-top: 26px;
        align-items: flex-start;
        gap: 18px;
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .home-premium-page .home-hero {
        min-height: 92vh;
        min-height: 92svh;
        padding-bottom: 44px;
    }

    .home-premium-page .home-hero h1 {
        font-size: clamp(2.35rem, 11.5vw, 2.9rem);
    }

    .home-premium-page .home-hero .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-premium-page .home-hero .home-hero-small,
    .home-premium-page .home-hero h1,
    .home-premium-page .home-hero p,
    .home-premium-page .home-hero .hero-buttons {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Residenza Gli Orti flagship */
.home-premium-page #residenza {
    padding: 104px 0 64px;
    overflow: hidden;
    background: #f1ece2;
}

.home-premium-page #residenza .orti-flagship-container {
    width: min(90%, 1380px);
    max-width: 1380px;
}

.home-premium-page #residenza .orti-flagship-heading {
    position: relative;
    padding-top: 23px;
    border-top: 1px solid rgba(23, 23, 19, 0.22);
}

.home-premium-page #residenza .orti-flagship-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.55fr);
    align-items: end;
    gap: 64px;
}

.home-premium-page #residenza .orti-flagship-eyebrow {
    display: block;
    margin-bottom: 35px;
    color: #9b7a3e;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-premium-page #residenza .orti-flagship-heading h2 {
    margin: 0;
    color: #171713;
    font-family: "Bodoni Moda", Georgia, serif;
    font-size: 5.6rem;
    font-weight: 500;
    line-height: 0.98;
    letter-spacing: 0;
}

.home-premium-page #residenza .orti-flagship-heading-row > p {
    max-width: 440px;
    margin: 0 0 7px;
    color: #56534c;
    font-family: var(--font-body);
    font-size: 0.96rem;
    line-height: 1.75;
}

.home-premium-page #residenza .orti-flagship-stage {
    margin-top: 54px;
}

.home-premium-page #residenza .orti-flagship-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1;
    margin: 0;
    overflow: hidden;
    background: #cbc3b5;
}

.home-premium-page #residenza .orti-flagship-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 65%, rgba(11, 11, 10, 0.26) 100%);
}

.home-premium-page #residenza .orti-flagship-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 48% center;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.6s ease;
}

.home-premium-page #residenza .orti-flagship-visual figcaption {
    position: absolute;
    z-index: 1;
    bottom: 25px;
    left: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.home-premium-page #residenza .orti-flagship-panel {
    width: 100%;
    margin: 0;
    padding: 40px 44px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(48px, 6vw, 88px);
    color: #f4f0e7;
    background: #151512;
    border-top: 1px solid #a88648;
    box-shadow: 0 20px 48px rgba(29, 25, 18, 0.14);
}

.home-premium-page #residenza .orti-flagship-signature {
    display: block;
    margin-bottom: 13px;
    color: #b99a5f;
    font-family: var(--font-body);
    font-size: 0.67rem;
    font-weight: 650;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-premium-page #residenza .orti-flagship-panel h3 {
    max-width: 440px;
    margin: 0;
    color: #f4f0e7;
    font-family: "Bodoni Moda", Georgia, serif;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0;
}

.home-premium-page #residenza .orti-flagship-panel-copy > p {
    max-width: 460px;
    margin: 14px 0 18px;
    color: rgba(244, 240, 231, 0.68);
    font-family: var(--font-body);
    font-size: 0.79rem;
    line-height: 1.65;
}

.home-premium-page #residenza .orti-flagship-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
    border-top: 1px solid rgba(185, 154, 95, 0.34);
}

.home-premium-page #residenza .orti-flagship-panel-details {
    min-width: 0;
}

.home-premium-page #residenza .orti-flagship-facts > div {
    min-width: 0;
    padding: 11px 10px 10px 0;
    border-bottom: 1px solid rgba(185, 154, 95, 0.24);
}

.home-premium-page #residenza .orti-flagship-facts > div:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid rgba(185, 154, 95, 0.24);
}

.home-premium-page #residenza .orti-flagship-facts dt {
    margin-bottom: 5px;
    color: #a88a54;
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.home-premium-page #residenza .orti-flagship-facts dd {
    margin: 0;
    color: #f4f0e7;
    font-family: var(--font-body);
    font-size: 0.82rem;
    line-height: 1.35;
}

.home-premium-page #residenza .orti-flagship-cta {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    margin-top: 18px;
    padding: 8px 0 7px;
    color: #f4f0e7;
    border-bottom: 1px solid #a88648;
    font-family: var(--font-body);
    font-size: 0.67rem;
    font-weight: 650;
    line-height: 1.4;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.25s ease, gap 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-premium-page #residenza .orti-flagship-cta i {
    color: #b99a5f;
}

@media (hover: hover) and (pointer: fine) {
    .home-premium-page #residenza .orti-flagship-stage:hover .orti-flagship-visual img {
        transform: scale(1.025);
        filter: saturate(0.94);
    }

    .home-premium-page #residenza .orti-flagship-cta:hover {
        gap: 38px;
        color: #d0b77f;
    }
}

.home-premium-page #residenza .orti-flagship-cta:focus-visible {
    outline: 2px solid #b99a5f;
    outline-offset: 5px;
}

@media (max-width: 1100px) {
    .home-premium-page #residenza {
        padding: 88px 0 64px;
    }

    .home-premium-page #residenza .orti-flagship-heading-row {
        grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
        gap: 40px;
    }

    .home-premium-page #residenza .orti-flagship-heading h2 {
        font-size: 4.35rem;
    }

    .home-premium-page #residenza .orti-flagship-panel {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 34px;
        padding: 34px;
    }

    .home-premium-page #residenza .orti-flagship-panel h3,
    .home-premium-page #residenza .orti-flagship-panel-copy > p {
        max-width: 560px;
    }

    .home-premium-page #residenza .orti-flagship-facts {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-premium-page #residenza .orti-flagship-facts > div + div {
        padding-left: 15px;
        border-left: 1px solid rgba(185, 154, 95, 0.24);
    }

    .home-premium-page #residenza .orti-flagship-facts > div:nth-child(even) {
        padding-left: 15px;
    }
}

@media (max-width: 768px) {
    .home-premium-page #residenza {
        padding: 76px 0 64px;
    }

    .home-premium-page #residenza .orti-flagship-container {
        width: min(88%, 620px);
    }

    .home-premium-page #residenza .orti-flagship-heading-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-premium-page #residenza .orti-flagship-eyebrow {
        margin-bottom: 25px;
        font-size: 0.62rem;
        letter-spacing: 0.1em;
    }

    .home-premium-page #residenza .orti-flagship-heading h2 {
        font-size: 3.65rem;
        line-height: 1;
    }

.home-premium-page #residenza .orti-flagship-heading-row > p {
        max-width: 520px;
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .home-premium-page #residenza .orti-flagship-stage {
        margin-top: 42px;
    }

    .home-premium-page #residenza .orti-flagship-visual {
        width: 100%;
        aspect-ratio: 1.5 / 1;
    }

    .home-premium-page #residenza .orti-flagship-visual img {
        object-position: 56% center;
    }

    .home-premium-page #residenza .orti-flagship-visual figcaption {
        right: 20px;
        bottom: 18px;
        left: 20px;
        font-size: 0.58rem;
        line-height: 1.5;
    }

    .home-premium-page #residenza .orti-flagship-panel {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 34px 33px;
    }

    .home-premium-page #residenza .orti-flagship-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-premium-page #residenza .orti-flagship-facts > div:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .home-premium-page #residenza .orti-flagship-panel h3 {
        font-size: 1.85rem;
    }
}

@media (max-width: 480px) {
    .home-premium-page #residenza .orti-flagship-heading h2 {
        font-size: 2.95rem;
    }

    .home-premium-page #residenza .orti-flagship-visual {
        aspect-ratio: 1.35 / 1;
    }

    .home-premium-page #residenza .orti-flagship-panel {
        width: 100%;
        padding: 32px 25px 29px;
    }

    .home-premium-page #residenza .orti-flagship-panel h3 {
        font-size: 1.65rem;
    }

    .home-premium-page #residenza .orti-flagship-cta {
        gap: 18px;
        font-size: 0.68rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-premium-page #residenza .orti-flagship-visual img,
    .home-premium-page #residenza .orti-flagship-cta {
        transition: none;
    }
}