/* Carmine Energia Gratis — anteprima homepage */
:root {
  --green-900: #0a3d2a;
  --green-800: #0d4f36;
  --green-700: #116b48;
  --green-600: #1a8759;
  --green-500: #22a06b;
  --green-100: #e8f5ef;
  --green-50: #f3faf6;
  --charcoal: #1a1f1c;
  --charcoal-soft: #2c342f;
  --slate: #4a554f;
  --muted: #6b756f;
  --line: #d8e2dc;
  --white: #ffffff;
  --cream: #f7faf8;
  --shadow: 0 12px 40px rgba(10, 61, 42, 0.12);
  --shadow-sm: 0 4px 16px rgba(10, 61, 42, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --max: 1120px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; height: auto; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green-600); }
ul { list-style: none; }

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Preview banner —— */
.preview-banner {
  background: linear-gradient(90deg, #f0ebe0, #e8f0ea);
  color: #5a5040;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #ddd5c4;
}

.preview-banner span {
  display: inline-block;
  background: #c4a35a;
  color: #fff;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-right: 0.5rem;
  letter-spacing: 0.06em;
  vertical-align: middle;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--charcoal);
  font-weight: 700;
  font-size: 1.05rem;
}

.logo-mark {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--green-600), var(--green-900));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(17, 107, 72, 0.35);
}

.logo-text small {
  display: block;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--slate);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover { color: var(--green-700); }

.nav-cta {
  background: var(--green-700) !important;
  color: #fff !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
  background: var(--green-600) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.45rem 0.6rem;
  cursor: pointer;
  color: var(--charcoal);
}

/* —— Hero —— */
.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(34, 160, 107, 0.12), transparent),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(17, 107, 72, 0.08), transparent),
    var(--cream);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-100);
  color: var(--green-800);
  font-size: 0.8rem;
  font-weight: 650;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--green-700);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--green-700);
  color: #fff;
  box-shadow: 0 6px 20px rgba(17, 107, 72, 0.3);
}

.btn-primary:hover {
  background: var(--green-600);
  color: #fff;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line);
}


a[href*="paypal.com"] {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
a[href*="paypal.com"]::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23003087' d='M7.3 20.5H4.6L6.4 3.6h5.7c3.3 0 5.2 1.6 4.9 4.5-.4 3.7-2.6 5.7-6.2 5.7H8.3l-.6 6.7z'/%3E%3Cpath fill='%23009CDE' d='M19.6 8.3c.2 3.5-2.3 6.8-6.6 6.8h-1.8l-.8 5.4h-2.3L8.3 14h2.5c4.2 0 6.6-2.4 7-5.7.1-.9 0-1.7-.4-2.4.8.6 1.4 1.5 1.6 2.4z'/%3E%3Cpath fill='%231F264F' d='M8.3 14l-.6 6.5H5.1L6.4 3.6h5.7c1.7 0 3 .4 3.9 1.2-3.6.2-6.3 2.6-7.7 9.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
a[href^="mailto:"] {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
a[href^="mailto:"]::before, a.btn[href^="mailto:"]::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%234285F4' d='M1.5 6.5v11A2.5 2.5 0 0 0 4 20h16a2.5 2.5 0 0 0 2.5-2.5v-11L12 13.2 1.5 6.5z'/%3E%3Cpath fill='%2334A853' d='M22.5 6.5V5A2.5 2.5 0 0 0 20 2.5H4A2.5 2.5 0 0 0 1.5 5v1.5L12 13.2l10.5-6.7z'/%3E%3Cpath fill='%23FBBC05' d='M1.5 6.5 12 13.2 4 20H4A2.5 2.5 0 0 1 1.5 17.5v-11z'/%3E%3Cpath fill='%23EA4335' d='M22.5 6.5v11A2.5 2.5 0 0 1 20 20h0l-8-6.8 10.5-6.7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn-secondary:hover {
  border-color: var(--green-600);
  color: var(--green-700);
  background: var(--green-50);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.hero-points li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  color: var(--slate);
  font-weight: 500;
}

.hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-500);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: auto;
  object-fit: contain;
  width: 100%;
  height: auto;
  background: #eef2ef;
}

