.home {
  --gdm-v2-navy: #07365f;
  --gdm-v2-blue: #134d8d;
  --gdm-v2-red: #ed1c24;
  --gdm-v2-ink: #17212b;
  --gdm-v2-stone: #f2f0ea;
  --gdm-v2-sage: #7f9276;
  --gdm-v2-line: rgba(23, 33, 43, .16);
}

.home .gdm-v2,
.home .gdm-v2 * { box-sizing: border-box; }
.home .gdm-v2 { color: var(--gdm-v2-ink); background: #fff; font-family: "Outfit", sans-serif; }
.home .gdm-v2-shell { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.home .gdm-v2-kicker { margin: 0 0 14px; color: var(--gdm-v2-red); font-size: 13px; font-weight: 700; line-height: 1.2; letter-spacing: .09em; text-transform: uppercase; }
.home .gdm-v2 h2 { margin: 0; font-size: clamp(42px, 5vw, 78px); font-weight: 650; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.home .gdm-v2-text-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 28px; padding-bottom: 6px; border-bottom: 1px solid currentColor; color: var(--gdm-v2-navy); font-size: 16px; font-weight: 700; text-decoration: none; }
.home .gdm-v2-text-link span { transition: transform .2s ease; }
.home .gdm-v2-text-link:hover span { transform: translate(2px, -2px); }
.home .gdm-v2 :is(a, button):focus-visible { outline: 3px solid #60a5fa !important; outline-offset: 4px !important; }

/* Quando il nuovo corpo è pronto, i blocchi Elementor sostituiti non vengono duplicati. */
.gdm-home-editorial-ready .home .elementor-element-8e84483,
.gdm-home-editorial-ready .home .elementor-element-0646ce3,
.gdm-home-editorial-ready .home .elementor-element-7a4e750,
.gdm-home-editorial-ready .home .elementor-element-8d505af,
.gdm-home-editorial-ready .home .elementor-element-1acf3b4 { display: none !important; }

.home #gdm-ap-launch {
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
}

.home #gdm-ap-launch.gdm-home-launch-hidden {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(18px) !important;
}

/* Hero: forza un URL versionato per evitare vecchie immagini in cache. */
.home #rev_slider_6_1 rs-slide[data-key="rs-20"] rs-sbg { background-image: url('/gdm-home-hero/gdm-home-dm100-bucket-20261026.webp?v=20261026-2') !important; }
.home #rev_slider_6_1 rs-slide[data-key="rs-22"] rs-sbg { background-image: url('/gdm-home-hero/gdm-home-bisaten-opaco-20261026.webp?v=20261026-2') !important; }
.home #rev_slider_6_1 rs-slide[data-key="rs-21"] rs-sbg { background-image: url('/gdm-home-hero/gdm-home-colore-bucket-20261026.webp?v=20261026-2') !important; }
.home #rev_slider_6_1 rs-slide[data-key="gdm-thermal"] rs-sbg { background-image: url('/gdm-home-hero/gdm-home-thermal-paint-20261026.webp?v=20261026-2') !important; }

/* Manifesto iniziale. */
.home .gdm-v2-intro { padding: 128px 0 116px; background: #fff; }
.home .gdm-v2-intro-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr); gap: clamp(64px, 9vw, 136px); align-items: end; }
.home .gdm-v2-intro-copy > p:not(.gdm-v2-kicker) { max-width: 690px; margin: 30px 0 0; color: #52606c; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; }
.home .gdm-v2-facts { margin: 0; border-top: 1px solid var(--gdm-v2-line); }
.home .gdm-v2-facts > div { display: grid; grid-template-columns: 86px 1fr; gap: 18px; align-items: center; min-height: 92px; border-bottom: 1px solid var(--gdm-v2-line); }
.home .gdm-v2-facts dt { color: var(--gdm-v2-navy); font-size: 42px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.home .gdm-v2-facts dd { margin: 0; color: #596673; font-size: 15px; line-height: 1.4; }

/* Percorsi per superficie. */
.home .gdm-v2-surfaces { padding: 108px 0 120px; background: var(--gdm-v2-stone); }
.home .gdm-v2-heading { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); gap: 64px; align-items: end; margin-bottom: 48px; }
.home .gdm-v2-heading h2 { max-width: 820px; font-size: clamp(38px, 4.5vw, 66px); }
.home .gdm-v2-heading > p { max-width: 430px; margin: 0; color: #5b6771; font-size: 17px; line-height: 1.55; }
.home .gdm-v2-surface-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(340px, .84fr); grid-template-rows: repeat(2, 282px); gap: 18px; }
.home .gdm-v2-surface { position: relative; display: block; min-height: 0; overflow: hidden; color: #fff; background: var(--gdm-v2-navy); text-decoration: none; isolation: isolate; }
.home .gdm-v2-surface:first-child { grid-row: 1 / 3; }
.home .gdm-v2-surface::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(4, 25, 47, .92) 0%, rgba(4, 25, 47, .28) 58%, rgba(4, 25, 47, .06) 100%); }
.home .gdm-v2-surface img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
.home .gdm-v2-surface:hover img { transform: scale(1.035); }
.home .gdm-v2-surface-index { position: absolute; top: 24px; right: 26px; color: rgba(255, 255, 255, .8); font-size: 13px; font-weight: 700; letter-spacing: .08em; }
.home .gdm-v2-surface-copy { position: absolute; right: 34px; bottom: 32px; left: 34px; display: flex; flex-direction: column; align-items: flex-start; }
.home .gdm-v2-surface-copy small { margin-bottom: 10px; color: #fff; font-size: 13px; font-style: normal; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.home .gdm-v2-surface-copy strong { max-width: 540px; font-size: clamp(26px, 2.8vw, 44px); font-weight: 620; line-height: 1.04; letter-spacing: -.04em; text-wrap: balance; }
.home .gdm-v2-surface:not(:first-child) .gdm-v2-surface-copy strong { max-width: 410px; font-size: clamp(24px, 2.2vw, 32px); }
.home .gdm-v2-surface-copy em { margin-top: 20px; padding-bottom: 5px; border-bottom: 1px solid rgba(255, 255, 255, .65); font-size: 14px; font-style: normal; font-weight: 650; }

/* Indice prodotti: pannelli aperti, etichette separate dai secchielli. */
.home .gdm-v2-products { padding: 112px 0 118px; color: #fff; background: #082f54; }
.home .gdm-v2-heading--dark h2 { color: #fff; }
.home .gdm-v2-heading--dark > p { color: rgba(255, 255, 255, .66); }
.home .gdm-v2-product-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.home .gdm-v2-product { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(170px, .72fr); align-items: end; min-height: 332px; padding: 38px; overflow: hidden; color: var(--gdm-v2-ink); background: #eef0e9; }
.home .gdm-v2-product:nth-child(1), .home .gdm-v2-product:nth-child(4) { grid-column: span 7; }
.home .gdm-v2-product:nth-child(2), .home .gdm-v2-product:nth-child(3) { grid-column: span 5; }
.home .gdm-v2-product--thermal { color: #fff; background: #31473f; }
.home .gdm-v2-product--antimacchia { background: #eee8e1; }
.home .gdm-v2-product--eliolite { color: #fff; background: #2f596c; }
.home .gdm-v2-product-no { position: absolute; top: 24px; left: 28px; color: currentColor; font-size: 12px; font-weight: 700; letter-spacing: .08em; opacity: .55; }
.home .gdm-v2-product-copy { position: relative; z-index: 2; align-self: end; min-width: 0; }
.home .gdm-v2-product-copy p { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .68; }
.home .gdm-v2-product-copy h3 { margin: 0; color: inherit; font-size: clamp(28px, 3vw, 44px); font-weight: 650; line-height: 1; letter-spacing: -.045em; }
.home .gdm-v2-product-copy > span { display: block; max-width: 290px; margin-top: 14px; font-size: 15px; line-height: 1.45; opacity: .78; }
.home .gdm-v2-product-copy a { display: inline-flex; gap: 10px; margin-top: 22px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: inherit; font-size: 14px; font-weight: 700; text-decoration: none; }
.home .gdm-v2-product img { position: relative; z-index: 1; display: block; width: 100%; max-height: 250px; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .18)); transition: transform .3s ease; }
.home .gdm-v2-product:hover img { transform: translateY(-5px); }
.home .gdm-v2-products-all { margin: 38px 0 0; text-align: right; }
.home .gdm-v2-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 50px; padding: 14px 24px; border: 1px solid rgba(255, 255, 255, .42); color: #fff; background: var(--gdm-v2-red); font-size: 15px; font-weight: 700; text-decoration: none; }
.home .gdm-v2-button--light { color: #fff; background: transparent; }

/* Grande racconto Bisaten. */
.home .gdm-v2-bisaten { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(430px, .84fr); min-height: 690px; background: #d8ddd0; }
.home .gdm-v2-bisaten-photo { position: relative; min-height: 690px; overflow: hidden; background-image: linear-gradient(90deg, transparent 72%, rgba(216, 221, 208, .28)), url('/gdm-home-hero/gdm-home-bisaten-opaco-20261026.webp?v=20261026-2'); background-size: cover; background-position: center; }
.home .gdm-v2-bisaten-photo > img { position: absolute; right: clamp(30px, 5vw, 86px); bottom: 28px; width: clamp(185px, 19vw, 300px); height: auto; object-fit: contain; filter: drop-shadow(0 24px 28px rgba(0, 0, 0, .26)); }
.home .gdm-v2-bisaten-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(54px, 7vw, 110px); }
.home .gdm-v2-bisaten-copy h2 { max-width: 630px; font-size: clamp(40px, 4.4vw, 68px); }
.home .gdm-v2-bisaten-copy > p:not(.gdm-v2-kicker) { max-width: 560px; margin: 28px 0 0; color: #47554c; font-size: 18px; line-height: 1.58; }
.home .gdm-v2-bisaten-copy ul { display: grid; gap: 11px; margin: 28px 0 34px; padding: 0; list-style: none; }
.home .gdm-v2-bisaten-copy li { position: relative; padding-left: 24px; color: #39453e; font-size: 15px; }
.home .gdm-v2-bisaten-copy li::before { content: ""; position: absolute; top: .45em; left: 0; width: 9px; height: 9px; background: var(--gdm-v2-sage); }

/* Centenario: chiusura identitaria prima delle utilità e delle notizie. */
.home .gdm-v2-century { padding: 116px 0; color: #fff; background: #061f37; }
.home .gdm-v2-century-grid { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.25fr) minmax(270px, .65fr); gap: clamp(48px, 7vw, 108px); align-items: center; }
.home .gdm-v2-century-mark { display: flex; flex-direction: column; color: #d2ac63; }
.home .gdm-v2-century-mark strong { font-size: clamp(110px, 14vw, 190px); font-weight: 650; line-height: .72; letter-spacing: -.08em; }
.home .gdm-v2-century-mark span { margin: 24px 0 0 8px; font-size: 18px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.home .gdm-v2-century-copy h2 { max-width: 720px; color: #fff; font-size: clamp(40px, 4.5vw, 66px); }
.home .gdm-v2-century-copy > p:not(.gdm-v2-kicker) { max-width: 650px; margin: 26px 0 0; color: rgba(255, 255, 255, .68); font-size: 18px; line-height: 1.58; }
.home .gdm-v2-text-link--light { color: #fff; }
.home .gdm-v2-century-values { border-top: 1px solid rgba(255, 255, 255, .2); }
.home .gdm-v2-century-values p { display: grid; grid-template-columns: 38px 1fr; gap: 18px; margin: 0; padding: 21px 0; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.home .gdm-v2-century-values strong { color: #d2ac63; font-size: 12px; letter-spacing: .08em; }
.home .gdm-v2-century-values span { color: rgba(255, 255, 255, .84); font-size: 15px; }

/* Sezioni native mantenute: raccordo con il nuovo sistema. */
.gdm-home-editorial-ready .home .elementor-element-4f23859 { padding-top: 96px !important; background: #fff !important; }
.gdm-home-editorial-ready .home .elementor-element-4f23859 > .e-con-inner > .e-con { border-radius: 0 !important; }
.gdm-home-editorial-ready .home .elementor-element-d9db8e4 { background: #f2f0ea !important; }
.gdm-home-editorial-ready .home .elementor-element-d9db8e4 .premium-blog-post-container { border-radius: 0 !important; }

@media (max-width: 1024px) {
  .home .gdm-v2-shell { width: min(100% - 48px, 1280px); }
  .home .gdm-v2-intro-grid, .home .gdm-v2-heading { gap: 48px; }
  .home .gdm-v2-surface-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 420px 300px; }
  .home .gdm-v2-surface:first-child { grid-column: 1 / -1; grid-row: auto; }
  .home .gdm-v2-product { grid-template-columns: 1fr 150px; padding: 30px; }
  .home .gdm-v2-bisaten { grid-template-columns: 1fr 1fr; }
  .home .gdm-v2-bisaten-copy { padding: 54px 38px; }
  .home .gdm-v2-century-grid { grid-template-columns: .6fr 1.4fr; }
  .home .gdm-v2-century-values { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); }
  .home .gdm-v2-century-values p { border-right: 1px solid rgba(255, 255, 255, .2); }
}

@media (max-width: 767px) {
  .home .gdm-v2-shell { width: min(100% - 32px, 1280px); }
  .home #rev_slider_6_1 rs-slide[data-key="rs-20"] rs-sbg { background-image: url('/gdm-home-hero/gdm-home-dm100-bucket-mobile-20261026.webp?v=20261026-2') !important; }
  .home #rev_slider_6_1 rs-slide[data-key="rs-22"] rs-sbg { background-image: url('/gdm-home-hero/gdm-home-bisaten-opaco-mobile-20261026.webp?v=20261026-2') !important; }
  .home #rev_slider_6_1 rs-slide[data-key="rs-21"] rs-sbg { background-image: url('/gdm-home-hero/gdm-home-colore-bucket-mobile-20261026.webp?v=20261026-2') !important; }
  .home #rev_slider_6_1 rs-slide[data-key="gdm-thermal"] rs-sbg { background-image: url('/gdm-home-hero/gdm-home-thermal-paint-mobile-20261026.webp?v=20261026-2') !important; }

  .home .gdm-v2-intro { padding: 72px 0 66px; }
  .home .gdm-v2-intro-grid { grid-template-columns: 1fr; gap: 48px; }
  .home .gdm-v2 h2 { font-size: clamp(38px, 12vw, 52px); }
  .home .gdm-v2-intro-copy > p:not(.gdm-v2-kicker) { margin-top: 22px; font-size: 17px; }
  .home .gdm-v2-facts > div { grid-template-columns: 70px 1fr; min-height: 76px; }
  .home .gdm-v2-facts dt { font-size: 34px; }

  .home .gdm-v2-surfaces { padding: 68px 0 72px; }
  .home .gdm-v2-heading { display: block; margin-bottom: 30px; }
  .home .gdm-v2-heading h2 { font-size: clamp(36px, 10.5vw, 46px); }
  .home .gdm-v2-heading > p { margin-top: 18px; font-size: 15px; }
  .home .gdm-v2-surface-grid { display: grid; grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
  .home .gdm-v2-surface, .home .gdm-v2-surface:first-child { grid-column: auto; grid-row: auto; min-height: 350px; }
  .home .gdm-v2-surface:not(:first-child) { min-height: 270px; }
  .home .gdm-v2-surface-copy { right: 22px; bottom: 24px; left: 22px; }
  .home .gdm-v2-surface-copy strong, .home .gdm-v2-surface:not(:first-child) .gdm-v2-surface-copy strong { font-size: 29px; }
  .home .gdm-v2-surface-copy em { margin-top: 14px; }

  .home .gdm-v2-products { padding: 70px 0 74px; }
  .home .gdm-v2-product-grid { grid-template-columns: 1fr; gap: 12px; }
  .home .gdm-v2-product:nth-child(n) { grid-column: auto; min-height: 300px; }
  .home .gdm-v2-product { grid-template-columns: minmax(0, 1fr) minmax(112px, .7fr); padding: 26px 22px; }
  .home .gdm-v2-product img { max-height: 180px; }
  .home .gdm-v2-product-copy h3 { font-size: 32px; }
  .home .gdm-v2-product-copy > span { font-size: 14px; }
  .home .gdm-v2-product-copy a { margin-top: 17px; }
  .home .gdm-v2-products-all { text-align: left; }

  .home .gdm-v2-bisaten { display: flex; min-height: 0; flex-direction: column; }
  .home .gdm-v2-bisaten-photo { min-height: 420px; background-image: linear-gradient(0deg, rgba(216, 221, 208, .12), transparent 38%), url('/gdm-home-hero/gdm-home-bisaten-opaco-mobile-20261026.webp?v=20261026-2'); background-position: center top; }
  .home .gdm-v2-bisaten-photo > img { right: 18px; bottom: 18px; width: 154px; }
  .home .gdm-v2-bisaten-copy { padding: 52px 24px 62px; }
  .home .gdm-v2-bisaten-copy h2 { font-size: 43px; }
  .home .gdm-v2-bisaten-copy > p:not(.gdm-v2-kicker) { margin-top: 20px; font-size: 16px; }

  .home .gdm-v2-century { padding: 74px 0 78px; }
  .home .gdm-v2-century-grid { grid-template-columns: 1fr; gap: 46px; }
  .home .gdm-v2-century-mark strong { font-size: 128px; }
  .home .gdm-v2-century-copy h2 { font-size: 43px; }
  .home .gdm-v2-century-copy > p:not(.gdm-v2-kicker) { font-size: 16px; }
  .home .gdm-v2-century-values { grid-column: auto; display: block; }
  .home .gdm-v2-century-values p { border-right: 0; }

  .gdm-home-editorial-ready .home .elementor-element-4f23859 { padding-top: 64px !important; }
}

@media (max-width: 900px) and (orientation: landscape) {
  .home .gdm-v2-intro { padding: 60px 0; }
  .home .gdm-v2-intro-grid { grid-template-columns: 1.2fr .8fr; gap: 40px; }
  .home .gdm-v2-intro h2 { font-size: 46px; }
  .home .gdm-v2-surfaces, .home .gdm-v2-products, .home .gdm-v2-century { padding-block: 60px; }
  .home .gdm-v2-surface-grid { grid-template-columns: 1.15fr .85fr; grid-template-rows: repeat(2, 245px); }
  .home .gdm-v2-surface:first-child { grid-column: auto; grid-row: 1 / 3; }
  .home .gdm-v2-product:nth-child(n) { grid-column: span 6; }
  .home .gdm-v2-bisaten { grid-template-columns: 1fr 1fr; min-height: 520px; }
  .home .gdm-v2-bisaten-photo { min-height: 520px; }
  .home .gdm-v2-bisaten-copy { padding: 40px 30px; }
  .home .gdm-v2-bisaten-copy h2 { font-size: 40px; }
}

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