/* =========================================================
   R.G Infissi — foglio di stile
   Direzione: antracite (RAL 7016) + bronzo anodizzato + vetro
   Firma: traversi da finestra (mullion lines)
   ========================================================= */

:root {
  --anthracite: #2B3338;
  --anthracite-deep: #1B2226;
  --bronze: #A67C4A;
  --bronze-soft: #C4A277;
  --glass: #FBFAF8;
  --glass-cool: #EDF1F2;
  --slate: #55636B;
  --ink: #192024;
  --line: #DBE1E3;
  --white: #FFFFFF;

  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 3px;

  --shadow-soft: 0 1px 2px rgba(25, 32, 36, .04), 0 8px 24px rgba(25, 32, 36, .06);
  --shadow-lift: 0 2px 6px rgba(25, 32, 36, .06), 0 18px 44px rgba(25, 32, 36, .12);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--glass);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

p { margin: 0 0 1rem; }

.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }

/* accessibilità: skip link */
.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--anthracite); color: #fff;
  padding: .6rem 1rem; z-index: 200; border-radius: 0 0 var(--radius) 0;
}
.skip:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 2px;
}

/* eyebrow / etichette */
.eyebrow {
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--bronze);
}

/* =========================
   HEADER
   ========================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 248, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0;
}
.brand { display: flex; align-items: baseline; gap: .55rem; }
.brand-mark {
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.35rem;
  color: var(--ink); letter-spacing: -.02em;
}
.brand-sub { font-size: .78rem; color: var(--slate); }

.nav { display: none; gap: 1.6rem; align-items: center; }
.nav a { font-size: .95rem; color: var(--slate); font-weight: 500; transition: color .18s; }
.nav a:hover { color: var(--ink); }

.header-cta { display: none; }

@media (min-width: 940px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
}

/* =========================
   BOTTONI
   ========================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600; font-size: .96rem;
  padding: .8rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer; transition: transform .16s, background .18s, box-shadow .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--bronze); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { background: #96703f; }
.btn-dark { background: var(--anthracite); color: #fff; }
.btn-dark:hover { background: var(--anthracite-deep); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--anthracite); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178c46; }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* =========================
   HERO — firma: traversi finestra
   ========================= */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); }
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1.1rem;
}
.hero h1 .accent { color: var(--bronze); }
.hero-lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--slate); max-width: 44ch; }

.trust-row {
  display: flex; flex-wrap: wrap; gap: 1.4rem; margin: 1.8rem 0 2rem;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.trust-item { display: flex; flex-direction: column; }
.trust-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--ink); }
.trust-label { font-size: .82rem; color: var(--slate); }

/* riquadro immagine con traversi */
.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--anthracite);
  background: linear-gradient(150deg, var(--glass-cool), #dfe6e8);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
}
.hero-frame::before, .hero-frame::after {
  content: ""; position: absolute; background: var(--anthracite); opacity: .55;
}
.hero-frame::before { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-.5px); }
.hero-frame::after { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-.5px); }
.hero-frame .frame-tag {
  position: absolute; left: 1rem; bottom: 1rem;
  background: rgba(27,34,38,.85); color: #fff;
  font-size: .78rem; padding: .4rem .7rem; border-radius: var(--radius);
  letter-spacing: .02em;
}
.hero-ph-note {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--slate); font-size: .85rem; text-align: center; padding: 1rem;
}

/* =========================
   SEZIONI GENERICHE
   ========================= */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--anthracite); color: #E7ECEE; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--bronze-soft); }
.section-dark .eyebrow::before { background: var(--bronze-soft); }

.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
.section-head p { color: var(--slate); font-size: 1.08rem; }
.section-dark .section-head p { color: #B9C4C8; }

/* =========================
   DUE LEVE
   ========================= */
.leve { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 820px) { .leve { grid-template-columns: 1fr 1fr; } }
.leva {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.leva:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.leva::after {
  content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--bronze);
}
.leva h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.leva p { color: var(--slate); margin-bottom: 1.2rem; }
.leva ul { margin: 0 0 1.4rem; padding: 0; list-style: none; }
.leva li { padding: .3rem 0 .3rem 1.4rem; position: relative; color: var(--slate); font-size: .96rem; }
.leva li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 8px; border: 1px solid var(--bronze); transform: rotate(45deg); }

/* =========================
   PRODOTTI GRID
   ========================= */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
@media (min-width: 700px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }

