:root {
  --gw-blue: #243778;
  --gw-blue-deep: #142453;
  --gw-yellow: #edc701;
  --gw-ink: #1b2230;
  --gw-muted: #535d69;
  --gw-paper: #f6f5ed;
  --gw-line: #dfe2e8;
  --gw-white: #fff;
  --gw-container: 1280px;
  --gw-gutter: clamp(20px, 4vw, 72px);
  --gw-space: clamp(76px, 9vw, 140px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--gw-ink); background: var(--gw-white); font: 400 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--gw-blue); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--gw-yellow); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; }
h1 { font-size: clamp(3rem, 6vw, 6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2.4rem, 4.4vw, 4.55rem); letter-spacing: -.025em; }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -.03em; }
p { max-width: 68ch; }
::selection { color: var(--gw-blue-deep); background: var(--gw-yellow); }
.gw-container { width: calc(100% - var(--gw-gutter) - var(--gw-gutter)); max-width: var(--gw-container); margin-inline: auto; }
.gw-section { padding-block: var(--gw-space); }
.gw-skip-link { position: absolute; z-index: 1000; top: -100px; left: 16px; padding: 12px 18px; background: var(--gw-yellow); color: var(--gw-blue-deep); font-weight: 700; }
.gw-skip-link:focus { top: 16px; }
.gw-eyebrow { margin-bottom: 25px; color: var(--gw-blue); font-size: .73rem; font-weight: 800; letter-spacing: .18em; line-height: 1.4; text-transform: uppercase; }
.gw-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 58px; padding: 15px 25px; border: 1px solid var(--gw-yellow); background: var(--gw-yellow); color: var(--gw-blue-deep); font-size: .92rem; font-weight: 800; line-height: 1.25; text-align: left; text-decoration: none; transition: background .2s, border-color .2s, transform .2s; }
.gw-button:hover { border-color: #d9b600; background: #d9b600; color: var(--gw-blue-deep); transform: translateY(-2px); }
.gw-button--small { min-height: 46px; padding: 11px 18px; font-size: .83rem; }
.gw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.gw-text-link, .gw-arrow-link { display: inline-flex; align-items: center; gap: 20px; color: var(--gw-blue-deep); font-weight: 750; text-decoration: none; }
.gw-text-link { min-height: 44px; border-bottom: 1px solid currentColor; }
.gw-arrow-link { padding-bottom: 7px; border-bottom: 1px solid var(--gw-blue); }
.gw-text-link:hover, .gw-arrow-link:hover { color: var(--gw-blue); }

/* Intestazione */
.gw-header { position: relative; z-index: 20; border-bottom: 1px solid var(--gw-line); background: var(--gw-white); }
.gw-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 100px; }
.gw-brand { display: block; flex: 0 0 auto; width: 146px; height: 82px; overflow: hidden; }
.gw-brand__crop { display: block; width: 100%; height: 100%; overflow: hidden; }
.gw-brand img { width: 146px; height: 146px; max-width: none; transform: translateY(-27px); }
.gw-nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 38px); }
.gw-nav__list { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); padding: 0; margin: 0; list-style: none; }
.gw-nav__list a { display: inline-block; padding-block: 14px; color: var(--gw-ink); font-size: .87rem; font-weight: 650; text-decoration: none; }
.gw-nav__list a:hover, .gw-nav__list .current-menu-item > a, .gw-nav__list .current_page_item > a { color: var(--gw-blue); text-decoration: underline; text-decoration-color: var(--gw-yellow); text-decoration-thickness: 3px; text-underline-offset: 7px; }
.gw-menu-toggle { display: none; }