.hero-float {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--white);
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  max-width: 220px;
  border: 1px solid var(--line);
}

.hero-float strong {
  display: block;
  font-size: 0.8rem;
  color: var(--green-700);
  margin-bottom: 0.15rem;
}

.hero-float span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.35;
}

/* —— Sections shared —— */
section { padding: 5rem 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.65rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--charcoal);
}

.section-lead {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head { margin-bottom: 2.5rem; }

/* —— Fabbrica —— */
.fabbrica {
  background: var(--white);
}

.fabbrica-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.fabbrica-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--charcoal);
}

.fabbrica-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  opacity: 0.92;
  transition: opacity 0.3s, transform 0.4s;
}

.fabbrica-card:hover img {
  opacity: 1;
  transform: scale(1.03);
}

.fabbrica-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 61, 42, 0.25);
  transition: background 0.25s;
}

.fabbrica-card:hover .fabbrica-play {
  background: rgba(10, 61, 42, 0.4);
}

.play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}

.fabbrica-card:hover .play-btn { transform: scale(1.08); }

.play-btn svg { margin-left: 4px; }

.fabbrica-copy p {
  color: var(--slate);
  margin-bottom: 1.25rem;
}

.fabbrica-copy ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.fabbrica-copy li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--charcoal-soft);
}

.fabbrica-copy li::before {
  content: "✓";
  color: var(--green-600);
  font-weight: 700;
  flex-shrink: 0;
}

/* —— Prodotti —— */
.prodotti {
  background: var(--cream);
}

.kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.kit-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.kit-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--green-500);
  transform: translateY(-3px);
}

.kit-kwh {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.kit-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--charcoal);
}

.kit-card p {
  font-size: 0.875rem;
  color: var(--muted);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.gallery figure {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--charcoal);
  aspect-ratio: 1;
  position: relative;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery figure:hover img { transform: scale(1.06); }

.gallery figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.6rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
}

.gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery figure:nth-child(1) figcaption { font-size: 0.85rem; padding: 1rem; }

.prodotti-cta {
  text-align: center;
}

/* —— Perché —— */
.perche {
  background: var(--charcoal);
  color: #e8efe9;
}

.perche .section-label { color: var(--green-500); }
.perche .section-title { color: #fff; }
.perche .section-lead { color: #a8b5ad; }

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.reason {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: background 0.2s, border-color 0.2s;
}

.reason:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(34, 160, 107, 0.4);
}

.reason-num {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--green-600), var(--green-900));
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1.15rem;
}

.reason h3 {
  font-size: 1.15rem;
  margin-bottom: 0.65rem;
  color: #fff;
}

.reason p {
  font-size: 0.925rem;
  color: #a8b5ad;
  line-height: 1.65;
}

/* —— Video / Casi —— */
.casi {
  background: var(--white);
}

.casi-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.caso-main {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.caso-main a {
  display: block;
  position: relative;
}

.caso-main img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.caso-body { padding: 1.5rem; }

.caso-body h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.caso-body p {
  color: var(--slate);
  font-size: 0.95rem;
}

.caso-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  color: inherit;
}

.video-card:hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.video-card img {
  width: 140px;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.video-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--charcoal);
}

.video-card p {
  font-size: 0.8rem;
  color: var(--muted);
}

.video-more {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.video-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: block;
}

.video-thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.video-thumb span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.65rem 0.85rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

/* —— FAQ —— */
.faq {
  background: var(--cream);
}

.faq-list {
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.35rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--charcoal);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--green-600);
  flex-shrink: 0;
  line-height: 1;
}

.faq-item[open] summary::after { content: "−"; }

