/* Giulio Sansò — Home editoriale 1.5.3
   Front-page only. No external fonts, no JS, no page-builder dependency. */

:root {
    --gs-home-ink: #181a1b;
    --gs-home-charcoal: #20262a;
    --gs-home-ivory: #f4f1eb;
    --gs-home-warm-white: #fbfaf7;
    --gs-home-muted: #666963;
    --gs-home-line: rgba(24, 26, 27, .14);
    --gs-home-max: 1180px;
    --gs-home-serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
    --gs-home-sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.gs-home-editoriale-active {
    background: var(--gs-home-warm-white);
    color: var(--gs-home-ink);
}

body.gs-home-editoriale-active .wp-site-blocks {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body.gs-home-editoriale-active .wp-site-blocks > header.wp-block-template-part,
body.gs-home-editoriale-active .wp-site-blocks > footer.wp-block-template-part,
body.gs-home-editoriale-active main .wp-block-post-title,
body.gs-home-editoriale-active main > .wp-block-group:first-child > .wp-block-post-title {
    display: none !important;
}

body.gs-home-editoriale-active main,
body.gs-home-editoriale-active .wp-block-post-content,
body.gs-home-editoriale-active .entry-content {
    margin-block-start: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

body.gs-home-editoriale-active .wp-block-post-content > .gs-home,
body.gs-home-editoriale-active .entry-content > .gs-home,
.gs-home {
    width: 100vw !important;
    max-width: none !important;
    margin: 0 calc(50% - 50vw) !important;
    overflow: clip;
    font-family: var(--gs-home-sans);
    font-size: 17px;
    line-height: 1.58;
    color: var(--gs-home-ink);
    background: var(--gs-home-warm-white);
}

.gs-home *, .gs-home *::before, .gs-home *::after { box-sizing: border-box; }
.gs-home img { display: block; max-width: 100%; }
.gs-home a { color: inherit; text-decoration: none; }

.gs-home-section {
    width: min(calc(100% - 72px), var(--gs-home-max));
    margin: 0 auto;
}

.gs-home h1, .gs-home h2, .gs-home h3 {
    font-family: var(--gs-home-serif);
    font-weight: 400;
    letter-spacing: -.035em;
    margin: 0;
}

.gs-home h2 {
    font-size: clamp(2.5rem, 4.3vw, 4.55rem);
    line-height: .99;
}

.gs-home h3 { line-height: 1.05; }
.gs-home p { margin: 0; }

.gs-home-kicker {
    font-size: .72rem;
    font-weight: 650;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #555b5c;
    margin-bottom: 24px !important;
}
.gs-home-kicker-light { color: rgba(255,255,255,.82); }

/* Header + hero */
.gs-home-hero {
    position: relative;
    min-height: min(92vh, 900px);
    height: 820px;
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(10,12,13,.76) 0%, rgba(10,12,13,.52) 34%, rgba(10,12,13,.12) 66%, rgba(10,12,13,.20) 100%),
        linear-gradient(0deg, rgba(8,10,10,.50) 0%, transparent 38%),
        url("../images/home-san-rocco.jpg");
    background-size: cover;
    background-position: center 36%;
}

.gs-home-header {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
}
body.admin-bar .gs-home-header { top: 32px; }

.gs-home-header-inner {
    width: min(calc(100% - 72px), 1320px);
    height: 96px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr auto;
    align-items: center;
    gap: 34px;
}

.gs-home-brand { display: inline-flex; flex-direction: column; width: max-content; }
.gs-home-brand-name {
    font-family: var(--gs-home-serif);
    font-size: 1.62rem;
    line-height: 1;
    letter-spacing: .08em;
}
.gs-home-brand-role {
    margin-top: 5px;
    font-size: .64rem;
    line-height: 1;
    letter-spacing: .30em;
}

.gs-home-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    font-size: .83rem;
}
.gs-home-nav a { position: relative; padding: 12px 0; opacity: .9; }
.gs-home-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;
    height: 1px;
    background: #fff;
    transition: right .25s ease;
}
.gs-home-nav a:hover::after, .gs-home-nav a[aria-current="page"]::after { right: 0; }

