/* =============================================
   GUIDE — stile condiviso delle pagine "Guide"
   Si aggiunge a style.css (non lo sostituisce).
   v2 del 30/09/2026.
   ============================================= */

/* Icone dello sprite (Phosphor MIT / MDI Apache 2.0) */
.gi { width: 1.25em; height: 1.25em; display: inline-block; vertical-align: -0.22em; fill: currentColor; flex: 0 0 auto; }

/* Hero */
#hero.hero-guida { min-height: 78vh; }
#hero.hero-guida-adesive::after { background-image: url('../images/etichette-adesive/etichette-adesive-prod.png'); background-position: center 45%; }
#hero.hero-guide-indice::after { background-image: url('../images/condivise/tec-strip-rotoli-colori.jpg'); background-position: center 50%; }
.gd-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: -24px; }
.gd-meta .stat-chip, .hero-stats .stat-chip { background: rgba(14,29,61,.6); backdrop-filter: blur(6px); } /* fondo scuro: sulla foto chiara era 3,4:1 */
@media (min-width: 769px) { .gd-meta { justify-content: center; } }

/* Layout articolo + indice. overflow-x: clip (non hidden) per non rompere lo sticky */
.gd-wrap { background: var(--off-white); position: relative; overflow-x: clip; }
.gd-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; padding: 72px 0 40px; position: relative; z-index: 2; }
.gd-toc { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: none; }
.gd-toc::-webkit-scrollbar { display: none; }
.gd-toc-title { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-mid); margin-bottom: 12px; }
.gd-toc-title .gi { width: 1.5em; height: 1.5em; }
.gd-toc ol { list-style: none; margin: 0; padding: 6px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.gd-toc li a { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 8px; color: var(--text-mid); font-size: .85rem; line-height: 1.3; text-decoration: none; transition: background var(--transition), color var(--transition); }
.gd-toc li a span { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 700; background: var(--gray-light); color: var(--text-mid); transition: all var(--transition); }
.gd-toc li a:hover { background: var(--off-white); color: var(--navy); }
.gd-toc li a.active { background: rgba(27,47,94,.07); color: var(--navy); font-weight: 600; }
.gd-toc li a.active span { background: var(--sand); color: var(--navy-dark); transform: scale(1.1); }
.gd-toc li a.done span { background: var(--navy); color: #fff; }
.gd-toc-cta { margin-top: 14px; padding: 16px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid)); color: #fff; font-size: .84rem; line-height: 1.5; }
.gd-toc-cta .gi { width: 28px; height: 28px; color: var(--sand); }
.gd-toc-cta p { margin: 6px 0 0; color: rgba(255,255,255,.88); }
.gd-toc-cta a { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; color: var(--sand); font-weight: 600; text-decoration: none; }

.gd-article { max-width: 800px; color: var(--text-dark); font-size: 1.02rem; line-height: 1.75; }
.gd-article p { margin: 0 0 1.1em; color: var(--text-mid); }
.gd-article strong { color: var(--text-dark); }
.gd-article a { color: var(--navy-mid); font-weight: 600; }
.gd-sec { padding-top: 24px; margin-bottom: 72px; scroll-margin-top: calc(var(--header-h) + 16px); }
.gd-sec-hd { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.gd-num { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: var(--sand); color: var(--navy-dark); font-weight: 700; display: grid; place-items: center; font-size: 1.05rem; box-shadow: 0 8px 20px rgba(255,209,0,.35); transform: rotate(-6deg); transition: transform .4s ease; }
.gd-sec-hd:hover .gd-num { transform: rotate(0) scale(1.06); }
.gd-sec h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--navy); line-height: 1.2; margin: 0; }
.gd-sec h3 { font-size: 1.12rem; color: var(--navy); margin: 32px 0 10px; }
.gd-lead { font-size: 1.08rem; }

/* In breve */
.gd-tldr { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 26px 28px; margin-bottom: 64px; position: relative; overflow: hidden; }
.gd-tldr::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--sand), #ffe766, var(--sand)); }
.gd-tldr-title { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); margin-bottom: 16px; font-size: 1.05rem; }
.gd-tldr-title .gi { width: 26px; height: 26px; color: var(--sand); filter: drop-shadow(0 1px 0 rgba(27,47,94,.4)); }
.gd-tldr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.gd-tldr-item { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius-md); background: var(--off-white); transition: transform var(--transition), background var(--transition); }
.gd-tldr-item:hover { transform: translateY(-3px); background: var(--sand-light); }
.gd-tldr-ico { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--navy); color: var(--sand); display: grid; place-items: center; }
.gd-tldr-ico .gi { width: 22px; height: 22px; }
.gd-tldr-item p { margin: 0; font-size: .9rem; line-height: 1.55; }

/* Riquadri */
.gd-note { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--sand-light); color: var(--text-dark); font-size: .95rem; line-height: 1.6; margin: 20px 0; }
.gd-note i { color: var(--navy); margin-top: 4px; }
.gd-note p { margin: 0; color: inherit; }

/* Pannello interattivo */
.gd-widget { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 28px; margin: 26px 0; position: relative; }
.gd-widget-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); background: var(--sand-light); padding: 6px 12px 6px 8px; border-radius: 100px; margin-bottom: 14px; }
.gd-widget-tag .gi { width: 18px; height: 18px; }
.gd-widget h4 { font-size: 1.18rem; color: var(--navy); margin: 0 0 6px; }
.gd-widget > p { font-size: .93rem; }