.faq-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.faq-item .answer {
  padding: 1.1rem 1.35rem 1.35rem;
  color: var(--slate);
  font-size: 0.95rem;
}

/* —— CTA —— */
.cta {
  padding: 5rem 0;
  background:
    linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 55%, #1a8759 100%);
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.cta p {
  opacity: 0.9;
  max-width: 32rem;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.cta .btn-primary {
  background: #fff;
  color: var(--green-800);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.cta .btn-primary:hover {
  background: var(--green-50);
  color: var(--green-900);
}

.cta .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.45);
}

.cta .btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}

/* —— Footer —— */
.site-footer {
  background: var(--charcoal);
  color: #a8b5ad;
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { color: #fff; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 22rem; line-height: 1.65; }

.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  color: #a8b5ad;
  font-size: 0.9rem;
  padding: 0.3rem 0;
}

.footer-col a:hover { color: var(--green-500); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
}

.footer-bottom strong { color: #c5d0c9; font-weight: 600; }

/* —— Responsive —— */
@media (max-width: 900px) {
  .hero-grid,
  .fabbrica-grid,
  .casi-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .kit-grid { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:nth-child(1) { grid-column: span 2; grid-row: span 1; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0.25rem;
    box-shadow: var(--shadow-sm);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.65rem 0.5rem; }
  .nav-cta { text-align: center; margin-top: 0.5rem; }
  .nav-toggle { display: block; }
  .nav { position: relative; }

  .hero-float { left: 0.5rem; bottom: 0.5rem; }
  .video-more { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .kit-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .hero { padding: 3rem 0 3.5rem; }
  .hero-float { display: none; }
  .video-card { flex-direction: column; align-items: stretch; }
  .video-card img { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* —— Extra multipage components —— */
.page-hero {
  padding: 3rem 0 2rem;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}
.page-hero p {
  color: var(--slate);
  max-width: 40rem;
  font-size: 1.05rem;
}
.page-content { padding: 3rem 0 4rem; }
.prose { max-width: 44rem; color: var(--slate); }
.prose h2 { color: var(--charcoal); font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.prose h3 { color: var(--charcoal); font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.prose p, .prose li { margin-bottom: 0.85rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose a { font-weight: 600; }

.offer-banner {
  background: linear-gradient(90deg, var(--green-800), var(--green-600));
  color: #fff;
  padding: 0.85rem 1rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
}
.offer-banner .offer-edit {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
  margin-top: 0.25rem;
}
.offer-banner a { color: #fff; text-decoration: underline; }

.nav-links { flex-wrap: wrap; gap: 0.85rem 1.1rem; }
.nav-links .nav-drop { position: relative; }
.nav-sub {
  font-size: 0.8rem !important;
  color: var(--muted) !important;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2rem;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.step-card .n {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--green-100); color: var(--green-800);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 0.75rem;
}
.step-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.step-card p { font-size: 0.875rem; color: var(--muted); }

.calc-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  max-width: 520px;
  box-shadow: var(--shadow-sm);
}
.calc-box label { display: block; font-weight: 650; font-size: 0.9rem; margin-bottom: 0.4rem; }
.calc-box input[type="number"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: inherit;
}
.calc-box .hint { font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem; }
#calcResult {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  background: var(--green-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--green-100);
  font-size: 0.925rem;
  color: var(--charcoal-soft);
}
#calcResult ul { list-style: disc; padding-left: 1.2rem; margin: 0.75rem 0; }
#calcResult .calc-note { font-size: 0.85rem; color: var(--muted); margin-top: 0.75rem; }

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
  padding: 1.15rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.filter-row .flabel {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  min-width: 5.5rem;
}
.filter-btn {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--slate);
  font-family: inherit;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--green-500); color: var(--green-700); }
.filter-btn.active {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

.kit-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}
.kit-product {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.kit-product:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.kit-product img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: #eef2ef; }
.kit-product .body { padding: 1.15rem 1.25rem 1.35rem; flex: 1; display: flex; flex-direction: column; }
.kit-product h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.kit-product .tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.65rem; }
.tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: var(--green-100);
  color: var(--green-800);
}
.kit-product p { font-size: 0.875rem; color: var(--muted); flex: 1; }
.price-tba {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-700);
}
.price-tba small { display: block; font-weight: 500; color: var(--muted); font-size: 0.75rem; }

.placeholder-box {
  background: repeating-linear-gradient(-45deg, #eef2ef, #eef2ef 8px, #e4ebe6 8px, #e4ebe6 16px);
  aspect-ratio: 4/3;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
}

.inverter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.inverter-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.inverter-card .body { padding: 1.35rem; }
.inverter-card h3 { margin-bottom: 0.5rem; }
.inverter-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.spec-list { font-size: 0.875rem; color: var(--slate); }
.spec-list li { padding: 0.35rem 0; border-bottom: 1px solid var(--line); }
.spec-list li:last-child { border-bottom: 0; }

.video-grid-page {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.video-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  border: 1px solid var(--line);
  background: var(--charcoal);
  color: inherit;
}
.video-tile img { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; background: #0b1a14; opacity: 1; transition: opacity 0.2s; }
.video-tile:hover img { opacity: 1; transform: scale(1.03); }
.video-tile .cap {
  padding: 0.85rem 1rem 1rem;
  background: var(--white);
}
.video-tile h3 { font-size: 0.95rem; color: var(--charcoal); margin-bottom: 0.25rem; }
.video-tile p { font-size: 0.8rem; color: var(--muted); }
.video-tile .play-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  aspect-ratio: 16/9;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.video-tile .play-overlay span {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.form-grid { display: grid; gap: 1rem; max-width: 520px; }
.form-grid label { font-weight: 650; font-size: 0.875rem; display: block; margin-bottom: 0.35rem; }
.form-grid input, .form-grid textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 0.8rem; color: var(--muted); margin-top: 0.75rem; }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.tech-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.tech-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.tech-card p { font-size: 0.9rem; color: var(--muted); }

.corso-list {
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
}
.corso-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.corso-item .n {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.85rem;
}
.corso-item h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.corso-item p { font-size: 0.8rem; color: var(--muted); }

.legal { max-width: 44rem; color: var(--slate); font-size: 0.95rem; }
.legal h2 { color: var(--charcoal); font-size: 1.2rem; margin: 1.75rem 0 0.65rem; }
.legal p { margin-bottom: 0.85rem; }
.legal .disclaimer {
  background: #fff8e6;
  border: 1px solid #e8d7a0;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.badge-tba {
  display: inline-block;
  background: #fff3cd;
  color: #856404;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .steps, .inverter-grid, .tech-grid, .two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .filter-row .flabel { min-width: 100%; margin-bottom: 0.15rem; }
}

/* === Listino reale 2026 — prezzi, badge stock, note foto === */
.price-real {
  margin-top: 0.85rem;
  display: grid;
  gap: 0.35rem;
}
.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.65rem;
  font-size: 0.9rem;
}
.price-row .euro {
  font-weight: 800;
  color: var(--green-800);
  font-size: 1.05rem;
}
.price-row .meta {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.price-soldout {
  font-weight: 800;
  color: #9b2c2c;
  font-size: 0.95rem;
}
.tag-warn {
  background: #fff3cd;
  color: #856404;
}
.tag-danger {
  background: #fde8e8;
  color: #9b2c2c;
}
.tag-info {
  background: #e8f0fe;
  color: #1a56db;
}
.kit-product .cta-mail {
  margin-top: 0.85rem;
}
.kit-product .cta-mail a {
  font-size: 0.82rem;
  font-weight: 700;
}
.note-foto {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  background: #f4f7f5;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--muted);
}
.listino-note {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  margin-bottom: 1.75rem;
  font-size: 0.9rem;
  color: var(--slate);
}
.listino-note ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.listino-note li { margin-bottom: 0.35rem; }
.kit-product.soldout {
  opacity: 0.72;
}
.kit-product.soldout img { filter: grayscale(0.35); }
.dims {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.35rem;
}
.home-price {
  font-weight: 800;
  color: var(--green-800);
  font-size: 1.1rem;
  margin-top: 0.5rem;
}
.home-price small {
  display: block;
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--muted);
}

/* === CEG anteprima v2 — nav 8 sezioni + schema Magic Box === */
.nav-links {
  gap: 0.85rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-links a {
  font-size: 0.82rem;
  white-space: nowrap;
}
.logo-mark img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}
.logo-mark.has-img {
  background: transparent;
  box-shadow: none;
  padding: 0;
  width: auto;
  height: auto;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}
.catalog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
}
.catalog-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--green-500);
  transform: translateY(-3px);
}
.catalog-card a.card-link {
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.catalog-card .thumb {
  aspect-ratio: 16/10;
  background: var(--charcoal);
  overflow: hidden;
}
.catalog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #eef2ef;
}
.catalog-card .body {
  padding: 1.1rem 1.2rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.catalog-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}
.catalog-card p {
  font-size: 0.85rem;
  color: var(--muted);
  flex: 1;
}
.catalog-card .price-tag {
  margin-top: 0.75rem;
  font-weight: 800;
  color: var(--green-800);
  font-size: 0.95rem;
}

.schema-figure {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  max-width: 720px;
  margin: 1.5rem auto 2rem;
}
.schema-figure img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  background: #fff;
}
.schema-figure figcaption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.5;
}
.schema-figure figcaption strong {
  color: var(--green-800);
}