.prod-card {
  display: block; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.prod-card:hover { border-color: var(--anthracite); transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.prod-thumb {
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--glass-cool), #e2e8ea);
  display: grid; place-items: center; color: var(--slate);
  font-size: .75rem; position: relative;
}
.prod-thumb::after {
  content: ""; position: absolute; left: 50%; top: 12%; bottom: 12%; width: 1px;
  background: var(--anthracite); opacity: .25;
}
.prod-body { padding: .9rem 1rem 1.1rem; }
.prod-body h3 { font-size: 1.05rem; margin-bottom: .2rem; }
.prod-body span { font-size: .85rem; color: var(--bronze); font-weight: 600; }

/* =========================
   PROCESSO (sequenza reale → numerata)
   ========================= */
.steps { display: grid; grid-template-columns: 1fr; gap: 1.6rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: 2.6rem; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700;
  color: var(--bronze-soft);
  position: absolute; top: 0; left: 0;
  border-bottom: 2px solid var(--bronze); padding-bottom: .3rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.step p { color: #B9C4C8; font-size: .96rem; }

/* =========================
   RECENSIONI
   ========================= */
.reviews { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 780px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.review {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem;
  display: flex; flex-direction: column;
}
.stars { color: var(--bronze); letter-spacing: .12em; margin-bottom: .8rem; font-size: .95rem; }
.review blockquote { margin: 0 0 1.2rem; font-size: 1.02rem; color: var(--ink); }
.review-author { margin-top: auto; font-size: .9rem; color: var(--slate); }
.review-author strong { color: var(--ink); font-weight: 600; }

/* =========================
   FAQ
   ========================= */
.faq { max-width: 780px; }
.faq details {
  border-bottom: 1px solid var(--line); padding: 1.1rem 0;
}
.faq summary {
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--bronze); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .9rem 0 0; color: var(--slate); }

/* =========================
   CTA FINALE
   ========================= */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: 1rem; }
.cta-band p { color: #B9C4C8; max-width: 52ch; margin-inline: auto; margin-bottom: 2rem; }
.cta-band .btn-row { justify-content: center; }

/* =========================
   FOOTER
   ========================= */
.site-footer { background: var(--anthracite-deep); color: #AEB9BD; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2.5rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-grid a { color: #AEB9BD; transition: color .18s; }
.footer-grid a:hover { color: #fff; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: .5rem; font-size: .94rem; }
.footer-brand .brand-mark { color: #fff; }
.footer-brand p { font-size: .92rem; color: #90999D; max-width: 34ch; }
.social-links { display: flex; gap: .7rem; margin-top: 1rem; }
.social-links a {
  width: 38px; height: 38px; border: 1px solid #3a4448; border-radius: var(--radius);
  display: grid; place-items: center; transition: border-color .18s, background .18s;
}
.social-links a:hover { border-color: var(--bronze); background: rgba(166,124,74,.12); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom {
  border-top: 1px solid #2c363a; padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  font-size: .84rem; color: #7c868a;
}
.footer-bottom a { color: #7c868a; }

/* =========================
   BARRA AZIONE MOBILE
   ========================= */
.action-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 120;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--white); border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(25,32,36,.08);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; padding: .6rem; font-size: .74rem; font-weight: 600; color: var(--ink);
}
.action-bar a svg { width: 20px; height: 20px; }
.action-bar .ab-wa { color: #1FA855; }
.action-bar .ab-call { color: var(--anthracite); }
.action-bar .ab-book { color: var(--bronze); }
.action-bar a + a { border-left: 1px solid var(--line); }
body { padding-bottom: 62px; }
@media (min-width: 940px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* breadcrumb */
.breadcrumb { font-size: .84rem; color: var(--slate); padding: 1rem 0 0; }
.breadcrumb a:hover { color: var(--bronze); }
.breadcrumb span { color: var(--line); margin: 0 .4rem; }

/* =========================
   PROSA (contenuto SEO)
   ========================= */
.prose p { color: var(--slate); font-size: 1.06rem; margin-bottom: 1.15rem; }
.prose p:last-child { margin-bottom: 0; }

/* =========================
   PRODOTTI CORRELATI (link interni)
   ========================= */
.related-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-width: 820px; }
.related-list li {
  position: relative; padding: 1rem 1rem 1rem 2.6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--slate); font-size: 1.02rem; transition: border-color .2s;
}
.related-list li:hover { border-color: var(--bronze-soft); }
.related-list li::before {
  content: "→"; position: absolute; left: 1rem; top: 1rem; color: var(--bronze); font-weight: 700;
}
.related-list a { color: var(--bronze); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .18s; }
.related-list a:hover { border-color: var(--bronze); }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* =========================================================
   =========================================================
   UPGRADE GRAFICO 2026 — "Officina di Luce"
   Layer aggiuntivo: profondità, luce, movimento.
   Sovrascrive/estende le regole sopra senza toccarle.
   =========================================================
   ========================================================= */

:root {
  --bronze-grad: linear-gradient(135deg, #B98A54 0%, #A67C4A 45%, #8E6839 100%);
  --dark-grad: linear-gradient(160deg, #2B3338 0%, #1B2226 100%);
  --glow-bronze: 0 0 0 1px rgba(166,124,74,.18), 0 24px 60px -18px rgba(166,124,74,.45);
  --shadow-xl: 0 4px 12px rgba(25,32,36,.06), 0 30px 70px -24px rgba(25,32,36,.28);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* sfondo con profondità (non più piatto) */
body {
  background:
    radial-gradient(1100px 620px at 88% -8%, rgba(166,124,74,.10), transparent 60%),
    radial-gradient(900px 560px at -6% 8%, rgba(43,51,56,.06), transparent 55%),
    var(--glass);
  background-attachment: fixed;
}

/* ---------- SCROLL REVEAL ---------- */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal="2"] { transition-delay: .08s; }
[data-reveal][data-reveal="3"] { transition-delay: .16s; }
[data-reveal][data-reveal="4"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ---------- HEADER condensato allo scroll ---------- */
.site-header { transition: box-shadow .3s var(--ease), background .3s var(--ease); }
.site-header.is-stuck {
  background: rgba(251,250,248,.95);
  box-shadow: 0 6px 30px -12px rgba(25,32,36,.22);
}
.brand-mark { transition: color .2s; }
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: var(--bronze); transition: right .28s var(--ease);
}
.nav a:hover::after { right: 0; }

/* ---------- BOTTONI più ricchi ---------- */
.btn { border-radius: 6px; letter-spacing: .01em; position: relative; overflow: hidden; }
.btn-primary { background: var(--bronze-grad); box-shadow: 0 8px 22px -10px rgba(166,124,74,.7); }
.btn-primary:hover { background: var(--bronze-grad); filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(166,124,74,.75); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(31,168,85,.6); }
.btn-dark:hover { transform: translateY(-2px); }
.btn-ghost { backdrop-filter: blur(4px); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.02rem; }

/* ---------- HERO d'impatto ---------- */
.hero {
  padding-top: clamp(3.5rem, 9vw, 7rem);
  background:
    radial-gradient(680px 380px at 92% 20%, rgba(166,124,74,.14), transparent 65%);
}
.hero h1 { letter-spacing: -.025em; }
.hero h1 .accent {
  background: var(--bronze-grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--bronze);
}
.eyebrow.eyebrow-pill {
  background: rgba(166,124,74,.10); border: 1px solid rgba(166,124,74,.25);
  padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.4rem;
}
.eyebrow.eyebrow-pill::before { display: none; }

/* riquadro immagine: ora ospita foto reale, con cornice a doppio bordo, glow e badge */
.hero-frame {
  border: none;
  aspect-ratio: 4 / 5;
  box-shadow: var(--glow-bronze), var(--shadow-xl);
  overflow: hidden;
  isolation: isolate;
  transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
  transition: transform .5s var(--ease);
}
.hero-visual:hover .hero-frame { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }
.hero-frame::before, .hero-frame::after { display: none; }        /* via i vecchi traversi */
.hero-frame > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.hero-frame .frame-inner-border {
  position: absolute; inset: 12px; border: 1px solid rgba(255,255,255,.35);
  z-index: 3; pointer-events: none;
}
.hero-frame .frame-tag {
  z-index: 4;
  background: rgba(27,34,38,.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
}
.hero-ph-note { z-index: 2; }
.hero-frame:has(img) .hero-ph-note { display: none; }  /* nascondi la nota quando la foto e' caricata */
/* badge fluttuante "30 anni" */
.hero-badge {
  position: absolute; z-index: 5; right: -14px; top: 26px;
  background: #fff; border-radius: 12px; padding: .85rem 1.05rem;
  box-shadow: var(--shadow-xl); display: flex; align-items: center; gap: .7rem;
  animation: floaty 5s ease-in-out infinite;
}
.hero-badge .hb-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--bronze); line-height: 1; }
.hero-badge .hb-txt { font-size: .74rem; color: var(--slate); line-height: 1.25; max-width: 9ch; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.hero-visual { position: relative; }
@media (max-width: 560px) { .hero-badge { right: 8px; top: 12px; padding: .6rem .8rem; } .hero-badge .hb-num { font-size: 1.35rem; } }

.trust-num { background: var(--bronze-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- CARD prodotti: foto con zoom ---------- */
.prod-card { border-radius: 10px; box-shadow: var(--shadow-soft); transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); border-color: rgba(166,124,74,.4); }
.prod-thumb { overflow: hidden; }
.prod-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.prod-card:hover .prod-thumb > img { transform: scale(1.07); }
.prod-thumb::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(27,34,38,.45));
  opacity: 0; transition: opacity .3s; pointer-events: none;
}
.prod-card:hover .prod-thumb::before { opacity: 1; }
.prod-body { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.prod-body::after { content: "→"; color: var(--bronze); font-weight: 700; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.prod-card:hover .prod-body::after { opacity: 1; transform: none; }

/* ---------- LEVE / card con più profondità ---------- */
.leva { border-radius: 12px; box-shadow: var(--shadow-soft); }
.leva:hover { box-shadow: var(--shadow-xl); }
.leva::after { width: 3px; background: var(--bronze-grad); }

/* ---------- SEZIONE SCURA con texture ---------- */
.section-dark { background: var(--dark-grad); position: relative; overflow: hidden; }
.section-dark::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(166,124,74,.16), transparent 60%),
    radial-gradient(500px 260px at 100% 100%, rgba(166,124,74,.10), transparent 60%);
}
.section-dark .wrap { position: relative; z-index: 1; }
.step::before { border-image: var(--bronze-grad) 1; }

/* ---------- RECENSIONI ---------- */
.review { border-radius: 12px; box-shadow: var(--shadow-soft); transition: transform .25s var(--ease), box-shadow .25s; }
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.review::before { content: "\201C"; font-family: var(--font-display); font-size: 3.2rem; line-height: .6; color: var(--bronze-soft); opacity: .5; display: block; margin-bottom: .3rem; }

/* ---------- MENU HAMBURGER (mancava) ---------- */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; background: transparent;
  border: 1px solid var(--line); border-radius: 8px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 940px) { .nav-toggle { display: none; } }
@media (max-width: 939px) {
  .nav {
    position: fixed; top: 100%; left: 0; right: 0; bottom: auto;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    max-height: 82vh; max-height: 82dvh; overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: rgba(251,250,248,.98); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px -14px rgba(25,32,36,.28);
    padding: .3rem 0 .5rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .28s var(--ease), opacity .28s var(--ease); z-index: 90;
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: .95rem 7vw; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* ---------- ZONE (chip) — mancava ---------- */
.zone-list { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.zone-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem; background: var(--white);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: var(--slate);
  transition: all .22s var(--ease);
}
.zone-chip::before { content: "📍"; font-size: .8rem; }
.zone-chip:hover { color: #fff; background: var(--anthracite); border-color: var(--anthracite); transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* ---------- STRISCIA MARCHI — mancava ---------- */
.partner-strip { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.partner-strip .plabel { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--slate); font-weight: 600; margin-right: .5rem; }
.brand-chip { display: inline-grid; place-items: center; min-width: 110px; height: 46px; padding: 0 1rem; background: var(--white); border: 1px solid var(--line); border-radius: 8px; color: var(--slate); font-size: .8rem; filter: grayscale(1); opacity: .75; transition: filter .25s, opacity .25s; }
.brand-chip:hover { filter: none; opacity: 1; }
.brand-chip > img { max-height: 30px; width: auto; }

/* ---------- FOOTER AREAS — mancava ---------- */
.footer-areas { border-top: 1px solid #2c363a; padding: 1.4rem 0; font-size: .86rem; color: #8b969a; line-height: 1.8; margin-bottom: .5rem; }
.footer-areas strong { color: #cfd7da; }
.footer-areas a { color: #8b969a; border-bottom: 1px solid transparent; transition: color .18s, border-color .18s; }
.footer-areas a:hover { color: #fff; border-color: var(--bronze); }

/* ---------- rifiniture generali ---------- */
.section-head h2 { position: relative; }
.ph-min { position: relative; z-index: 0; font-size: .75rem; color: var(--slate); }
::selection { background: rgba(166,124,74,.24); }
.action-bar { backdrop-filter: blur(10px); background: rgba(255,255,255,.94); }

/* ---------- MENU PRODOTTI a tendina ---------- */
.nav-item.has-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-drop-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: .95rem; font-weight: 500; color: var(--slate); padding: 0;
  transition: color .18s;
}
.nav-drop-toggle:hover { color: var(--ink); }
.nav-drop-toggle svg { width: 11px; height: 11px; transition: transform .25s var(--ease); }
.has-dropdown:hover .nav-drop-toggle svg,
.has-dropdown.open .nav-drop-toggle svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 480px; margin-top: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-xl); padding: .6rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: .1rem;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease); z-index: 130;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  padding: .6rem .85rem; border-radius: 9px; font-size: .9rem; font-weight: 500;
  color: var(--ink); white-space: nowrap; transition: background .15s, color .15s;
}
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--glass-cool); color: var(--bronze); }

@media (max-width: 939px) {
  .nav-item.has-dropdown { display: block; width: 100%; }
  .nav-drop-toggle {
    width: 100%; justify-content: space-between; color: var(--ink);
    font-size: 1.05rem; padding: .95rem 7vw; border-bottom: 1px solid var(--line);
  }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto;
    min-width: 0; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none;
    display: block; height: 0; overflow: hidden; background: var(--glass-cool);
  }
  .has-dropdown.open .dropdown {
    transform: none;   /* annulla il translateX(-50%) desktop che spingeva il menu fuori schermo */
    height: auto; padding: .3rem 0; border-bottom: 1px solid var(--line);
  }
  .dropdown a { display: block; width: 100%; padding: .7rem 9vw; font-size: .98rem; white-space: normal; border-bottom: 1px solid var(--line); }
  .dropdown a:last-child { border-bottom: 0; }
}

/* =========================================================
   PAGINE INTERNE — intestazione, form contatti, mappa, stats
   (classi usate nell'HTML ma non ancora definite + hardening mobile)
   ========================================================= */

/* --- rete di sicurezza anti "fuori squadro" su mobile --- */
html, body { overflow-x: clip; }
.wrap { max-width: 100%; }
img, iframe, video, table { max-width: 100%; }

/* --- intestazione pagina (chi-siamo, contatti, incentivi, aree...) --- */
.page-header {
  position: relative;
  padding: clamp(2.4rem, 6vw, 4.4rem) 0 clamp(1.8rem, 4vw, 2.6rem);
  background: radial-gradient(640px 340px at 88% -12%, rgba(166,124,74,.13), transparent 62%);
  border-bottom: 1px solid var(--line);
}
.page-header h1 {
  font-size: clamp(2rem, 5.2vw, 3.15rem);
  max-width: 22ch;
  margin-bottom: .85rem;
}
.page-header > .wrap > p {
  color: var(--slate);
  font-size: clamp(1.02rem, 2.2vw, 1.2rem);
  max-width: 60ch; margin: 0;
}

/* --- striscia numeri (chi-siamo) --- */
.stat-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
  margin-top: clamp(1.6rem, 4vw, 2.4rem);
}
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 1.1rem 1.25rem; box-shadow: var(--shadow-soft);
}
.stat .s-num {
  font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  background: var(--bronze-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat .s-label { display: block; margin-top: .35rem; font-size: .9rem; color: var(--slate); }
@media (max-width: 560px) { .stat-strip { grid-template-columns: 1fr; gap: .7rem; } }

/* --- immagine affiancata (storia chi-siamo) --- */
.about-frame {
  position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  box-shadow: var(--glow-bronze), var(--shadow-xl);
}
.about-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .about-frame { aspect-ratio: 16 / 10; } }

/* --- FORM CONTATTI (a card) --- */
.contact-form {
  display: flex; flex-direction: column; gap: 1.05rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 16px;
  padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; max-width: 100%; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: 9px;
  padding: .72rem .85rem; transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa4a9; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(166,124,74,.16);
}
.form-note { font-size: .84rem; color: var(--slate); margin: 0; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

/* --- scheda info contatti + mappa --- */
.contact-card {
  background: var(--dark-grad); color: #E7ECEE; position: relative; overflow: hidden;
  border-radius: 16px; padding: clamp(1.4rem, 3vw, 1.9rem); box-shadow: var(--shadow-lift);
}
.contact-card h2 { color: #fff; font-size: 1.3rem; margin-bottom: 1rem; }
.contact-item {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .8rem 0; border-top: 1px solid rgba(255,255,255,.10);
}
.contact-item:first-of-type { border-top: 0; padding-top: 0; }
.contact-item svg { width: 20px; height: 20px; flex: none; color: var(--bronze-soft); margin-top: .15rem; }
.contact-item .ci-label {
  display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bronze-soft); margin-bottom: .1rem;
}
.contact-item a { color: #E7ECEE; border-bottom: 1px solid transparent; transition: border-color .18s; }
.contact-item a:hover { border-color: var(--bronze-soft); }
.map-embed {
  margin-top: 1.2rem; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.map-embed iframe { display: block; width: 100%; height: 300px; border: 0; }

/* --- header CTA "Prenota sopralluogo": nascosto su mobile, visibile solo da >=940px ---
   (fix cascade: .btn{display:inline-flex} sovrascriveva .header-cta{display:none};
   qui alziamo la specificita' a .btn.header-cta cosi' vince) --- */
.btn.header-cta { display: none; }
@media (min-width: 940px) { .btn.header-cta { display: inline-flex; } }

/* =========================================================
   GALLERIA REALIZZAZIONI — mancava (classi usate in realizzazioni.html
   ma non definite: .gallery-grid / .gallery-item)
   ========================================================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1.1rem;
}
.gallery-item {
  margin: 0; position: relative; overflow: hidden;
  border-radius: 16px; border: 1px solid var(--line);
  background: var(--white); box-shadow: var(--shadow-soft);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }
.gallery-item img {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item figcaption {
  padding: .7rem .95rem; font-size: .92rem; font-weight: 500;
  color: var(--ink); line-height: 1.35; border-top: 1px solid var(--line);
}
@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .gallery-item figcaption { padding: .5rem .6rem; font-size: .8rem; }
}

/* =========================================================
   HERO FULL-BLEED (20/07/2026)
   Foto a tutta pagina + titolo sovrapposto. Sostituisce il
   vecchio layout "brochure" (testo sx / fotina incorniciata dx).
   Per cambiare foto: rimpiazza img/hero-wide.jpg + hero-wide-sm.jpg.
   ========================================================= */
.hero-full {
  padding: 0;
  background: var(--anthracite-deep);
  min-height: clamp(30rem, 78vh, 46rem);
  display: grid;
  grid-template-rows: 1fr auto;
  isolation: isolate;
}
.hero-full .hero-bg,
.hero-full .hero-bg img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
/* velo scuro: garantisce il contrasto del testo sopra la foto */
.hero-full .hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(27,34,38,.94) 0%, rgba(27,34,38,.80) 32%,
                            rgba(27,34,38,.34) 62%, rgba(27,34,38,.10) 100%),
    linear-gradient(180deg, rgba(27,34,38,.30) 0%, transparent 34%);
}
.hero-full-inner {
  position: relative; z-index: 2;
  align-self: center;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
}
.hero-full .hero-copy { max-width: 40rem; }
.hero-full h1 { color: var(--white); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-full h1 .accent {
  background: linear-gradient(135deg, #E4C08D 0%, #C4A277 55%, #A67C4A 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: var(--bronze-soft);
}
.hero-full .hero-lead { color: rgba(255,255,255,.86); max-width: 38ch; }
.hero-full .eyebrow-pill {
  background: rgba(255,255,255,.12); color: var(--white);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}

/* striscia dati in fondo alla foto */
.hero-strip {
  position: relative; z-index: 2;
  background: rgba(20,26,29,.58);
  backdrop-filter: saturate(140%) blur(10px);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero-strip .trust-row {
  display: flex; flex-wrap: wrap; gap: clamp(1.2rem, 5vw, 3.5rem);
  padding: 1rem 0; margin-inline: auto; border: 0;
}
.hero-strip .trust-item { display: flex; flex-direction: column; gap: .1rem; }
.hero-strip .trust-num { color: var(--bronze-soft); font-size: 1.5rem; }
.hero-strip .trust-label { color: rgba(255,255,255,.72); font-size: .88rem; line-height: 1.3; }

@media (max-width: 700px) {
  .hero-full { min-height: clamp(26rem, 74vh, 34rem); }
  /* su schermo stretto il velo diventa verticale: testo leggibile in basso */
  .hero-full .hero-scrim {
    background:
      linear-gradient(180deg, rgba(27,34,38,.40) 0%, rgba(27,34,38,.55) 40%, rgba(27,34,38,.93) 100%);
  }
  .hero-full-inner { align-self: end; }
  .hero-full .hero-lead { max-width: none; }
  .hero-strip .trust-row { gap: 1rem 1.6rem; }
  .hero-strip .trust-num { font-size: 1.25rem; }
  .hero-strip .trust-label { font-size: .8rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-full .hero-bg img { animation: heroIn 1.1s var(--ease) both; }
  @keyframes heroIn { from { transform: scale(1.06); opacity: .4; } to { transform: none; opacity: 1; } }
}

/* ---------- HERO FULL-BLEED compatta: pagine prodotto (20/07/2026) ----------
   Stessa lingua visiva della home ma circa meta' altezza: chi arriva su una
   pagina prodotto sa gia' cosa cerca, titolo e CTA devono restare sopra la piega. */
.hero-compact {
  min-height: clamp(19rem, 42vh, 25rem);
  grid-template-rows: 1fr;
}
.hero-compact .hero-full-inner { padding: clamp(2rem, 5vw, 3.2rem) 0; }
.hero-compact h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); }
.hero-compact .hero-lead { font-size: 1.02rem; max-width: 46ch; }
/* le pagine prodotto usano .eyebrow (non .eyebrow-pill): va schiarita anche quella */
.hero-full .eyebrow { color: var(--bronze-soft); }
/* le foto prodotto sono 1400x933: leggero zoom per riempire una fascia bassa e larga */
.hero-compact .hero-bg img { object-position: center 58%; }

@media (max-width: 700px) {
  .hero-compact { min-height: clamp(17rem, 40vh, 21rem); }
  .hero-compact .hero-lead { font-size: .96rem; }
}

/* =========================================================
   BLOG — indice editoriale + colonna articolo
   ========================================================= */

/* --- colonna di lettura (usata anche dalle guide) --- */
.article { max-width: 720px; }
.lead {
  font-size: clamp(1.12rem, 2.2vw, 1.3rem);
  line-height: 1.5; color: var(--ink); font-weight: 500;
  margin-bottom: 1.6rem;
}
.article h2 { font-size: clamp(1.4rem, 3.4vw, 1.95rem); margin: 2.3rem 0 .7rem; }
.article h3 { font-size: 1.18rem; margin: 1.7rem 0 .5rem; }
.article p  { color: var(--slate); margin-bottom: 1.1rem; }
.article ul, .article ol { color: var(--slate); margin: 0 0 1.2rem; padding-left: 1.15rem; }
.article li { margin-bottom: .5rem; }
.article strong { color: var(--ink); }
.article a:not(.btn) {
  color: var(--bronze); font-weight: 600;
  text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: rgba(166,124,74,.4);
}
.article a:not(.btn):hover { text-decoration-color: var(--bronze); }
.article figure { margin: 1.9rem 0; }
.article figure img { border-radius: var(--radius); box-shadow: var(--shadow-soft); margin-inline: auto; }
.article figcaption { font-size: .85rem; color: var(--slate); margin-top: .55rem; text-align: center; }

/* nota / disclaimer inline */
.article .note {
  font-size: .92rem; color: var(--slate);
  background: var(--glass-cool); border-left: 3px solid var(--bronze);
  padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.7rem 0;
}
.article .note strong { color: var(--ink); }

/* callout con CTA dentro l'articolo */
.inline-cta {
  margin: 2.1rem 0; padding: 1.5rem 1.7rem;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--bronze);
}
.inline-cta h3 { margin-bottom: .35rem; font-size: 1.25rem; }
.inline-cta p  { color: var(--slate); margin-bottom: 1rem; }
.inline-cta--urgent { border-top-color: #b4443a; background: linear-gradient(180deg, #fff, #fbf4f2); }

/* meta articolo (categoria · data · lettura) */
.blog-meta {
  display: flex; flex-wrap: wrap; gap: .35rem .6rem; align-items: center;
  font-size: .84rem; color: var(--slate); font-weight: 500;
}
.blog-meta .tag {
  color: var(--bronze); font-weight: 600;
  text-transform: uppercase; letter-spacing: .08em; font-size: .78rem;
}

/* --- ARTICOLO IN EVIDENZA --- */
.blog-featured {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.blog-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(166,124,74,.45); }
@media (min-width: 860px) { .blog-featured { grid-template-columns: 1.02fr 1fr; } }
.feat-media { position: relative; min-height: 220px; overflow: hidden; background: var(--glass-cool); }
.feat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-featured:hover .feat-media img { transform: scale(1.04); }
.feat-badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 1;
  background: var(--anthracite); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .75rem; border-radius: 999px;
}
.feat-body {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  display: flex; flex-direction: column; justify-content: center; gap: .55rem;
}
.feat-body h2 { font-size: clamp(1.5rem, 3.4vw, 2.15rem); margin: 0; }
.feat-body p  { color: var(--slate); margin: 0; }
.feat-body .more { margin-top: .3rem; color: var(--bronze); font-weight: 600; font-size: .95rem; }

/* --- STRISCIA BENEFICI (icone) --- */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 800px) { .benefit-grid { grid-template-columns: repeat(4, 1fr); } }
.benefit {
  text-align: center; padding: 1.5rem 1.1rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.benefit .ic { display: block; width: 46px; height: 46px; margin: 0 auto .85rem; color: var(--bronze); }
.benefit .ic svg { width: 100%; height: 100%; }
.benefit h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.benefit p  { font-size: .89rem; color: var(--slate); margin: 0; }

/* --- GRIGLIA CARD ARTICOLI --- */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 600px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 940px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: rgba(166,124,74,.45); }
.blog-thumb {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--glass-cool), #e2e8ea);
  display: grid; place-items: center; color: var(--slate); font-size: .8rem;
}
.blog-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-body { padding: 1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.blog-cat {
  align-self: flex-start; font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; color: var(--bronze);
}
.blog-body h3 { font-size: 1.12rem; line-height: 1.2; margin: 0; }
.blog-body p  { color: var(--slate); font-size: .94rem; margin: 0; }
.blog-body .more { margin-top: auto; padding-top: .55rem; color: var(--bronze); font-weight: 600; font-size: .9rem; }

/* =========================================================
   INCENTIVI — numeri detrazione + confronto bonus
   ========================================================= */
/* due numeri di testa (50% prima casa / 36% seconda) */
.bonus-heads { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.8rem 0; }
@media (min-width: 640px) { .bonus-heads { grid-template-columns: 1fr 1fr; } }
.bonus-head {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  border-top: 3px solid var(--bronze); padding: 1.5rem 1.6rem; box-shadow: var(--shadow-soft);
}
.bonus-head .fig {
  display: block; font-family: var(--font-display); font-weight: 700; line-height: 1;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  background: var(--bronze-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.bonus-head .who { display: block; font-weight: 600; color: var(--ink); margin-top: .35rem; font-size: 1.08rem; }
.bonus-head .cap { display: block; color: var(--slate); font-size: .92rem; margin-top: .35rem; line-height: 1.5; }

/* confronto Ecobonus / Bonus Casa */
.incent-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 760px) { .incent-grid { grid-template-columns: 1fr 1fr; } }
.incent-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.7rem; box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.incent-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: rgba(166,124,74,.4); }
.incent-card .ic { display: block; width: 42px; height: 42px; color: var(--bronze); margin-bottom: .85rem; }
.incent-card .ic svg { width: 100%; height: 100%; }
.incent-card h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.incent-card p  { color: var(--slate); margin-bottom: .9rem; }
.incent-card .when {
  display: block; font-size: .86rem; color: var(--bronze); font-weight: 600;
  border-top: 1px solid var(--line); padding-top: .7rem;
}

/* =========================================================
   PORTE ESTERNE — griglia modelli EKO OKNA
   ========================================================= */
/* mini-nav ancore materiali */
.model-nav { display: flex; flex-wrap: wrap; gap: .6rem; }
.model-nav a {
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  color: var(--slate); background: var(--white);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .45rem 1.1rem; transition: color .2s, border-color .2s, background .2s;
}
.model-nav a:hover { color: var(--bronze); border-color: var(--bronze); }

.model-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 680px)  { .model-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .model-grid { grid-template-columns: repeat(4, 1fr); } }
.model-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(166,124,74,.4); }
.model-thumb {
  aspect-ratio: 4 / 3; background: #fff;
  display: grid; place-items: center; padding: .7rem; overflow: hidden;
}
.model-thumb img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s var(--ease); }
.model-card:hover .model-thumb img { transform: scale(1.05); }
.model-body {
  padding: .8rem 1rem 1rem; border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: .2rem; flex: 1;
}
.model-body .mat { font-size: .68rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--bronze); }
.model-body h3 { font-size: 1rem; line-height: 1.2; margin: 0; }
.model-body p  { font-size: .85rem; color: var(--slate); margin: .1rem 0 0; }

.partner-note {
  display: flex; gap: .9rem; align-items: center;
  background: var(--glass-cool); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.2rem;
  font-size: .92rem; color: var(--slate); line-height: 1.55;
}
.partner-note strong { color: var(--ink); }

/* =========================================================
   LIGHTBOX — clicca il prodotto per ingrandirlo
   ========================================================= */
.model-thumb img, .gallery-item img { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 20, 23, .92);
  display: none; align-items: center; justify-content: center;
  padding: 4vw; cursor: zoom-out;
}
.lightbox.open { display: flex; animation: lb-in .18s ease; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: min(1000px, 92vw); max-height: 88vh; width: auto; height: auto;
  border-radius: var(--radius); background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
.lb-close {
  position: absolute; top: .8rem; right: 1.3rem;
  background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1;
  cursor: pointer; opacity: .85; transition: opacity .2s;
}
.lb-close:hover { opacity: 1; }

/* =========================================================
   FINESTRE — animazione "la finestra si apre allo scroll"
   ========================================================= */
.win-anim { position: relative; height: 220vh; }
.win-anim-sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.3rem; background: linear-gradient(180deg, var(--glass), var(--glass-cool));
}
.win-anim-canvas {
  width: min(820px, 90%); height: auto; aspect-ratio: 900 / 506;
  filter: drop-shadow(0 18px 40px rgba(25,32,36,.14));
}
.win-anim-cap { max-width: 640px; text-align: center; padding: 0 1.2rem; }
.win-anim-cap h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-bottom: .5rem; }
.win-anim-cap p { color: var(--slate); margin: 0; }
.win-anim-hint { font-size: .82rem; color: var(--bronze); font-weight: 600; letter-spacing: .04em; }
@media (max-width: 700px) { .win-anim { height: 180vh; } }
@media (prefers-reduced-motion: reduce) {
  .win-anim { height: auto; }
  .win-anim-sticky { position: static; height: auto; padding: 3rem 0; }
}