/* Pillole */
.gd-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 4px; }
.gd-pill { border: 1.5px solid var(--gray-mid); background: #fff; color: var(--text-dark); border-radius: 100px; padding: 8px 15px; font: inherit; font-size: .86rem; cursor: pointer; transition: all var(--transition); display: inline-flex; align-items: center; gap: 7px; }
.gd-pill i { color: var(--navy-mid); font-size: .82rem; transition: color var(--transition); }
.gd-pill:hover { border-color: var(--navy-mid); transform: translateY(-1px); }
.gd-pill.active { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 16px rgba(27,47,94,.25); }
.gd-pill.active i { color: var(--sand); }
.gd-q-label { font-weight: 600; color: var(--navy); font-size: .92rem; margin-top: 18px; display: flex; align-items: center; gap: 8px; }
.gd-q-label span { width: 22px; height: 22px; border-radius: 50%; background: var(--sand); color: var(--navy-dark); display: grid; place-items: center; font-size: .72rem; }
.gd-round { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gray-mid); background: #fff; color: var(--navy); cursor: pointer; display: grid; place-items: center; transition: all var(--transition); }
.gd-round:hover { background: var(--navy); color: var(--sand); border-color: var(--navy); }

/* 1 · Anatomia isometrica */
.gd-anat-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.gd-anat-stage { position: relative; background: radial-gradient(circle at 40% 45%, #eef2fb 0%, #fff 70%); border-radius: var(--radius-md); }
.gd-anat-stage > svg { width: 100%; height: auto; display: block; overflow: visible; }
.gd-anat-toggle .gi { width: 16px; height: 16px; }
#gdIso { --gap: 12px; }
#gdIso.exploded { --gap: 50px; }
.gd-iso { cursor: pointer; transform: translateY(calc(170px + (var(--i) - 2) * var(--gap))); transition: transform .8s cubic-bezier(.34,1.56,.64,1), opacity .35s ease; outline: none; }
#gdIso.exploded .gd-iso.active { transform: translate(-10px, calc(170px + (var(--i) - 2) * var(--gap) - 8px)); }
#gdIso.has-active .gd-iso:not(.active) { opacity: .55; }
.gd-iso-top { transition: stroke .3s ease, stroke-width .3s ease; }
.gd-iso.active .gd-iso-top, .gd-iso:hover .gd-iso-top, .gd-iso:focus-visible .gd-iso-top { stroke: #FFD100; stroke-width: 3; }
.gd-iso-pin { fill: #fff; stroke: #1b2f5e; stroke-width: 2; transition: fill .3s ease; }
.gd-iso.active .gd-iso-pin { fill: #FFD100; }
.gd-iso-num { font: 700 12px Inter, Arial, sans-serif; fill: #1b2f5e; pointer-events: none; }
.gd-iso-lbl { font: 600 13px Inter, Arial, sans-serif; fill: #1b2f5e; }
#gdIso:not(.exploded) .gd-iso line, #gdIso:not(.exploded) .gd-iso-pin, #gdIso:not(.exploded) .gd-iso-num, #gdIso:not(.exploded) .gd-iso-lbl { opacity: 0; }
.gd-iso line, .gd-iso-pin, .gd-iso-num, .gd-iso-lbl { transition: opacity .4s ease .3s; }
.gd-anat-toggle { position: relative; margin: 4px 0 10px 12px; border: 0; background: var(--navy); color: #fff; border-radius: 100px; padding: 7px 14px 7px 10px; font: inherit; font-size: .78rem; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.gd-anat-toggle .gi { color: var(--sand); }
.gd-anat-card { min-height: 220px; border-radius: var(--radius-md); background: linear-gradient(160deg, var(--navy-dark), var(--navy-mid)); color: #fff; padding: 22px; position: relative; overflow: hidden; }
.gd-anat-card::after { content: attr(data-n); position: absolute; right: 10px; bottom: -28px; font: italic 700 130px 'Playfair Display', serif; color: rgba(255,209,0,.12); line-height: 1; }
.gd-anat-card .k { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); }
.gd-anat-card h5 { font-size: 1.3rem; margin: 8px 0 8px; color: #fff; }
.gd-anat-card p { font-size: .9rem; color: rgba(255,255,255,.88); margin: 0 0 12px; position: relative; z-index: 1; }
.gd-anat-card .why { display: flex; gap: 8px; font-size: .84rem; color: var(--sand-light); position: relative; z-index: 1; }
.gd-anat-card.swap { animation: gd-swap .45s ease; }
@keyframes gd-swap { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.gd-anat-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.gd-layer-dots { display: flex; gap: 7px; }
.gd-layer-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--gray-mid); cursor: pointer; padding: 0; transition: all var(--transition); }
.gd-layer-dots button.active { background: var(--navy); width: 26px; border-radius: 5px; }

/* 2 · Esploratore materiali */
.gd-mat-tiles { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; }
.gd-mat-tile { border: 2px solid transparent; background: var(--off-white); border-radius: var(--radius-md); padding: 6px 6px 10px; cursor: pointer; font: inherit; font-size: .74rem; font-weight: 600; color: var(--text-mid); display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; line-height: 1.25; transition: all var(--transition); }
.gd-mat-img { display: block; aspect-ratio: 1; border-radius: 9px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); transition: transform .4s ease; }
.gd-mat-tile:hover .gd-mat-img { transform: scale(1.05) rotate(-2deg); }
.gd-mat-tile.active { border-color: var(--navy); background: #fff; color: var(--navy); box-shadow: var(--shadow-md); }
.gd-mat-detail { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 22px; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--gray-mid); }
.gd-mat-big { border-radius: var(--radius-md); background-size: cover; background-position: center; min-height: 200px; position: relative; box-shadow: var(--shadow-md); animation: gd-swap .45s ease; }
.gd-mat-big span { position: absolute; left: 10px; top: 10px; background: rgba(14,29,61,.82); color: var(--sand); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; }
.gd-mat-info h5 { font-size: 1.25rem; color: var(--navy); margin: 0 0 4px; }
.gd-mat-info > p { font-size: .9rem; margin: 0 0 12px; }
.gd-mat-rate { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; align-items: center; font-size: .84rem; color: var(--text-mid); margin-bottom: 12px; }
.gd-stars { display: inline-flex; gap: 3px; color: var(--gray-mid); font-size: .82rem; }
.gd-stars .on { color: #f5b301; }
.gd-mat-rate .gd-stars i { transform: scale(0); animation: gd-star .35s ease forwards; }
@keyframes gd-star { to { transform: scale(1); } }
.gd-mat-tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: .78rem; }
.gd-mat-tags .ok { background: rgba(34,197,94,.12); color: #15803d; padding: 4px 10px; border-radius: 100px; }
.gd-mat-tags .no { background: rgba(239,68,68,.09); color: #b91c1c; padding: 4px 10px; border-radius: 100px; }

.gd-compare { margin: 18px 0 8px; }
.gd-compare summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: .92rem; padding: 10px 16px; background: #fff; border-radius: 100px; box-shadow: var(--shadow-sm); }
.gd-compare summary::-webkit-details-marker { display: none; }
.gd-compare summary .fa-chevron-down { font-size: .7rem; transition: transform var(--transition); }
.gd-compare[open] summary .fa-chevron-down { transform: rotate(180deg); }
.gd-table-wrap { overflow-x: auto; margin: 16px 0; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); background: #fff; }
.gd-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 640px; }
.gd-table th { background: var(--navy); color: #fff; text-align: left; padding: 12px 14px; font-weight: 600; font-size: .78rem; letter-spacing: .03em; }
.gd-table td { padding: 11px 14px; border-bottom: 1px solid var(--gray-light); color: var(--text-mid); vertical-align: middle; }
.gd-table tr:last-child td { border-bottom: 0; }
.gd-table td:first-child { font-weight: 600; color: var(--text-dark); white-space: nowrap; }
.gd-table tr.hl td { background: var(--sand-light); }
.gd-table-note { font-size: .8rem; color: var(--text-light); }
.gd-scroll-hint { display: none; font-size: .78rem; color: var(--text-light); margin-top: 12px; }

/* Quiz */
.gd-quiz-steps { display: grid; gap: 4px; }
.gd-quiz-step { padding-left: 14px; border-left: 2px solid var(--gray-light); transition: border-color var(--transition); }
.gd-quiz-step.done { border-left-color: var(--sand); }
.gd-quiz-progress { height: 6px; border-radius: 3px; background: var(--gray-light); margin-top: 20px; overflow: hidden; }
.gd-quiz-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--sand), #ffb800); transition: width .4s ease; }
.gd-result { margin-top: 18px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid)); color: #fff; padding: 20px; display: none; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: start; }
.gd-result.show { display: grid; animation: gd-pop .45s cubic-bezier(.34,1.56,.64,1); }
.gd-result-img { aspect-ratio: 1; border-radius: 12px; background-size: cover; background-position: center; box-shadow: 0 0 0 3px var(--sand); }
.gd-result .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); font-weight: 700; }
.gd-result h5 { font-size: 1.2rem; margin: 6px 0 10px; color: #fff; }
.gd-result ul { margin: 0 0 14px; padding-left: 18px; }
.gd-result li { margin-bottom: 6px; color: rgba(255,255,255,.9); font-size: .9rem; line-height: 1.5; }
@keyframes gd-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* 3 · Adesivi */
.gd-glue { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 18px 0 8px; }
.gd-glue-card { background: #fff; border-radius: var(--radius-lg); padding: 20px 16px; box-shadow: var(--shadow-sm); text-align: center; transition: transform var(--transition), box-shadow var(--transition); }
.gd-glue-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gd-glue-art { position: relative; width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 22px; display: grid; place-items: center; background: linear-gradient(145deg, var(--navy), var(--navy-mid)); color: var(--sand); }
.gd-glue-art .gi { width: 40px; height: 40px; position: relative; z-index: 1; }
.gd-glue-fx { position: absolute; inset: 0; border-radius: 22px; pointer-events: none; }
.gd-glue-card h4 { font-size: 1rem; color: var(--navy); margin: 0 0 6px; }
.gd-glue-card p { font-size: .84rem; margin: 0 0 10px; line-height: 1.5; }
.gd-chips { display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
.gd-chips span { font-size: .7rem; font-weight: 600; color: var(--navy); background: var(--off-white); border-radius: 100px; padding: 3px 9px; }
.gd-glue--perm .gi { animation: gd-press 2.4s ease-in-out infinite; }
.gd-glue--rem .gi { transform-origin: 20% 80%; animation: gd-peel 2.8s ease-in-out infinite; }
.gd-glue--forte .gd-glue-fx { border: 2px solid var(--sand); animation: gd-ring 2s ease-out infinite; }
.gd-glue--freeze .gi { animation: gd-spin 8s linear infinite; }
.gd-glue--freeze .gd-glue-art { background: linear-gradient(145deg, #1d4ed8, #3b82f6); color: #fff; }
@keyframes gd-press { 0%,100% { transform: scale(1); } 45% { transform: scale(.86); } 55% { transform: scale(1.08); } }
@keyframes gd-peel { 0%,60%,100% { transform: rotate(0); } 75% { transform: rotate(-14deg) translateY(-3px); } }
@keyframes gd-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.45); opacity: 0; } }
@keyframes gd-spin { to { transform: rotate(360deg); } }

/* Termometro */
.gd-thermo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 20px; align-items: stretch; }
.gd-thermo { display: flex; gap: 10px; justify-content: center; align-items: stretch; padding: 10px 0 30px; }
.gd-thermo-scale { display: flex; flex-direction: column; justify-content: space-between; font-size: .68rem; font-weight: 600; color: var(--text-light); text-align: right; padding: 6px 0 18px; }
.gd-thermo-bar { position: relative; width: 28px; min-height: 230px; border-radius: 14px; background: var(--gray-light); border: 2px solid var(--gray-mid); }
.gd-thermo-fill { position: absolute; left: 4px; right: 4px; bottom: 4px; border-radius: 10px; background: linear-gradient(to top, #3b82f6, #60a5fa); height: 50%; transition: height .7s cubic-bezier(.34,1.56,.64,1), background .6s ease; }
.gd-thermo-bulb { position: absolute; left: 50%; bottom: -24px; width: 44px; height: 44px; margin-left: -22px; border-radius: 50%; background: #3b82f6; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--gray-mid); transition: background .6s ease; }
.gd-thermo-msg { margin-top: 16px; background: var(--off-white); border-left: 4px solid var(--sand); border-radius: var(--radius-md); padding: 16px 18px; font-size: .92rem; line-height: 1.6; color: var(--text-mid); }
.gd-thermo-msg strong { color: var(--navy); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 1rem; }

/* 4 · Tiratura */
.gd-run-track { position: relative; padding-top: 58px; }
.gd-run-stack { position: absolute; left: 0; right: 0; top: 0; height: 52px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; }
.gd-run-stack i { display: block; width: 16px; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--navy), var(--navy-mid)); animation: gd-grow .4s ease backwards; }
.gd-run-stack i:nth-child(3n) { background: linear-gradient(to top, #d4a900, var(--sand)); }
@keyframes gd-grow { from { transform: scaleY(0); transform-origin: bottom; } }
.gd-range { width: 100%; accent-color: var(--navy); margin: 6px 0; }
.gd-range-labels { display: flex; justify-content: space-between; font-size: .74rem; color: var(--text-light); }
.gd-run-txt { margin: 14px 0 0; padding: 12px 16px; background: var(--sand-light); border-radius: var(--radius-md); font-size: .92rem; }
.gd-tech-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.gd-tech { border-radius: var(--radius-md); border: 1.5px solid var(--gray-mid); padding: 16px 14px; background: #fff; transition: all .4s ease; opacity: .4; filter: grayscale(1); }
.gd-tech.on { opacity: 1; filter: none; border-color: var(--navy); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.gd-tech i { color: var(--navy); font-size: 1.1rem; width: 38px; height: 38px; border-radius: 10px; background: var(--sand); display: grid; place-items: center; }
.gd-tech h6 { margin: 10px 0 4px; font-size: .95rem; color: var(--navy); }
.gd-tech p { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--text-mid); }
.gd-finish { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 14px 0 18px; }
.gd-finish-item { background: #fff; border-radius: var(--radius-md); padding: 14px 12px; box-shadow: var(--shadow-sm); font-size: .8rem; transition: transform var(--transition); }
.gd-finish-item:hover { transform: translateY(-4px) rotate(-1deg); }
.gd-finish-item strong { display: block; color: var(--navy); font-size: .88rem; margin: 10px 0 2px; }
.gd-finish-item p { margin: 0; font-size: .78rem; line-height: 1.4; }
.gd-finish-sw { display: block; height: 44px; border-radius: 8px; }
.gd-sw-cmyk { background: linear-gradient(90deg, #00aeef 0 25%, #ec008c 25% 50%, #FFD100 50% 75%, #1a1a2e 75%); }
.gd-sw-pantone { background: #1b2f5e; position: relative; }
.gd-sw-pantone::after { content: 'PMS'; position: absolute; left: 8px; bottom: 5px; font: 700 .62rem Inter, sans-serif; color: #fff; letter-spacing: .1em; }
.gd-sw-white { background: repeating-conic-gradient(#e2e1de 0 25%, #fff 0 50%) 0 0/12px 12px; position: relative; }
.gd-sw-white::after { content: ''; position: absolute; inset: 10px 20%; background: #fff; border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.gd-sw-gold { background: linear-gradient(120deg, #b8862f, #f7e08a 40%, #c9d1d9 60%, #8a939c); background-size: 200% 100%; animation: gd-shine 4s ease-in-out infinite; }
.gd-sw-uv { background: #1b2f5e; position: relative; overflow: hidden; }
.gd-sw-uv::after { content: ''; position: absolute; top: -20px; bottom: -20px; width: 30%; left: -40%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: skewX(-20deg); animation: gd-sweep 3s ease-in-out infinite; }
@keyframes gd-shine { 50% { background-position: 100% 0; } }
@keyframes gd-sweep { 60%, 100% { left: 120%; } }

/* 5 · Formati */
.gd-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0 8px; }
.gd-format { background: #fff; border-radius: var(--radius-lg); padding: 22px 18px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.gd-format:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gd-format::before { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--sand-light); }
.gd-format-art { position: relative; width: 58px; height: 58px; border-radius: 16px; background: var(--navy); color: var(--sand); display: grid; place-items: center; margin-bottom: 12px; }
.gd-format-art .gi { width: 32px; height: 32px; transition: transform .8s ease; }
.gd-format--roll:hover .gi { transform: rotate(360deg); }
.gd-format--sheet:hover .gi { transform: translateY(-3px) rotate(-8deg); }
.gd-format--single:hover .gi { transform: scale(1.18) rotate(10deg); }
.gd-format h4 { font-size: 1.02rem; color: var(--navy); margin: 0 0 6px; position: relative; }
.gd-format p { font-size: .85rem; margin: 0 0 12px; line-height: 1.5; position: relative; }
.gd-format-tag { font-size: .74rem; font-weight: 600; color: var(--navy); display: inline-flex; align-items: center; gap: 6px; }
.gd-format-tag i { color: var(--navy-mid); }

/* Simulatore bobina */
.gd-wind-stage { background: linear-gradient(180deg, #f5f7fc, #fff); border-radius: var(--radius-md); padding: 10px 10px 4px; border: 1px solid var(--gray-light); }
.gd-wind-stage svg { width: 100%; height: auto; display: block; }
.gd-wind-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding: 6px 8px 8px; font-size: .86rem; color: var(--text-mid); }
.gd-wind-caption strong { color: var(--navy); font-size: 1rem; }
.gd-wind-grid { display: grid; grid-template-columns: 110px repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 8px; margin-top: 16px; align-items: stretch; }
.gd-wind-row-label { grid-column: 1; grid-row: 1; align-self: center; font-size: .78rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.gd-wind-row-label--2 { grid-row: 2; }
.gd-wind-opt { border: 2px solid var(--gray-light); background: #fff; border-radius: 12px; padding: 6px 4px 6px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 2px; font: inherit; font-size: .72rem; font-weight: 600; color: var(--text-mid); transition: all var(--transition); }
.gd-wind-opt svg { width: 100%; max-width: 110px; height: auto; }
.gd-wind-opt:hover { border-color: var(--navy-mid); transform: translateY(-2px); }
.gd-wind-opt.active { border-color: var(--navy); background: var(--sand-light); color: var(--navy); box-shadow: var(--shadow-sm); }
.gd-wind-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .8rem; color: var(--text-mid); }
.gd-leg-top { color: #d97706; }
.gd-wind-tip { display: flex; gap: 10px; margin: 14px 0 0; font-size: .86rem; background: var(--off-white); border-radius: var(--radius-md); padding: 12px 14px; }
.gd-wind-tip .gi { width: 24px; height: 24px; color: #d97706; }
@keyframes gd-web { from { transform: translateX(0); } to { transform: translateX(96px); } }
.gd-web-move { animation: gd-web 2.4s linear infinite; }
@keyframes gd-roll { to { transform: rotate(360deg); } }
.gd-roll-spin { transform-box: fill-box; transform-origin: center; animation: gd-roll 6s linear infinite; }

/* 6 · Settori */
.gd-sectors { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; margin: 22px 0; }
.gd-sector-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: var(--navy-dark); }
.gd-sector-tab { border: 0; background: transparent; color: rgba(255,255,255,.7); padding: 16px 8px 14px; font: inherit; font-size: .8rem; font-weight: 600; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative; transition: all var(--transition); }
.gd-sector-tab .gi { width: 28px; height: 28px; transition: transform .35s ease; }
.gd-sector-tab:hover { color: #fff; }
.gd-sector-tab:hover .gi { transform: translateY(-3px); }
.gd-sector-tab.active { color: var(--navy-dark); background: var(--sand); }
.gd-sector-tab.active::after { content: ''; position: absolute; left: 50%; bottom: -8px; margin-left: -8px; border: 8px solid transparent; border-top-color: var(--sand); border-bottom: 0; z-index: 2; }
.gd-sector-panel { display: none; grid-template-columns: 260px minmax(0, 1fr); gap: 0; }
.gd-sector-panel.active { display: grid; animation: gd-pop .45s ease; }
.gd-sector-img { background-size: cover; background-position: center; min-height: 320px; position: relative; }
.gd-law { position: absolute; left: 12px; bottom: 12px; background: rgba(14,29,61,.88); color: var(--sand); font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(4px); }
.gd-ico-list { list-style: none; margin: 0; padding: 22px 24px; display: grid; gap: 12px; }
.gd-ico-list li { display: flex; gap: 12px; font-size: .9rem; line-height: 1.55; color: var(--text-mid); }
.gd-ico-list li .gi { width: 26px; height: 26px; color: var(--navy-mid); margin-top: 1px; }

/* Test barcode */
.gd-bc { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: center; }
.gd-bc-preview { position: relative; border-radius: var(--radius-md); padding: 20px; display: grid; place-items: center; border: 1px solid var(--gray-mid); transition: background .3s ease; overflow: hidden; }
.gd-bc-preview svg { width: 100%; height: auto; position: relative; z-index: 1; }
.gd-bc-laser { position: absolute; left: 8px; right: 8px; height: 2px; top: 20%; background: #ef4444; box-shadow: 0 0 10px 2px rgba(239,68,68,.7); z-index: 2; animation: gd-laser 1.8s ease-in-out infinite alternate; }
.gd-bc-preview.ok .gd-bc-laser { background: #22c55e; box-shadow: 0 0 10px 2px rgba(34,197,94,.7); }
@keyframes gd-laser { to { top: 78%; } }
.gd-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 10px; }
.gd-sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--gray-mid); cursor: pointer; padding: 0; transition: transform var(--transition); }
.gd-sw:hover { transform: scale(1.12); }
.gd-sw.active { box-shadow: 0 0 0 3px var(--navy); }
.gd-bc-combo { font-size: .84rem; color: var(--text-light); margin-bottom: 8px; }
.gd-bc-verdict { font-weight: 700; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .92rem; display: flex; gap: 8px; align-items: center; }
.gd-bc-verdict.ok { background: rgba(34,197,94,.12); color: #15803d; }
.gd-bc-verdict.ko { background: rgba(239,68,68,.1); color: #b91c1c; animation: gd-shake .4s ease; }
.gd-bc-verdict.nd { background: var(--gray-light); color: var(--text-mid); }
@keyframes gd-shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

/* 7 · Checklist */
.gd-check-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.gd-ring { position: relative; width: 70px; height: 70px; flex: 0 0 auto; }
.gd-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gd-ring-bg { fill: none; stroke: var(--gray-light); stroke-width: 5; }
.gd-ring-fg { fill: none; stroke: var(--sand); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 119.4; stroke-dashoffset: 119.4; transition: stroke-dashoffset .5s ease; }
.gd-ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; color: var(--navy); font-size: .85rem; }
.gd-ring.full .gd-ring-fg { stroke: #22c55e; }
.gd-check { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gd-check label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--off-white); cursor: pointer; font-size: .88rem; line-height: 1.5; color: var(--text-mid); border: 1.5px solid transparent; transition: all var(--transition); height: 100%; }
.gd-check label:hover { border-color: var(--gray-mid); }
.gd-check input { margin-top: 4px; accent-color: var(--navy); width: 17px; height: 17px; flex: 0 0 auto; }
.gd-check label:has(input:checked) { background: #fff; border-color: var(--sand); }
.gd-check-count { font-size: .84rem; color: var(--text-light); margin-top: 12px; }

/* 8 · Timeline applicazione */
.gd-timeline { list-style: none; margin: 22px 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; position: relative; }
.gd-timeline::before { content: ''; position: absolute; left: 10%; right: 10%; top: 29px; height: 3px; background: var(--gray-mid); }
.gd-timeline::after { content: ''; position: absolute; left: 10%; top: 29px; height: 3px; width: 0; background: var(--sand); transition: width 1.6s ease .2s; }
.gd-timeline.visible::after { width: 80%; }
.gd-timeline li { position: relative; text-align: center; font-size: .82rem; }
.gd-tl-ico { width: 60px; height: 60px; margin: 0 auto 10px; border-radius: 50%; background: #fff; border: 3px solid var(--navy); color: var(--navy); display: grid; place-items: center; position: relative; z-index: 1; transition: all .4s ease; }
.gd-tl-ico .gi { width: 28px; height: 28px; }
.gd-timeline li:hover .gd-tl-ico { background: var(--navy); color: var(--sand); transform: translateY(-4px); }
.gd-timeline strong { display: block; color: var(--navy); font-size: .92rem; margin-bottom: 4px; }
.gd-timeline p { margin: 0; font-size: .8rem; line-height: 1.45; }

/* 9 · Carte problema → soluzione */
.gd-flips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.gd-flip { perspective: 1000px; height: 210px; cursor: pointer; border: 0; background: none; padding: 0; font: inherit; text-align: left; }
.gd-flip-in { position: relative; width: 100%; height: 100%; transition: transform .6s ease; transform-style: preserve-3d; }
.gd-flip.flipped .gd-flip-in { transform: rotateY(180deg); }
.gd-flip-f, .gd-flip-b { position: absolute; inset: 0; border-radius: var(--radius-md); padding: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; }
.gd-flip-f { background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-light); }
.gd-flip-f i { font-size: 1.1rem; color: var(--error); width: 40px; height: 40px; border-radius: 12px; background: rgba(239,68,68,.1); display: grid; place-items: center; }
.gd-flip-f strong { display: block; margin: 12px 0 6px; color: var(--navy); font-size: 1rem; line-height: 1.3; }
.gd-flip-f span { margin-top: auto; font-size: .76rem; color: var(--text-light); }
.gd-flip:hover .gd-flip-f { box-shadow: var(--shadow-md); }
.gd-flip-b { background: var(--navy); color: rgba(255,255,255,.92); transform: rotateY(180deg); font-size: .86rem; line-height: 1.5; overflow: auto; }
.gd-flip-b b { color: var(--sand); display: block; margin-bottom: 6px; }

/* Prodotti */
.gd-prods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.gd-prod { display: block; border-radius: var(--radius-md); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; transition: transform var(--transition), box-shadow var(--transition); }
.gd-prod:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gd-prod-img { height: 130px; background-size: cover; background-position: center; transition: transform .6s ease; }
.gd-prod:hover .gd-prod-img { transform: scale(1.06); }
.gd-prod-body { padding: 14px 16px; position: relative; background: #fff; }
.gd-prod-body h6 { margin: 0 0 4px; font-size: .98rem; color: var(--navy); }
.gd-prod-body p { margin: 0 0 8px; font-size: .82rem; color: var(--text-mid); line-height: 1.45; }
.gd-prod-body span { font-size: .8rem; font-weight: 700; color: var(--navy-mid); }
.gd-article a.gd-prod { font-weight: 400; }

/* Fonti */
.gd-sources { font-size: .85rem; }
.gd-sources h3 { display: flex; align-items: center; gap: 8px; }
.gd-sources ol { padding-left: 18px; color: var(--text-mid); }
.gd-sources li { margin-bottom: 8px; line-height: 1.5; }
.gd-sources .gd-disclaimer { font-size: .8rem; color: var(--text-light); }

/* Banda finale gialla (staccata dalla sezione contatti blu) */
.gd-cta { background: var(--sand); position: relative; overflow: hidden; padding: 80px 0; }
.gd-cta::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(27,47,94,.13) 1.2px, transparent 1.2px); background-size: 26px 26px; }
.gd-cta-float { position: absolute; inset: 0; pointer-events: none; color: rgba(27,47,94,.14); }
.gd-cta-float .gi { position: absolute; width: 90px; height: 90px; animation: gd-float 7s ease-in-out infinite; }
.gd-cta-float .gi:nth-child(1) { left: 6%; top: 18%; }
.gd-cta-float .gi:nth-child(2) { right: 8%; top: 12%; width: 110px; height: 110px; animation-delay: -2s; }
.gd-cta-float .gi:nth-child(3) { left: 14%; bottom: 10%; width: 70px; height: 70px; animation-delay: -4s; }
.gd-cta-float .gi:nth-child(4) { right: 16%; bottom: 14%; width: 60px; height: 60px; animation-delay: -1s; }
@keyframes gd-float { 50% { transform: translateY(-14px) rotate(8deg); } }
.gd-cta-box { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; text-align: center; }
.gd-cta-ico { width: 64px; height: 64px; border-radius: 20px; background: var(--navy); color: var(--sand); display: grid; place-items: center; margin: 0 auto 18px; transform: rotate(-6deg); }
.gd-cta-ico .gi { width: 34px; height: 34px; }
.gd-cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--navy-dark); margin: 0 0 12px; }
.gd-cta p { color: var(--navy); max-width: 620px; margin: 0 auto 28px; font-size: 1.02rem; }
.gd-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.gd-btn-navy, .gd-btn-line { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 100px; font-weight: 700; font-size: .92rem; text-decoration: none; transition: all var(--transition); }
.gd-btn-navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px rgba(27,47,94,.3); }
.gd-btn-navy:hover { background: var(--navy-dark); transform: translateY(-2px); }
.gd-btn-line { border: 2px solid var(--navy); color: var(--navy); }
.gd-btn-line:hover { background: var(--navy); color: var(--sand); }

/* Indice delle guide */
.gd-hub { padding: 80px 0; background: var(--off-white); position: relative; overflow: hidden; }
.gd-hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; position: relative; z-index: 2; }
.gd-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-md); text-decoration: none; color: inherit; transition: transform var(--transition), box-shadow var(--transition); }
a.gd-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gd-card-img { height: 170px; background-size: cover; background-position: center; position: relative; }
.gd-card-badge { position: absolute; top: 14px; left: 14px; background: var(--sand); color: var(--navy-dark); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 100px; }
.gd-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.gd-card-body h3 { font-size: 1.2rem; color: var(--navy); margin: 0 0 8px; }
.gd-card-body p { font-size: .9rem; color: var(--text-mid); line-height: 1.55; margin: 0 0 14px; }
.gd-card-link { margin-top: auto; font-weight: 600; color: var(--navy-mid); font-size: .88rem; display: inline-flex; gap: 8px; align-items: center; }
.gd-card--soon { opacity: .7; }
.gd-card--soon .gd-card-badge { background: var(--gray-mid); color: var(--text-mid); }
.gd-card--soon .gd-card-link { color: var(--text-light); }

/* Indice guide: guida in evidenza */
.gd-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); text-decoration: none; color: inherit; position: relative; z-index: 2; transition: transform var(--transition); }
.gd-feature:hover { transform: translateY(-6px); }
.gd-feature-img { min-height: 380px; background-size: cover; background-position: center; position: relative; transition: transform .8s ease; }
.gd-feature:hover .gd-feature-img { transform: scale(1.04); }
.gd-feature-body { padding: 36px 36px 34px; display: flex; flex-direction: column; align-items: flex-start; position: relative; background: #fff; }
.gd-feature-body h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--navy); margin: 0 0 10px; line-height: 1.15; }
.gd-feature-body > p { color: var(--text-mid); margin: 0 0 16px; }
.gd-feature-list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.gd-feature-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--text-dark); }
.gd-feature-list .gi { width: 24px; height: 24px; color: var(--navy-mid); }
.gd-feature-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--text-light); margin-bottom: 20px; }
.gd-feature-meta i { color: var(--navy-mid); margin-right: 4px; }

/* Filtri */
.gd-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 8px 0 30px; position: relative; z-index: 2; }
.gd-filter { border: 1.5px solid var(--gray-mid); background: #fff; border-radius: 100px; padding: 9px 16px 9px 12px; font: inherit; font-size: .86rem; font-weight: 600; color: var(--text-mid); cursor: pointer; display: inline-flex; align-items: center; gap: 7px; transition: all var(--transition); }
.gd-filter .gi { width: 20px; height: 20px; color: var(--navy-mid); }
.gd-filter:hover { border-color: var(--navy); color: var(--navy); }
.gd-filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.gd-filter.active .gi { color: var(--sand); }
.gd-card.is-hidden { display: none; }
.gd-card-cat { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy-mid); margin-bottom: 6px; }
.gd-card-cat i { margin-left: 2px; }

/* Vetrina strumenti */
.gd-tools-band { background: linear-gradient(135deg, var(--navy-dark), var(--navy) 60%, var(--navy-mid)); padding: 90px 0; position: relative; overflow: hidden; }
.gd-tools { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; z-index: 2; }
.gd-tool { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 22px 20px; text-decoration: none; color: #fff; display: flex; flex-direction: column; transition: all var(--transition); backdrop-filter: blur(6px); }
.gd-tool:hover { background: rgba(255,255,255,.12); transform: translateY(-6px); border-color: var(--sand); }
.gd-tool-ico { width: 52px; height: 52px; border-radius: 16px; background: var(--sand); color: var(--navy-dark); display: grid; place-items: center; margin-bottom: 14px; transition: transform .4s ease; }
.gd-tool:hover .gd-tool-ico { transform: rotate(-8deg) scale(1.08); }
.gd-tool-ico .gi { width: 28px; height: 28px; }
.gd-tool strong { font-size: 1rem; margin-bottom: 6px; }
.gd-tool p { font-size: .84rem; color: rgba(255,255,255,.75); margin: 0 0 14px; line-height: 1.5; }
.gd-tool-go { margin-top: auto; font-size: .8rem; font-weight: 700; color: var(--sand); }

/* Glossario */
.gd-gloss-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; position: relative; z-index: 2; }
.gd-gloss-card { height: 170px; }
.gd-gloss-card .gd-flip-f { align-items: flex-start; }
.gd-gloss-letter { font: italic 700 2.4rem/1 'Playfair Display', serif; color: var(--sand); text-shadow: 0 1px 0 var(--navy); margin-top: 0 !important; }
.gd-gloss-card .gd-flip-f strong { font-size: 1.05rem; }

/* ===== Guida etichette tessute ===== */
#hero.hero-guida-tessute::after { background-image: url('../images/condivise/etichetta-cucita-valmore.jpg'); background-position: center 45%; }
.gd-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 20px 0 10px; }
.gd-type { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.gd-type:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gd-type-img { height: 170px; background-size: cover; background-position: center; position: relative; transition: transform .6s ease; }
.gd-type:hover .gd-type-img { transform: scale(1.05); }
.gd-type-img span { position: absolute; left: 12px; top: 12px; background: var(--sand); color: var(--navy-dark); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.gd-type-body { padding: 16px 18px 18px; background: #fff; position: relative; }
.gd-type-body h4 { font-size: 1.05rem; color: var(--navy); margin: 0 0 6px; }
.gd-type-body p { font-size: .86rem; margin: 0 0 10px; line-height: 1.5; }
.gd-type-body a { font-size: .82rem; }

.gd-weave { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.gd-weave canvas { width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: inset 0 0 0 1px var(--gray-light); background: #fff; }
.gd-weave-info { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--off-white); font-size: .9rem; line-height: 1.55; }
.gd-weave-info strong { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }

.gd-fondi { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.gd-fondo { background: #fff; border-radius: var(--radius-md); padding: 12px; box-shadow: var(--shadow-sm); font-size: .8rem; transition: transform var(--transition); }
.gd-fondo:hover { transform: translateY(-4px); }
.gd-fondo-sw { display: block; background-size: cover; background-position: center; height: 64px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); margin-bottom: 8px; }
.gd-fondo-dam { position: relative; overflow: hidden; }
.gd-fondo-dam::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; left: -50%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); animation: gd-sweep 3.5s ease-in-out infinite; }
.gd-fondo strong { color: var(--navy); font-size: .9rem; }
.gd-fondo p { margin: 2px 0 0; font-size: .78rem; line-height: 1.4; }

.gd-colors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.gd-colors-prev { position: relative; background: var(--off-white); border-radius: var(--radius-md); padding: 22px; }
.gd-colors-prev svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 14px rgba(27,47,94,.15)); }
.gd-colors-count { position: absolute; right: -10px; top: -14px; width: 74px; height: 74px; border-radius: 50%; background: var(--sand); color: var(--navy-dark); display: grid; place-items: center; align-content: center; box-shadow: 0 8px 20px rgba(255,209,0,.4); }
.gd-colors-count b { font-size: 1.6rem; line-height: 1; }
.gd-colors-count span { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.gd-colors-count.bump { animation: gd-bump .4s ease; }
@keyframes gd-bump { 50% { transform: scale(1.18); } }
.gd-cpart { margin-bottom: 12px; }
.gd-cpart .gd-q-label { margin-top: 0; font-size: .85rem; }

.gd-fold-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.gd-fold { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.gd-fold-stage { background: radial-gradient(circle at 50% 45%, #eef2fb, #fff 75%); border-radius: var(--radius-md); padding: 10px; }
.gd-fold-stage > svg { width: 100%; height: auto; display: block; }
.gd-fold-stage .gd-anat-toggle { margin: 6px 0 4px 6px; }
.gd-flap { transform-box: fill-box; transition: transform .9s cubic-bezier(.45,.05,.25,1), fill .4s ease, opacity .4s ease; }
.gd-fold-info { background: linear-gradient(160deg, var(--navy-dark), var(--navy-mid)); color: #fff; border-radius: var(--radius-md); padding: 20px; min-height: 180px; }
.gd-fold-info .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); font-weight: 700; }
.gd-fold-info h5 { font-size: 1.2rem; margin: 6px 0 8px; color: #fff; }
.gd-fold-info p { margin: 0 0 8px; color: rgba(255,255,255,.88); font-size: .88rem; line-height: 1.55; }
.gd-fold-info .where { display: flex; gap: 8px; color: var(--sand-light); font-size: .84rem; }

.gd-edges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.gd-edge { background: #fff; border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.gd-edge:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gd-edge svg { width: 100%; height: auto; background: var(--off-white); border-radius: 10px; transition: transform .5s ease; }
.gd-edge:hover svg { transform: scale(1.06); }
.gd-edge h4 { font-size: 1rem; color: var(--navy); margin: 12px 0 6px; }
.gd-edge p { font-size: .84rem; margin: 0; line-height: 1.5; }
.gd-edge--hot .gd-edge-fx circle { animation: gd-glow 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.gd-edge--laser .gd-edge-fx { animation: gd-laserx 2.6s ease-in-out infinite alternate; }
.gd-edge--fringe .gd-edge-fx { animation: gd-wave 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes gd-glow { 50% { transform: scale(1.6); opacity: .15; } }
@keyframes gd-laserx { from { transform: translateX(10px); } to { transform: translateX(150px); } }
@keyframes gd-wave { 50% { transform: skewX(4deg); } }

.gd-vs { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); gap: 10px; align-items: center; margin: 20px 0; }
.gd-vs-col { background: #fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); height: 100%; }
.gd-vs-ico { width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: var(--sand); display: grid; place-items: center; margin-bottom: 10px; }
.gd-vs-ico .gi { width: 26px; height: 26px; }
.gd-vs-col h4 { font-size: 1.05rem; color: var(--navy); margin: 0 0 8px; }
.gd-vs-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .86rem; color: var(--text-mid); }
.gd-vs-col .fa-check { color: #16a34a; margin-right: 6px; }
.gd-vs-col .fa-times { color: var(--error); margin-right: 6px; }
.gd-vs-mid { width: 54px; height: 54px; border-radius: 50%; background: var(--sand); color: var(--navy-dark); display: grid; place-items: center; font-weight: 800; font-size: .9rem; box-shadow: 0 8px 18px rgba(255,209,0,.4); }

.gd-ribbons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.gd-ribbon { background: #fff; border-radius: var(--radius-md); padding: 12px; box-shadow: var(--shadow-sm); font-size: .8rem; transition: transform var(--transition); }
.gd-ribbon:hover { transform: translateY(-4px) rotate(-1deg); }
.gd-ribbon-sw { display: block; background-size: cover; background-position: center; height: 52px; border-radius: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); margin-bottom: 8px; }
.gd-ribbon strong { color: var(--navy); font-size: .9rem; }
.gd-ribbon p { margin: 2px 0 0; font-size: .78rem; line-height: 1.4; }
.gd-note--navy { background: rgba(27,47,94,.07); }

.gd-steps4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.gd-steps4 > div { background: #fff; border-radius: var(--radius-md); padding: 16px 14px; box-shadow: var(--shadow-sm); position: relative; font-size: .8rem; }
.gd-steps4 > div > span { position: absolute; right: 12px; top: 8px; font: italic 700 1.6rem 'Playfair Display', serif; color: #a67c00; } /* oro scuro: il giallo su bianco era 1,5:1 */
.gd-steps4 .gi { width: 30px; height: 30px; color: var(--navy-mid); }
.gd-steps4 strong { display: block; color: var(--navy); font-size: .92rem; margin: 8px 0 4px; }
.gd-steps4 p { margin: 0; font-size: .8rem; line-height: 1.45; }
.gd-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin: 18px 0; }
.gd-gallery--2 { grid-template-columns: 1fr 1fr; }
.gd-gallery > div { height: 190px; border-radius: var(--radius-md); background-size: cover; background-position: center; box-shadow: var(--shadow-sm); transition: transform .5s ease; }
.gd-gallery > div:hover { transform: scale(1.03); }

.gd-matrix { display: grid; grid-template-columns: minmax(120px, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 6px; align-items: center; }
.gd-mx-head { font-size: .74rem; font-weight: 700; color: var(--navy); text-align: center; padding: 6px 4px; }
.gd-mx-row { border: 1.5px solid var(--gray-mid); background: #fff; border-radius: 10px; padding: 10px 12px; font: inherit; font-size: .86rem; font-weight: 600; color: var(--navy); text-align: left; cursor: pointer; transition: all var(--transition); }
.gd-mx-row:hover { border-color: var(--navy-mid); }
.gd-mx-row.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gd-mx { display: grid; place-items: center; height: 42px; border-radius: 10px; background: var(--off-white); font-size: .95rem; transition: all var(--transition); }
.gd-mx.ok { color: #16a34a; } .gd-mx.no { color: var(--error); } .gd-mx.mid { color: #d97706; }
.gd-mx.hl { background: var(--sand-light); transform: scale(1.06); box-shadow: var(--shadow-sm); }
.gd-mx-note { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--sand-light); font-size: .9rem; }
.gd-prods--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ===== Guida etichettatura dei capi ===== */
#hero.hero-guida-capi::after { background-image: url('../images/condivise/strip-composizione-capo.jpg'); background-position: center 45%; }
.gd-builder-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.gd-builder-ctrls { display: grid; gap: 8px; }
.gd-switch { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-md); background: var(--off-white); cursor: pointer; transition: background var(--transition); }
.gd-switch:hover { background: var(--sand-light); }
.gd-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.gd-switch-ui { flex: 0 0 42px; height: 24px; border-radius: 12px; background: var(--gray-mid); position: relative; transition: background var(--transition); }
.gd-switch-ui::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform var(--transition); }
.gd-switch input:checked + .gd-switch-ui { background: var(--navy); }
.gd-switch input:checked + .gd-switch-ui::after { transform: translateX(18px); background: var(--sand); }
.gd-switch input:focus-visible + .gd-switch-ui { outline: 2px solid var(--navy-mid); outline-offset: 2px; }
.gd-switch strong { display: block; color: var(--navy); font-size: .9rem; }
.gd-switch em { font-style: normal; font-size: .76rem; color: var(--text-light); }
.gd-switch.is-locked { cursor: default; opacity: .85; }
.gd-builder-prev { position: sticky; top: calc(var(--header-h) + 20px); display: flex; justify-content: center; padding: 20px 10px; background: radial-gradient(circle at 50% 30%, #eef2fb, #fff 75%); border-radius: var(--radius-md); }
.gd-satin { width: 100%; max-width: 280px; background: linear-gradient(115deg, #ffffff 0%, #f1f3f8 35%, #ffffff 55%, #eceff5 100%); border-radius: 4px 4px 10px 10px; box-shadow: 0 12px 30px rgba(27,47,94,.18), inset 0 0 0 1px rgba(27,47,94,.08); padding: 22px 16px 16px; position: relative; font-family: Arial, sans-serif; }
.gd-satin::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: repeating-linear-gradient(90deg, #d9dde8 0 3px, transparent 3px 7px); border-radius: 4px 4px 0 0; }
.gd-satin-line { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 9px 0; border-bottom: 1px dashed rgba(27,47,94,.15); animation: gd-pop .35s ease; }
.gd-satin-line:last-of-type { border-bottom: 0; }
.gd-satin-txt { font-size: .78rem; color: #1a1a2e; line-height: 1.45; letter-spacing: .02em; }
.gd-satin-txt i { color: #4a4a6a; }
.gd-satin-brand { font: italic 700 1.7rem Georgia, serif; color: var(--navy); }
.gd-satin-care { display: inline-flex; gap: 6px; color: #1a1a2e; }
.gd-satin-care .gi { width: 20px; height: 20px; }
.gd-satin-origin .gd-satin-txt { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; }
.gd-badge { font-size: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 8px; border-radius: 100px; font-family: Inter, sans-serif; }
.gd-badge--obb { background: #1b2f5e; color: #FFD100; }
.gd-badge--cond { background: #d97706; color: #fff; }
.gd-badge--fac { background: var(--gray-light); color: var(--text-mid); }
.gd-satin-note { display: flex; gap: 6px; align-items: flex-start; font-size: .72rem; color: #92400e; background: #fff7e0; border-radius: 6px; padding: 6px 8px; margin-top: 8px; font-family: Inter, sans-serif; line-height: 1.4; }
.gd-satin-note .gi { width: 15px; height: 15px; }

.gd-rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.gd-rules--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gd-rule { background: #fff; border-radius: var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); font-size: .82rem; transition: transform var(--transition); }
.gd-rule:hover { transform: translateY(-4px); }
.gd-rule .gi { width: 30px; height: 30px; color: var(--navy-mid); }
.gd-rule strong { display: block; color: var(--navy); font-size: .92rem; margin: 8px 0 4px; }
.gd-rule p { margin: 0; font-size: .82rem; line-height: 1.5; }

.gd-comp-rows { display: grid; gap: 8px; margin: 12px 0; }
.gd-comp-row { display: grid; grid-template-columns: 140px minmax(0, 1fr) 48px 32px; gap: 10px; align-items: center; background: var(--off-white); border-radius: 10px; padding: 8px 10px; }
.gd-comp-row select { font: inherit; font-size: .88rem; padding: 6px 8px; border-radius: 8px; border: 1.5px solid var(--gray-mid); background: #fff; color: var(--navy); }
.gd-comp-row input[type=range] { accent-color: var(--navy); width: 100%; }
.gd-comp-row b { color: var(--navy); font-size: .9rem; text-align: right; }
.gd-comp-del { border: 0; background: transparent; color: var(--text-light); cursor: pointer; font-size: .9rem; }
.gd-comp-del:hover { color: var(--error); }
.gd-comp-out { margin-top: 14px; padding: 16px 18px; border-radius: var(--radius-md); background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid)); color: #fff; }
.gd-comp-out .k, .gd-lang-out .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand); font-weight: 700; }
.gd-comp-line { font: 700 1.15rem/1.4 Arial, sans-serif; margin: 6px 0 10px; letter-spacing: .02em; }
.gd-comp-ok, .gd-comp-warn { display: flex; gap: 8px; align-items: center; font-size: .86rem; }
.gd-comp-ok { color: #86efac; } .gd-comp-warn { color: #fcd34d; }

.gd-pills--multi .gd-pill.active::before { content: '\2713'; margin-right: 2px; }
.gd-lang-out { margin-top: 14px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--off-white); }
.gd-lang-out .k { color: var(--navy-mid); }
.gd-lang-out p { margin: 10px 0 0; font-size: .86rem; }
.gd-lang-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gd-lang-chips span { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; border-radius: 100px; padding: 6px 12px; font-size: .84rem; font-weight: 600; animation: gd-pop .3s ease; }
.gd-lang-chips .gi { color: var(--sand); width: 16px; height: 16px; }

.gd-seq { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 18px 0; counter-reset: s; }
.gd-seq-item { position: relative; background: #fff; border-radius: var(--radius-md); padding: 16px 10px 14px; text-align: center; box-shadow: var(--shadow-sm); font-size: .8rem; transition: transform var(--transition), background var(--transition); }
.gd-seq-item:hover { transform: translateY(-5px); background: var(--sand-light); }
.gd-seq-item > span { position: absolute; left: 8px; top: 6px; font: italic 700 1.1rem 'Playfair Display', serif; color: var(--sand); text-shadow: 0 1px 0 var(--navy); }
.gd-seq-item .gi { width: 34px; height: 34px; color: var(--navy); }
.gd-seq-item strong { display: block; color: var(--navy); font-size: .82rem; margin-top: 6px; line-height: 1.25; }
.gd-seq-item:not(:last-child)::after { content: '\203A'; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--navy-mid); font-size: 1.2rem; font-weight: 700; z-index: 1; }

.gd-req { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 16px 0 18px; }
.gd-req-item { background: linear-gradient(160deg, var(--navy-dark), var(--navy-mid)); color: #fff; border-radius: var(--radius-md); padding: 18px 10px; text-align: center; transition: transform var(--transition); }
.gd-req-item:hover { transform: translateY(-5px) rotate(-1deg); }
.gd-req-item .gi { width: 32px; height: 32px; color: var(--sand); }
.gd-req-item strong { display: block; font-size: .82rem; margin-top: 8px; }
/* grassetti dentro i riquadri scuri: bianchi, non il colore testo dell'articolo */
.gd-article .gd-req-item strong, .gd-article .gd-anat-card strong, .gd-article .gd-fold-info strong, .gd-article .gd-result strong, .gd-article .gd-comp-out strong, .gd-article .gd-flip-b strong, .gd-article .gd-toc-cta strong { color: #fff; }

/* ===== Guida cartellini ===== */
#hero.hero-guida-cartellini::after { background-image: url('../images/cartellini/cartellino-aurora-studio.jpg'); background-position: center 40%; }
.gd-tag-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 26px; align-items: start; }
.gd-tag-stage { position: sticky; top: calc(var(--header-h) + 20px); background: radial-gradient(circle at 50% 35%, #eef2fb, #fff 75%); border-radius: var(--radius-md); padding: 10px 10px 16px; perspective: 1200px; }
.gd-tag-scene { position: relative; width: 210px; margin: 0 auto; padding-top: 104px; transform-style: preserve-3d; transform-origin: 50% 0; }
.gd-tag-string { position: absolute; top: 0; left: 50%; width: 200px; height: 120px; margin-left: -100px; }
.gd-tag-card { --thick: 3px; position: relative; width: 170px; height: 290px; margin: 0 auto; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.45,.05,.25,1), width .5s ease, height .5s ease; animation: gd-sway 5s ease-in-out infinite; transform-origin: 50% 0; }
@keyframes gd-sway { 50% { transform: rotateZ(1.5deg) rotateY(6deg); } }
.gd-tag-card.flipped { animation: none; transform: rotateY(180deg); }
.gd-tag-card[data-forma="quad"] { height: 190px; width: 190px; }
.gd-tag-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background-color: #f7f5ef; background-size: cover; background-position: center; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #1b2f5e; box-shadow: 0 var(--thick) 0 #d8d3c7, 0 calc(var(--thick) + 1px) 0 #bfb8a8, 0 18px 30px rgba(27,47,94,.22); overflow: hidden; }
.gd-tag-card[data-forma="sag"] .gd-tag-face { border-radius: 85px 85px 8px 8px; }
.gd-tag-back { transform: rotateY(180deg); }
.gd-tag-card.is-dark .gd-tag-face { color: #2a1e0f; }
.gd-tag-hole { position: absolute; top: 14px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #e9edf5; box-shadow: inset 0 2px 3px rgba(0,0,0,.35); }
.gd-tag-card[data-foro="none"] .gd-tag-hole { display: none; }
.gd-tag-card[data-foro="occ"] .gd-tag-hole { width: 18px; height: 18px; margin-left: -9px; top: 11px; box-shadow: inset 0 2px 3px rgba(0,0,0,.35), 0 0 0 3px #c9a227, 0 0 0 4px #8a6d12; }
.gd-tag-logo { font: italic 700 3.2rem/1 'Playfair Display', Georgia, serif; }
.gd-tag-brand { font: 700 .72rem Inter, sans-serif; letter-spacing: .3em; }
.gd-tag-line { width: 40px; height: 2px; background: currentColor; opacity: .5; margin: 4px 0; }
.gd-tag-sub { font: italic .72rem Georgia, serif; opacity: .8; }
.gd-tag-card[data-nob="oro"] .gd-tag-front .gd-tag-logo { background: url('../images/materiali-anteprima-mobile/foil-oro.jpg') center/cover; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0,0,0,.25)); }
.gd-tag-card[data-nob="argento"] .gd-tag-front .gd-tag-logo { background: url('../images/materiali-anteprima-mobile/foil-argento.jpg') center/cover; -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgba(0,0,0,.3)); }
.gd-tag-card[data-nob="rilievo"] .gd-tag-front .gd-tag-logo { color: rgba(255,255,255,.35); text-shadow: -1px -1px 0 rgba(255,255,255,.8), 2px 2px 3px rgba(0,0,0,.28); }
.gd-tag-card[data-nob="uv"] .gd-tag-front .gd-tag-logo { background: linear-gradient(110deg, #1b2f5e 40%, #9fb3ff 50%, #1b2f5e 60%) 0 0/300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gd-uvtext 2.8s linear infinite; }
@keyframes gd-uvtext { to { background-position: -150% 0; } }
.gd-tag-sheen { position: absolute; inset: 0; pointer-events: none; }
.gd-tag-card[data-fin="lucida"] .gd-tag-sheen { background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.6) 45%, transparent 60%) -100% 0/250% 100%; animation: gd-sheen 3.2s ease-in-out infinite; }
.gd-tag-card[data-fin="opaca"] .gd-tag-sheen { background: rgba(255,255,255,.12); }
.gd-tag-card[data-fin="soft"] .gd-tag-sheen { box-shadow: inset 0 0 30px rgba(0,0,0,.12); background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 60%); }
@keyframes gd-sheen { to { background-position: 150% 0; } }
.gd-tag-info { width: 80%; font: .7rem/1.5 Inter, sans-serif; display: grid; gap: 4px; }
.gd-tag-info > div { display: flex; justify-content: space-between; border-bottom: 1px dotted currentColor; padding-bottom: 2px; }
.gd-tag-info b { font-weight: 700; }
.gd-tag-bc { width: 100%; height: auto; margin-top: 6px; background: #fff; border-radius: 3px; padding: 4px; }
.gd-tag-price { font: 700 1.1rem Inter, sans-serif; text-align: center; }
.gd-tag-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.gd-tag-actions .gd-anat-toggle { margin: 0; }
.gd-tag-ctrls .gd-q-label:first-child { margin-top: 0; }
.gd-q-label .gd-q-val { margin-left: auto; width: auto; height: auto; display: inline-block; white-space: nowrap; background: var(--navy); color: var(--sand); border-radius: 100px; padding: 3px 12px; font-size: .8rem; }
.gd-swatches--tex .gd-sw { width: 40px; height: 40px; border-radius: 10px; background-size: cover; }
.gd-tag-sum { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--off-white); }
.gd-tag-sum .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-mid); font-weight: 700; }
.gd-tag-sum p { display: flex; gap: 8px; align-items: center; font-size: .86rem; margin: 10px 0 0; }
.gd-tag-sum .btn-primary { margin-top: 14px; display: inline-flex; }

.gd-gram { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.gd-gram > div { background: #fff; border-radius: var(--radius-md); padding: 14px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.gd-gram b { display: block; color: var(--navy); font-size: 1rem; }
.gd-gram span { font-size: .8rem; color: var(--text-mid); }
.gd-gram i { display: block; margin-top: 12px; height: 34px; border-radius: 4px; background: #f7f5ef; box-shadow: 0 var(--t) 0 #d8d3c7, 0 calc(var(--t) + 1px) 0 #bfb8a8; transition: transform .5s ease; transform-origin: left center; }
.gd-gram > div:hover i { transform: perspective(300px) rotateY(-25deg); }

.gd-nobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.gd-nob { background: #fff; border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.gd-nob:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gd-nob-art { height: 110px; border-radius: 12px; display: grid; place-items: center; background: #1b2f5e; position: relative; overflow: hidden; }
.gd-nob-art span { font: italic 700 3rem 'Playfair Display', serif; color: #fff; position: relative; z-index: 1; }
.gd-nob h4 { font-size: .98rem; color: var(--navy); margin: 12px 0 4px; }
.gd-nob p { font-size: .82rem; margin: 0; line-height: 1.45; }
.gd-nob--matt .gd-nob-art { background: #2b3a5e; } .gd-nob--matt span { opacity: .85; }
.gd-nob--gloss .gd-nob-art::after, .gd-nob--uv .gd-nob-art::after { content: ''; position: absolute; top: -20px; bottom: -20px; width: 35%; left: -45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); }
.gd-nob--gloss:hover .gd-nob-art::after, .gd-nob--uv:hover .gd-nob-art::after { animation: gd-sweep 1.2s ease forwards; }
.gd-nob--soft .gd-nob-art { background: radial-gradient(circle at 30% 25%, #3e5285, #1b2f5e 70%); box-shadow: inset 0 0 26px rgba(0,0,0,.35); }
.gd-nob--gold .gd-nob-art { background: #141414; }
.gd-nob--gold span { background: url('../images/materiali-anteprima-mobile/foil-oro.jpg') center/cover; -webkit-background-clip: text; background-clip: text; color: transparent; transition: filter .4s ease; }
.gd-nob--gold:hover span { filter: brightness(1.25) drop-shadow(0 0 8px rgba(255,209,0,.5)); }
.gd-nob--emb .gd-nob-art { background: url('../images/materiali-anteprima-mobile/carta-naturale-avorio.jpg') center/cover; }
.gd-nob--emb span { color: rgba(255,255,255,.3); text-shadow: -1px -1px 0 rgba(255,255,255,.9), 2px 2px 4px rgba(0,0,0,.3); transition: text-shadow .4s ease; }
.gd-nob--emb:hover span { text-shadow: -2px -2px 0 rgba(255,255,255,.95), 4px 4px 6px rgba(0,0,0,.35); }
.gd-nob--uv .gd-nob-art { background: #10193a; }
.gd-nob--uv span { color: #1f2d5c; text-shadow: 0 0 1px rgba(160,180,255,.7); }

.gd-shapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.gd-shape { background: #fff; border-radius: var(--radius-lg); padding: 18px; box-shadow: var(--shadow-sm); text-align: center; }
.gd-shape-art { margin: 0 auto 12px; background: url('../images/materiali-anteprima-mobile/carta-naturale-avorio.jpg') center/cover; box-shadow: 0 3px 0 #d8d3c7, 0 10px 18px rgba(27,47,94,.15); position: relative; transition: transform .5s ease; }
.gd-shape-art::before { content: ''; position: absolute; top: 9px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #e9edf5; box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.gd-shape:hover .gd-shape-art { transform: rotate(-6deg) translateY(-4px); }
.gd-shape--rett { width: 64px; height: 110px; border-radius: 5px; }
.gd-shape--quad { width: 90px; height: 90px; border-radius: 5px; margin-top: 10px; margin-bottom: 22px; }
.gd-shape--sag { width: 74px; height: 110px; border-radius: 37px 37px 6px 6px; }
.gd-shape h4 { font-size: 1rem; color: var(--navy); margin: 0 0 4px; }
.gd-shape p { font-size: .84rem; margin: 0; }

.gd-cords { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 16px 0; }
.gd-cord { background: #fff; border-radius: var(--radius-md); padding: 12px; box-shadow: var(--shadow-sm); font-size: .8rem; transition: transform var(--transition); }
.gd-cord:hover { transform: translateY(-4px) rotate(1deg); }
.gd-cord-sw { display: block; height: 12px; border-radius: 6px; margin: 10px 0 14px; box-shadow: 0 2px 4px rgba(0,0,0,.15); }
.gd-cord strong { color: var(--navy); font-size: .9rem; }
.gd-cord p { margin: 2px 0 0; font-size: .78rem; line-height: 1.4; }

/* ===== Guida tecniche di stampa ===== */
#hero.hero-guida-stampa::after { background-image: url('../images/stampa-offset/stampa-offset-macchina.jpg'); background-position: center 40%; }
.gd-techs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.gd-techcard { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); padding: 14px 16px 16px; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: transform var(--transition), box-shadow var(--transition); }
.gd-article a.gd-techcard { font-weight: 400; }
.gd-techcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.gd-techart { background: linear-gradient(180deg, #f5f7fc, #eef2fb); border-radius: 12px; padding: 8px; }
.gd-techart svg { width: 100%; height: auto; display: block; }
.gd-techcard h4 { font-size: 1rem; color: var(--navy); margin: 12px 0 4px; }
.gd-techcard p { font-size: .84rem; margin: 0 0 10px; line-height: 1.5; color: var(--text-mid); }
.gd-techcard > span { margin-top: auto; font-size: .8rem; font-weight: 700; color: var(--navy-mid); }
.gd-ta-head { animation: gd-head 2.6s ease-in-out infinite alternate; }
@keyframes gd-head { to { transform: translateX(110px); } }
.gd-ta-print { transform-box: fill-box; transform-origin: left; animation: gd-printfill 2.6s ease-in-out infinite alternate; }
@keyframes gd-printfill { from { transform: scaleX(.05); } to { transform: scaleX(1); } }
.gd-ta-roll { transform-box: fill-box; transform-origin: center; animation: gd-spin 3s linear infinite; }
.gd-ta-roll--r { animation-direction: reverse; }
.gd-ta-sq { animation: gd-squeegee 2.4s ease-in-out infinite; }
@keyframes gd-squeegee { 0% { transform: translateX(0); } 50% { transform: translateX(130px); } 100% { transform: translateX(0); } }
.gd-ta-ink { animation: gd-inkin 2.4s ease-in-out infinite; }
@keyframes gd-inkin { 0%, 30% { opacity: .15; } 60%, 100% { opacity: 1; } }
.gd-ta-web { animation: gd-webx 1.6s linear infinite; }
@keyframes gd-webx { to { transform: translateX(-24px); } }
.gd-ta-pad { animation: gd-pad 2.4s ease-in-out infinite; }
@keyframes gd-pad { 0%, 100% { transform: translateY(0); } 45%, 55% { transform: translateY(34px) scaleY(.92); } }
.gd-ta-die { animation: gd-die 2.4s ease-in-out infinite; }
@keyframes gd-die { 0%, 100% { transform: translateY(0); } 45%, 55% { transform: translateY(26px); } }

.gd-vs-pick { display: grid; grid-template-columns: minmax(0, 1fr) 54px minmax(0, 1fr); gap: 12px; align-items: center; }
.gd-vs-pick .gd-pills[data-side="b"] { justify-content: flex-end; }
.gd-vs-bars { margin-top: 18px; display: grid; gap: 8px; }
.gd-vsb-head { display: grid; grid-template-columns: 1fr 170px 1fr; font-weight: 700; color: var(--navy); font-size: .92rem; }
.gd-vsb-head span:last-child { text-align: right; }
.gd-vsb-row { display: grid; grid-template-columns: 1fr 170px 1fr; gap: 10px; align-items: center; }
.gd-vsb-row > span { text-align: center; font-size: .8rem; font-weight: 600; color: var(--text-mid); }
.gd-vsb-l, .gd-vsb-r { height: 14px; background: var(--gray-light); border-radius: 7px; overflow: hidden; display: flex; }
.gd-vsb-l { justify-content: flex-end; }
.gd-vsb-l i, .gd-vsb-r i { display: block; height: 100%; border-radius: 7px; background: var(--navy-mid); transition: width .6s cubic-bezier(.34,1.56,.64,1); }
.gd-vsb-l i.win, .gd-vsb-r i.win { background: linear-gradient(90deg, #ffb800, var(--sand)); }

#gdCostSvg { width: 100%; height: auto; display: block; background: linear-gradient(180deg, #f8f9fd, #fff); border-radius: var(--radius-md); }
.gd-cost-ax { font: 600 12px Inter, sans-serif; fill: #7a7a9a; }
.gd-cost-leg text { font: 600 12px Inter, sans-serif; fill: #1b2f5e; }
.gd-cost-msg { margin-top: 14px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--off-white); border-left: 4px solid var(--sand); font-size: .9rem; }
.gd-cost-msg strong { display: flex; gap: 8px; align-items: center; color: var(--navy); margin-bottom: 4px; }

.gd-lens-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.gd-lens-box strong { display: block; color: var(--navy); margin-top: 10px; }
.gd-lens-box p { font-size: .86rem; margin: 2px 0 0; }
.gd-lens-sw { position: relative; height: 180px; border-radius: var(--radius-md); cursor: crosshair; overflow: hidden; }
.gd-lens-cmyk { background-color: #2b4a8f; background-image: radial-gradient(circle at 30% 30%, #00aeef 1.6px, transparent 1.8px), radial-gradient(circle at 70% 60%, #ec008c 1.3px, transparent 1.5px), radial-gradient(circle at 50% 80%, #1a1a2e 1px, transparent 1.2px); background-size: 5px 5px, 5px 5px, 5px 5px; }
.gd-lens-pms { background: #2b4a8f; }
.gd-lens { position: absolute; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 8px 24px rgba(0,0,0,.35); pointer-events: none; opacity: 0; transition: opacity .2s ease; left: 50%; top: 50%; }
.gd-lens-sw.lensing .gd-lens { opacity: 1; }
.gd-lens-cmyk .gd-lens { background-color: #fff; background-image: radial-gradient(circle at 30% 30%, #00aeef 5px, transparent 5.5px), radial-gradient(circle at 70% 60%, #ec008c 4px, transparent 4.5px), radial-gradient(circle at 50% 80%, #1a1a2e 3px, transparent 3.5px); background-size: 15px 15px, 15px 15px, 15px 15px; }
.gd-lens-pms .gd-lens { background: #2b4a8f; }

.gd-sup-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.gd-sup-out { margin-top: 16px; padding: 16px 18px; border-radius: var(--radius-md); background: var(--off-white); }
.gd-sup-out .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-mid); font-weight: 700; }
.gd-sup-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gd-article .gd-sup-chips a { display: inline-flex; align-items: center; gap: 6px; background: var(--navy); color: #fff; border-radius: 100px; padding: 7px 14px; font-size: .84rem; text-decoration: none; animation: gd-pop .3s ease; }
.gd-article .gd-sup-chips a:hover { background: var(--sand); color: var(--navy-dark); }

/* ===== Guida packaging ===== */
#hero.hero-guida-packaging::after { background-image: url('../images/packaging-personalizzato/packaging-personalizzato-banner.jpg'); background-position: center 40%; }
.gd-pack-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.gd-pack-tab { border: 2px solid transparent; background: var(--off-white); border-radius: var(--radius-md); padding: 14px 6px 12px; font: inherit; font-size: .74rem; font-weight: 700; color: var(--text-mid); cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; line-height: 1.25; transition: all var(--transition); }
.gd-pack-tab .gi, .gd-pack-tab i { width: 30px; height: 30px; font-size: 1.5rem; color: var(--navy-mid); transition: transform .35s ease; }
.gd-pack-tab:hover .gi, .gd-pack-tab:hover i { transform: translateY(-3px) rotate(-6deg); }
.gd-pack-tab.active { background: var(--navy); color: #fff; box-shadow: var(--shadow-md); }
.gd-pack-tab.active .gi, .gd-pack-tab.active i { color: var(--sand); }
.gd-pack-out { margin-top: 16px; }
.gd-pack-card { border-radius: var(--radius-md); background: linear-gradient(135deg, var(--navy-dark), var(--navy-mid)); color: #fff; padding: 20px 22px; animation: gd-pop .4s ease; }
.gd-pack-card h5 { font-size: 1.2rem; margin: 0 0 6px; color: #fff; }
.gd-article .gd-pack-card p { color: rgba(255,255,255,.88); margin: 0 0 12px; font-size: .92rem; }
.gd-chips--l { justify-content: flex-start; margin-bottom: 12px; }
.gd-pack-card .gd-chips span { background: rgba(255,255,255,.12); color: #fff; }
.gd-pack-tip { display: flex; gap: 8px; align-items: flex-start; color: var(--sand-light); font-size: .86rem; }

.gd-box-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; align-items: center; }
.gd-box-stage { background: radial-gradient(circle at 50% 40%, #eef2fb, #fff 75%); border-radius: var(--radius-md); padding: 12px 16px 16px; }
.gd-box-scene { height: 340px; perspective: 1100px; display: grid; place-items: center; overflow: hidden; }
.gd-box { --p: 0; --s: 96px; --ink: transparent; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(-36deg) translateZ(calc(var(--p) * -20px)); }
.gd-bf { position: absolute; width: var(--s); height: var(--s); transform-style: preserve-3d; }
.gd-bf-bottom { left: 0; top: 0; }
.gd-bf-front { left: 0; top: 100%; transform-origin: 50% 0; transform: rotateX(calc(var(--p) * 90deg)); }
.gd-bf-back { left: 0; bottom: 100%; transform-origin: 50% 100%; transform: rotateX(calc(var(--p) * -90deg)); }
.gd-bf-left { right: 100%; top: 0; transform-origin: 100% 50%; transform: rotateY(calc(var(--p) * 90deg)); }
.gd-bf-right { left: 100%; top: 0; transform-origin: 0 50%; transform: rotateY(calc(var(--p) * -90deg)); }
.gd-bf-lid--n { left: 0; bottom: 100%; top: auto; transform-origin: 50% 100%; transform: rotateX(calc(var(--p) * -90deg)); }
.gd-bf-in, .gd-bf-out { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; background-color: #f4f1ea; background-size: cover; background-position: center; outline: 1px solid rgba(27,47,94,.28); display: grid; place-items: center; }
.gd-bf-out { transform: rotateY(180deg); }
.gd-bf-out::after { content: ''; position: absolute; inset: 0; background: var(--ink); mix-blend-mode: multiply; opacity: .92; }
.gd-bf-in { filter: brightness(.93); }
.gd-bf-in.is-printed { background: repeating-linear-gradient(45deg, #1b2f5e 0 8px, #22386e 8px 16px); filter: none; }
.gd-bf-bottom > .gd-bf-in.is-printed::before { content: 'Grazie!'; font: italic 700 1.1rem 'Playfair Display', serif; color: var(--sand); }
.gd-box-logo { position: relative; z-index: 1; font: italic 700 2rem 'Playfair Display', serif; color: #1b2f5e; }
.gd-box.has-ink .gd-box-logo { color: #fff; }
.gd-bf-out .gd-box-logo { transform: rotate(180deg); }
.gd-box[data-nob="oro"] .gd-bf-lid--n .gd-box-logo { background: url('../images/materiali-anteprima-mobile/foil-oro.jpg') center/cover; -webkit-background-clip: text; background-clip: text; color: transparent; }
.gd-box[data-nob="argento"] .gd-bf-lid--n .gd-box-logo { background: url('../images/materiali-anteprima-mobile/foil-argento.jpg') center/cover; -webkit-background-clip: text; background-clip: text; color: transparent; }
.gd-box[data-nob="rilievo"] .gd-bf-lid--n .gd-box-logo { color: rgba(255,255,255,.3); text-shadow: -1px -1px 0 rgba(255,255,255,.85), 2px 2px 3px rgba(0,0,0,.35); }
.gd-box-ctrls .gd-q-label:first-child { margin-top: 0; }
.gd-box-tip { display: flex; gap: 8px; font-size: .84rem; margin-top: 14px !important; background: var(--sand-light); border-radius: var(--radius-md); padding: 10px 12px; }

.gd-unbox { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: center; }
.gd-unbox-steps { display: grid; gap: 8px; position: relative; }
.gd-unbox-step { display: flex; align-items: center; gap: 12px; border: 2px solid var(--gray-light); background: #fff; border-radius: var(--radius-md); padding: 10px 14px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--navy); cursor: pointer; text-align: left; transition: all var(--transition); }
.gd-unbox-step .gi, .gd-unbox-step i { width: 24px; height: 24px; color: var(--navy-mid); font-size: 1.1rem; }
.gd-unbox-step:hover { border-color: var(--navy-mid); }
.gd-unbox-step.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.gd-unbox-step.active .gi, .gd-unbox-step.active i { color: var(--sand); }
.gd-unbox-step.done { border-color: var(--sand); }
.gd-unbox-n { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--sand); color: var(--navy-dark); display: grid; place-items: center; font-size: .72rem; font-weight: 800; }
.gd-unbox-card { border-radius: var(--radius-md); background: var(--off-white); padding: 22px; min-height: 180px; border-left: 4px solid var(--sand); }
.gd-unbox-card.swap { animation: gd-swap .4s ease; }
.gd-unbox-card .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-mid); font-weight: 700; }
.gd-unbox-card h5 { font-size: 1.2rem; color: var(--navy); margin: 6px 0 8px; }
.gd-unbox-card p { font-size: .92rem; }

.gd-eco { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; margin-top: 16px; align-items: center; }
.gd-eco-label { background: #fff; border: 2px solid var(--navy); border-radius: 12px; padding: 16px; text-align: center; box-shadow: var(--shadow-sm); animation: gd-pop .35s ease; }
.gd-eco-tri { width: 92px; height: auto; }
.gd-eco-code { font: 800 1.2rem Arial, sans-serif; color: var(--navy); letter-spacing: .08em; margin-top: 2px; }
.gd-eco-racc { display: flex; gap: 8px; align-items: center; justify-content: center; text-align: left; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--gray-mid); }
.gd-eco-racc .gi { width: 30px; height: 30px; color: #15803d; }
.gd-eco-racc b { display: block; font-size: .86rem; color: var(--navy); }
.gd-eco-racc span { font-size: .72rem; color: var(--text-mid); }
.gd-eco-info .k { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy-mid); font-weight: 700; }
.gd-eco-info ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.gd-eco-info li { display: flex; gap: 10px; font-size: .88rem; line-height: 1.5; color: var(--text-mid); }
.gd-eco-info li .gi { width: 22px; height: 22px; color: var(--navy-mid); }

.gd-ppwr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 18px 0; position: relative; }
.gd-ppwr-item { background: #fff; border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-sm); font-size: .86rem; border-top: 4px solid var(--gray-mid); }
.gd-ppwr-item.is-now { border-top-color: var(--sand); }
.gd-ppwr-item .gi { width: 30px; height: 30px; color: var(--navy-mid); }
.gd-ppwr-item b { display: block; color: var(--navy); font-size: .98rem; margin: 8px 0 4px; }
.gd-ppwr-item span { line-height: 1.5; color: var(--text-mid); }

/* Indice laterale: sugli schermi bassi niente box finale, così l'indice non viene tagliato */
@media (max-height: 860px) { .gd-toc-cta { display: none; } }

/* Responsive */
@media (max-width: 1100px) {
  .gd-mat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gd-finish { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .gd-layout { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 48px; }
  .gd-toc { position: static; max-height: none; margin-bottom: 36px; }
  .gd-toc-cta { display: none; }
  .gd-hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-glue { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-types, .gd-edges, .gd-prods--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-techs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-sup-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-tools, .gd-gloss-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-feature { grid-template-columns: minmax(0, 1fr); }
  .gd-feature-img { min-height: 240px; }
}
@media (max-width: 760px) {
  .gd-tldr-grid, .gd-anat-grid, .gd-bc, .gd-check, .gd-flips, .gd-prods, .gd-formats, .gd-hub-grid { grid-template-columns: minmax(0, 1fr); }
  .gd-mat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .gd-mat-detail { grid-template-columns: minmax(0, 1fr); }
  .gd-mat-big { min-height: 150px; }
  .gd-sector-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .gd-sector-tab { font-size: .64rem; padding: 12px 2px; }
  .gd-sector-tab .gi { width: 22px; height: 22px; }
  .gd-sector-panel.active { grid-template-columns: minmax(0, 1fr); }
  .gd-sector-img { min-height: 190px; }
  .gd-tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-finish { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-thermo-layout { grid-template-columns: minmax(0, 1fr) 80px; gap: 10px; }
  .gd-wind-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gd-wind-row-label { grid-column: 1 / -1; grid-row: auto; }
  .gd-timeline { grid-template-columns: minmax(0, 1fr); }
  .gd-timeline::before, .gd-timeline::after { left: 29px; right: auto; top: 30px; bottom: 30px; width: 3px; height: auto; }
  .gd-timeline.visible::after { width: 3px; }
  .gd-timeline li { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 14px; text-align: left; }
  .gd-tl-ico { grid-row: span 2; margin: 0; }
  .gd-result.show { grid-template-columns: minmax(0, 1fr); }
  .gd-result-img { max-width: 90px; }
  .gd-widget { padding: 22px 16px; }
  .gd-tldr { padding: 22px 18px; }
  .gd-scroll-hint { display: block; }
  .gd-cta-float { display: none; }
  .gd-pack-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-box-grid, .gd-unbox, .gd-eco, .gd-ppwr { grid-template-columns: minmax(0, 1fr); }
  .gd-box-scene { height: 300px; }
  .gd-unbox-step { transform: none; }
  .gd-techs, .gd-lens-grid { grid-template-columns: minmax(0, 1fr); }
  .gd-sup-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gd-vs-pick { grid-template-columns: minmax(0, 1fr); }
  .gd-vs-pick .gd-pills[data-side="b"] { justify-content: flex-start; }
  .gd-vsb-head, .gd-vsb-row { grid-template-columns: 1fr 96px 1fr; }
  .gd-vsb-row > span { font-size: .68rem; }
  .gd-tag-grid, .gd-shapes { grid-template-columns: minmax(0, 1fr); }
  .gd-tag-stage { position: static; }
  .gd-gram, .gd-cords, .gd-nobs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-builder-grid { grid-template-columns: minmax(0, 1fr); }
  .gd-builder-prev { position: static; }
  .gd-rules, .gd-rules--2 { grid-template-columns: minmax(0, 1fr); }
  .gd-seq, .gd-req { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-seq-item::after { display: none; }
  .gd-comp-row { grid-template-columns: 110px minmax(0, 1fr) 44px 26px; gap: 6px; }
  .gd-types, .gd-weave, .gd-colors, .gd-fold, .gd-edges, .gd-prods--4 { grid-template-columns: minmax(0, 1fr); }
  .gd-fondi, .gd-ribbons, .gd-steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-vs { grid-template-columns: minmax(0, 1fr); }
  .gd-vs-mid { margin: 0 auto; }
  .gd-gallery { grid-template-columns: 1fr 1fr; }
  .gd-gallery > div:first-child { grid-column: 1 / -1; }
  .gd-matrix { grid-template-columns: minmax(96px, 1.2fr) repeat(3, minmax(0, 1fr)); }
  .gd-mx-head { font-size: .62rem; }
  .gd-colors-count { right: 6px; top: 6px; width: 60px; height: 60px; }
  .gd-tools { grid-template-columns: minmax(0, 1fr); }
  .gd-feature-body { padding: 24px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .gd-iso, .gd-flip-in, .gd-thermo-fill, .gd-tech, .gd-web-move, .gd-roll-spin, .gd-glue-card .gi, .gd-glue-fx, .gd-bc-laser, .gd-cta-float .gi, .gd-sw-gold, .gd-sw-uv::after { animation: none !important; transition: none !important; }
}

/* =============================================
   MOBILE — leggibilità e tasti nelle guide (linee guida WCAG 2.2 / Apple / Google)
   Anche su tablet e schermi touch (pointer: coarse).
   ============================================= */
@media (max-width: 760px), (pointer: coarse) {
  .gd-article { font-size: 16px; }
  .gd-article p, .gd-lead { font-size: 16px !important; line-height: 1.65 !important; }
  /* testi dentro card e strumenti: ≥ 15px */
  .gd-tldr-item p, .gd-rule p, .gd-glue-card p, .gd-format p, .gd-type-body p, .gd-edge p, .gd-nob p, .gd-shape p,
  .gd-techcard p, .gd-flip-b, .gd-timeline p, .gd-steps4 p, .gd-tech p, .gd-finish-item p, .gd-ribbon p, .gd-fondo p,
  .gd-cord p, .gd-card-body p, .gd-tool p, .gd-vs-col ul, .gd-ico-list li, .gd-eco-info li, .gd-ppwr-item span,
  .gd-mat-info > p, .gd-check label, .gd-sources li, .gd-result li, .gd-anat-card p, .gd-fold-info p, .gd-pack-card p,
  .gd-unbox-card p, .gd-thermo-msg, .gd-cost-msg, .gd-run-txt, .gd-weave-info, .gd-mx-note, .gd-lang-out p, .gd-note,
  .gd-wind-tip, .gd-tag-sum p, .gd-box-tip, .gd-lens-box p, .gd-gram span, .gd-comp-ok, .gd-comp-warn, .gd-satin-note, .gd-mat-rate {
    font-size: 15px !important; line-height: 1.6 !important;
  }
  .gd-flip-f strong, .gd-gloss-card .gd-flip-f strong { font-size: 16px !important; }
  /* etichette e metadati: ≥ 12–13px */
  .gd-widget-tag, .gd-toc-title, .gd-card-cat, .gd-card-badge, .gd-law, .gd-badge, .gd-chips span, .gd-flip-f span,
  .gd-range-labels, .gd-mx-head, .gd-anat-card .k, .gd-result .k, .gd-comp-out .k, .gd-lang-out .k, .gd-fold-info .k,
  .gd-unbox-card .k, .gd-pack-tab, .gd-mat-tile, .gd-sector-tab, .gd-wind-opt, .gd-vsb-row > span, .gd-table-note, .gd-disclaimer, .gd-scroll-hint { font-size: 13px !important; }
  .gd-q-label, .gd-pill, .gd-filter, .gd-seg button, .gd-tab { font-size: 15px !important; }
  .gd-table { font-size: 14px !important; }
  .gd-toc li a { font-size: 15px !important; }
  /* tasti: ≥ 44px */
  .gd-pill, .gd-filter, .gd-tab, .gd-anat-toggle, .gd-seg button, .gd-compare summary, .gd-mx-row, .gd-unbox-step, .gd-toc li a { min-height: 44px; }
  .gd-sw { width: 44px !important; height: 44px !important; }
  .gd-layer-dots button { width: 14px; height: 14px; padding: 15px; background-clip: content-box; box-sizing: content-box; }
  .gd-layer-dots button.active { width: 30px; }
  .gd-round { width: 48px; height: 48px; }
  .gd-sector-tab { min-height: 64px; }
  .gd-check label { min-height: 48px; }
  .gd-check input { width: 22px; height: 22px; }
  .gd-switch { min-height: 52px; }
  .gd-comp-row select { min-height: 44px; font-size: 16px !important; }
  .gd-comp-del { min-width: 44px; min-height: 44px; }
  .gd-sources a, .gd-article p a { padding: 2px 0; }
}
@media (max-width: 760px), (pointer: coarse) {
  .gd-toc li a span { flex-basis: 26px; height: 26px; font-size: 13px; }
}
.gd-article p, .gd-lead { font-size: clamp(16px, 15.4px + 0.15vw, 17px); }

/* Scala minima (30/09): nessuna etichetta sotto 12px (misurate 10,6–11,8px) */
.gd-widget-tag, .gd-toc-title, .gd-type-img span, .gd-mx-head, .gd-range-labels span, .gd-colors-count span,
.gd-card-badge, .gd-card-cat, .gd-fold-info .k, #gdFoldInfo .k { font-size: 12px !important; }
.gd-type-body > a, .gd-toc-cta > a { display: inline-flex; align-items: center; min-height: 24px; }
@media (max-width: 760px), (pointer: coarse) { .gd-type-body > a, .gd-toc-cta > a { min-height: 44px; } }
/* Link "Scopri…→": freccia staccata dal testo */
.gd-type-body > a { gap: 6px; }
/* Lunghezza della riga: max ~75–80 caratteri (erano ~94 su desktop) */
.gd-article > p, .gd-article section > p, .gd-lead { max-width: 38em; }   /* ~75 caratteri (72ch in Inter = 94 caratteri reali) */
.gd-sources .gd-disclaimer { max-width: 46em; }

/* 01/10: tampografia rimossa → 5 tecniche e 5 supporti: griglie senza buchi */
.gd-techs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gd-techs > .gd-techcard { grid-column: span 2; }
.gd-techs > .gd-techcard:nth-child(n+4) { grid-column: span 3; }
.gd-sup-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .gd-techs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gd-techs > .gd-techcard, .gd-techs > .gd-techcard:nth-child(n+4) { grid-column: auto; }
  .gd-techs > .gd-techcard:last-child { grid-column: 1 / -1; }
  .gd-sup-tiles { display: flex; flex-wrap: wrap; justify-content: center; }
  .gd-sup-tiles > * { flex: 0 0 calc((100% - 20px) / 3); }
}
@media (max-width: 760px) {
  .gd-techs { grid-template-columns: minmax(0, 1fr); }
  .gd-techs > .gd-techcard:last-child { grid-column: auto; }
}