.embed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin: 1.5rem 0;
}
.embed-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.embed-card .ratio {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
}
.embed-card iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed-card .cap {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  color: var(--slate);
}

.product-hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: contain;
  background: #eef2ef;
  max-height: 520px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.price-table th, .price-table td {
  padding: 0.7rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.price-table th {
  background: var(--green-50);
  color: var(--green-900);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.price-table tr:last-child td { border-bottom: 0; }
.price-table .euro { font-weight: 800; color: var(--green-800); white-space: nowrap; }
.confirm-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}

.callout {
  background: var(--green-50);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-600);
  border-radius: var(--radius-sm);
  padding: 1rem 1.15rem;
  margin: 1.25rem 0;
  font-size: 0.92rem;
  color: var(--slate);
}
.callout.warn {
  background: #fff8e6;
  border-left-color: #c4a35a;
}
.callout.danger {
  background: #fde8e8;
  border-left-color: #c53030;
}

.gallery-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.25rem 0;
}
.gallery-2 img, .gallery-3 img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #eef2ef;
  border: 1px solid var(--line);
  display: block;
}
.gallery-2 img {
  border-radius: var(--radius-sm);
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: #eef2ef;
  border: 1px solid var(--line);
  display: block;
}
/* Locandine / copertine YouTube compatte, senza ritaglio testo */
.gallery-locandine {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0;
}
.gallery-locandine img,
.gallery-locandine > img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #eef2ef;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  display: block;
}
.gallery-locandine .yt-locandina img { background: #0b1a14; border: 0; border-radius: 0; }
.gallery-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin: 1.25rem 0;
}