/* Hero */
.gw-hero { overflow: hidden; background: var(--gw-paper); }
.gw-hero__grid { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); min-height: min(730px, 70vw); }
.gw-hero__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 70px clamp(30px, 5vw, 90px) 80px 0; }
.gw-hero__copy .gw-eyebrow { display: block; line-height: 1.7; }
.gw-hero h1 { max-width: 780px; margin-bottom: 27px; color: var(--gw-blue-deep); }
.gw-hero__intro { max-width: 515px; margin-bottom: 38px; color: #485463; font-size: clamp(1rem, 1.35vw, 1.16rem); }
.gw-hero__media { position: relative; display: grid; min-height: 570px; overflow: hidden; background: #cbd4db; }
.gw-hero__media--photo img { width: 100%; height: 100%; object-fit: cover; }
.gw-hero__caption { position: absolute; right: 28px; bottom: 25px; z-index: 2; max-width: 190px; padding: 15px 18px; background: var(--gw-white); color: var(--gw-blue-deep); font-size: .72rem; font-weight: 800; line-height: 1.4; text-transform: uppercase; letter-spacing: .07em; }
.gw-architectural { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(135deg, #ccd7de 0%, #e7e4d6 52%, #b6c7c7 100%); }
.gw-architectural::before { content: ""; position: absolute; inset: 0 67% 0 0; background: linear-gradient(90deg, #c5c4ba, #f1e8d5); box-shadow: 8px 0 30px #23304a22; }
.gw-architectural__sun { position: absolute; top: 9%; right: 4%; width: 43%; aspect-ratio: 1; border-radius: 50%; background: #f6dfa8; filter: blur(4px); box-shadow: 0 0 80px #f7e7bd; }
.gw-architectural__frame { position: absolute; inset: 7% 7% 15% 18%; display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 8px; padding: 10px; border: 12px solid var(--gw-blue-deep); background: var(--gw-blue-deep); box-shadow: 28px 30px 40px #21304b36; transform: perspective(800px) rotateY(-4deg); }
.gw-architectural__frame i { position: relative; display: block; overflow: hidden; background: linear-gradient(125deg, #dce5e5 0%, #b9d0d6 48%, #789ca8 100%); }
.gw-architectural__frame i::before { content: ""; position: absolute; bottom: 0; left: -30%; width: 150%; height: 37%; border-radius: 70% 70% 0 0; background: #758f83; box-shadow: 0 -23px 0 #8eaaa0; }
.gw-architectural__frame i:nth-child(2)::after { content: ""; position: absolute; top: 5%; right: 13%; width: 27%; height: 30%; border-radius: 50%; background: #fff7d4a8; filter: blur(17px); }
.gw-architectural__floor { position: absolute; bottom: 0; left: 0; width: 100%; height: 15%; background: linear-gradient(#bdbdb1, #e1d6c1); }

/* Home */
.gw-intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .58fr); align-items: end; gap: 9%; }
.gw-intro h2 { max-width: 770px; margin-bottom: 0; color: var(--gw-blue-deep); }
.gw-intro__text { padding-bottom: 5px; }
.gw-intro__text p { margin-bottom: 29px; color: var(--gw-muted); font-size: 1.07rem; }
.gw-products { background: #f8f9fb; }
.gw-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 46px; }
.gw-section-heading h2 { max-width: 750px; margin-bottom: 0; color: var(--gw-blue-deep); }
.gw-section-heading > p { max-width: 300px; margin-bottom: 5px; color: var(--gw-muted); }
.gw-products__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gw-product-card { min-width: 0; background: var(--gw-white); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.gw-product-card:hover { transform: translateY(-5px); box-shadow: 0 15px 38px #14245316; color: var(--gw-ink); }
.gw-product-card__visual { position: relative; display: block; height: clamp(250px, 25vw, 350px); overflow: hidden; background: #d9e2e4; }
.gw-product-card__visual::before, .gw-product-card__visual::after, .gw-product-card__visual i { content: ""; position: absolute; display: block; }
.gw-product-card--window .gw-product-card__visual { background: linear-gradient(145deg, #c6d7d8, #d4d1bb); }
.gw-product-card--window .gw-product-card__visual::before { inset: 16% 20% -9%; border: 13px solid #ebede7; background: linear-gradient(160deg, #8db4bf, #e1dfc8 56%, #779b91); box-shadow: 8px 10px 18px #1b223055; }
.gw-product-card--window .gw-product-card__visual::after { top: 16%; bottom: -9%; left: 51%; width: 11px; background: #ebede7; }
.gw-product-card--window .gw-product-card__visual i { top: 50%; right: 22%; width: 22px; height: 5px; background: #b8bab3; }
.gw-product-card--sliding .gw-product-card__visual { background: linear-gradient(150deg, #e6e3d6, #9ab2b8); }
.gw-product-card--sliding .gw-product-card__visual::before { inset: 9% 10% -5%; border: 11px solid #344a63; background: linear-gradient(130deg, #d2e0da, #9ab8c3 52%, #829c88); }
.gw-product-card--sliding .gw-product-card__visual::after { top: 9%; bottom: -5%; left: 53%; width: 11px; background: #344a63; box-shadow: 8px 0 0 #fff8; }
.gw-product-card--sliding .gw-product-card__visual i { top: 51%; left: 47%; width: 24px; height: 5px; background: #243747; }
.gw-product-card--door .gw-product-card__visual { background: linear-gradient(120deg, #c5cad0, #e8e4d8); }
.gw-product-card--door .gw-product-card__visual::before { inset: 7% 30% -13%; border: 11px solid #243c5e; background: linear-gradient(120deg, #576b7e, #263e59); box-shadow: 18px 15px 30px #1b223044; }
.gw-product-card--door .gw-product-card__visual::after { top: 43%; right: 34%; width: 5px; height: 70px; border-radius: 2px; background: #d1b87e; }
.gw-product-card--door .gw-product-card__visual i { inset: 14% 36% auto; height: 26%; border: 3px solid #8a9bac; }
.gw-product-card__body { position: relative; display: grid; gap: 9px; padding: 27px 28px 30px; }
.gw-product-card__count { color: var(--gw-muted); font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gw-product-card strong { color: var(--gw-blue-deep); font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.2; letter-spacing: -.035em; }
.gw-product-card__arrow { position: absolute; right: 28px; bottom: 31px; color: var(--gw-blue); font-size: 1.35rem; }
.gw-approach { background: var(--gw-blue-deep); color: var(--gw-white); }
.gw-approach__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 11%; }
.gw-approach .gw-eyebrow { color: var(--gw-yellow); }
.gw-approach h2 { max-width: 650px; }
.gw-approach__lead > p:last-child { max-width: 510px; color: #d6dbe8; font-size: 1.05rem; }
.gw-approach__steps { padding: 0; margin: 0; list-style: none; }
.gw-approach__steps li { display: grid; grid-template-columns: 74px 1fr; gap: 22px; padding: 28px 0; border-top: 1px solid #ffffff52; }
.gw-approach__marker { display: grid; justify-items: start; gap: 12px; }
.gw-approach__marker > span { color: var(--gw-yellow); font-size: .8rem; font-weight: 800; }
.gw-approach__icon { display: block; width: 52px; height: 52px; color: #eff3fc; }
.gw-approach__steps h3 { margin-bottom: 9px; }
.gw-approach__steps p { margin-bottom: 0; color: #d6dbe8; }
.gw-showroom__grid { display: grid; grid-template-columns: 1fr .82fr; gap: 11%; align-items: center; }
.gw-showroom__art { position: relative; min-height: 520px; overflow: hidden; background: linear-gradient(135deg, #d6d4c4, #a9b9b5); }
.gw-showroom__art::before { content: ""; position: absolute; inset: 0 0 0 63%; background: linear-gradient(90deg, #d9d7c9, #f7f0db); }
.gw-showroom__art::after { content: ""; position: absolute; bottom: 0; left: 0; width: 100%; height: 17%; background: #eee8d9; }
.gw-showroom__arch { position: absolute; z-index: 1; left: 14%; bottom: 8%; width: 43%; height: 81%; border: 18px solid var(--gw-blue); border-bottom: 0; border-radius: 180px 180px 0 0; background: linear-gradient(150deg, #a3c3cb, #d9e6dd 51%, #7b9d8b); }
.gw-showroom__arch::after { content: ""; position: absolute; top: 0; bottom: 0; left: 49%; width: 9px; background: var(--gw-blue); }
.gw-showroom__light { position: absolute; z-index: 1; right: 16%; bottom: 17%; width: 20%; height: 34%; border-radius: 100px 100px 0 0; background: #f5efdb; box-shadow: 0 0 75px #fff9df; }
.gw-showroom h2 { color: var(--gw-blue-deep); }
.gw-showroom__copy > p:not(.gw-eyebrow) { color: var(--gw-muted); font-size: 1.08rem; }
.gw-showroom .gw-arrow-link { margin-top: 17px; }
.gw-cta { background: var(--gw-paper); }
.gw-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.gw-cta h2 { margin-bottom: 16px; color: var(--gw-blue-deep); }
.gw-cta p:last-child { margin-bottom: 0; color: var(--gw-muted); font-size: 1.05rem; }
.gw-cta .gw-button { flex: 0 0 auto; }

/* Categoria */
.gw-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 56px; color: var(--gw-muted); font-size: .82rem; }
.gw-breadcrumb a { text-decoration: none; }
.gw-page-hero { overflow: hidden; padding-block: 45px 90px; background: var(--gw-paper); }
.gw-page-hero__grid { display: grid; grid-template-columns: 1fr .75fr; align-items: center; gap: 9%; }
.gw-page-hero h1 { margin-bottom: 25px; color: var(--gw-blue-deep); }
.gw-page-hero p:not(.gw-eyebrow) { max-width: 550px; margin-bottom: 33px; color: var(--gw-muted); font-size: 1.08rem; }
.gw-page-hero__art { position: relative; min-height: 540px; background: linear-gradient(150deg, #d4d5c9, #a9c4c9); }
.gw-page-hero__art::before { content: ""; position: absolute; inset: 10% 17% 9% 17%; border: 17px solid var(--gw-blue-deep); background: linear-gradient(155deg, #9dbfc6, #d7e1d9 54%, #8da79f); box-shadow: 23px 22px 30px #162b4b33; }
.gw-page-hero__art::after { content: ""; position: absolute; top: 10%; bottom: 9%; left: 51%; width: 15px; background: var(--gw-blue-deep); }
.gw-page-hero__art span { position: absolute; z-index: 1; top: 46%; right: 20%; width: 6px; height: 55px; background: #f5eee0; }
.gw-materials { background: #f8f9fb; }
.gw-materials__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gw-material { padding: 0 0 23px; border-bottom: 1px solid var(--gw-line); }
.gw-material__art { position: relative; height: 280px; margin-bottom: 27px; overflow: hidden; background: #ccd9dd; }
.gw-material__art::before { content: ""; position: absolute; inset: 12% 25% -5%; border: 13px solid #e7e8e2; background: linear-gradient(145deg, #9ec1c7, #cdded5); }
.gw-material__art::after { content: ""; position: absolute; top: 12%; bottom: -5%; left: 50%; width: 12px; background: #e7e8e2; }
.gw-material__art--alu { background: #d7d7cd; }
.gw-material__art--alu::before { border-color: #3d566e; }
.gw-material__art--alu::after { background: #3d566e; }
.gw-material__art--wood { background: #b4c2b9; }
.gw-material__art--wood::before { border-color: #9a6f4e; }
.gw-material__art--wood::after { background: #9a6f4e; }
.gw-material__number { color: var(--gw-blue); font-size: .74rem; font-weight: 800; }
.gw-material h3 { margin: 15px 0 12px; color: var(--gw-blue-deep); }
.gw-material p { min-height: 78px; color: var(--gw-muted); }
.gw-choice__grid { display: grid; grid-template-columns: 1fr .7fr; gap: 12%; }
.gw-choice h2 { color: var(--gw-blue-deep); }
.gw-choice__grid > div:last-child { padding-top: 53px; }
.gw-choice p { color: var(--gw-muted); font-size: 1.06rem; }
.gw-choice ul { padding: 0; margin: 25px 0 0; list-style: none; }
.gw-choice li { padding: 15px 0; border-top: 1px solid var(--gw-line); color: var(--gw-blue-deep); font-weight: 700; }
.gw-choice li::before { content: "↗"; margin-right: 18px; color: var(--gw-blue); }

/* Catalogo e schede */
.gw-page-hero--compact { padding-bottom: 82px; }
.gw-page-hero--compact h1 { max-width: 870px; }
.gw-page-hero--compact p:not(.gw-eyebrow) { max-width: 660px; margin-bottom: 0; }
.gw-model-list { background: #f8f9fb; }
.gw-model-list__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gw-model-list .page-numbers { display: inline-flex; min-width: 42px; min-height: 42px; align-items: center; justify-content: center; margin: 30px 8px 0 0; border: 1px solid var(--gw-line); background: var(--gw-white); text-decoration: none; }
.gw-model-list .page-numbers.current { border-color: var(--gw-blue); background: var(--gw-blue); color: var(--gw-white); }
.gw-model-card { min-width: 0; background: var(--gw-white); }
.gw-model-card__link { display: block; height: 100%; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.gw-model-card__link:hover { transform: translateY(-4px); box-shadow: 0 14px 30px #14245318; color: var(--gw-blue-deep); }
.gw-model-card__media { display: block; height: 290px; overflow: hidden; background: #ccd9dd; }
.gw-model-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gw-model-card__placeholder { position: relative; display: block; width: 100%; height: 100%; background: linear-gradient(145deg, #c4d4d8, #ebe7d9); }
.gw-model-card__placeholder::before { content: ""; position: absolute; inset: 14% 26% -8%; border: 12px solid var(--gw-blue-deep); background: linear-gradient(135deg, #bcd3d7, #d7e4dc); }
.gw-model-card__placeholder::after { content: ""; position: absolute; top: 14%; bottom: -8%; left: 50%; width: 12px; background: var(--gw-blue-deep); }
.gw-model-card__info { position: relative; display: grid; gap: 7px; min-height: 128px; padding: 23px 50px 26px 24px; }
.gw-model-card__meta { color: var(--gw-muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gw-model-card__title { color: var(--gw-blue-deep); font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.2; }
.gw-model-card__code { color: var(--gw-muted); font-size: .85rem; }
.gw-model-card__arrow { position: absolute; right: 24px; bottom: 25px; color: var(--gw-blue); font-size: 1.3rem; }
.gw-product-detail__hero { padding-block: 45px 80px; background: var(--gw-paper); }
.gw-product-detail__hero .gw-breadcrumb { margin-bottom: 38px; }
.gw-product-detail__hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 8%; }
.gw-product-detail__copy h1 { margin-bottom: 22px; color: var(--gw-blue-deep); }
.gw-product-detail__copy > p:not(.gw-eyebrow) { max-width: 560px; color: var(--gw-muted); font-size: 1.06rem; }
.gw-product-detail__copy .gw-actions { margin-top: 34px; }
.gw-product-detail__subtitle { color: var(--gw-blue-deep) !important; font-size: clamp(1.2rem, 2vw, 1.55rem) !important; font-weight: 650; }
.gw-product-detail__hero-media { min-height: 470px; overflow: hidden; background: #d3dddc; }
.gw-product-detail__hero-media img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; }
.gw-product-detail__placeholder { position: relative; min-height: 470px; overflow: hidden; background: linear-gradient(145deg, #a9c3c8, #e5dfcf); }
.gw-product-detail__placeholder::before { content: ""; position: absolute; inset: 9% 15% -6%; border: 18px solid var(--gw-blue-deep); background: linear-gradient(125deg, #bdd7d8, #93b3ac 70%); box-shadow: 24px 20px 32px #24377830; }
.gw-product-detail__placeholder::after { content: ""; position: absolute; inset: 9% auto -6% 51%; width: 18px; background: var(--gw-blue-deep); }
.gw-product-detail__content { max-width: 880px; }
.gw-product-detail__content h2, .gw-product-detail__views h2, .gw-product-detail__specs h2 { color: var(--gw-blue-deep); }
.gw-product-detail__views { background: #f8f9fb; }
.gw-product-detail__views-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 42px; }
.gw-product-detail__views figure { margin: 0; background: var(--gw-white); }
.gw-product-detail__views img { width: 100%; max-height: 510px; aspect-ratio: 4 / 3; object-fit: cover; }
.gw-product-detail__views figcaption { padding: 18px 22px; color: var(--gw-blue-deep); font-size: .85rem; font-weight: 800; }
.gw-product-detail__specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.gw-product-detail__specs p:not(.gw-eyebrow) { color: var(--gw-muted); }
.gw-product-detail__specs dl { margin: 0; }
.gw-product-detail__specs dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--gw-line); }
.gw-product-detail__specs dt { color: var(--gw-muted); }
.gw-product-detail__specs dd { margin: 0; color: var(--gw-blue-deep); font-weight: 750; text-align: right; }
.gw-project-detail__image { margin-block: 70px; }
.gw-project-detail__image img { width: 100%; max-height: 760px; object-fit: cover; }
.gw-project-detail__body { max-width: 850px; margin-bottom: 100px; font-size: 1.08rem; }

/* Pagine e blocchi */
.gw-editorial { padding-block: 65px 110px; min-height: 55vh; }
.gw-editorial__article { max-width: 830px; }
.gw-editorial h1, .gw-not-found h1 { color: var(--gw-blue-deep); }
.gw-editorial__content { font-size: 1.08rem; }
.gw-editorial__content > * + * { margin-top: 1.5em; }
.gw-editorial__content .alignwide, .gw-editorial__content .alignfull { width: calc(100vw - var(--gw-gutter) - var(--gw-gutter)); max-width: var(--gw-container); margin-left: 0; }
.gw-editorial__content img { max-width: 100%; }
.gw-editorial__content .wp-block-button__link { border-radius: 0; background: var(--gw-yellow); color: var(--gw-blue-deep); font-weight: 800; }
.gw-editorial__content a { color: var(--gw-blue); }
.gw-not-found { max-width: 900px; }
.gw-post-list__item { padding-block: 25px; border-bottom: 1px solid var(--gw-line); }
.gw-post-list__item h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }

/* Footer */
.gw-footer { background: var(--gw-blue-deep); color: var(--gw-white); }
.gw-footer__main { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 70px; padding-block: 65px 90px; }
.gw-footer__brand > a img { width: 170px; height: 170px; max-width: none; object-fit: contain; }
.gw-footer__brand p { margin: -24px 0 0; color: #ced5e6; }
.gw-footer-social { margin-top: 24px; }
.gw-footer-social ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.gw-footer-social a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--gw-white); transition: color .2s; }
.gw-footer-social a:hover, .gw-footer-social a:focus-visible { color: var(--gw-yellow); }
.gw-social-icon { display: block; width: 27px; height: 27px; background: currentColor; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; }
.gw-social-icon--facebook { -webkit-mask-image: url('../icons/facebook.svg'); mask-image: url('../icons/facebook.svg'); }
.gw-social-icon--instagram { -webkit-mask-image: url('../icons/instagram.svg'); mask-image: url('../icons/instagram.svg'); }
.gw-social-icon--tiktok { -webkit-mask-image: url('../icons/tiktok.svg'); mask-image: url('../icons/tiktok.svg'); }
.gw-social-icon--google { -webkit-mask-image: url('../icons/google.svg'); mask-image: url('../icons/google.svg'); }
@media (prefers-reduced-motion: reduce) {
  .gw-footer-social a { transition: none; }
}
.gw-footer__column h2 { margin: 14px 0 20px; color: var(--gw-yellow); font-size: .77rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.gw-footer__column ul { padding: 0; margin: 0; list-style: none; }
.gw-footer__column li + li { margin-top: 11px; }
.gw-footer a { color: var(--gw-white); text-decoration: none; }
.gw-footer a:hover { color: var(--gw-yellow); }
.gw-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-block: 23px 35px; border-top: 1px solid #ffffff40; color: #cbd2e1; font-size: .78rem; }

@media (max-width: 1100px) {
  .gw-header__inner { min-height: 88px; }
  .gw-brand { width: 126px; height: 72px; }
  .gw-brand img { width: 126px; height: 126px; transform: translateY(-23px); }
  .gw-js .gw-menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 10px; border: 1px solid var(--gw-line); background: var(--gw-white); }
  .gw-menu-toggle span { width: 100%; height: 2px; background: var(--gw-blue-deep); }
  .gw-nav { flex-direction: column; align-items: stretch; gap: 12px; padding-bottom: 24px; }
  .gw-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .gw-nav__list li { border-bottom: 1px solid var(--gw-line); }
  .gw-nav__list a { display: block; padding: 13px 0; }
  .gw-nav .gw-button { align-self: flex-start; }
  .gw-js .gw-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 20px var(--gw-gutter) 28px; border-bottom: 1px solid var(--gw-line); background: var(--gw-white); box-shadow: 0 16px 25px #14245317; }
  .gw-js .gw-nav.is-open { display: flex; }
}

@media (max-width: 850px) {
  .gw-hero__grid, .gw-intro__grid, .gw-approach__grid, .gw-showroom__grid, .gw-page-hero__grid, .gw-choice__grid { grid-template-columns: 1fr; }
  .gw-hero__grid { width: 100%; }
  .gw-hero__copy { padding: 85px var(--gw-gutter) 75px; }
  .gw-hero__media { min-height: 480px; }
  .gw-intro__grid, .gw-approach__grid, .gw-showroom__grid, .gw-page-hero__grid, .gw-choice__grid { gap: 50px; }
  .gw-approach__steps { max-width: 650px; }
  .gw-showroom__art { min-height: 430px; }
  .gw-page-hero__art { min-height: 400px; }
  .gw-choice__grid > div:last-child { padding-top: 0; }
  .gw-product-detail__hero-grid, .gw-product-detail__specs-grid { grid-template-columns: 1fr; gap: 45px; }
  .gw-model-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-footer__main { gap: 40px; }
}

@media (max-width: 650px) {
  .gw-hero__copy { padding-block: 62px 58px; }
  .gw-hero h1 { font-size: clamp(2.9rem, 12vw, 4.6rem); }
  .gw-hero__media { min-height: 370px; }
  .gw-architectural__frame { inset: 7% 7% 15% 12%; }
  .gw-section-heading, .gw-cta__inner { display: block; }
  .gw-section-heading > p { max-width: 550px; margin-top: 20px; }
  .gw-products__grid, .gw-materials__grid { grid-template-columns: 1fr; }
  .gw-model-list__grid, .gw-product-detail__views-grid { grid-template-columns: 1fr; }
  .gw-model-card__media { height: 275px; }
  .gw-product-detail__hero-media, .gw-product-detail__hero-media img, .gw-product-detail__placeholder { min-height: 320px; }
  .gw-product-card__visual { height: 330px; }
  .gw-material p { min-height: 0; }
  .gw-cta .gw-button { margin-top: 30px; }
  .gw-footer__main { grid-template-columns: 1fr 1fr; }
  .gw-footer__brand { grid-column: 1 / -1; }
  .gw-footer__bottom { flex-direction: column; }
  .gw-breadcrumb { margin-bottom: 35px; }
  .gw-page-hero { padding-bottom: 65px; }
  .gw-editorial { padding-block: 45px 80px; }
}

@media (max-width: 420px) {
  .gw-product-card__visual { height: 275px; }
  .gw-showroom__art { min-height: 330px; }
  .gw-footer__main { grid-template-columns: 1fr; }
  .gw-footer__brand { grid-column: auto; }
  .gw-hero__caption { right: 15px; bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .gw-button, .gw-menu-toggle, .gw-arrow-link, .gw-text-link { border: 1px solid ButtonText; }
}

/* Direzione fotografica: immagini autentiche dello showroom. */
.home .gw-header { position: absolute; inset: 0 0 auto; z-index: 20; border-bottom-color: #ffffff55; background: linear-gradient(#07183988, transparent); }
.home .gw-nav__list a { color: var(--gw-white); }
.home .gw-nav__list a:hover, .home .gw-nav__list .current-menu-item > a, .home .gw-nav__list .current_page_item > a { color: var(--gw-white); }
.gw-hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; background: var(--gw-blue-deep); color: var(--gw-white); }
.gw-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #081932d9 0%, #0c1d3899 42%, #1023481a 100%), linear-gradient(0deg, #07182fa8, transparent 35%); }
.gw-hero__media { position: absolute; z-index: -2; inset: 0; min-height: 0; }
.gw-hero__media picture { display: block; width: 100%; height: 100%; min-height: 0; }
.gw-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 46%; }
.gw-hero__grid { display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding-block: 150px 125px; }
.gw-hero__copy { max-width: 860px; padding: 0; }
.gw-hero .gw-eyebrow, .gw-hero h1, .gw-hero__intro, .gw-hero .gw-text-link { color: var(--gw-white); }
.gw-hero .gw-eyebrow { margin-bottom: 30px; }
.gw-hero h1 { max-width: 900px; margin-bottom: 26px; font-size: clamp(2.75rem, 5.4vw, 5.75rem); }
.gw-hero__intro { max-width: 560px; margin-bottom: 38px; font-size: clamp(1.05rem, 1.5vw, 1.24rem); }
.gw-hero .gw-text-link:hover { color: var(--gw-yellow); }
.gw-hero__caption { right: var(--gw-gutter); bottom: 30px; max-width: 230px; background: #fff; }
.gw-product-card__visual::before, .gw-product-card__visual::after, .gw-product-card__visual i { content: none !important; }
.gw-product-card__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gw-product-card:hover .gw-product-card__visual img { transform: scale(1.04); }
.gw-product-card--window .gw-product-card__visual img { object-position: 48% 45%; }
.gw-product-card--sliding .gw-product-card__visual img { object-position: 55% 48%; }
.gw-product-card--door .gw-product-card__visual img { object-position: 50% 45%; }
.gw-showroom__art { min-height: 540px; background: #dce3e9; }
.gw-showroom__art::before, .gw-showroom__art::after { content: none; }
.gw-showroom__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 34%; }
.gw-page-hero__art--photo { overflow: hidden; background: #dce3e9; }
.gw-page-hero__art--photo::before, .gw-page-hero__art--photo::after { content: none; }
.gw-page-hero__art--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.gw-material__art--photo::before, .gw-material__art--photo::after { content: none; }
.gw-material__art--photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1100px) {
  .home .gw-menu-toggle { border-color: #ffffff99; background: #11265399; }
  .home .gw-menu-toggle span { background: var(--gw-white); }
  .gw-js .home .gw-nav { background: var(--gw-blue-deep); }
}
@media (max-width: 850px) {
  .gw-hero__grid { width: calc(100% - var(--gw-gutter) - var(--gw-gutter)); padding-block: 150px 110px; }
  .gw-hero__copy { padding: 0; }
  .gw-hero__media { min-height: 0; }
  .gw-hero__caption { display: none; }
  .gw-hero::after { background: linear-gradient(90deg, #081932d6, #0c1d3899 75%, #10234855), linear-gradient(0deg, #07182fa8, transparent 35%); }
}
@media (max-width: 650px) {
  .gw-hero { min-height: 760px; min-height: 100svh; }
  .gw-hero__grid { min-height: 760px; min-height: 100svh; padding-block: 130px 70px; }
  .gw-hero__media img { object-position: 50% 50%; }
  .gw-hero h1 { font-size: clamp(2.25rem, 9vw, 3.25rem); }
  .gw-hero__intro { margin-bottom: 29px; }
  .gw-showroom__art { min-height: 420px; }
}

/* Marchi: carosello manuale, senza scorrimento automatico. */
.gw-brands { overflow: hidden; background: #f5f7fa; }
.gw-brands__heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 42px; }
.gw-brands__heading h2 { max-width: 800px; margin-bottom: 0; color: var(--gw-blue-deep); }
.gw-brands__controls { display: flex; flex: 0 0 auto; align-items: center; gap: 16px; }
.gw-brands__arrow { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--gw-blue-deep); border-radius: 50%; background: transparent; color: var(--gw-blue-deep); font-size: 1.35rem; transition: background .2s, color .2s; }
.gw-brands__arrow:hover:not(:disabled) { background: var(--gw-blue-deep); color: var(--gw-white); }
.gw-brands__arrow:disabled { opacity: .35; cursor: not-allowed; }
.gw-brands__status { min-width: 54px; color: var(--gw-blue-deep); font-size: .8rem; font-weight: 800; text-align: center; }
.gw-brands__viewport { position: relative; }
.gw-brands__viewport::before, .gw-brands__viewport::after { content: ""; position: absolute; z-index: 2; top: 0; bottom: 18px; width: clamp(20px, 3vw, 42px); opacity: 0; pointer-events: none; }
.gw-brands__viewport::before { left: 0; background: linear-gradient(90deg, #f5f7fa, transparent); }
.gw-brands__viewport::after { right: 0; background: linear-gradient(270deg, #f5f7fa, transparent); }
.gw-brands__viewport.has-left-overflow::before, .gw-brands__viewport.has-right-overflow::after { opacity: 1; }
.gw-brands__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scroll-padding-inline: 0; padding-bottom: 18px; }
.gw-brand-card { display: flex; flex: 0 0 min(43%, 560px); flex-direction: column; min-height: 390px; padding: clamp(28px, 3.5vw, 52px); border: 1px solid #d8dfeb; background: var(--gw-white); scroll-snap-align: start; text-decoration: none; transition: background .2s, transform .2s; }
.gw-brand-card:hover { background: #eef3fb; color: var(--gw-blue-deep); transform: translateY(-3px); }
.gw-brand-card__index { margin-bottom: auto; color: var(--gw-blue); font-size: .72rem; font-weight: 800; letter-spacing: .15em; }
.gw-brand-card__name { color: var(--gw-blue-deep); font-size: clamp(2.9rem, 5vw, 5.2rem); line-height: 1; letter-spacing: -.07em; }
.gw-brand-card__type { max-width: 350px; margin-top: 20px; color: var(--gw-muted); }
.gw-brand-card__link { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 15px; border-top: 1px solid #cbd4e2; color: var(--gw-blue-deep); font-weight: 750; }
.gw-brands__footer { margin: 24px 0 0; }

/* Catalogo linee: filtri, schede e finestra di dettaglio. */
.gw-line-hero { padding-block: 45px clamp(85px, 9vw, 140px); background: var(--gw-paper); }
.gw-line-hero__inner { max-width: 1050px; }
.gw-line-hero .gw-breadcrumb { margin-bottom: 70px; }
.gw-line-hero h1 { max-width: 1000px; margin-bottom: 25px; color: var(--gw-blue-deep); }
.gw-line-hero p:not(.gw-eyebrow) { max-width: 680px; margin-bottom: 28px; color: var(--gw-muted); font-size: 1.15rem; }
.gw-line-catalog { background: #fff; }
.gw-line-catalog__heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 45px; }
.gw-line-catalog__heading h2 { margin-bottom: 0; color: var(--gw-blue-deep); }
.gw-line-catalog__heading > p { max-width: 340px; margin-bottom: 0; color: var(--gw-muted); }
.gw-line-filters { display: grid; gap: 24px; padding: 25px; border: 1px solid var(--gw-line); background: #f8f9fb; }
.gw-line-filters__brands { display: flex; flex-wrap: wrap; gap: 10px; }
.gw-line-filters__brands button { min-height: 44px; padding: 10px 19px; border: 1px solid #b7c3d4; border-radius: 50px; background: var(--gw-white); color: var(--gw-blue-deep); font-size: .86rem; font-weight: 700; }
.gw-line-filters__brands button:hover, .gw-line-filters__brands button.is-active { border-color: var(--gw-blue-deep); background: var(--gw-blue-deep); color: var(--gw-white); }
.gw-line-filters__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gw-line-filters__fields label { display: grid; gap: 7px; color: var(--gw-blue-deep); font-size: .78rem; font-weight: 800; letter-spacing: .04em; }
.gw-line-filters__fields select, .gw-line-filters__fields input { width: 100%; min-height: 50px; padding: 10px 15px; border: 1px solid #b7c3d4; border-radius: 0; background: var(--gw-white); color: var(--gw-ink); font-size: 1rem; font-weight: 400; letter-spacing: 0; }
.gw-line-catalog__count { margin: 25px 0 0; color: var(--gw-muted); font-size: .85rem; }
.gw-line-brand { padding-top: 78px; scroll-margin-top: 30px; }
.gw-line-brand__heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 27px; padding-bottom: 22px; border-bottom: 1px solid var(--gw-line); }
.gw-line-brand__heading .gw-eyebrow { margin-bottom: 10px; }
.gw-line-brand__heading h3 { margin-bottom: 0; color: var(--gw-blue-deep); font-size: clamp(2.4rem, 4.5vw, 4.5rem); }
.gw-line-brand__heading > p { max-width: 340px; margin-bottom: 4px; color: var(--gw-muted); }
.gw-line-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gw-line-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 250px; padding: 27px; border: 1px solid var(--gw-line); background: #fff; transition: border-color .2s, box-shadow .2s; }
.gw-line-card:hover { border-color: #98a9c4; box-shadow: 0 13px 28px #14245312; }
.gw-line-card__category { margin-bottom: 24px; color: var(--gw-blue); font-size: .69rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.gw-line-card h4 { margin: 0 0 25px; color: var(--gw-blue-deep); font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1.15; letter-spacing: -.035em; }
.gw-line-card button { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 43px; margin-top: auto; padding: 8px 0 0; border: 0; border-top: 1px solid var(--gw-line); background: transparent; color: var(--gw-blue-deep); font-size: .86rem; font-weight: 800; text-align: left; }
.gw-line-card button:hover { color: var(--gw-blue); }
.gw-line-catalog__empty { margin: 40px 0 0; padding: 35px; background: var(--gw-paper); color: var(--gw-blue-deep); }
.gw-line-card[hidden], .gw-line-brand[hidden], .gw-line-catalog__empty[hidden] { display: none; }
.gw-line-dialog { width: min(790px, calc(100% - 30px)); max-height: min(90vh, 850px); max-height: min(90dvh, 850px); padding: 0; border: 0; border-radius: 0; box-shadow: 0 26px 90px #07132d55; color: var(--gw-ink); }
.gw-line-dialog::backdrop { background: #07152cc9; }
.gw-line-dialog__inner { padding: clamp(26px, 4vw, 48px); }
.gw-line-dialog__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.gw-line-dialog__top .gw-eyebrow { margin-bottom: 20px; }
.gw-line-dialog__close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--gw-line); border-radius: 50%; background: transparent; color: var(--gw-blue-deep); font-size: 2rem; line-height: 1; }
.gw-line-dialog__close:hover { background: var(--gw-blue-deep); color: var(--gw-white); }
.gw-line-dialog h2 { margin-bottom: 10px; color: var(--gw-blue-deep); font-size: clamp(2.3rem, 4vw, 4.2rem); }
.gw-line-dialog__group { margin-bottom: 30px; color: var(--gw-muted); font-size: .85rem; font-weight: 700; }
.gw-line-dialog__description { max-width: none; margin-bottom: 35px; font-size: 1.04rem; }
.gw-line-dialog h3 { margin-bottom: 17px; color: var(--gw-blue-deep); font-size: 1.25rem; }
.gw-line-dialog__specs { display: grid; gap: 0; margin: 0 0 18px; border-top: 1px solid var(--gw-line); }
.gw-line-dialog__specs > div { display: grid; grid-template-columns: minmax(130px, .75fr) 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--gw-line); }
.gw-line-dialog__specs dt { color: var(--gw-blue-deep); font-weight: 750; }
.gw-line-dialog__specs dd { margin: 0; }
.gw-line-dialog__note { color: var(--gw-muted); font-size: .82rem; }
.gw-line-dialog__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 30px; }

/* Archivio fotografico delle installazioni. */
.gw-gallery-hero { padding-block: 45px clamp(92px, 10vw, 150px); background: var(--gw-paper); }
.gw-gallery-hero__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); align-items: end; gap: clamp(40px, 9vw, 140px); }
.gw-gallery-hero h1 { max-width: 860px; margin-bottom: 0; color: var(--gw-blue-deep); }
.gw-gallery-hero__grid > div:last-child p { color: var(--gw-muted); font-size: 1.08rem; }
.gw-gallery-hero .gw-arrow-link { margin-top: 14px; }
.gw-gallery-section { background: #f7f9fb; }
.gw-gallery-section__heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.gw-gallery-section__heading h2 { margin-bottom: 0; color: var(--gw-blue-deep); }
.gw-gallery-section__heading > p { margin-bottom: 5px; color: var(--gw-muted); font-weight: 700; white-space: nowrap; }
.gw-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.gw-gallery-item { min-width: 0; margin: 0; }
.gw-gallery-item[hidden] { display: none; }
.gw-gallery-item a { position: relative; display: block; overflow: hidden; background: #dce3e9; }
.gw-gallery-item__media { display: block; aspect-ratio: 1.26; overflow: hidden; }
.gw-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gw-gallery-item a:hover img, .gw-gallery-item a:focus-visible img { transform: scale(1.045); }
.gw-gallery-item__overlay { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--gw-white); color: var(--gw-blue-deep); font-size: 1.3rem; }
.gw-gallery-item figcaption { display: flex; justify-content: space-between; gap: 15px; padding-top: 11px; color: var(--gw-blue-deep); font-size: .78rem; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.gw-gallery-more { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 12px; margin-top: 48px; }
.gw-gallery-more button[hidden] { display: none; }
.gw-gallery-more p { margin-bottom: 0; color: var(--gw-muted); font-size: .85rem; }
.gw-gallery-dialog { width: min(100%, 1440px); max-width: none; max-height: none; height: 100%; margin: auto; padding: 0; border: 0; background: #101a34; color: var(--gw-white); }
.gw-gallery-dialog::backdrop { background: rgba(7, 12, 26, .94); }
.gw-gallery-dialog__inner { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; width: 100%; height: 100%; }
.gw-gallery-dialog__top, .gw-gallery-dialog__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px clamp(18px, 4vw, 60px); }
.gw-gallery-dialog__brand { font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; }
.gw-gallery-dialog__brand span { padding-inline: 7px; color: var(--gw-yellow); }
.gw-gallery-dialog__top button, .gw-gallery-dialog__stage button { display: grid; place-items: center; flex: 0 0 auto; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: transparent; color: var(--gw-white); font-size: 1.5rem; }
.gw-gallery-dialog__top button:hover, .gw-gallery-dialog__stage button:hover:not(:disabled) { background: var(--gw-white); color: var(--gw-blue-deep); }
.gw-gallery-dialog__stage button:disabled { opacity: .25; cursor: not-allowed; }
.gw-gallery-dialog__stage { display: flex; align-items: center; justify-content: space-between; gap: clamp(10px, 3vw, 50px); min-height: 0; padding-inline: clamp(12px, 4vw, 60px); }
.gw-gallery-dialog__stage img { width: auto; max-width: calc(100% - 116px); max-height: 100%; object-fit: contain; margin: auto; }
.gw-gallery-dialog__bottom { color: #dce3f0; font-size: .85rem; font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .gw-gallery-item img { transition: none; }
}

@media (max-width: 850px) {
  .gw-brand-card { flex-basis: min(70%, 560px); }
  .gw-line-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-line-catalog__heading, .gw-line-brand__heading { align-items: start; flex-direction: column; gap: 18px; }
  .gw-gallery-hero__grid { grid-template-columns: 1fr; gap: 30px; }
  .gw-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .gw-brands__heading { align-items: start; flex-direction: column; gap: 24px; }
  .gw-brand-card { flex-basis: 85%; min-height: 340px; }
  .gw-brand-card__name { font-size: clamp(2.9rem, 11vw, 4.5rem); }
  .gw-line-hero .gw-breadcrumb { margin-bottom: 45px; }
  .gw-line-filters__fields, .gw-line-grid { grid-template-columns: 1fr; }
  .gw-line-brand { padding-top: 62px; }
  .gw-line-card { min-height: 205px; }
  .gw-line-dialog__specs > div { grid-template-columns: 1fr; gap: 3px; }
  .gw-line-dialog__actions { align-items: stretch; flex-direction: column; }
  .gw-gallery-section__heading { align-items: start; flex-direction: column; gap: 12px; }
  .gw-gallery-grid { grid-template-columns: 1fr; }
  .gw-gallery-item__media { aspect-ratio: 1.45; }
  .gw-gallery-dialog__brand { letter-spacing: .04em; }
  .gw-gallery-dialog__stage { position: relative; justify-content: center; padding-inline: 10px; }
  .gw-gallery-dialog__stage img { max-width: 100%; }
  .gw-gallery-dialog__stage button { position: absolute; z-index: 1; bottom: 15px; width: 44px; height: 44px; background: rgba(16, 26, 52, .65); }
  .gw-gallery-dialog__stage [data-gallery-prev] { left: 18px; }
  .gw-gallery-dialog__stage [data-gallery-next] { right: 18px; }
}

/* Chi siamo e showroom. */
.gw-about-hero { overflow: hidden; background: var(--gw-blue-deep); color: var(--gw-white); }
.gw-about-hero__grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); min-height: 670px; gap: clamp(35px, 6vw, 90px); }
.gw-about-hero__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 38px 95px; }
.gw-about-hero .gw-breadcrumb { margin-bottom: auto; color: #d8e0f0; }
.gw-about-hero .gw-breadcrumb a:hover { color: var(--gw-yellow); }
.gw-about-hero .gw-eyebrow { margin-top: 75px; color: var(--gw-yellow); }
.gw-about-hero h1 { max-width: 730px; margin-bottom: 28px; font-size: clamp(3.2rem, 5.9vw, 6rem); }
.gw-about-hero__lead { max-width: 610px; margin-bottom: 33px; color: #e0e6f0; font-size: clamp(1rem, 1.3vw, 1.15rem); }
.gw-about-hero__text-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; border-bottom: 1px solid #bec9dc; color: var(--gw-white); font-weight: 750; text-decoration: none; }
.gw-about-hero__text-link:hover { color: var(--gw-yellow); }
.gw-about-hero__image { position: relative; min-height: 100%; margin-right: calc(-1 * var(--gw-gutter)); overflow: hidden; }
.gw-about-hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 48% center; }
.gw-about-hero__image span { position: absolute; right: 0; bottom: 0; padding: 16px 28px; background: var(--gw-yellow); color: var(--gw-blue-deep); font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.gw-about-story { scroll-margin-top: 35px; }
.gw-about-story__grid { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); gap: clamp(45px, 9vw, 140px); }
.gw-about-story h2, .gw-about-method h2, .gw-about-showroom h2, .gw-about-partners h2, .gw-about-visit h2 { color: var(--gw-blue-deep); }
.gw-about-story__body { padding-top: 20px; }
.gw-about-story__body p { color: var(--gw-muted); font-size: clamp(1.02rem, 1.25vw, 1.14rem); }
.gw-about-story__body p + p { margin-top: 25px; }
.gw-about-method { background: var(--gw-paper); }
.gw-about-method__heading { max-width: 850px; margin-bottom: 48px; }
.gw-about-method__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gw-about-method__grid article { min-height: 310px; padding: clamp(25px, 3vw, 43px); border-top: 3px solid var(--gw-blue-deep); background: var(--gw-white); }
.gw-step-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.gw-step-heading > span { color: var(--gw-blue); font-size: .74rem; font-weight: 800; letter-spacing: .18em; }
.gw-step-icon { display: block; width: 64px; height: 64px; color: var(--gw-blue); }
.gw-about-method__grid h3 { margin: 32px 0 14px; color: var(--gw-blue-deep); }
.gw-about-method__grid p { margin-bottom: 0; color: var(--gw-muted); }
.gw-about-showroom { scroll-margin-top: 30px; }
.gw-about-showroom__intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); align-items: end; gap: clamp(45px, 8vw, 120px); margin-bottom: 48px; }
.gw-about-showroom__intro h2 { max-width: 760px; margin-bottom: 0; }
.gw-about-showroom__intro p { color: var(--gw-muted); font-size: 1.08rem; }
.gw-about-showroom__intro .gw-arrow-link { margin-top: 13px; }
.gw-about-showroom__photos { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; }
.gw-about-showroom__photo { min-width: 0; margin: 0; }
.gw-about-showroom__photo img { width: 100%; height: clamp(330px, 34vw, 480px); object-fit: cover; }
.gw-about-showroom__photo--wide img { object-position: 52% center; }
.gw-about-showroom__photo figcaption { padding-top: 12px; color: var(--gw-blue-deep); font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.gw-about-partners { background: #f5f7fa; }
.gw-about-partners__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: clamp(45px, 9vw, 130px); }
.gw-about-partners p:not(.gw-eyebrow) { color: var(--gw-muted); font-size: 1.08rem; }
.gw-about-partners .gw-arrow-link { margin-top: 15px; }
.gw-about-partners__names { display: grid; gap: 0; border-top: 1px solid #cdd6e5; }
.gw-about-partners__names > span { display: block; padding: 20px 0; border-bottom: 1px solid #cdd6e5; color: var(--gw-blue-deep); font-size: clamp(2rem, 4vw, 4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.gw-about-visit { background: var(--gw-white); color: var(--gw-blue-deep); }
.gw-about-visit__grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); gap: clamp(55px, 10vw, 150px); align-items: center; }
.gw-about-visit__photo { height: min(680px, 60vw); min-height: 470px; overflow: hidden; }
.gw-about-visit__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.gw-about-visit .gw-eyebrow { color: var(--gw-blue); }
.gw-about-visit h2 { color: var(--gw-blue-deep); }
.gw-about-visit__copy > p:not(.gw-eyebrow) { color: var(--gw-muted); font-size: 1.1rem; }
.gw-about-visit address { display: grid; gap: 10px; margin: 30px 0; font-style: normal; }
.gw-about-visit address strong { font-size: 1.1rem; }
.gw-about-visit address a { width: fit-content; color: var(--gw-blue-deep); }
.gw-about-visit address a:hover { color: var(--gw-blue); text-decoration: underline; }

@media (max-width: 950px) {
  .gw-about-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .gw-about-hero__copy { min-height: 565px; padding-bottom: 65px; }
  .gw-about-hero .gw-eyebrow { margin-top: 55px; }
  .gw-about-hero__image { height: 470px; margin-left: calc(-1 * var(--gw-gutter)); }
  .gw-about-story__grid, .gw-about-showroom__intro, .gw-about-partners__grid, .gw-about-visit__grid { grid-template-columns: 1fr; }
  .gw-about-method__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gw-about-visit__photo { max-width: 650px; height: 560px; }
}
@media (max-width: 650px) {
  .gw-about-hero__copy { min-height: 0; padding-block: 28px 65px; }
  .gw-about-hero .gw-eyebrow { margin-top: 35px; }
  .gw-about-hero h1 { font-size: clamp(2.7rem, 12vw, 4.3rem); }
  .gw-about-hero__image { height: 340px; }
  .gw-about-method__grid, .gw-about-showroom__photos { grid-template-columns: 1fr; }
  .gw-about-method__grid article { min-height: 0; }
  .gw-about-method__grid h3 { margin-top: 38px; }
  .gw-about-showroom__photo img { height: 310px; }
  .gw-about-visit__photo { min-height: 0; height: 420px; }
}

/* Tre livelli desktop; drawer mobile con pannelli separati. */
.gw-nav__list li { position: relative; }
.gw-nav__list > li { display: flex; align-items: center; }
.gw-nav__expand { display: inline-grid; place-items: center; flex-shrink: 0; width: 32px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--gw-blue-deep); line-height: 1; }
.gw-nav__caret { display: block; width: 13px; height: 13px; transition: transform .18s ease; }
.gw-nav__expand[aria-expanded="true"] .gw-nav__caret { transform: rotate(180deg); }
.gw-nav__list .sub-menu { position: absolute; top: 100%; left: -20px; width: 260px; padding: 12px; margin: 0; list-style: none; background: white; color: var(--gw-blue-deep); border: 1px solid var(--gw-line); box-shadow: 0 24px 60px #1424531c; }
.gw-nav__list .sub-menu li { display: flex; align-items: center; flex-wrap: wrap; }
.gw-nav__list .sub-menu a { flex: 1; padding: 10px 14px; font-size: .86rem; font-weight: 600; }
.gw-nav__list .sub-menu a:hover { background: #f4f6fa; text-decoration: none; }
.gw-nav__list .sub-menu .sub-menu { top: -13px; left: calc(100% - 1px); width: 290px; }
.gw-js .gw-nav__list .sub-menu { visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s; }
.gw-js .gw-nav__list li.is-expanded > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.gw-nav__group { width: 100%; padding: 16px 14px 3px; color: var(--gw-muted); font-size: .65rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.home .gw-nav__expand { color: inherit; }
.gw-menu-open { overflow: hidden; }
.gw-drawer { position: fixed; inset: 0 0 0 auto; width: 80vw; max-width: 520px; height: 100dvh; max-height: 100dvh; padding: 28px clamp(20px, 5vw, 36px); margin: 0; border: 0; background: var(--gw-blue-deep); color: white; overflow: hidden; transform: translateX(100%); transition: transform .28s ease; }
.gw-drawer[open] { display: flex; flex-direction: column; }
.gw-drawer.is-open { transform: translateX(0); }
.gw-drawer::backdrop { background: #101b3580; backdrop-filter: blur(3px); }
.gw-drawer__bar { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-bottom: 28px; }
.gw-drawer__back, .gw-drawer__close { min-height: 44px; border: 0; background: transparent; color: white; }
.gw-drawer__back { padding: 8px 0; font-size: .85rem; }
.gw-drawer__back[hidden] { display: none; }
.gw-drawer__close { width: 44px; margin-left: auto; font-size: 2rem; line-height: 1; }
.gw-drawer__title { font-size: clamp(1.65rem, 6vw, 2.3rem); letter-spacing: -.03em; margin-bottom: 24px; }
.gw-drawer__viewport { flex: 1; position: relative; min-height: 0; overflow: hidden; }
.gw-drawer__panel { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; transform: translateX(105%); transition: transform .3s ease, visibility .3s; }
.gw-drawer__panel.is-before { transform: translateX(-105%); }
.gw-drawer__panel.is-current { visibility: visible; transform: translateX(0); }
.gw-drawer__list { margin: 0; padding: 0; list-style: none; }
.gw-drawer__list li { border-bottom: 1px solid #ffffff26; }
.gw-drawer__list a, .gw-drawer__next { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 58px; padding: 15px 0; border: 0; background: transparent; color: white; font-size: 1rem; font-weight: 550; line-height: 1.4; text-align: left; text-decoration: none; }
.gw-drawer__list a:hover, .gw-drawer__next:hover, .gw-drawer__back:hover { color: var(--gw-yellow); }
.gw-drawer__arrow { color: var(--gw-yellow); }
.gw-drawer__overview { display: inline-block; color: var(--gw-yellow); margin-bottom: 20px; padding-block: 10px; font-size: .8rem; text-decoration: none; }
.gw-drawer__group { display: block; padding-top: 18px; color: #b8c4e2; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; }
.gw-drawer__cta { flex-shrink: 0; margin-top: 24px; font-size: .85rem; gap: 10px; }
@media (max-width: 1100px) {
 .gw-js .gw-nav, .gw-js .gw-nav.is-open { display: none; }
}
/* Pagine gamma e indice prodotti. */
.gw-range-hero { padding: 44px 0 80px; background: var(--gw-paper); }
.gw-range-hero__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 8%; }
.gw-range-hero h1 { color: var(--gw-blue-deep); font-size: clamp(2.8rem, 5vw, 5.2rem); }
.gw-range-hero__intro { color: var(--gw-muted); font-size: 1.08rem; margin-bottom: 30px; }
.gw-range-hero__media { min-height: 430px; background: white; display: grid; place-items: center; }
.gw-range-hero__media img { width: 100%; height: 430px; object-fit: contain; padding: 30px; }
.gw-range { background: #f7f8fa; }
.gw-range__families { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 90px; }
.gw-range__families a { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 110px; padding: 24px; border: 1px solid var(--gw-line); background: white; color: var(--gw-blue-deep); font-weight: 700; text-decoration: none; }
.gw-range__families a:hover { border-color: var(--gw-blue); }
.gw-range-index { background: var(--gw-paper); color: var(--gw-blue-deep); }
.gw-range-index__intro { font-size: 1.18rem; max-width: 700px; color: var(--gw-muted); }
.gw-range-index__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.gw-range-tile { background: white; text-decoration: none; }
.gw-range-tile__image { height: 320px; background: #eef0f4; }
.gw-range-tile__image img { width: 100%; height: 100%; object-fit: contain; padding: 25px; }
.gw-range-tile__copy { padding: 36px; }
.gw-range-tile h2 { color: var(--gw-blue-deep); font-size: 2.5rem; }
.gw-range-tile p { color: var(--gw-muted); }
.gw-model-card__media img { object-fit: contain; padding: 24px; background: white; }
.gw-product-detail__hero-media img { object-fit: contain; padding: 36px; background: white; }
.gw-product-detail__hero-grid { align-items: center; }
.gw-product-detail__gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.gw-product-detail__gallery figure { margin: 0; padding: 24px; background: #f6f7f9; }
.gw-product-detail__gallery img { width: 100%; height: 290px; object-fit: contain; }
.gw-product-detail__gallery figcaption { padding-top: 18px; color: var(--gw-muted); font-size: .85rem; }
.gw-product-detail__content { max-width: 960px; }
.gw-product-detail__content .gw-editorial__content > p { max-width: none; }
.gw-product-detail__content ul { padding-left: 24px; }
.gw-product-detail__content li { padding-block: 8px; border-bottom: 1px solid var(--gw-line); }
.gw-product-detail__content h3 { margin-top: 42px; }
.gw-product-detail__jump { border-block: 1px solid var(--gw-line); background: white; }
.gw-product-detail__jump .gw-container { display: flex; flex-wrap: wrap; gap: 24px; }
.gw-product-detail__jump a { padding-block: 18px; font-size: .83rem; font-weight: 700; color: var(--gw-blue); text-decoration: none; }
@media (max-width: 850px) {
 .gw-range-hero__grid { grid-template-columns: 1fr; gap: 40px; }
 .gw-range__families { grid-template-columns: repeat(2,1fr); }
 .gw-product-detail__gallery { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
 .gw-range-index__grid, .gw-range__families { grid-template-columns: 1fr; }
 .gw-range-hero__media, .gw-range-hero__media img { min-height: 0; height: 320px; }
 .gw-range-tile__copy { padding: 26px; }
}
@media (min-width: 1101px) and (max-width: 1350px) {
 .gw-header__inner { gap: 16px; }
 .gw-nav { gap: 16px; }
 .gw-nav__list { gap: 14px; }
 .gw-nav__list a { font-size: .78rem; }
 .gw-brand { width: 126px; }
 .gw-brand img { width: 126px; height: 126px; transform: translateY(-23px); }
 .gw-nav > .gw-button { font-size: .75rem; padding-inline: 14px; gap: 14px; }
}
.home .gw-nav__list > li > .gw-nav__expand { color: var(--gw-white); }
.home .gw-nav__list .sub-menu a, .home .gw-nav__list .sub-menu a:hover, .home .gw-nav__list .sub-menu .gw-nav__expand { color: var(--gw-blue-deep); }

/* Informazioni showroom: una fonte condivisa per top bar e footer. */
.gw-contact-icon { display: block; flex-shrink: 0; width: 18px; height: 18px; }
.gw-topbar { position: relative; z-index: 2; background: var(--gw-blue-deep); color: white; font-size: .73rem; line-height: 1.4; }
.gw-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; }
.gw-topbar__hours, .gw-topbar__phone, .gw-topbar__address { display: flex; align-items: center; gap: 10px; }
.gw-topbar__phone { flex-shrink: 0; min-height: 44px; color: white; text-decoration: none; }
.gw-topbar__phone:hover { color: var(--gw-yellow); }
.gw-topbar__phone strong { color: var(--gw-yellow); font-size: .82rem; font-weight: 750; letter-spacing: .04em; }
.gw-topbar__hours, .gw-topbar__address { color: #e0e5f1; }
.gw-topbar__mobile-hours { display: none; }
.gw-footer__contacts { margin: 30px 0 0; }
.gw-footer__contacts > div + div { margin-top: 20px; }
.gw-footer__contacts dt { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--gw-yellow); font-size: .72rem; font-weight: 700; }
.gw-footer__contacts dd { margin: 0 0 0 28px; color: #e0e5f1; font-size: .85rem; }
.gw-footer__contacts dd span { display: block; }
.gw-footer__contacts .gw-footer__phone { display: inline-flex; align-items: center; min-height: 44px; color: white; font-size: 1.45rem; font-weight: 650; letter-spacing: .03em; }
.gw-footer__contacts .gw-footer__phone:hover { color: var(--gw-yellow); }
@media (max-width: 1250px) {
 .gw-topbar__address { display: none; }
}
@media (max-width: 850px) {
 .gw-topbar__inner { gap: 14px; }
 .gw-topbar__hours, .gw-topbar__phone-label { display: none; }
 .gw-topbar__mobile-hours { display: block; }
 .gw-topbar__mobile-hours summary { display: flex; align-items: center; gap: 8px; min-height: 44px; list-style: none; cursor: pointer; }
 .gw-topbar__mobile-hours summary::-webkit-details-marker { display: none; }
 .gw-topbar__mobile-hours[open] .gw-nav__caret { transform: rotate(180deg); }
 .gw-topbar__hours-panel { position: absolute; top: 100%; left: 0; right: 0; display: grid; gap: 8px; padding: 18px var(--gw-gutter); background: var(--gw-blue-deep); border-top: 1px solid #ffffff26; box-shadow: 0 14px 30px #07183930; font-size: .85rem; }
 .home .gw-hero__grid { padding-top: 180px; }
}
@media (max-width: 360px) {
 .gw-topbar__phone { gap: 6px; }
 .gw-topbar__mobile-hours summary { gap: 6px; font-size: .7rem; }
}

/* Offset della testata home quando è visibile la barra WordPress. */
.admin-bar.home .gw-header { top: 32px; }
@media (max-width: 782px) {
 .admin-bar.home .gw-header { top: 46px; }
}

/* Sulla home le informazioni si integrano con la testata fotografica. */
.home .gw-topbar { background: transparent; border-bottom: 1px solid #ffffff26; }
.home .gw-topbar__hours, .home .gw-topbar__address { color: white; }
.home .gw-topbar__phone strong { color: white; }
.home .gw-topbar__phone:hover strong { color: var(--gw-yellow); }

/* Contatti e assistenza: moduli Contact Form 7. */
.home .gw-header { border-bottom: 0; }
.gw-contact-page__intro { max-width: 720px; }
.gw-contact-page__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px,8vw,110px); align-items: start; }
.gw-contact-page__details h2, .gw-contact-page__form h2 { font-size: clamp(1.8rem,3vw,2.6rem); color: var(--gw-blue-deep); }
.gw-contact-page__label { margin: 28px 0 8px; color: var(--gw-blue); font-size: .75rem; font-weight: 700; }
.gw-contact-page__phone { display: block; width: fit-content; color: var(--gw-blue-deep); font-size: 2rem; font-weight: 700; text-decoration: none; }
.gw-contact-page__email { display: inline-block; margin: 18px 0 28px; overflow-wrap: anywhere; }
.gw-contact-page__details address { font-style: normal; max-width: 300px; }
.gw-contact-page__hours p:not(.gw-contact-page__label) { margin: 4px 0; font-size: .9rem; }
.gw-contact-page__note, .gw-contact-page__required { color: var(--gw-muted); font-size: .86rem; }
.gw-contact-page__note { margin-top: 32px; max-width: 340px; }
.gw-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gw-form__grid p { margin: 0; }
.gw-form__wide { grid-column: 1 / -1; }
.gw-form__grid label { display: block; color: var(--gw-blue-deep); font-size: .85rem; font-weight: 650; margin-bottom: 9px; }
.gw-form__grid label span { font-size: .7rem; font-weight: 400; }
.gw-form__grid input, .gw-form__grid select, .gw-form__grid textarea { display: block; width: 100%; min-height: 50px; padding: 13px 15px; border: 1px solid #a6b0c4; border-radius: 0; background: #f7f8fa; color: var(--gw-blue-deep); font: inherit; }
.gw-form__grid textarea { resize: vertical; min-height: 160px; }
.gw-form__grid :is(input,select,textarea):focus-visible { outline: 2px solid var(--gw-blue); outline-offset: 3px; }
.gw-form__privacy { margin: 25px 0; font-size: .85rem; }
.gw-form__privacy .wpcf7-list-item { margin: 0; }
.gw-form__privacy label { display: flex; align-items: flex-start; gap: 10px; padding-block: 10px; }
.gw-form__privacy input { width: 20px; height: 20px; flex-shrink: 0; margin: 2px 0 0; accent-color: var(--gw-blue); }
.gw-form__submit { margin: 0; }
.gw-form__submit .gw-button { cursor: pointer; border: 0; white-space: normal; }
.gw-contact-page .wpcf7-not-valid-tip { margin-top: 7px; font-size: .8rem; color: #a52121; }
.gw-contact-page .wpcf7-response-output { margin: 24px 0 0; padding: 18px; font-size: .9rem; }
@media (max-width: 850px) { .gw-contact-page__grid { grid-template-columns: 1fr; } }
@media (max-width: 550px) { .gw-form__grid { grid-template-columns: 1fr; } .gw-form__submit .gw-button { width: 100%; padding-inline: 20px; } }

/* Aperture fotografiche e identità dei partner. */
.gw-opening-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px,6vw,85px); }
.gw-opening-copy { min-width: 0; }
.gw-opening-image { min-width: 0; margin: 0; height: clamp(340px,34vw,470px); overflow: hidden; background: #dedfd8; }
.gw-opening-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gw-opening-grid h1 { font-size: clamp(2.7rem,4.1vw,4.6rem); line-height: 1.06; }
.gw-line-hero { padding-block: 32px 65px; }
.gw-line-hero .gw-breadcrumb { margin-bottom: 28px; }
.gw-line-hero .gw-opening-copy > p:not(.gw-eyebrow) { font-size: 1rem; }
.gw-range-index.gw-section { padding-block: 48px 65px; }
.gw-range-index__intro { font-size: 1rem; }
.gw-contact-page .gw-page-hero--compact, .gw-page-hero--compact:has(.gw-opening-grid) { padding-bottom: 65px; }
.gw-contact-page .gw-page-hero .gw-opening-grid { margin-top: 28px; }
.gw-gallery-hero .gw-opening-grid { margin-top: 28px; }
.gw-partner-logo { display: block; width: auto; max-width: 200px; height: 48px; object-fit: contain; object-position: left center; margin-bottom: 22px; }
.gw-partner-logo--schuco { max-width: 176px; height: 38px; }
.gw-partner-logo--telcam { max-width: 200px; height: 46px; }
.gw-brand-card { min-height: 420px; background: #faf9f4; }
.gw-brand-card__index { margin-bottom: 26px; }
.gw-brand-card__logo { margin-bottom: 26px; }
.gw-brand-card__name { font-size: clamp(2rem,3vw,3rem); letter-spacing: -.045em; }
.gw-brand-card__link { margin-top: auto; }
.gw-brand-card__type { margin-bottom: 30px; }
.gw-line-brand__heading .gw-partner-logo { margin-bottom: 18px; }
.gw-line-brand__heading h3 { font-size: clamp(2rem,3.5vw,3rem); }
.gw-line-catalog { background: #edeef0; }
.gw-line-filters { background: #f8f7f2; border-color: #cbd1dc; }
.gw-line-card { overflow: hidden; min-height: 270px; padding: 26px 26px 0; border: 1px solid #d0d5de; border-top: 3px solid var(--gw-blue); background: #f8f7f2; }
.gw-line-card__category { display: flex; align-items: center; gap: 12px; min-height: 36px; margin-bottom: 20px; }
.gw-line-card__icon { flex-shrink: 0; width: 34px; height: 34px; }
.gw-line-card h4 { margin-bottom: 30px; }
.gw-line-card button { width: calc(100% + 52px); margin-inline: -26px; min-height: 66px; padding: 15px 26px; border: 0; background: var(--gw-blue-deep); color: white; }
.gw-line-card button:hover { background: var(--gw-blue); color: white; }
.gw-line-card__arrow { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--gw-yellow); color: var(--gw-blue-deep); font-size: 1.1rem; flex-shrink: 0; }
.gw-line-card button:focus-visible { outline: 3px solid var(--gw-yellow); outline-offset: -5px; }
.gw-line-dialog__logos .gw-partner-logo { margin-bottom: 20px; }
.gw-line-dialog__logos [hidden] { display: none; }
.gw-range-tile__copy .gw-partner-logo { height: 38px; max-width: 165px; margin-bottom: 20px; }
@media (max-width: 850px) {
 .gw-opening-grid { grid-template-columns: 1fr; gap: 28px; }
 .gw-opening-image { order: -1; height: clamp(200px,45vw,310px); }
 .gw-opening-grid h1 { font-size: clamp(2.5rem,7vw,3.4rem); }
 .gw-line-hero, .gw-range-index.gw-section { padding-block: 25px 45px; }
 .gw-line-hero .gw-breadcrumb { margin-bottom: 24px; }
 .gw-brand-card { min-height: 390px; }
 .gw-brand-card__name { font-size: 2.4rem; }
}

.gw-opening-grid h1 { margin-bottom: 25px; }
.gw-brand-card__logo { height: 48px; }

/* Navigazione paginata, condivisa dagli archivi. */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.pagination { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--gw-line); }
.pagination .nav-links, .pagination ul.page-numbers { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.pagination ul.page-numbers { margin: 0; padding: 0; list-style: none; }
.pagination :is(a,span).page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; min-height: 46px; padding: 10px 15px; margin: 0; border: 1px solid #bac4d8; background: white; color: var(--gw-blue-deep); font-size: .88rem; font-weight: 700; line-height: 1.3; text-decoration: none; }
.pagination .page-numbers.current { border-color: var(--gw-blue-deep); background: var(--gw-blue-deep); color: white; }
.pagination a.page-numbers:hover { border-color: var(--gw-blue); background: var(--gw-blue); color: white; }
.pagination .page-numbers.dots { min-width: 24px; padding-inline: 0; border-color: transparent; background: transparent; }
.gw-line-brand__heading h3 .gw-partner-logo { margin-bottom: 0; }
/* Il widget conserva stelle e marchio Google originali. */
.gw-reviews { background: #eeeff2; }
.gw-reviews__heading { margin-bottom: 38px; }
.gw-reviews__heading h2 { max-width: 850px; color: var(--gw-blue-deep); }
.gw-reviews__widget { min-width: 0; }
.gw-reviews .ti-widget.ti-goog { width: 100%; font-family: inherit !important; }
.gw-reviews .ti-widget.ti-goog .ti-widget-container { font-family: inherit !important; color: var(--gw-blue-deep) !important; }
.gw-reviews .ti-widget.ti-goog .ti-review-item > .ti-inner { border: 1px solid #d0d5de !important; border-radius: 0 !important; background: #faf9f4 !important; box-shadow: none !important; }
.gw-reviews .ti-widget.ti-goog .ti-name { color: var(--gw-blue-deep) !important; }
.gw-reviews .ti-widget.ti-goog .ti-review-content { color: var(--gw-ink) !important; }
.gw-reviews .ti-widget.ti-goog .ti-controls .ti-next, .gw-reviews .ti-widget.ti-goog .ti-controls .ti-prev { color: var(--gw-blue-deep) !important; }
@media (max-width: 550px) { .pagination { margin-top: 32px; padding-top: 24px; } .pagination .nav-links, .pagination ul.page-numbers { gap: 8px; } }

/* Product details: shared gallery lightbox, readable source descriptions. */
.gw-product-detail__gallery { margin-top: 32px; }
.gw-product-detail__gallery a { display: block; position: relative; color: var(--gw-blue-deep); }
.gw-product-detail__zoom { position: absolute; right: 0; bottom: 0; display: grid; place-items: center; width: 36px; height: 36px; background: var(--gw-yellow); font-size: 1.4rem; }
.gw-product-detail__gallery a:hover .gw-product-detail__zoom { background: var(--gw-blue-deep); color: white; }
.gw-product-detail__content .gw-editorial__content { max-width: 78ch; line-height: 1.8; }
.gw-product-detail__content .gw-editorial__content h3 { margin-top: 2.2em; margin-bottom: .65em; font-size: clamp(1.25rem,2vw,1.8rem); line-height: 1.3; }
.gw-product-detail__content .gw-editorial__content p { margin-top: 0; margin-bottom: 1.2em; }
.gw-product-detail__content .gw-editorial__content ul { padding-left: 1.3em; }
.gw-product-detail__content .gw-editorial__content li { padding-left: .3em; margin-bottom: .6em; }
.gw-product-detail__content .gw-editorial__content li::marker { color: var(--gw-blue); }

/* The people behind the showroom: original agency photographs. */
.gw-about-people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 72px); }
.gw-about-people__photo { margin: 0; min-width: 0; }
.gw-about-people__photo img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; }
.gw-about-people__photo figcaption { padding-top: 16px; color: var(--gw-blue-deep); font-size: .9rem; font-weight: 600; }
@media (max-width: 620px) {
 .gw-about-people { grid-template-columns: 1fr; gap: 32px; }
 .gw-about-people__photo img { max-height: 580px; object-position: center; }
}

/* Showroom: spacing follows the reading order when columns stack. */
@media (max-width: 950px) {
 .gw-about-hero__copy { min-height: 0; padding-block: 32px 48px; }
 .gw-about-hero .gw-breadcrumb { margin-bottom: 0; }
 .gw-about-hero .gw-eyebrow { margin-top: 28px; }
 .gw-about-story__grid { gap: 20px; }
 .gw-about-story__heading h2 { margin-bottom: 0; }
 .gw-about-story__body { padding-top: 0; }
 .gw-about-story__body p:last-child { margin-bottom: 0; }
 .gw-about-showroom__intro { gap: 22px; margin-bottom: 32px; }
 .gw-about-showroom__intro p { margin-bottom: 16px; }
 .gw-about-partners__grid, .gw-about-visit__grid { gap: 28px; }
}
@media (max-width: 650px) {
 .gw-about-story, .gw-about-method, .gw-about-showroom, .gw-about-partners, .gw-about-visit { padding-block: 52px; }
 .gw-about-hero__copy { padding-block: 24px 36px; }
 .gw-about-hero .gw-eyebrow { margin-top: 24px; margin-bottom: 16px; }
 .gw-about-hero h1 { margin-bottom: 20px; font-size: clamp(2.45rem, 10.5vw, 3.6rem); }
 .gw-about-hero__lead { margin-bottom: 24px; }
 .gw-about-hero .gw-actions { gap: 16px; }
 .gw-about-story h2, .gw-about-method h2, .gw-about-showroom h2, .gw-about-partners h2, .gw-about-visit h2 { font-size: clamp(2rem, 8.5vw, 2.6rem); margin-bottom: 20px; }
 .gw-about-story__heading h2, .gw-about-showroom__intro h2 { margin-bottom: 0; }
 .gw-about-story .gw-eyebrow, .gw-about-method .gw-eyebrow, .gw-about-showroom .gw-eyebrow, .gw-about-partners .gw-eyebrow, .gw-about-visit .gw-eyebrow { margin-bottom: 14px; }
 .gw-about-story__body p + p { margin-top: 18px; }
 .gw-about-people { margin-top: 32px; }
 .gw-about-method__heading { margin-bottom: 28px; }
 .gw-about-method__heading h2 { margin-bottom: 0; }
 .gw-about-method__grid article { padding: 24px; }
 .gw-about-method__grid h3 { margin-block: 22px 12px; }
 .gw-step-icon { width: 56px; height: 56px; }
 .gw-about-visit address { margin-block: 24px; }
}

/* Restrained movement: contents remain visible unless enhanced by the observer. */
@media (prefers-reduced-motion: no-preference) {
 .gw-motion { transition: opacity 560ms cubic-bezier(.22, 1, .36, 1), transform 560ms cubic-bezier(.22, 1, .36, 1); }
 .gw-motion-pending { opacity: 0; transform: translateY(14px); }
 .gw-motion-delay-1 { transition-delay: 60ms; }
 .gw-motion-delay-2 { transition-delay: 120ms; }
 .home .gw-hero__intro, .home .gw-hero .gw-actions { animation: gw-hero-settle 550ms cubic-bezier(.22, 1, .36, 1) both; }
 .gw-line-dialog[open] { animation: gw-dialog-enter 220ms cubic-bezier(.22, 1, .36, 1); }
 .gw-gallery-dialog[open] { animation: gw-lightbox-enter 200ms ease-out; }
 .gw-line-dialog[open]::backdrop, .gw-gallery-dialog[open]::backdrop { animation: gw-lightbox-enter 200ms ease-out; }
 .gw-button > span, .gw-arrow-link > span, .gw-text-link > span, .gw-product-card__arrow { display: inline-block; transition: transform 220ms cubic-bezier(.22, 1, .36, 1); }
}
@keyframes gw-hero-settle { from { transform: translateY(8px); } to { transform: translateY(0); } }
@keyframes gw-dialog-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gw-lightbox-enter { from { opacity: 0; } to { opacity: 1; } }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
 .gw-button:hover > span, .gw-arrow-link:hover > span, .gw-text-link:hover > span, .gw-product-card:hover .gw-product-card__arrow { transform: translate(2px, -2px); }
 .gw-product-card__visual img { transition: transform 550ms cubic-bezier(.22, 1, .36, 1); }
 .gw-product-card:hover .gw-product-card__visual img { transform: scale(1.025); }
}
@media (max-width: 650px) {
 .gw-motion { transition-duration: 420ms; }
 .gw-motion-delay-1 { transition-delay: 35ms; }
 .gw-motion-delay-2 { transition-delay: 70ms; }
}
@media (prefers-reduced-motion: reduce) {
 .gw-motion, .gw-motion-pending { opacity: 1; transform: none; transition: none; }
 .gw-hero__intro, .gw-hero .gw-actions, .gw-line-dialog[open], .gw-gallery-dialog[open] { animation: none; }
 .gw-product-card:hover .gw-product-card__visual img, .gw-button:hover { transform: none; }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
 .gw-product-card:hover { transform: translateY(-2px); }
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
 .gw-product-card:hover, .gw-product-card:hover .gw-product-card__visual img { transform: none; }
}

/* Cards settle more slowly; their normal hover resumes after the entrance. */
@media (prefers-reduced-motion: no-preference) {
 .gw-motion.gw-motion-card { transition-duration: 950ms; transition-timing-function: cubic-bezier(.25, .46, .35, 1); }
 .gw-motion-card.gw-motion-delay-1 { transition-delay: 90ms; }
 .gw-motion-card.gw-motion-delay-2 { transition-delay: 180ms; }
}
@media (max-width: 650px) and (prefers-reduced-motion: no-preference) {
 .gw-motion.gw-motion-card { transition-duration: 800ms; }
 .gw-motion-card.gw-motion-delay-1 { transition-delay: 60ms; }
 .gw-motion-card.gw-motion-delay-2 { transition-delay: 120ms; }
}
@media (prefers-reduced-motion: no-preference) {
 .gw-motion.gw-motion-pending { transition: none; }
}

/* Four balanced footer columns; primary navigation remains managed by WordPress. */
.gw-footer__main { grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 3.4vw, 48px); }
.gw-footer__information .gw-footer__contacts { margin-top: 0; }
.gw-footer__menu a { display: inline-block; }
.gw-footer__credit a { font-weight: 600; color: #e0e5f1; }
.gw-footer__bottom { align-items: center; flex-wrap: wrap; }
@media (max-width: 960px) {
 .gw-footer__main { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 32px; }
 .gw-footer__brand { grid-column: auto; }
}
@media (max-width: 600px) {
 .gw-footer__main { grid-template-columns: 1fr; gap: 28px; padding-block: 40px 48px; }
 .gw-footer__column h2 { margin-top: 0; }
 .gw-footer__bottom { align-items: flex-start; gap: 12px; }
}

/* Marchi INVI e Schüco affiancati, con proporzioni e colori originali. */
.gw-partner-logo.gw-partner-pair { display: flex; align-items: center; gap: 18px; width: 100%; max-width: 320px; height: auto; min-height: 56px; }
.gw-partner-pair > img { display: block; flex: 0 1 auto; min-width: 0; height: auto; margin: 0; object-fit: contain; }
.gw-partner-pair > .gw-partner-pair__invi { width: 112px; max-width: 42%; }
.gw-partner-pair > .gw-partner-pair__schuco { width: 160px; max-width: 50%; }
.gw-about-partners__names > span > .gw-partner-pair { margin: 0; }
@media (max-width: 650px) {
 .gw-partner-logo.gw-partner-pair { gap: 14px; max-width: 280px; }
}