.gs-home-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 999px;
    padding: 13px 24px;
    font-size: .69rem;
    font-weight: 650;
    letter-spacing: .20em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease;
}
.gs-home-header-cta:hover { background: #fff; color: var(--gs-home-ink); }
.gs-home-mobile-nav { display: none; position: relative; }

.gs-home-hero-inner {
    position: relative;
    z-index: 2;
    width: min(calc(100% - 72px), 1320px);
    height: 100%;
    margin: 0 auto;
    padding-top: 185px;
    display: flex;
    align-items: center;
}

.gs-home-hero-copy { width: min(660px, 58vw); margin-top: -10px; }
.gs-home-hero h1 {
    font-size: clamp(4rem, 6.2vw, 6.55rem);
    line-height: .84;
    color: #fff;
}
.gs-home-hero-lead {
    width: min(560px, 100%);
    margin-top: 28px !important;
    font-size: 1rem;
    line-height: 1.55;
    color: rgba(255,255,255,.92);
}

.gs-home-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    margin-top: 30px;
    padding: 15px 24px;
    font-size: .68rem;
    font-weight: 650;
    letter-spacing: .20em;
    text-transform: uppercase;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}
.gs-home-button:hover { transform: translateY(-2px); }
.gs-home-button-light { background: #fff; color: #17191a !important; }
.gs-home-button-outline { border: 1px solid rgba(255,255,255,.6); color: #fff !important; }
.gs-home-button-outline:hover { background: #fff; color: #17191a !important; }

.gs-home-photo-credit {
    position: absolute;
    left: 0;
    bottom: 34px;
    display: flex;
    flex-direction: column;
    font-size: .75rem;
    line-height: 1.35;
    color: rgba(255,255,255,.86);
}
.gs-home-photo-credit::before {
    content: "";
    width: 76px;
    height: 1px;
    background: rgba(255,255,255,.72);
    margin-bottom: 14px;
}

.gs-home-hero-territory {
    position: absolute;
    right: 0;
    bottom: 34px;
    width: 230px;
    border-left: 1px solid rgba(255,255,255,.38);
    padding-left: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: .68rem;
    font-weight: 650;
    letter-spacing: .18em;
    line-height: 1.45;
    text-transform: uppercase;
}
.gs-home-territory-city {
    font-family: var(--gs-home-serif);
    font-size: 2.1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

/* Experience */
.gs-home-experience {
    padding-top: 118px;
    padding-bottom: 128px;
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    gap: 86px;
    align-items: center;
}
.gs-home-experience-copy h2 { margin-bottom: 34px; }
.gs-home-experience-copy > p:not(.gs-home-kicker) {
    max-width: 630px;
    color: #555a5b;
    margin-top: 17px;
}
.gs-home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 30px;
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
    font-size: .69rem;
    font-weight: 650;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.gs-home-experience-visual { position: relative; min-height: 635px; }
.gs-home-facade-main {
    position: absolute;
    right: 0;
    top: 0;
    width: 78%;
    margin: 0;
}
.gs-home-facade-main img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: 50% 46%;
    border-radius: 16px;
}
.gs-home-facade-main figcaption,
.gs-home-color-proof figcaption {
    margin-top: 9px;
    font-size: .67rem;
    letter-spacing: .08em;
    color: #6a6d6d;
}
.gs-home-color-proof {
    position: absolute;
    left: 0;
    bottom: 5px;
    z-index: 2;
    width: 45%;
    margin: 0;
    padding: 10px;
    background: var(--gs-home-warm-white);
    box-shadow: 0 20px 70px rgba(20,22,22,.16);
}
.gs-home-color-proof img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gs-home-experience-visual blockquote {
    position: absolute;
    right: 18px;
    bottom: 36px;
    z-index: 3;
    width: 255px;
    margin: 0;
    padding: 24px;
    background: rgba(31,35,36,.92);
    color: #fff;
    font-family: var(--gs-home-serif);
    font-size: 1.45rem;
    font-style: italic;
    line-height: 1.23;
}

/* Method */
.gs-home-method { background: #fff; border-top: 1px solid var(--gs-home-line); border-bottom: 1px solid var(--gs-home-line); }
.gs-home-method-inner { padding-top: 100px; padding-bottom: 105px; }
.gs-home-section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 68px;
    align-items: end;
    margin-bottom: 62px;
}
.gs-home-section-heading > p { color: var(--gs-home-muted); font-size: .92rem; }
.gs-home-section-heading-narrow { grid-template-columns: minmax(0, 1.25fr) .75fr; }
.gs-home-method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--gs-home-line); }
.gs-home-method-card { position: relative; padding: 58px 44px 12px 0; min-height: 390px; }
.gs-home-method-card + .gs-home-method-card { border-left: 1px solid var(--gs-home-line); padding-left: 44px; }
.gs-home-method-number {
    display: block;
    margin-bottom: -8px;
    font-family: var(--gs-home-serif);
    font-size: 7.2rem;
    line-height: 1;
    font-style: italic;
    color: #8c8983;
}
.gs-home-method-card h3 { font-size: 2.45rem; margin-bottom: 20px; }
.gs-home-method-card p { color: #595e5f; font-size: .92rem; }
.gs-home-method-card .gs-home-text-link { margin-top: 26px; }

/* Situations */
.gs-home-situations { background: var(--gs-home-ivory); padding: 110px 0 112px; }
.gs-home-situation-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--gs-home-line); }
.gs-home-situation { border-bottom: 1px solid var(--gs-home-line); min-height: 180px; padding: 35px 48px 35px 0; }
.gs-home-situation:nth-child(even) { border-left: 1px solid var(--gs-home-line); padding-left: 48px; }
.gs-home-situation-title { display: block; font-family: var(--gs-home-serif); font-size: 2rem; line-height: 1.05; }
.gs-home-situation p { margin-top: 11px; color: #5d6162; max-width: 470px; }
.gs-home-inline-link { display: inline-block; margin-top: 16px; font-size: .65rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; }
.gs-home-situation-link { display: block; }
.gs-home-situation-link:hover .gs-home-situation-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.gs-home-situations-link { margin-top: 44px; }

/* Guides */
.gs-home-guides { padding: 112px 0 118px; background: var(--gs-home-warm-white); }
.gs-home-guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gs-home-guide-card { min-width: 0; }
.gs-home-guide-image-link { display: block; overflow: hidden; background: #e9e6df; aspect-ratio: 4 / 3; }
.gs-home-guide-image-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gs-home-guide-card:hover .gs-home-guide-image-link img { transform: scale(1.025); }
.gs-home-guide-meta { margin-top: 20px; font-size: .63rem; font-weight: 650; letter-spacing: .19em; color: #6c6f6e; }
.gs-home-guide-card h3 { margin-top: 10px; font-size: clamp(1.65rem, 2.4vw, 2.25rem); }
.gs-home-guide-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.gs-home-guide-card .gs-home-text-link { margin-top: 18px; }
.gs-home-guides-all { margin-top: 50px; }

/* Final CTA */
.gs-home-final-cta {
    position: relative;
    color: #fff;
    background-image:
        linear-gradient(90deg, rgba(10,12,13,.87), rgba(10,12,13,.52)),
        url("../images/home-viale-vignola-cta.jpg");
    background-size: cover;
    background-position: center 42%;
}
.gs-home-final-cta-inner {
    min-height: 430px;
    padding: 88px 0;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 110px;
    align-items: center;
}
.gs-home-final-cta h2 { font-size: clamp(3.3rem, 5.4vw, 5.8rem); color: #fff; }
.gs-home-final-cta-copy > p { color: rgba(255,255,255,.8); max-width: 410px; }
.gs-home-final-actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.gs-home-final-secondary { margin-top: 30px; border-bottom: 1px solid rgba(255,255,255,.65); padding-bottom: 4px; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }

/* Footer */
.gs-home-footer { background: #111516; color: rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.11); }
.gs-home-footer-inner {
    padding: 55px 0 60px;
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr auto;
    gap: 45px;
    align-items: start;
}
.gs-home-footer .gs-home-brand-name { color: #fff; }
.gs-home-footer-brand {
    display: flex;
    align-items: baseline;
    gap: 18px;
    flex-wrap: wrap;
}
.gs-home-footer .gs-home-brand-role { margin-top: 0; }
.gs-home-footer-links, .gs-home-footer-contact, .gs-home-footer-legal { display: flex; flex-direction: column; gap: 9px; font-size: .79rem; }
.gs-home-footer a:hover { color: #fff; }

@media (max-width: 1050px) {
    .gs-home-header-inner { grid-template-columns: 230px 1fr auto; gap: 20px; }
    .gs-home-nav { gap: 22px; }
    .gs-home-experience { gap: 52px; }
    .gs-home-experience-visual blockquote { width: 220px; font-size: 1.25rem; }
}

@media (max-width: 860px) {
    body.admin-bar .gs-home-header { top: 46px; }
    .gs-home-section { width: min(calc(100% - 38px), var(--gs-home-max)); }
    .gs-home-header-inner { width: calc(100% - 38px); height: 78px; grid-template-columns: 1fr auto; }
    .gs-home-nav, .gs-home-header-cta { display: none; }
    .gs-home-mobile-nav { display: block; }
    .gs-home-mobile-nav summary { cursor: pointer; list-style: none; font-size: .69rem; letter-spacing: .16em; text-transform: uppercase; }
    .gs-home-mobile-nav summary::-webkit-details-marker { display: none; }
    .gs-home-mobile-panel {
        position: absolute;
        right: 0;
        top: 34px;
        width: 230px;
        padding: 18px;
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: rgba(17,20,21,.98);
        border: 1px solid rgba(255,255,255,.15);
    }
    .gs-home-mobile-panel a { padding: 9px 5px; font-size: .82rem; }
    .gs-home-brand-name { font-size: 1.35rem; }
    .gs-home-brand-role { font-size: .55rem; }

    .gs-home-hero { height: 760px; min-height: 0; background-size: auto 114%; background-repeat: no-repeat; background-position: 58% 37%; }
    .gs-home-hero-inner { width: calc(100% - 38px); padding-top: 145px; align-items: center; }
    .gs-home-hero-copy { width: 88%; }
    .gs-home-hero h1 { font-size: clamp(3.25rem, 10vw, 5rem); }
    .gs-home-hero-lead { font-size: .95rem; max-width: 520px; }
    .gs-home-hero-territory { display: none; }

    .gs-home-experience { padding: 86px 0 96px; grid-template-columns: 1fr; gap: 55px; }
    .gs-home-experience-visual { min-height: 610px; }
    .gs-home-facade-main { width: 86%; }
    .gs-home-facade-main img { height: 560px; }
    .gs-home-color-proof { width: 44%; }

    .gs-home-method-inner { padding: 82px 0 88px; }
    .gs-home-section-heading, .gs-home-section-heading-narrow { grid-template-columns: 1fr; gap: 22px; margin-bottom: 48px; }
    .gs-home-section-heading > p { max-width: 580px; }
    .gs-home-method-grid { grid-template-columns: 1fr; }
    .gs-home-method-card { padding: 44px 0 50px; min-height: 0; }
    .gs-home-method-card + .gs-home-method-card { border-left: 0; border-top: 1px solid var(--gs-home-line); padding-left: 0; }
    .gs-home-method-number { font-size: 6rem; }

    .gs-home-situations { padding: 86px 0 90px; }
    .gs-home-situation-grid { grid-template-columns: 1fr; }
    .gs-home-situation, .gs-home-situation:nth-child(even) { border-left: 0; padding: 30px 0; min-height: 0; }

    .gs-home-guides { padding: 86px 0 92px; }
    .gs-home-guide-grid { grid-template-columns: 1fr 1fr; gap: 36px 22px; }

    .gs-home-final-cta-inner { grid-template-columns: 1fr; gap: 32px; min-height: 480px; padding: 80px 0; }
    .gs-home-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
    .gs-home { font-size: 16px; }
    .gs-home-section { width: calc(100% - 32px); }
    .gs-home-header-inner, .gs-home-hero-inner { width: calc(100% - 32px); }
    .gs-home-hero { height: 700px; background-size: auto 116%; background-position: 61% 36%; }
    .gs-home-hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(9,11,12,.36), transparent 65%);
        pointer-events: none;
    }
    .gs-home-hero-inner { padding-top: 120px; z-index: 3; }
    .gs-home-hero-copy { width: 100%; }
    .gs-home-hero h1 { font-size: clamp(3.05rem, 14.6vw, 4.2rem); line-height: .88; }
    .gs-home-kicker { margin-bottom: 18px !important; }
    .gs-home-hero-lead { width: 94%; margin-top: 22px !important; }
    .gs-home-photo-credit { bottom: 22px; }

    .gs-home h2 { font-size: clamp(2.35rem, 11vw, 3.25rem); }
    .gs-home-experience { padding: 70px 0 80px; }
    .gs-home-experience-copy h2 br { display: none; }
    .gs-home-experience-visual { min-height: 510px; }
    .gs-home-facade-main { width: 94%; }
    .gs-home-facade-main img { height: 460px; border-radius: 12px; }
    .gs-home-color-proof { width: 50%; padding: 7px; }
    .gs-home-experience-visual blockquote { right: 0; bottom: 18px; width: 52%; font-size: 1.05rem; padding: 17px; }

    .gs-home-method-inner { padding: 70px 0 74px; }
    .gs-home-method-number { font-size: 5.2rem; }
    .gs-home-method-card h3 { font-size: 2.1rem; }

    .gs-home-situations { padding: 70px 0 72px; }
    .gs-home-situation-title { font-size: 1.75rem; }

    .gs-home-guides { padding: 70px 0 76px; }
    .gs-home-guide-grid { grid-template-columns: 1fr; }
    .gs-home-guide-card h3 { font-size: 2rem; }

    .gs-home-final-cta { background-position: 58% 62%; }
    .gs-home-final-cta-inner { padding: 68px 0; min-height: 500px; }
    .gs-home-final-actions { align-items: flex-start; flex-direction: column; gap: 0; }

    .gs-home-footer-inner { padding: 46px 0 50px; grid-template-columns: 1fr; gap: 28px; }
}

@media (prefers-reduced-motion: reduce) {
    .gs-home *, .gs-home *::before, .gs-home *::after { scroll-behavior: auto !important; transition: none !important; }
}


/* Core 1.5.4 — unica correzione richiesta: CTA finale più compatta e centrata. */
.gs-home-final-actions .gs-home-button {
    position: relative;
    width: 158px;
    height: 50px;
    min-width: 158px;
    padding: 0 38px 0 22px;
    justify-content: center;
    gap: 0;
    line-height: 1;
    text-align: center;
}
.gs-home-final-actions .gs-home-button > span {
    position: absolute;
    right: 17px;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}

/* Core 1.5.5 — requested corrections only: mobile fit + visible Parliamo. */
body.gs-home-editoriale-active { overflow-x: hidden; }
.gs-home h1,
.gs-home h2,
.gs-home h3,
.gs-home p { max-width: 100%; }

@media (max-width: 860px) {
    .gs-home-header-inner {
        grid-template-columns: minmax(0,1fr) auto auto;
        gap: 10px;
    }
    .gs-home-header-cta {
        display: inline-flex;
        gap: 8px;
        padding: 9px 12px;
        font-size: .56rem;
        letter-spacing: .14em;
        white-space: nowrap;
    }
    .gs-home-mobile-nav summary { padding-left: 2px; }
    .gs-home-hero-copy { max-width: 100%; }
    .gs-home-hero h1 {
        max-width: 100%;
        font-size: clamp(3rem, 9.4vw, 4.5rem);
        line-height: .91;
    }
}

@media (max-width: 560px) {
    .gs-home-header-inner,
    .gs-home-hero-inner { width: calc(100% - 28px); }
    .gs-home-brand-name { font-size: 1.16rem; }
    .gs-home-brand-role { font-size: .46rem; letter-spacing: .22em; }
    .gs-home-header-cta { padding: 8px 9px; font-size: .50rem; }
    .gs-home-mobile-nav summary { font-size: .53rem; }
    .gs-home-hero h1 {
        font-size: clamp(2.65rem, 12vw, 3.65rem);
        line-height: .93;
        letter-spacing: -.045em;
    }
    .gs-home-hero-lead { width: 100%; }
    .gs-home-experience-copy,
    .gs-home-section-heading > *,
    .gs-home-final-cta-inner > * { min-width: 0; }
}

@media (max-width: 390px) {
    .gs-home-header-inner { width: calc(100% - 22px); gap: 6px; }
    .gs-home-brand-name { font-size: 1.02rem; }
    .gs-home-brand-role { font-size: .41rem; letter-spacing: .18em; }
    .gs-home-header-cta { padding: 7px 8px; font-size: .47rem; }
    .gs-home-mobile-nav summary { font-size: .50rem; }
    .gs-home-hero h1 { font-size: clamp(2.45rem, 11.5vw, 3.15rem); }
}


/* Core 1.6.5 — approved situations intro only; the repetitive six-item grid is intentionally removed. */
.gs-home-situations-intro-only { padding-bottom: 64px; }
.gs-home-situations-intro-only .gs-home-section-heading { margin-bottom: 0; }
@media (max-width: 782px) {
  .gs-home-situations-intro-only { padding-top: 62px; padding-bottom: 48px; }
}


/* Core 1.6.6 — mobile-only fix for the approved Experience section.
   Prevents oversized type / horizontal clipping on phones without altering desktop. */
@media (max-width: 782px) {
    body.gs-home-editoriale-active {
        overflow-x: hidden;
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }
    .gs-home-experience {
        width: calc(100% - 32px);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-top: 64px;
        padding-bottom: 72px;
        display: block;
        overflow: hidden;
    }
    .gs-home-experience-copy {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .gs-home-experience-copy h2 {
        width: 100%;
        max-width: 100%;
        margin-bottom: 26px;
        font-size: clamp(2.1rem, 9vw, 2.75rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -.025em !important;
        white-space: normal !important;
        overflow-wrap: normal;
        word-break: normal;
    }
    .gs-home-experience-copy > p:not(.gs-home-kicker) {
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
        font-size: 1rem;
        line-height: 1.55;
        overflow-wrap: break-word;
        word-break: normal;
    }
    .gs-home-experience-copy .gs-home-text-link {
        max-width: 100%;
    }
    .gs-home-experience-visual {
        margin-top: 46px;
    }
}

@media (max-width: 390px) {
    .gs-home-experience { width: calc(100% - 28px); }
    .gs-home-experience-copy h2 {
        font-size: clamp(2rem, 8.7vw, 2.45rem) !important;
    }
    .gs-home-experience-copy > p:not(.gs-home-kicker) {
        font-size: .98rem;
        line-height: 1.52;
    }
}

/* Core 1.6.17 — dati fiscali esclusivamente nel footer. */
.gs-home-footer-brand .gs-home-brand-ids {
    flex-basis: 100%;
    color: rgba(255,255,255,.72);
    font-size: .63rem;
    letter-spacing: .07em;
    line-height: 1.45;
    margin-top: -7px;
}


/* Core 1.6.28 — LOCAL VISUAL TEST ONLY.
   Correct target: yellow facade photo inside the “Dai cantieri al mercato immobiliare” section.
   Desktop only: enlarge the actual photo card on hover without changing document flow. */
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    .gs-home-facade-main {
        z-index: 1;
        cursor: zoom-in;
        transform-origin: top right;
        transition: width .42s cubic-bezier(.22,.61,.36,1),
                    transform .42s cubic-bezier(.22,.61,.36,1),
                    filter .42s ease;
    }
    .gs-home-facade-main img {
        transition: height .42s cubic-bezier(.22,.61,.36,1),
                    object-position .42s ease,
                    box-shadow .42s ease;
    }
    .gs-home-facade-main:hover {
        width: 100%;
        z-index: 8;
        transform: translateY(-18px);
        filter: saturate(1.02);
    }
    .gs-home-facade-main:hover img {
        height: 650px;
        object-position: 50% 44%;
        box-shadow: 0 28px 70px rgba(20,22,22,.22);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gs-home-facade-main,
    .gs-home-facade-main img {
        transition: none !important;
    }
}

/* Core 1.6.60 — approved Phase 1 homepage hero only. */
.gs-home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(230px, 320px);
    gap: clamp(36px, 6vw, 88px);
    align-items: center;
}
.gs-home-hero-copy {
    width: auto;
    max-width: 760px;
    margin-top: 0;
}
.gs-home-hero h1 {
    max-width: 760px;
    font-size: clamp(3.45rem, 5.35vw, 5.65rem);
    line-height: .92;
}
.gs-home-hero-lead {
    max-width: 720px;
}
.gs-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
}
.gs-home-hero-actions .gs-home-button {
    margin-top: 0;
}
.gs-home-hero-actions .gs-home-button-outline {
    max-width: 330px;
    line-height: 1.35;
}
.gs-home-hero-contact,
.gs-home-hero-trust {
    margin-top: 18px !important;
    font-size: .82rem;
    line-height: 1.5;
    color: rgba(255,255,255,.9);
}
.gs-home-hero-trust {
    margin-top: 8px !important;
    font-size: .73rem;
    color: rgba(255,255,255,.78);
}
.gs-home-hero-contact a,
.gs-home-hero-trust a {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.gs-home-hero-portrait {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    margin: 0;
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.58);
    background: rgba(255,255,255,.08);
    box-shadow: 0 22px 55px rgba(0,0,0,.28);
}
.gs-home-hero-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1050px) {
    .gs-home-hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
        gap: 34px;
    }
    .gs-home-hero h1 {
        font-size: clamp(3.2rem, 5.7vw, 4.75rem);
    }
}

@media (max-width: 860px) {
    .gs-home-hero {
        height: auto;
        min-height: 810px;
    }
    .gs-home-hero-inner {
        grid-template-columns: minmax(0, 1fr) 180px;
        gap: 24px;
        padding-top: 132px;
        padding-bottom: 92px;
        align-items: start;
    }
    .gs-home-hero-copy {
        width: auto;
        max-width: none;
    }
    .gs-home-hero h1 {
        font-size: clamp(2.85rem, 7.2vw, 4rem);
        line-height: .94;
    }
    .gs-home-hero-portrait {
        max-width: 180px;
        margin-top: 34px;
    }
    .gs-home-photo-credit {
        bottom: 24px;
    }
}

@media (max-width: 640px) {
    .gs-home-hero {
        min-height: 920px;
        background-size: auto 112%;
        background-position: 61% 36%;
    }
    .gs-home-hero-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 112px;
        padding-bottom: 82px;
    }
    .gs-home-hero-portrait {
        order: -1;
        width: 96px;
        max-width: 96px;
        margin: 0 0 18px;
        border-radius: 50%;
        box-shadow: 0 10px 28px rgba(0,0,0,.28);
    }
    .gs-home-hero-copy {
        width: 100%;
    }
    .gs-home-hero h1 {
        font-size: clamp(2.55rem, 11.2vw, 3.45rem);
        line-height: .96;
    }
    .gs-home-hero-lead {
        width: 100%;
        margin-top: 20px !important;
        font-size: .94rem;
    }
    .gs-home-hero-actions {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
        margin-top: 24px;
        gap: 10px;
    }
    .gs-home-hero-actions .gs-home-button {
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
        padding: 14px 16px;
        letter-spacing: .12em;
    }
    .gs-home-hero-contact,
    .gs-home-hero-trust {
        width: 100%;
        font-size: .76rem;
    }
    .gs-home-hero-territory {
        display: none;
    }
}

@media (max-width: 390px) {
    .gs-home-hero {
        min-height: 940px;
    }
    .gs-home-hero h1 {
        font-size: clamp(2.35rem, 10.7vw, 3rem);
    }
    .gs-home-hero-actions .gs-home-button {
        font-size: .58rem;
    }
}