.home-price { margin-top: 0.75rem; font-weight: 800; color: var(--green-800); }
.home-price small { display: block; font-weight: 500; color: var(--muted); font-size: 0.75rem; }

@media (max-width: 1100px) {
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .embed-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .gallery-3, .gallery-2 { grid-template-columns: repeat(2, 1fr); }
  .gallery-locandine { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .gallery-3, .gallery-2, .gallery-locandine { grid-template-columns: 1fr; }
}

/* —— SEO/GEO polish: breadcrumbs, focus, answer-first, entity —— */
.breadcrumbs {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  padding: 0.55rem 0;
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: center;
  list-style: none;
  color: var(--muted);
}
.breadcrumbs li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  color: var(--line);
  font-weight: 700;
}
.breadcrumbs a { color: var(--green-700); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--charcoal); font-weight: 600; }

.answer-first {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green-600);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--slate);
}
.answer-first p { margin: 0 0 0.65rem; }
.answer-first p:last-child { margin-bottom: 0; }
.answer-first strong { color: var(--green-900); }

.entity-block {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.entity-block h4 {
  color: #e8f0ea;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.entity-block p {
  color: #a8b5ad;
  font-size: 0.85rem;
  max-width: 52rem;
  line-height: 1.55;
}
.entity-block a { color: #c5d0c9; text-decoration: underline; text-underline-offset: 2px; }

.legal-ol {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
  color: var(--slate);
}
.legal-ol li { margin-bottom: 0.4rem; }
.legal ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin: 0.5rem 0 1rem;
  color: var(--slate);
}
.legal ul li { margin-bottom: 0.35rem; }
.legal code {
  font-size: 0.85em;
  background: var(--green-50);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

/* Accessible focus */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible,
.nav-toggle:focus-visible,
.filter-btn:focus-visible {
  outline: 3px solid var(--green-500);
  outline-offset: 2px;
  border-radius: 4px;
}
.nav-links a:focus-visible {
  outline-offset: 4px;
}

.site-footer .entity-block {
  margin: 0 0 1.5rem;
  padding-top: 0;
  border-top: 0;
}
.site-footer .entity-block + .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
}


/* Locandine YouTube cliccabili — intere, senza ritaglio */
.yt-locandina {
  display: block;
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1a14;
  text-decoration: none;
  color: inherit;
}
.yt-locandina img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: auto;
  object-fit: contain;
}
.yt-locandina .yt-badge {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  background: rgba(10, 61, 42, 0.92);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.yt-locandina:hover .yt-badge { background: #c4302b; }
.yt-locandina:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; }


/* Evita crop su foto prodotto / promo con testo ai bordi */
.img-contain {
  object-fit: contain !important;
  background: #eef2ef;
  width: 100%;
}
.gallery-2 img.img-contain,
.gallery-3 img.img-contain {
  object-fit: contain;
  background: #eef2ef;
}

/* —— Language switch (IT / EN) —— */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
}
.lang-switch .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--slate);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s;
}
.lang-switch .lang-btn:hover {
  color: var(--green-700);
  border-color: rgba(17, 107, 72, 0.35);
  background: #f3faf6;
}
.lang-switch .lang-btn.is-active,
.lang-switch .lang-btn[aria-current="true"] {
  color: #fff;
  background: var(--green-700);
  border-color: var(--green-700);
  box-shadow: 0 2px 8px rgba(17, 107, 72, 0.28);
}
.lang-switch .lang-btn span {
  letter-spacing: 0.04em;
}
@media (max-width: 900px) {
  .lang-switch {
    margin: 0.35rem 0 0;
    width: 100%;
    justify-content: flex-start;
  }
}


