/* ==========================================================================
   Sistemi Solar Green — custom.css
   CSS puro (nessun @apply / @layer / theme()). Contiene solo ciò che
   Tailwind core non può esprimere: keyframes, effetti 3D, marquee,
   testo in gradiente, drawer mobile, stati via data-attribute.
   Le classi componente (.ssg-*) applicano lo stile ai tag testuali
   discendenti, così il markup non ha mai classi sui tag di testo.
   ========================================================================== */

/* ---------- base ---------- */
.ssg-body { margin: 0; background: #ffffff; color: #1C1C1C; font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.ssg-body * { box-sizing: border-box; }
.ssg-body a { text-decoration: none; color: inherit; }
.ssg-body h1, .ssg-body h2, .ssg-body h3, .ssg-body h4, .ssg-body h5, .ssg-body h6 { font-family: 'Archivo', 'Inter', sans-serif; font-size: inherit; font-weight: inherit; line-height: inherit; letter-spacing: inherit; margin: 0; }
.ssg-body p, .ssg-body ul, .ssg-body ol { margin: 0; font-size: inherit; line-height: inherit; }
.ssg-body ul, .ssg-body ol { padding-left: 0; list-style: none; }
.ssg-body img, .ssg-body video { max-width: 100%; }
.ssg-body a:focus-visible, .ssg-body button:focus-visible, .ssg-body input:focus-visible, .ssg-body textarea:focus-visible, .ssg-body select:focus-visible { outline: 2px solid #1D9E75; outline-offset: 3px; border-radius: 4px; }
.ssg-page-in { animation: ssgPageIn .45s ease; }

/* liste puntate dove servono (classi sul contenitore, mai sui li) */
.ssg-list-check ul { display: flex; flex-direction: column; gap: 10px; }
.ssg-list-check li { position: relative; padding-left: 26px; }
.ssg-list-check li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid #1D9E75; border-bottom: 2px solid #1D9E75; transform: rotate(-45deg); }
.ssg-list-dot ul { display: flex; flex-direction: column; gap: 8px; }
.ssg-list-dot li { position: relative; padding-left: 18px; }
.ssg-list-dot li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .55; }

/* ---------- keyframes ---------- */
@keyframes ssgpulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes ssgflow { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@keyframes ssgshine { 0% { background-position: 200% center; } 100% { background-position: -200% center; } }
@keyframes ssgfloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-26px, 22px) scale(1.07); } }
@keyframes ssgsweep {
  0%   { transform: translateX(-130%) skewX(-14deg); opacity: 0; }
  14%  { opacity: .62; }
  42%  { opacity: .62; }
  62%  { opacity: 0; }
  100% { transform: translateX(230%) skewX(-14deg); opacity: 0; }
}
@keyframes ssgword {
  0%   { color: rgba(242,169,55,0.42); transform: translateY(0); text-shadow: none; }
  8%   { color: #FFB454; transform: translateY(-3px); text-shadow: 0 0 26px rgba(239,159,39,0.6); }
  25%  { color: #FFB454; transform: translateY(-3px); text-shadow: 0 0 26px rgba(239,159,39,0.6); }
  40%  { color: rgba(242,169,55,0.42); transform: translateY(0); text-shadow: none; }
  100% { color: rgba(242,169,55,0.42); transform: translateY(0); text-shadow: none; }
}
@keyframes ssgPageIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ppFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
@keyframes ppMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.ssg-anim-pulse { animation: ssgpulse 1.6s ease-in-out infinite; }
.ssg-anim-flow { background-size: 200% 100%; animation: ssgflow 3.2s linear infinite; }
.ssg-anim-sweep { mix-blend-mode: screen; animation: ssgsweep 8.5s ease-in-out infinite; animation-delay: 2s; pointer-events: none; }
.ssg-anim-sweep-slow { mix-blend-mode: screen; animation: ssgsweep 9s ease-in-out infinite; animation-delay: 1.5s; pointer-events: none; }
.ssg-anim-float { animation: ssgfloat 12s ease-in-out infinite; pointer-events: none; }
.ssg-anim-float-slow { animation: ssgfloat 15s ease-in-out infinite; animation-delay: 2s; pointer-events: none; }
.ssg-anim-drift { animation: ppFloat 18s ease-in-out infinite; pointer-events: none; }

/* parole animate dell'hero */
.ssg-word span, .ssg-word { animation: ssgword 4.5s ease-in-out infinite; }
.ssg-word-2 span, .ssg-word-2 { animation: ssgword 4.5s ease-in-out infinite; animation-delay: 1.5s; }
.ssg-word-3 span, .ssg-word-3 { animation: ssgword 4.5s ease-in-out infinite; animation-delay: 3s; }

/* ---------- testo in gradiente ---------- */
.ssg-grad-green, .ssg-grad-green span, .ssg-grad-green h1, .ssg-grad-green h2, .ssg-grad-green div {
  background: linear-gradient(100deg, #1d8a64 0%, #37b88c 50%, #1d8a64 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: ssgshine 3s linear infinite;
}
.ssg-grad-orange, .ssg-grad-orange span, .ssg-grad-orange div {
  background: linear-gradient(100deg, #d06d0d 0%, #f2a937 50%, #d06d0d 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: ssgshine 3s linear infinite;
}
.ssg-grad-mint, .ssg-grad-mint span {
  background: linear-gradient(100deg, #2f9e76 0%, #8fe6c6 50%, #2f9e76 100%);
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; animation: ssgshine 3s linear infinite;
}
.ssg-grad-light span, .ssg-grad-light em {
  background: linear-gradient(100deg, #7fe0bd, #a3eccd, #26b88a);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.ssg-grad-warm, .ssg-grad-warm span {
  background: linear-gradient(100deg, #F2A937 0%, #f7c774 45%, #E07A12 70%, #F2A937 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- bottoni (classe sul div contenitore, <a>/<button> senza classi) ---------- */
.ssg-btn a, .ssg-btn button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600; line-height: 1.2;
  padding: 14px 26px; border: none; cursor: pointer; white-space: normal;
  border-radius: 999px 999px 7px 999px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.ssg-btn-green a, .ssg-btn-green button { color: #fff; background: linear-gradient(135deg, #26b88a 0%, #1D9E75 45%, #138a5f 100%); box-shadow: 0 12px 26px -12px rgba(29,158,117,0.6); }
.ssg-btn-green a:hover, .ssg-btn-green button:hover { background: linear-gradient(135deg, #1D9E75, #0f7d56); transform: translateY(-2px); }
.ssg-btn-orange a, .ssg-btn-orange button { color: #fff; background: linear-gradient(135deg, #F2A937, #E07A12); box-shadow: 0 8px 20px -8px rgba(224,122,18,0.6); }
.ssg-btn-orange a:hover, .ssg-btn-orange > button:hover { background: linear-gradient(135deg, #f4b751, #ef8a1f); transform: translateY(-2px); box-shadow: 0 13px 28px -8px rgba(224,122,18,0.7); }
.ssg-btn-mint a, .ssg-btn-mint button { color: #0F2318; background: linear-gradient(135deg, #7fe0bd 0%, #5DCAA5 50%, #3fb389 100%); box-shadow: 0 14px 30px -14px rgba(93,202,165,0.6); }
.ssg-btn-mint a:hover, .ssg-btn-mint button:hover { background: linear-gradient(135deg, #8fe9c8, #52c39c); }
.ssg-btn-white a, .ssg-btn-white button { color: #0F6B4A; background: linear-gradient(135deg, #ffffff 0%, #f0fbf5 55%, #dff6ea 100%); box-shadow: 0 14px 30px -14px rgba(0,0,0,0.45); }
.ssg-btn-white a:hover, .ssg-btn-white button:hover { background: linear-gradient(135deg, #ffffff, #cdefdd); transform: translateY(-2px); }
.ssg-btn-outline a, .ssg-btn-outline button { color: #1C1C1C; background: #fff; border: 1px solid #d9d9d4; }
.ssg-btn-outline a:hover, .ssg-btn-outline > button:hover { border-color: #1D9E75; transform: translateY(-2px); }
.ssg-btn-ghost a, .ssg-btn-ghost button { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,0.55); }
.ssg-btn-ghost a:hover, .ssg-btn-ghost button:hover { background: rgba(255,255,255,0.1); }
.ssg-btn-disabled a,.ssg-btn-disabled button{color:#b3b8b1;background:#f1f3ef;border:1px solid #e6e8e2;box-shadow:none;cursor:default;transform:none}
.ssg-btn-disabled a:hover,.ssg-btn-disabled button:hover{color:#b3b8b1;background:#f1f3ef;border-color:#e6e8e2;box-shadow:none;transform:none}
.ssg-btn-disabled.ssg-btn-sm a,.ssg-btn-disabled.ssg-btn-sm button{font-size:14px;padding:11px 18px}
.ssg-btn-disabled a{pointer-events:none}
.ssg-btn-disabled button:disabled{opacity:1;cursor:default}
.ssg-btn-sm a, .ssg-btn-sm button { font-size: 14px; padding: 13px 22px; }
.ssg-link a {font-weight: 600; text-decoration: none; transition: color .2s ease;}

/* link testuale verde */
.ssg-link-green a { color: #1D9E75; }
.ssg-link-green a:hover, .ssg-link-green a:hover { color: #157a5b; }
.ssg-link-mint a:hover { color: #5DCAA5; }
.ssg-link-under a:hover { text-decoration: underline; }

/* ---------- nav ---------- */
.ssg-navlink a { position: relative; }
.ssg-navlink a::after { content: ''; position: absolute; left: 0; bottom: -7px; height: 2px; width: 100%; background: #1D9E75; border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .26s cubic-bezier(.4,0,.2,1); }
.ssg-navlink a:hover::after { transform: scaleX(1); }
.ssg-navlink a:hover { color: #1D9E75; }
.ssg-toplink a:hover { color: #1D9E75; }
.ssg-header { transition: box-shadow .25s ease; }
.ssg-header[data-shrunk="1"] { box-shadow: 0 6px 24px -12px rgba(15,35,24,0.28); }
.ssg-navbar { height: 96px; transition: height .25s ease; }
.ssg-header[data-shrunk="1"] .ssg-navbar { height: 74px; }
.ssg-logo { height: 72px; width: auto; display: block; transition: height .25s ease; }
.ssg-header[data-shrunk="1"] .ssg-logo { height: 58px; }

/* ---------- burger + drawer mobile ---------- */
.ssg-burger { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid #e0e3dd; border-radius: 12px; background: #fff; cursor: pointer; flex: 0 0 auto; }
.ssg-burger i, .ssg-burger i::before, .ssg-burger i::after { display: block; width: 22px; height: 2px; background: #1C1C1C; border-radius: 2px; }
.ssg-burger i { position: relative; }
.ssg-burger i::before, .ssg-burger i::after { content: ''; position: absolute; left: 0; }
.ssg-burger i::before { top: -7px; }
.ssg-burger i::after { top: 7px; }
.ssg-drawer { position: fixed; inset: 0; z-index: 300; display: none; }
.ssg-drawer[data-open="1"] { display: block; }
.ssg-drawer-bg { position: absolute; inset: 0; background: rgba(8,18,12,0.55); }
.ssg-drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: 84%; max-width: 340px; background: #fff; box-shadow: -12px 0 44px -12px rgba(0,0,0,0.35); display: flex; flex-direction: column; padding: 22px; gap: 2px; overflow-y: auto; }
.ssg-dl-close { align-self: flex-end; width: 40px; height: 40px; border: none; background: none; font-size: 30px; line-height: 1; color: #1C1C1C; cursor: pointer; }
.ssg-drawer-links a { display: block; padding: 15px 4px; font-family: 'Archivo', 'Inter', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #1C1C1C; border-bottom: 1px solid #f0f1ed; }
.ssg-dl-phone a { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 20px; padding: 12px; border-radius: 999px 999px 7px 999px; background: linear-gradient(135deg, #26b88a 0%, #1D9E75 45%, #138a5f 100%); color: #fff; font-weight: 700; font-size: 14px; }
.ssg-dl-cta a { display: block; margin-top: 12px; padding: 13px; border-radius: 999px 999px 7px 999px; background: linear-gradient(135deg, #F2A937, #E07A12); color: #fff; font-weight: 700; font-size: 14px; text-align: center; }

/* ---------- form ---------- */
.ssg-form label { display: flex; flex-direction: column; gap: 8px; }
.ssg-form label > span { font-size: 13px; font-weight: 600; color: #1C1C1C; }
.ssg-form input[type="text"], .ssg-form input[type="tel"], .ssg-form input[type="email"], .ssg-form textarea {
  font-family: 'Inter', sans-serif; font-size: 15px; color: #1C1C1C; background: #fbfbfa; border: 1px solid #d9ddd6; border-radius: 12px; padding: 14px 16px; outline: none; width: 100%; resize: vertical;
}
.ssg-form input:focus, .ssg-form textarea:focus { border-color: #1D9E75; }
.ssg-form input::placeholder, .ssg-form textarea::placeholder { color: #a7aea6; }
.ssg-check { flex-direction: row !important; align-items: flex-start; }
.ssg-check input { width: 18px; height: 18px; margin-top: 2px; accent-color: #1D9E75; flex: 0 0 auto; }
.ssg-check > span { font-size: 13.5px !important; font-weight: 400 !important; line-height: 1.5; color: #5b615d !important; }
.ssg-opts button { font-size: 14px; font-weight: 500; color: #3a403b; background: #fff; border: 1.5px solid #dfe3dc; border-radius: 999px; padding: 11px 18px; cursor: pointer; transition: all .18s ease; }
.ssg-opts button:hover { border-color: #1D9E75; color: #1D9E75; }
.ssg-opts button[data-active="1"] { border-color: #1D9E75; background: rgba(29,158,117,0.08); color: #157a5b; }
.ssg-tabs button { font-size: 14px; font-weight: 600; color: #5b615d; background: transparent; border: none; border-radius: 999px; padding: 11px 24px; cursor: pointer; transition: all .2s ease; }
.ssg-tabs button[data-active="1"] { color: #0F2318; background: #fff; box-shadow: 0 2px 8px -2px rgba(15,35,24,0.2); }

/* ---------- schede contatto ---------- */
.ssg-contact-card > a { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: #F9F9F7; border: 1px solid #ececE6; border-radius: 16px; transition: border-color .2s ease, transform .2s ease; }
.ssg-contact-card > a:hover { border-color: #1D9E75; transform: translateY(-2px); }
.ssg-contact-card > a > span:first-child { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(29,158,117,0.12); flex: 0 0 auto; }
.ssg-contact-card > a > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ssg-contact-card > a > span:last-child > span:first-child { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8a8f88; }
.ssg-contact-card > a > span:last-child > span:last-child { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: #1C1C1C; }
.ssg-contact-wa > a, .ssg-contact-mail > a { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px; border-radius: 16px; transition: border-color .2s ease, transform .2s ease; }
.ssg-contact-wa > a { background: rgba(37,211,102,0.08); border: 1px solid rgba(37,211,102,0.32); }
.ssg-contact-wa > a:hover { border-color: #25D366; transform: translateY(-2px); }
.ssg-contact-mail > a { background: #F9F9F7; border: 1px solid #ececE6; }
.ssg-contact-mail > a:hover { border-color: #1D9E75; transform: translateY(-2px); }
.ssg-contact-wa > a > span:first-child, .ssg-contact-mail > a > span:first-child { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; }
.ssg-contact-wa > a > span:first-child { background: #25D366; }
.ssg-contact-mail > a > span:first-child { background: rgba(242,169,55,0.16); }
.ssg-contact-wa > a > span:last-child, .ssg-contact-mail > a > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ssg-contact-wa > a span > span:nth-child(1), .ssg-contact-mail > a span > span:nth-child(1) { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.ssg-contact-wa > a span > span:nth-child(1) { color: #1a8f45; }
.ssg-contact-mail > a span > span:nth-child(1) { color: #c07510; }
.ssg-contact-wa > a span > span:nth-child(2) { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: #1C1C1C; }
.ssg-contact-mail > a span > span:nth-child(2) { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; color: #1C1C1C; word-break: break-all; }
.ssg-contact-wa > a span > span:nth-child(3), .ssg-contact-mail > a span > span:nth-child(3) { font-size: 13px; color: #5b615d; }
.ssg-map-btn > a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #0F2318; background: #fff; padding: 13px 20px; border-radius: 999px 999px 7px 999px; box-shadow: 0 12px 30px -12px rgba(0,0,0,0.45); }
.ssg-map-btn > a:hover { background: #f4f4f1; }
.ssg-map-btn > a > span { color: #1D9E75; }

/* ---------- reveal on scroll ---------- */
.ssg-reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .95s cubic-bezier(.16,.84,.28,1); }
.ssg-reveal[data-inview="1"] { opacity: 1; transform: none; }

/* filtri case history */
.ssg-filters button { display: inline-flex; align-items: center; gap: 9px; padding: 10px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; cursor: pointer; transition: all .22s ease; white-space: nowrap; border: 1px solid #e6e6df; background: #fff; color: #6b716c; }
.ssg-filters button:hover { border-color: #1D9E75; color: #157a5b; }
.ssg-filters button[data-active="1"] { border-color: rgba(29,158,117,0.55); background: rgba(29,158,117,0.07); color: #157a5b; box-shadow: 0 12px 26px -14px rgba(29,158,117,0.55); }
.ssg-case-grid[data-filter="privati"] > div:not([data-cat="privati"]) { display: none; }
.ssg-case-grid[data-filter="pmi"] > div:not([data-cat="pmi"]) { display: none; }
.ssg-case-grid[data-filter="condomini"] > div:not([data-cat="condomini"]) { display: none; }

/* ---------- flip card ---------- */
.ssg-flip { perspective: 1400px; height: 430px; }
.ssg-flip-inner { position: relative; width: 100%; height: 100%; transition: transform .7s cubic-bezier(.2,.7,.2,1); transform-style: preserve-3d; }
.ssg-flip:hover .ssg-flip-inner { transform: rotateY(180deg); }
.ssg-flip[data-flipped="1"] .ssg-flip-inner { transform: rotateY(180deg); }
.ssg-flip-face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.ssg-flip-front { background: #fff; border: 1px solid #ecece6; }
.ssg-flip-back { transform: rotateY(180deg); background: linear-gradient(140deg, #0F2318, #15402a); justify-content: center; padding: 38px 34px; }

/* ---------- card hover ---------- */
.ssg-card-hover { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.ssg-card-hover:hover { transform: translateY(-5px); box-shadow: 0 24px 50px -28px rgba(15,35,24,0.3); }
.ssg-card-dark { transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.ssg-card-dark:hover { transform: translateY(-6px); border-color: rgba(93,202,165,0.55); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.ssg-card-lift { transition: transform .25s ease, border-color .25s ease; }
.ssg-card-lift:hover { transform: translateY(-4px); border-color: rgba(93,202,165,0.55); }
.ssg-strip-item { transition: background .3s ease; }
.ssg-strip-item:hover { background: rgba(93,202,165,0.08); }

/* link indietro su fondo scuro */
.ssg-back > a { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.72); }
.ssg-back > a:hover { color: #5DCAA5; }
.ssg-arrow-light { border: none; background: transparent; color: #ffffff; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; filter: drop-shadow(0 2px 6px rgba(15,35,24,0.6)); }
.ssg-arrow-light:hover { color: #5DCAA5; }

/* ---------- caroselli ---------- */
.ssg-track { display: flex; align-items: stretch; transition: transform .55s cubic-bezier(.4,0,.2,1); }
.ssg-arrow { border: none; background: transparent; color: #8d938c; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.ssg-arrow:hover { color: #1D9E75; }
.ssg-dots button { width: 8px; height: 8px; border-radius: 4px; border: none; padding: 0; cursor: pointer; background: #cfcfc8; transition: all .3s; }
.ssg-dots button[data-active="1"] { width: 26px; background: #1D9E75; }

/* dots galleria prodotto */
.ssg-gallery-dots button { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; cursor: pointer; background: #d5dad3; transition: background .2s ease, transform .2s ease; }
.ssg-gallery-dots button[data-active="1"] { background: #1D9E75; transform: scale(1.25); }

/* ---------- marquee loghi ---------- */
.ssg-marquee { display: flex; align-items: center; gap: 44px; width: max-content; padding-right: 44px; animation: ppMarquee var(--ssg-marquee-duration, 54s) linear infinite; }
.ssg-marquee:hover,
.ssg-marquee:focus-within {
  animation-play-state: paused;
}

/* ---------- clamp testo recensioni ---------- */
.ssg-clamp p { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; }

/* ---------- footer accordion (solo mobile) ---------- */
.ssg-fcol > div:first-child { margin-bottom: 20px; }

/* ==========================================================================
   COMPOSITI (classe sul div contenitore: a/span/p/h* restano senza classi)
   ========================================================================== */

/* topbar: recapito con icona */
.ssg-topcontact > a { display: inline-flex; align-items: center; gap: 9px; }
.ssg-topcontact > a:hover { opacity: .82; }
.ssg-topcontact > a > span:first-child { display: flex; align-items: center; justify-content: center; width: 29px; height: 29px; border-radius: 50%; flex: 0 0 auto; }
.ssg-topcontact > a > span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
.ssg-topcontact > a > span:last-child > span:first-child { font-size: 9px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: #9aa09a; }
.ssg-topcontact > a > span:last-child > span:last-child { font-size: 14px; font-weight: 700; letter-spacing: 0.01em; color: #1C1C1C; }
.ssg-topcontact-green > a > span:first-child { background: rgba(29,158,117,0.12); }
.ssg-topcontact-wa > a > span:first-child { background: rgba(37,211,102,0.16); }
.ssg-topbar-social > div { font-size: 13px; font-weight: 500; color: #7a8079; }
.ssg-topbar-social > a { display: flex; color: #6b716c; }
.ssg-topbar-social > a:hover { color: #1D9E75; }
.ssg-pill-faq > a { display: inline-block; font-size: 13px; font-weight: 700; color: #1D9E75; background: rgba(29,158,117,0.12); padding: 5px 13px; border-radius: 999px; }
.ssg-pill-faq > a:hover { background: rgba(29,158,117,0.2); }

/* hero: iframe se il video è da youtube */
.ssg-hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;

  width: max(100%, 177.77777778vh);
  height: max(100%, 56.25vw);

  transform: translate(-50%, -50%);

  border: 0;
  pointer-events: none;
}
/* hero: striscia dei tre target */
.ssg-strip { display: grid; grid-template-columns: 1fr; width: 100%; background: rgba(8,22,15,0.40); backdrop-filter: blur(10px); border-top: 1px solid rgba(93,202,165,0.32); }
.ssg-strip > a { position: relative; overflow: hidden; display: flex; align-items: center; gap: 11px; padding: 10px 16px; text-align: left; transition: background .3s ease; }
.ssg-strip > a:hover { background: rgba(93,202,165,0.08); }
.ssg-strip > a > span:first-child { display: none; }
.ssg-strip > a > span:nth-child(2) { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; flex: 0 0 auto; }
.ssg-strip > a img { width: 28px; height: 28px; object-fit: contain; }
.ssg-strip > a > span:last-child { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ssg-strip > a > span:last-child > span:first-child, .ssg-strip > a > span:last-child > p:first-child { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.ssg-strip > a > span:last-child > span:last-child, .ssg-strip > a > span:last-child > p:last-child { font-size: 12.5px; color: rgba(255,255,255,0.6); }
@media (min-width: 1024px) {
  .ssg-strip { grid-template-columns: repeat(3, 1fr); }
  .ssg-strip > a { gap: 18px; padding: 30px 48px; }
  .ssg-strip > a + a { border-left: 1px solid rgba(93,202,165,0.22); }
  .ssg-strip > a > span:first-child { display: block; position: absolute; top: 10px; right: 24px; font-size: 54px; font-weight: 700; line-height: 1; color: rgba(93,202,165,0.1); pointer-events: none; }
  .ssg-strip > a > span:nth-child(2) { width: 56px; height: 56px; }
  .ssg-strip > a img { width: 52px; height: 52px; }
  .ssg-strip > a > span:last-child > span:first-child, .ssg-strip > a > span:last-child > p:first-child { font-size: 19px; }
  .ssg-strip > a > span:last-child > span:last-child, .ssg-strip > a > span:last-child > p:last-child { font-size: 13.5px; }
}

/* card soluzione interamente cliccabile */
.ssg-card-link > a { display: flex; flex-direction: column; height: 100%; }
.ssg-card-link > a > span:first-child { display: block; height: 132px; overflow: hidden; }
.ssg-card-link > a > span:first-child img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ssg-card-link > a > span:last-child { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.ssg-card-link > a > span:last-child > span:nth-child(1) { display: block; font-family: 'Archivo', 'Inter', sans-serif; font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: #1C1C1C; margin-bottom: 10px; }
.ssg-card-link > a > span:last-child > span:nth-child(2) { display: block; flex: 1; font-size: 15px; line-height: 1.6; color: #5b615d; margin-bottom: 24px; }
.ssg-card-link > a > span:last-child > span:nth-child(3) { display: block; font-size: 15px; font-weight: 600; color: #1D9E75; }
@media (min-width: 1024px) {
  .ssg-card-link > a > span:first-child { height: 210px; }
  .ssg-card-link > a > span:last-child { padding: 30px; }
  .ssg-card-link > a > span:last-child > span:nth-child(1) { font-size: 23px; }
}

/* card prodotto scura (teaser) */
.ssg-prodcard > .wrap-prodcard { position: relative; display: flex; flex-direction: column; height: 100%; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.13); border-radius: 18px; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.ssg-prodcard > .wrap-prodcard:hover { transform: translateY(-6px); border-color: rgba(93,202,165,0.55); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6); }
.ssg-prodcard > .wrap-prodcard > span:first-child { position: relative; display: flex; align-items: center; justify-content: center; height: 110px; background: #ffffff; overflow: hidden; }
.ssg-prodcard-empty > .wrap-prodcard > span:first-child { background: #d9dbd7; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8d918b; }
.ssg-prodcard > .wrap-prodcard img { max-width: 80%; max-height: 82%; width: auto; height: auto; object-fit: contain; display: block; }
.ssg-prodcard > .wrap-prodcard > span:last-child { display: block; padding: 20px 20px 22px; }
.ssg-prodcard > .wrap-prodcard > span:last-child > span:first-child { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: #fff; margin-bottom: 7px; }
.ssg-prodcard > .wrap-prodcard > span:last-child > span:last-child { display: block; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,0.62); }
@media (min-width: 1024px) {
  .ssg-prodcard > .wrap-prodcard > span:first-child { height: 150px; }
  .ssg-prodcard > .wrap-prodcard > span:last-child > span:first-child { font-size: 17px; }
  .ssg-prodcard > .wrap-prodcard > span:last-child > span:last-child { font-size: 13.5px; }
}

/* banner scuro con icona + CTA */
.ssg-banner > a { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; background: linear-gradient(120deg, #0F2318 0%, #123020 62%, #15402a 100%); border: 1px solid rgba(93,202,165,0.28); border-radius: 20px 20px 20px 6px; padding: 20px 18px; box-shadow: 0 22px 46px -32px rgba(15,35,24,0.85); transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease; }
.ssg-banner > a:hover { border-color: rgba(93,202,165,0.6); box-shadow: 0 30px 54px -30px rgba(15,35,24,0.9); transform: translateY(-2px); }
.ssg-banner > a > span:first-child { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 auto; }
.ssg-banner > a img { width: 44px; height: 44px; object-fit: contain; display: block; }
.ssg-banner > a > span:nth-child(2) { display: flex; flex-direction: column; gap: 6px; flex: 1 1 300px; min-width: 200px; }
.ssg-banner > a > span:nth-child(2) > span:first-child { font-family: 'Archivo', 'Inter', sans-serif; font-size: 19px; font-weight: 700; letter-spacing: -0.022em; color: #ffffff; line-height: 1.14; }
.ssg-banner > a > span:nth-child(2) > span:last-child { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,0.68); }
.ssg-banner > a > span:last-child { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: #0F2318; background: linear-gradient(135deg, #7fe0bd 0%, #5DCAA5 55%, #3fb389 100%); padding: 12px 20px; border-radius: 999px 999px 6px 999px; white-space: nowrap; }
@media (min-width: 1024px) {
  .ssg-banner > a { gap: 26px; padding: 24px 28px; }
  .ssg-banner > a > span:first-child, .ssg-banner > a img { width: 54px; height: 54px; }
  .ssg-banner > a > span:nth-child(2) > span:first-child { font-size: 23px; }
  .ssg-banner > a > span:nth-child(2) > span:last-child { font-size: 14.5px; }
  .ssg-banner > a > span:last-child { font-size: 14.5px; padding: 13px 24px; margin-left: auto; }
}

/* recapito grande (CTA finale) */
.ssg-contact-lg { display: flex; align-items: center; gap: 12px; }
.ssg-contact-lg > div:first-child, .ssg-contact-lg > a > span:last-child { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto; }
.ssg-contact-lg > div:first-child { background: rgba(93,202,165,0.18); border: 1px solid rgba(93,202,165,0.5); }
.ssg-contact-lg > a { display: flex; align-items: center; gap: 12px; }
.ssg-contact-lg > a:hover { opacity: .85; }
.ssg-contact-lg > a > span:last-child { background: rgba(37,211,102,0.2); border: 1px solid rgba(37,211,102,0.55); }
.ssg-contact-lg > a > span:first-child { order: 2; }
.ssg-contact-lg span > span:first-child, .ssg-contact-lg > div:last-child > span:first-child { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.ssg-contact-lg span > span:last-child, .ssg-contact-lg > div:last-child > span:last-child { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.ssg-contact-lg > div:last-child, .ssg-contact-lg > a > span:first-child { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }

/* pillola recapito nel footer */
.ssg-pill > a { display: inline-flex; align-items: center; gap: 11px; padding: 9px 16px 9px 9px; border-radius: 999px 999px 7px 999px; transition: background .2s ease; }
.ssg-pill > a > span:first-child { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto; }
.ssg-pill > a > span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.ssg-pill > a > span:last-child > span:first-child { font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.ssg-pill > a > span:last-child > span:last-child { font-size: 15px; font-weight: 700; color: #fff; }
.ssg-pill-green > a { background: rgba(93,202,165,0.13); border: 1px solid rgba(93,202,165,0.38); }
.ssg-pill-green > a:hover { background: rgba(93,202,165,0.24); }
.ssg-pill-green > a > span:first-child { background: #1D9E75; }
.ssg-pill-wa > a { background: rgba(37,211,102,0.13); border: 1px solid rgba(37,211,102,0.38); }
.ssg-pill-wa > a:hover { background: rgba(37,211,102,0.24); }
.ssg-pill-wa > a > span:first-child { background: #25D366; }

.ssg-marquee > span { display: flex; align-items: center; justify-content: center; height: 46px; width: 112px; flex: 0 0 auto; background: #fff; border-radius: 12px; box-shadow: 0 8px 22px -12px rgba(0,0,0,0.5); }
.ssg-marquee img { max-width: 90%; max-height: 75%; width: auto; object-fit: contain; display: block; }
@media (min-width: 1024px) {
  .ssg-marquee > span { height: 64px; width: 150px; }
}

/* stelle + valutazione */
.ssg-stars { display: flex; gap: 2px; line-height: 1; color: #F2A937; }
.ssg-stars-half { position: relative; display: inline-block; color: #d8d8d2; }
.ssg-stars-half > span { position: absolute; left: 0; top: 0; width: 50%; overflow: hidden; color: #F2A937; }

/* avatar recensione */
.ssg-avatar { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font-family: 'Archivo', 'Inter', sans-serif; font-weight: 700; font-size: 19px; flex: 0 0 auto; }
.ssg-avatar-1 { background: linear-gradient(135deg, #1D9E75, #0F6B4A); }
.ssg-avatar-2 { background: linear-gradient(135deg, #F2A937, #E07A12); }
.ssg-avatar-3 { background: linear-gradient(135deg, #26b88a, #138a5f); }

/* chip link di categoria */
.ssg-chip > a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: #3f4541; background: #F4F4F0; border: 1px solid #e6e6df; padding: 8px 14px; border-radius: 999px; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.ssg-chip > a:hover { border-color: #1D9E75; color: #0f7d56; }
.ssg-chip > a > span { font-size: 11px; opacity: .6; }
.ssg-chips-warm .ssg-chip > a { background: #fff; border-color: #f0dcc0; }
.ssg-chips-warm .ssg-chip > a:hover { border-color: #E07A12; color: #c2680c; }

/* pillole di salto al catalogo */
.ssg-jump > a { display: inline-flex; align-items: center; gap: 13px; background: #ffffff; border: 1px solid #dfe6e0; border-radius: 999px 999px 999px 7px; padding: 12px 24px 12px 14px; box-shadow: 0 14px 30px -24px rgba(15,35,24,0.6); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.ssg-jump > a:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -24px rgba(15,35,24,0.5); }
.ssg-jump > a > span:first-child { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 999px 999px 5px 999px; color: #fff; font-size: 11px; font-weight: 700; flex: 0 0 auto; }
.ssg-jump > a > span:nth-child(2) { font-size: 15px; font-weight: 600; letter-spacing: -0.012em; color: #1C1C1C; }
.ssg-jump > a > span:last-child { font-size: 13px; line-height: 1; }
.ssg-jump-green > a > span:first-child { background: linear-gradient(135deg, #1D9E75, #0F6B4A); }
.ssg-jump-green > a > span:last-child { color: #1D9E75; }
.ssg-jump-green > a:hover { border-color: #1D9E75; }
.ssg-jump-orange > a { border-color: #f0dcc0; }
.ssg-jump-orange > a > span:first-child { background: linear-gradient(135deg, #F2A937, #E07A12); }
.ssg-jump-orange > a > span:last-child { color: #E07A12; }
.ssg-jump-orange > a:hover { border-color: #E07A12; }

/* bottone soft (bordo verde chiaro) */
.ssg-btn-soft a, .ssg-btn-soft button { color: #1D9E75; background: #fff; border: 1px solid #cfe6db; }
.ssg-btn-soft a:hover, .ssg-btn-soft button:hover { background: #F5F8F6; border-color: #1D9E75; }

/* calcolatore risparmio */
.ssg-cal-tipo button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 16px 8px; border-radius: 12px; cursor: pointer; text-align: center; transition: all .2s ease; border: 1.5px solid #e0e0d8; background: #fff; color: #5b615d; }
.ssg-cal-tipo button[data-active="1"] { border-color: #1D9E75; background: rgba(29,158,117,0.08); color: #1D9E75; }
.ssg-cal-tipo button > span:first-child { font-size: 14px; font-weight: 600; }
.ssg-cal-tipo button > span:last-child { font-size: 12px; font-weight: 500; opacity: .7; }
.ssg-cal-range { width: 100%; margin: 8px 0 4px; accent-color: #1D9E75; }

/* chip settore (calcolatore aziende) */
.ssg-cal-chips button { padding: 11px 16px; border-radius: 999px; cursor: pointer; font-size: 13.5px; font-weight: 600; transition: all .2s ease; border: 1.5px solid #e0e0d8; background: #fff; color: #5b615d; }
.ssg-cal-chips button[data-active="1"] { border-color: #1D9E75; background: rgba(29,158,117,0.08); color: #1D9E75; }

/* breadcrumb */
.ssg-crumb a { color: #9aa09a; }
.ssg-crumb a:hover { color: #1D9E75; }
.ssg-crumb > span { color: #6b716c; font-weight: 500; }
.ssg-crumb > span:first-of-type { color: #d9ddd5; font-weight: 400; }

/* citazione con barra sfumata */
.ssg-quote blockquote { margin: 0; padding: 6px 0 6px 22px; background-image: linear-gradient(180deg, #F2A937 0%, #1D9E75 100%); background-repeat: no-repeat; background-size: 4px 100%; background-position: left center; }

/* badge sopra foto */
.ssg-badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(29,158,117,0.9); border-radius: 999px 999px 7px 999px; padding: 9px 18px; box-shadow: 0 8px 20px -8px rgba(0,0,0,0.4); font-size: 12px; font-weight: 600; color: #fff; }
.ssg-badge > div { width: 8px; height: 8px; border-radius: 50%; background: #fff; }

/* ==========================================================================
   TABLET / DESKTOP INTERMEDIO
   ========================================================================== */
@media (min-width: 1024px) and (max-width: 1160px) {
  .ssg-topbar-social { display: none !important; }
}

/* ==========================================================================
   MOBILE E TABLET (<= 1023px) — allineato al breakpoint lg: di Tailwind
   ========================================================================== */
@media (max-width: 1023px) {
  .ssg-topbar { display: none !important; }
  .ssg-nav-desktop { display: none !important; }
  .ssg-burger { display: inline-flex !important; }
  .ssg-navbar { height: 62px !important; }
  .ssg-logo, .ssg-header[data-shrunk="1"] .ssg-logo { height: 42px !important; }

  .ssg-flip { height: 430px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .ssg-flip:hover .ssg-flip-inner { transform: none; }
  .ssg-flip[data-flipped="1"] .ssg-flip-inner { transform: rotateY(180deg); }

  /* carosello team/recensioni: scroll nativo con snap */
  .ssg-track { transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
  .ssg-track::-webkit-scrollbar { display: none; }
  .ssg-track > div { flex: 0 0 calc(100vw - 48px) !important; scroll-snap-align: start; }
  .ssg-arrow { width: 44px !important; height: 44px !important; }
  .ssg-dots { justify-content: center !important; }

  /* footer a fisarmonica */
  .ssg-fcol { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 14px; }
  .ssg-fcol > div:first-child { cursor: pointer; margin-bottom: 0 !important; display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
  .ssg-fcol > div:first-child::after { content: "+"; font-size: 17px; font-weight: 400; color: rgba(255,255,255,0.55); }
  .ssg-fcol[data-open="1"] > div:first-child::after { content: "\2013"; }
  .ssg-fcol:not([data-open="1"]) > *:not(:first-child):not(.ssg-fkeep) { display: none !important; }
  .ssg-fcol:not([data-open="1"]) > .ssg-fkeep { margin-top: 14px; }

  .ssg-btn a, .ssg-btn button { padding: 11px 18px; font-size: 14px; }
  .ssg-btn-block a, .ssg-btn-block button { max-width: 100%; min-height: 46px; }
}

/* dettaglio prodotto */
.ssg-product-description{max-width:600px;margin-bottom:36px;color:rgba(255,255,255,.8);font-size:15px;line-height:1.62}
.ssg-product-description p{margin:0 0 18px}
.ssg-product-description h2,.ssg-product-description h3,.ssg-product-description h4,.ssg-product-description p:has(+ ul){margin:28px 0 18px;color:#5DCAA5;font-size:11px;font-weight:600;line-height:1.4;letter-spacing:.16em;text-transform:uppercase}
.ssg-product-description ul{display:flex;flex-direction:column;gap:13px;margin:0 0 36px;padding:0;list-style:none;color:rgba(255,255,255,.9)}
.ssg-product-description li{position:relative;margin:0;padding-left:31px;font-size:15px;line-height:1.5}
.ssg-product-description li:before{content:"✓";position:absolute;top:-1px;left:0;color:#5DCAA5;font-size:18px;font-weight:400;line-height:1.2}
.ssg-product-description a{color:#5DCAA5;text-decoration:underline;text-underline-offset:3px}
.ssg-product-description strong{color:#fff;font-weight:600}
.ssg-product-description>*:first-child{margin-top:0}
.ssg-product-description>*:last-child{margin-bottom:0}
@media(min-width:1024px){.ssg-product-description{margin-bottom:40px;font-size:17.5px}.ssg-product-description h2,.ssg-product-description h3,.ssg-product-description h4,.ssg-product-description p:has(+ ul){font-size:12px}.ssg-product-description li{font-size:15.5px}}

/* Testo + CTA delle card soluzioni */
.ssg-solution-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ssg-solution-copy p {
  margin: 0;
}

/* Il paragrafo che contiene il link diventa la CTA */
.ssg-solution-copy p:has(a) {
  margin-top: auto;
  padding-top: 24px;
}
/*Preefoter*/
.ssg-cta-content h2 {
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: #fff;
  margin-bottom: 18px;
}

.ssg-cta-content p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

@media (min-width: 1024px) {
  .ssg-cta-content h2 {
    font-size: 52px;
    line-height: 1.02;
  }

  .ssg-cta-content p {
    font-size: 17px;
  }
}

.ssg-faq-hero-content h1,
.ssg-faq-hero-content h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.ssg-faq-hero-content p {
  max-width: 620px;
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.62;
  color: rgba(255,255,255,0.78);
}

@media (min-width: 1024px) {
  .ssg-faq-hero-content h1,
  .ssg-faq-hero-content h2  {
    font-size: 56px;
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .ssg-faq-hero-content p {
    margin-bottom: 34px;
    font-size: 18px;
  }
}

/* ============================================================
   CONTENUTO HERO DA EDITOR
   ============================================================ */

.ssg-hero-content h1,
.ssg-hero-content h2 {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
}

.ssg-hero-content h1 span,
.ssg-hero-content h2 span {
  display: block;
  margin-top: 8px;
  color: #5DCAA5;
}
.span-inline-block span { display: inline-block !important; }

.ssg-hero-content p {
  max-width: 520px;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.62;
  color: rgba(255,255,255,0.78);
}

.ssg-hero-content ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssg-hero-content li {
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #F2A937;
}

@media (min-width: 1024px) {
  .ssg-hero-content h1,
  .ssg-hero-content h2 {
    margin-bottom: 26px;
    font-size: 52px;
    line-height: 1.04;
    letter-spacing: -0.035em;
  }

  .ssg-hero-content p {
    margin-bottom: 34px;
    font-size: 18px;
  }

  .ssg-hero-content li {
    font-size: 16px;
  }
}

.ssg-metodo-step-content h2 {
  margin:0 0 18px;
  font-size:26px;
  font-weight:700;
  line-height:1.18;
  letter-spacing:-0.03em;
  color:#1C1C1C;
}

.ssg-metodo-step-content p {
  margin:0 0 24px;
  font-size:15px;
  line-height:1.62;
  color:#5b615d;
}

.ssg-metodo-step-content ul {
  display:flex;
  flex-direction:column;
  gap:14px;
  margin:0;
  padding:0;
  list-style:none;
}

.ssg-metodo-step-content li {
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
  padding:0 0 13px;
  border-bottom:1px solid #ececE6;
  font-size:15px;
  line-height:1.5;
  color:#333834;
}

.ssg-metodo-step-content li::before {
  content:"✓";
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 22px;
  width:22px;
  height:22px;
  border-radius:50%;
  background:rgba(29,158,117,.12);
  color:#1D9E75;
  font-size:13px;
  line-height:1;
}

@media (min-width:1024px) {
  .ssg-metodo-step-content h2 {
    font-size:42px;
    line-height:1.06;
  }

  .ssg-metodo-step-content p {
    margin-bottom:28px;
    font-size:17px;
  }

  .ssg-metodo-step-content li {
    font-size:15.5px;
  }
}

.ssg-garanzie-cards {
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
}

.ssg-garanzie-cards > div {
  padding:24px;
  border:1px solid rgba(255,255,255,.2);
  border-radius:20px;
  background:rgba(255,255,255,.08);
}

.ssg-garanzie-cards h3 {
  display:flex;
  align-items:baseline;
  gap:8px;
  margin:0;
  font-size:44px;
  font-weight:700;
  line-height:1;
  letter-spacing:-.04em;
  color:#fff;
}

.ssg-garanzie-cards h3 span {
  font-size:17px;
  font-weight:600;
  letter-spacing:0;
  color:rgba(255,255,255,.8);
}

.ssg-garanzie-cards h4 {
  margin:18px 0 0;
  font-size:17px;
  font-weight:600;
  line-height:1.4;
  color:#fff;
}

.ssg-garanzie-cards p {
  margin:6px 0 0;
  font-size:14.5px;
  line-height:1.5;
  color:rgba(255,255,255,.75);
}

@media (min-width:768px) {
  .ssg-garanzie-cards {
    grid-template-columns:repeat(3,1fr);
  }
}

@media (min-width:1024px) {
  .ssg-garanzie-cards {
    gap:24px;
  }

  .ssg-garanzie-cards > div {
    padding:40px 38px;
  }

  .ssg-garanzie-cards h3 {
    font-size:74px;
  }

  .ssg-garanzie-cards h3 span {
    font-size:20px;
  }

  .ssg-garanzie-cards h4 {
    font-size:18px;
  }
}

.ssg-azienda-numeri ul {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin:0;
  padding:0;
  list-style:none;
}

.ssg-azienda-numeri li {
  display:flex;
  flex-direction:column;
  margin:0;
  padding:0 0 0 16px;
  border-left:1px solid #e8e8e2;
}

.ssg-azienda-numeri strong {
  font-size:34px;
  font-weight:700;
  line-height:1;
  letter-spacing:-.03em;
  background:linear-gradient(90deg,#1D9E75,#5DCAA5);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.ssg-azienda-numeri span {
  margin-top:12px;
  font-size:14px;
  font-weight:500;
  line-height:1.4;
  color:#5b615d;
}

@media (min-width:1024px) {
  .ssg-azienda-numeri ul {
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:24px;
  }

  .ssg-azienda-numeri li {
    padding-left:24px;
  }

  .ssg-azienda-numeri strong {
    font-size:46px;
  }
}
.ssg-youtube-cover iframe {
  position:absolute;
  top:50%;
  left:50%;
  width:auto;
  height:100%;
  min-width:100%;
  aspect-ratio:16/9;
  max-width:none;
  border:0;
  transform:translate(-50%,-50%);
  pointer-events:none;
}

.ssg-youtube-start-cover {
  position:absolute;
  inset:0;
  z-index:2;
  opacity:1;
  pointer-events:none;
  transition:opacity .5s ease;
}

.ssg-youtube-start-cover[data-hidden="1"] {
  opacity:0;
}

.ssg-team-slide {
  flex:0 0 calc((100% - 24px) / 2);
  min-width:0;
}

@media (min-width:768px) {
  .ssg-team-slide {
    flex-basis:calc((100% - 48px) / 3);
  }
}

@media (min-width:1024px) {
  .ssg-team-slide {
    flex-basis:calc((100% - 72px) / 4);
  }
}

.ssg-team-carousel [data-track] {
  width:100%;
}

.ssg-team-carousel [data-track] > .ssg-team-slide {
  flex:0 0 calc((100% - 24px) / 2) !important;
  width:calc((100% - 24px) / 2);
  min-width:0;
}

@media (min-width:768px) {
  .ssg-team-carousel [data-track] > .ssg-team-slide {
    flex-basis:calc((100% - 48px) / 3) !important;
    width:calc((100% - 48px) / 3);
  }
}

@media (min-width:1024px) {
  .ssg-team-carousel [data-track] > .ssg-team-slide {
    flex-basis:calc((100% - 72px) / 4) !important;
    width:calc((100% - 72px) / 4);
  }
}

.ssg-team-intro-content h2 {
  max-width:560px;
  margin:0 0 18px;
  font-size:26px;
  font-weight:700;
  line-height:1.18;
  letter-spacing:-0.03em;
  color:#1C1C1C;
}

.ssg-team-intro-content p {
  max-width:520px;
  margin:0;
  font-size:15px;
  line-height:1.6;
  color:#5b615d;
}

.ssg-team-intro-content a {
  margin-top:28px;
}

@media (min-width:1024px) {
  .ssg-team-intro-content h2 {
    font-size:42px;
    line-height:1.06;
  }

  .ssg-team-intro-content p {
    font-size:17px;
  }
}

.ssg-realizzazione-progetto h2 {
  margin:0 0 24px;
  font-size:26px;
  font-weight:700;
  line-height:1.18;
  letter-spacing:-.03em;
  color:#1C1C1C;
}

.ssg-realizzazione-progetto p {
  margin:0 0 20px;
  font-size:15px;
  line-height:1.7;
  color:#5b615d;
}

.ssg-realizzazione-progetto p:last-child {
  margin-bottom:0;
}

.ssg-realizzazione-progetto strong {
  color:#1C1C1C;
}

@media (min-width:1024px) {
  .ssg-realizzazione-progetto h2 {
    font-size:42px;
    line-height:1.06;
  }

  .ssg-realizzazione-progetto p {
    font-size:17px;
  }
}

.ssg-realizzazione-approfondimento h3 {
  margin:0 0 12px;
  font-size:19px;
  font-weight:700;
  line-height:1.25;
  letter-spacing:-.012em;
  color:#1C1C1C;
}

.ssg-realizzazione-approfondimento p {
  margin:0;
  font-size:15px;
  line-height:1.7;
  color:#5b6b63;
}

.ssg-realizzazione-approfondimento p + p {
  margin-top:12px;
}

@media (min-width:1024px) {
  .ssg-realizzazione-approfondimento h3 {
    font-size:21px;
  }

  .ssg-realizzazione-approfondimento p {
    font-size:15.5px;
  }
}

[data-cantiere-carousel] {
  touch-action: pan-y;
}

[data-cantiere-carousel] img {
  user-select: none;
  -webkit-user-drag: none;
}

.ssg-check-list {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.6;
}

.ssg-check-list ul {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ssg-check-list li {
  position: relative;
  margin: 0;
  padding-left: 28px;
}

.ssg-check-list li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 0;
  width: 16px;
  height: 16px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ssg-check-list-light {
  color: #7a807a;
}

.ssg-check-list-light li::before {
  background: #1D9E75;
}

.ssg-check-list-dark {
  color: rgba(255,255,255,.88);
}

.ssg-check-list-dark li::before {
  background: #5DCAA5;
}

/* Tabella incentivi privati */
.ssg-incentivi-table {
  overflow: hidden;
  border: 1px solid #ecece6;
  border-radius: 18px;
}

.ssg-incentivi-table table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.ssg-incentivi-table th,
.ssg-incentivi-table td {
  text-align: left;
  vertical-align: middle;
}

.ssg-incentivi-table th {
  padding: 18px 32px;
  background: #f4f4f0;
  color: #9aa39d;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ssg-incentivi-table td {
  padding: 24px 32px;
  border-top: 1px solid #efefe9;
  color: #5b615d;
  font-size: 13.5px;
  line-height: 1.5;
}

.ssg-incentivi-table th:nth-child(1),
.ssg-incentivi-table td:nth-child(1) { width: 22%; }

.ssg-incentivi-table th:nth-child(2),
.ssg-incentivi-table td:nth-child(2) { width: 30%; }

.ssg-incentivi-table th:nth-child(3),
.ssg-incentivi-table td:nth-child(3) {
  width: 12%;
  text-align: center;
}

.ssg-incentivi-table th:nth-child(4),
.ssg-incentivi-table td:nth-child(4) { width: 17%; }

.ssg-incentivi-table th:nth-child(5),
.ssg-incentivi-table td:nth-child(5) { width: 19%; }

.ssg-incentivi-table td:nth-child(1) {
  color: #1c1c1c;
  font-size: 16px;
  font-weight: 600;
}

.ssg-incentivi-table td:nth-child(2) {
  font-size: 14.5px;
}

.ssg-incentivi-table td:nth-child(3) {
  color: #1d9e75;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}

.ssg-incentivi-table td:nth-child(5) {
  color: #7a807a;
}

@media (max-width: 1023px) {
  .ssg-incentivi-table table,
  .ssg-incentivi-table tbody,
  .ssg-incentivi-table tr,
  .ssg-incentivi-table td {
    display: block;
    width: 100%;
  }

  .ssg-incentivi-table thead {
    display: none;
  }

  .ssg-incentivi-table tr {
    padding: 20px;
  }

  .ssg-incentivi-table tr + tr {
    border-top: 1px solid #efefe9;
  }

  .ssg-incentivi-table td {
    width: 100% !important;
    padding: 0;
    border: 0;
    text-align: left !important;
  }

  .ssg-incentivi-table td + td {
    margin-top: 8px;
  }

  .ssg-incentivi-table td:nth-child(1) {
    font-size: 16px;
  }

  .ssg-incentivi-table td:nth-child(2) {
    font-size: 14.5px;
  }

  .ssg-incentivi-table td:nth-child(3) {
    font-size: 22px;
  }

  .ssg-incentivi-table td:nth-child(4),
  .ssg-incentivi-table td:nth-child(5) {
    font-size: 13.5px;
  }
}

.ssg-target-intro h2 {
  margin: 0 0 14px;
  color: #1c1c1c;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -.03em;
}

.ssg-target-intro p {
  max-width: 600px;
  margin: 0 0 32px;
  color: #5b615d;
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 1024px) {
  .ssg-target-intro h2 {
    font-size: 42px;
    line-height: 1.06;
  }

  .ssg-target-intro p {
    margin-bottom: 52px;
    font-size: 17px;
  }
}

.ssg-finanziamento-copy h2 {
  margin:0 0 14px;
  font-size:26px;
  font-weight:700;
  line-height:1.18;
  letter-spacing:-.03em;
  color:#1C1C1C;
}

.ssg-finanziamento-copy p {
  margin:0;
  font-size:15px;
  line-height:1.65;
  color:#5b615d;
}

.ssg-finanziamento-copy p + p {
  margin-top:20px;
}

@media (min-width:1024px) {
  .ssg-finanziamento-copy h2 {
    font-size:42px;
    line-height:1.06;
  }

  .ssg-finanziamento-copy p:first-of-type {
    font-size:17px;
  }

  .ssg-finanziamento-copy p:nth-of-type(n+2) {
    font-size:16px;
  }
}
.ssg-finanziamento-docs > p:first-of-type {
  margin:0 0 16px;
  font-size:11px;
  font-weight:600;
  line-height:1.4;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#9aa39d;
}

.ssg-finanziamento-docs li {
  font-size:15px;
  line-height:1.5;
  color:#5b615d;
}
/* ==========================================================================
   ENERGIA CHE PREMIA
   ========================================================================== */

/* CTA da editor: primo link mint, successivi ghost */
.ssg-energia-actions { display:flex; flex-wrap:wrap; gap:12px; }
.ssg-energia-actions p { display:contents; }
.ssg-energia-actions br { display:none; }
.ssg-energia-actions a { color:#fff; background:transparent; border:1px solid rgba(255,255,255,.55); }
.ssg-energia-actions a:hover { color:#fff; background:rgba(255,255,255,.1); }
.ssg-energia-actions > a:first-of-type,
.ssg-energia-actions > p:first-of-type a:first-of-type { color:#0F2318; background:linear-gradient(135deg,#7fe0bd 0%,#5DCAA5 50%,#3fb389 100%); border-color:transparent; box-shadow:0 14px 30px -14px rgba(93,202,165,.6); }
.ssg-energia-actions > a:first-of-type:hover,
.ssg-energia-actions > p:first-of-type a:first-of-type:hover { color:#0F2318; background:linear-gradient(135deg,#8fe9c8,#52c39c); }

/* CTA banner premi */
.ssg-energia-actions-block { flex-direction:column; gap:10px; }
.ssg-energia-actions-block a { width:100%; }
@media(min-width:640px) {
  .ssg-energia-actions-block { flex-direction:row; }
  .ssg-energia-actions-block a { width:auto; }
}

/* Scadenza iniziativa */
.ssg-energia-deadline p { margin:0; font-size:10px; font-weight:600; line-height:1.4; letter-spacing:.16em; text-transform:uppercase; color:#5DCAA5; }
.ssg-energia-deadline strong { display:block; margin-top:8px; font-family:'Archivo','Inter',sans-serif; font-size:22px; font-weight:700; line-height:1.2; letter-spacing:-.02em; text-transform:none; color:#fff; }
@media(min-width:1024px) {
  .ssg-energia-deadline strong { font-size:25px; }
}

/* Introduzione + nota Come funziona */
.ssg-energia-how-intro { max-width:420px; }
.ssg-energia-how-intro p { margin:0; font-size:15px; line-height:1.62; color:rgba(255,255,255,.75); }
.ssg-energia-how-intro span { display:block; margin-top:28px; padding:20px; border:1px solid rgba(255,255,255,.14); border-radius:20px; background:rgba(255,255,255,.05); font-size:14.5px; line-height:1.6; color:rgba(255,255,255,.85); }
.ssg-energia-how-intro span strong { color:#fff; }
@media(min-width:1024px) {
  .ssg-energia-how-intro p { font-size:17px; }
  .ssg-energia-how-intro span { padding:24px; font-size:15.5px; }
}

/* Passaggi Come funziona */
.ssg-energia-steps ul,
.ssg-energia-steps ol { counter-reset:ssg-energia-step; display:flex; flex-direction:column; gap:28px; margin:0; padding:0; list-style:none; }
.ssg-energia-steps li { counter-increment:ssg-energia-step; position:relative; min-height:38px; padding-left:54px; font-size:14.5px; line-height:1.6; color:rgba(255,255,255,.72); }
.ssg-energia-steps li::before { content:counter(ssg-energia-step); position:absolute; left:0; top:0; display:flex; align-items:center; justify-content:center; width:38px; height:38px; border:1px solid rgba(93,202,165,.35); border-radius:50%; background:rgba(93,202,165,.16); color:#5DCAA5; font-size:15px; font-weight:700; }
.ssg-energia-steps strong { display:block; margin-bottom:8px; font-family:'Archivo','Inter',sans-serif; font-size:17px; font-weight:600; line-height:1.35; letter-spacing:-.01em; color:#fff; }
@media(min-width:1024px) {
  .ssg-energia-steps ul,
  .ssg-energia-steps ol { gap:32px; }
  .ssg-energia-steps li { padding-left:58px; font-size:15.5px; }
  .ssg-energia-steps strong { font-size:19px; }
}

/* Regolamento da editor */
.ssg-energia-regolamento { display:flex; flex-direction:column; gap:16px; font-size:14.5px; line-height:1.6; color:#5b615d; }
.ssg-energia-regolamento > p { margin:0; }
.ssg-energia-regolamento > p:not(:has(a)) { flex:1 1 auto; }
.ssg-energia-regolamento strong { color:#1C1C1C; }
.ssg-energia-regolamento a { color:#fff; background:linear-gradient(135deg,#F2A937,#E07A12); box-shadow:0 8px 20px -8px rgba(224,122,18,.6); }
.ssg-energia-regolamento a:hover { color:#fff; background:linear-gradient(135deg,#f4b751,#ef8a1f); transform:translateY(-2px); box-shadow:0 13px 28px -8px rgba(224,122,18,.7); }
@media(min-width:1024px) {
  .ssg-energia-regolamento { flex-direction:row; align-items:center; gap:32px; }
  .ssg-energia-regolamento > p:not(:has(a)) { flex:1 1 auto; }
  .ssg-energia-regolamento > p:has(a) { margin-left:auto; flex:0 0 auto; }
}