.lang-switch .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.lang-switch .lang-flag {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.12);
  flex-shrink: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 1.25rem 0 0.5rem;
}
.cta-row .btn { margin-left: 0 !important; }

/* Social icons */
a.soc { display:inline-flex; align-items:center; gap:7px; }
a.soc .i { width:16px; height:16px; display:inline-block; flex:none; background-size:contain; background-repeat:no-repeat; background-position:center; }
a.soc .i-fb { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231877F2' d='M24 12.07C24 5.41 18.63 0 12 0S0 5.41 0 12.07C0 18.1 4.39 23.09 10.13 24v-8.44H7.08v-3.49h3.05V9.41c0-3.02 1.79-4.7 4.54-4.7 1.31 0 2.69.24 2.69.24v2.97h-1.52c-1.5 0-1.96.93-1.96 1.89v2.26h3.34l-.53 3.49h-2.81V24C19.61 23.09 24 18.1 24 12.07z'/%3E%3C/svg%3E"); }
a.soc .i-tg { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2326A5E4' d='M11.94 0C5.34 0 0 5.37 0 12s5.34 12 11.94 12C18.54 24 24 18.63 24 12S18.54 0 11.94 0zm5.55 8.16-1.86 8.76c-.14.62-.5.77-1.02.48l-2.82-2.08-1.36 1.31c-.15.15-.28.28-.57.28l.2-2.85 5.18-4.68c.23-.2-.05-.31-.35-.12l-6.4 4.03-2.76-.86c-.6-.19-.61-.6.13-.89l10.77-4.15c.5-.19.94.12.78.81z'/%3E%3C/svg%3E"); }
.footer-bottom a.soc { color:#a8b5ad; }

a.soc .i-yt { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF0000' d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31.5 31.5 0 0 0 0 12a31.5 31.5 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31.5 31.5 0 0 0 24 12a31.5 31.5 0 0 0-.5-5.8z'/%3E%3Cpath fill='%23fff' d='M9.75 15.5v-7l6.5 3.5-6.5 3.5z'/%3E%3C/svg%3E"); }
.yt-locandina .yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 48px;
  margin: -24px 0 0 -34px;
  border-radius: 12px;
  background: #FF0000;
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
  pointer-events: none;
}
.yt-locandina .yt-play::after {
  content: "";
  position: absolute;
  left: 26px; top: 14px;
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #fff;
}
.yt-locandina:hover .yt-play { transform: scale(1.06); background: #cc0000; }


/* —— Mobile pronto pubblicazione —— */
html, body { overflow-x: hidden; }
img, video, iframe, .product-hero-img, .yt-locandina { max-width: 100%; height: auto; }
.product-hero-img { width: 100%; border-radius: var(--radius-sm); }

@media (max-width: 900px) {
  .container { width: min(100% - 1.5rem, var(--max)); }
  .offer-banner { font-size: 0.82rem; line-height: 1.45; padding: 0.65rem 1rem; text-align: center; }
  .nav-links a, .nav-cta { min-height: 44px; display: flex; align-items: center; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn, .page-content .btn { width: 100%; justify-content: center; margin-left: 0 !important; }
  .footer-bottom p { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.35rem 0.7rem; }
  .hero-badge { display: inline-block; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .page-hero { padding: 2rem 0 1.25rem; }
  .page-hero h1, .hero h1 { font-size: 1.55rem; line-height: 1.2; }
  .offer-banner { font-size: 0.78rem; }
  .gallery-2, .gallery-locandine { grid-template-columns: 1fr !important; }
  .btn { padding: 0.85rem 1.1rem; }
}

.reviews-yt {
  margin-top: 1.75rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.45;
}

.reviews-card {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}
.reviews-card:hover { box-shadow: var(--shadow); color: inherit; }
.reviews-thumb { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: #0b1a14; }
.reviews-thumb img { width: 100%; height: auto; display: block; }
.reviews-thumb .yt-play { transform: translate(-50%,-50%) scale(0.85); left: 50%; top: 50%; margin: 0; }
.reviews-copy { display: flex; flex-direction: column; gap: 0.45rem; }
.reviews-copy strong { display: inline-flex; align-items: center; gap: 8px; font-size: 1.15rem; color: var(--charcoal); }
.reviews-copy strong .i-yt { width: 22px; height: 22px; display: inline-block; background-size: contain; background-repeat: no-repeat; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FF0000' d='M23.5 6.2a3 3 0 0 0-2.1-2.1C19.5 3.6 12 3.6 12 3.6s-7.5 0-9.4.5A3 3 0 0 0 .5 6.2 31.5 31.5 0 0 0 0 12a31.5 31.5 0 0 0 .5 5.8 3 3 0 0 0 2.1 2.1c1.9.5 9.4.5 9.4.5s7.5 0 9.4-.5a3 3 0 0 0 2.1-2.1A31.5 31.5 0 0 0 24 12a31.5 31.5 0 0 0-.5-5.8z'/%3E%3Cpath fill='%23fff' d='M9.75 15.5v-7l6.5 3.5-6.5 3.5z'/%3E%3C/svg%3E"); }
.reviews-copy span { color: var(--slate); font-size: 0.95rem; }
@media (max-width: 640px) {
  .reviews-card { grid-template-columns: 1fr; }
}

/* CEG — original layout and media preserved; responsive/accessibility refinements. */
:root { --muted: #59675e; }
html { scroll-padding-top: 6rem; }
body { overflow-wrap: break-word; }
.container > *, .hero-grid > *, .two-col > *, .catalog-grid > *, .footer-grid > * { min-width: 0; }
.logo, .logo-mark { flex-shrink: 0; }
.nav-links { min-width: 0; }
.nav-links a[aria-current="page"] { color: var(--green-800); font-weight: 750; text-decoration: underline; text-underline-offset: 6px; }
.hero-actions .btn { padding-inline: 1.15rem; }
.hero-float { max-width: min(270px, 90%); }
.hero-float span { line-height: 1.5; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 1000; padding: .8rem 1rem; background: #fff; border: 2px solid var(--green-700); border-radius: 8px; }
.skip-link:focus { top: .5rem; }
:focus-visible { outline: 3px solid var(--green-700); outline-offset: 3px; }
.site-footer a:focus-visible { outline-color: #fff; }
[hidden] { display: none !important; }
.table-scroll { width: 100%; overflow-x: auto; overscroll-behavior-x: contain; margin: 1.1rem 0; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table-scroll .price-table { margin: 0; border: 0; }
.table-scroll:focus-visible { outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.form-actions .btn { flex: 1 1 auto; }
.form-note { font-size: .875rem; line-height: 1.6; margin: 0; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.form-status { padding: 1rem; border: 1px solid var(--line); border-left: 4px solid var(--green-700); border-radius: 8px; background: var(--green-50); }
.form-status.is-error { background: #fff7ed; border-left-color: #9a3412; color: #7c2d12; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
#contactFallback { display: grid; gap: .75rem; }
#contactFallback textarea { font-size: .9rem; }
button:disabled { opacity: .65; cursor: wait; }
.calc-box label:not(:first-child) { margin-top: .85rem; }
#calcResult p { margin-bottom: .75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.cta-row .btn { margin-left: 0 !important; }
@media (max-width: 1150px) {
  .nav { position: relative; }
  .nav-toggle { display: block; min-height: 44px; min-width: 44px; flex-shrink: 0; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start; padding: .75rem 1rem 1rem; border: 1px solid var(--line); border-radius: 0 0 12px 12px; gap: .15rem; box-shadow: var(--shadow); max-height: calc(100dvh - 90px); overflow-y: auto; overscroll-behavior: contain; }
  .nav-links.open { display: flex; }
  .nav-links > a { display: flex; align-items: center; min-height: 44px; padding: .65rem .5rem; font-size: .9rem; }
  .nav-links .lang-switch { align-self: flex-start; padding: .4rem 0; }
  .nav-links .lang-btn { min-height: 44px; }
  .nav-links .nav-cta { justify-content: center; margin-top: .4rem; }
}
@media (max-width: 640px) {
  .table-scroll .price-table { min-width: 590px; }
  .hero-actions { gap: .65rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .page-content { padding-block: 2.25rem; }
  .form-grid input, .form-grid textarea { font-size: 16px; }
}
@media (max-width: 360px) {
  .logo { font-size: .86rem; gap: .4rem; }
  .logo-text small { font-size: .62rem; }
  .logo-mark img { width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

