/* ============================================
   SM CLIMA — Design System v3
   Colori reali del brand SM Elettrodomestici (estratti dal logo):
   blu #004AAD, nero #0A0A0A, grigio #5B5B5B, arancio sole #F5890C, azzurro fiocco #5493E5
   Sfondo sempre bianco, immagini a tutto schermo
   ============================================ */

:root{
  --bg: #FFFFFF;
  --bg-alt: #F3F6FC;
  --panel: #FFFFFF;
  --panel-border: rgba(10,10,10,0.09);
  --panel-border-hover: rgba(0,74,173,0.35);
  --ink: #0A0A0A;
  --ink-soft: #4B5160;
  --ink-faint: #8A90A0;
  --blue: #004AAD;
  --blue-deep: #00306E;
  --blue-tint: rgba(0,74,173,0.08);
  --orange: #F5890C;
  --orange-tint: rgba(245,137,12,0.12);
  --cyan: #3F8FE0;
  --cyan-tint: rgba(63,143,224,0.12);
  --line: rgba(10,10,10,0.09);
  --radius: 20px;
  --maxw: 1180px;
  --ff-head: 'Fraunces', serif;
  --ff-body: 'Inter', sans-serif;
  --shadow-soft: 0 20px 50px -24px rgba(10,20,40,0.22);
  --shadow-lift: 0 30px 70px -20px rgba(10,20,40,0.30);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--ff-body);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:var(--ff-head);
  font-weight:600;
  line-height:1.12;
  margin:0 0 .5em;
  letter-spacing:-0.01em;
  color:var(--ink);
}
h1 em, h2 em{ font-style:italic; color:var(--blue); font-weight:500; }

p{ margin:0 0 1em; color:var(--ink-soft); }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 28px; }

::selection{ background:var(--blue); color:#fff; }

/* ---------- Nav ---------- */
.topbar{
  position:relative; z-index:5;
  text-align:center;
  font-size:13px;
  padding:10px 20px;
  background:var(--blue-deep);
  color:#D7E3F7;
  letter-spacing:.01em;
}
.topbar a{ color:#fff; font-weight:600; text-decoration:underline; text-underline-offset:2px; }

header.nav{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,0.88);
  backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 28px;
  max-width:var(--maxw); margin:0 auto;
}
.logo{ display:flex; align-items:center; gap:10px; }
.logo img{ height:46px; width:auto; }
.logo-text{ display:flex; flex-direction:column; }
.logo-text b{ font-family:var(--ff-head); font-weight:600; font-size:19px; letter-spacing:-0.01em; color:var(--ink); }
.logo-text span{ font-family:var(--ff-body); font-weight:600; font-size:9.5px; letter-spacing:.14em; color:var(--ink-faint); margin-top:1px; }

nav.links{ display:flex; gap:30px; align-items:center; }
nav.links a{ font-size:14.5px; font-weight:600; color:var(--ink-soft); transition:color .2s; }
nav.links a:hover, nav.links a.active{ color:var(--blue); }
.nav-cta{ display:flex; align-items:center; gap:14px; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 22px;
  border-radius:100px;
  font-weight:700; font-size:14px;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .2s, box-shadow .2s, background .2s, border-color .2s;
  white-space:nowrap;
  font-family:var(--ff-body);
}
.btn-primary{
  background:var(--blue);
  color:#fff;
  box-shadow:0 10px 26px -8px rgba(0,74,173,0.45);
}
.btn-primary:hover{ transform:translateY(-2px); background:var(--blue-deep); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--panel-border); }
.btn-ghost:hover{ border-color:var(--panel-border-hover); background:var(--blue-tint); }
.btn-ghost.on-dark{ color:#fff; border-color:rgba(255,255,255,0.35); }
.btn-ghost.on-dark:hover{ background:rgba(255,255,255,0.12); }
.btn-sm{ padding:9px 16px; font-size:13px; }
.btn svg{ width:16px; height:16px; }

.burger{ display:none; width:26px; height:20px; position:relative; cursor:pointer; }
.burger span{ position:absolute; left:0; width:100%; height:2px; background:var(--ink); transition:.25s; }
.burger span:nth-child(1){ top:0; }
.burger span:nth-child(2){ top:9px; }
.burger span:nth-child(3){ top:18px; }
.burger.open span:nth-child(1){ transform:translateY(9px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform:translateY(-9px) rotate(-45deg); }

/* ---------- Full-bleed hero media (home + inner pages) ---------- */
.hero-media{
  position:relative;
  min-height:88vh;
  display:flex;
  align-items:flex-end;
  color:#fff;
  overflow:hidden;
}
.hero-media.short{ min-height:52vh; }
.hero-media .hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-media .hero-bg img{ width:100%; height:100%; object-fit:cover; }
.hero-media .hero-scrim{
  position:absolute; inset:0; z-index:1;
  background:linear-gradient(180deg, rgba(0,15,40,.10) 0%, rgba(0,20,48,.42) 50%, rgba(0,20,48,.92) 100%);
}
.hero-media .hero-body{ position:relative; z-index:2; width:100%; padding:64px 0 56px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  color:#fff; background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.3);
  padding:7px 14px; border-radius:100px; margin-bottom:22px;
}
.eyebrow .pulse{ width:6px; height:6px; border-radius:50%; background:var(--orange); box-shadow:0 0 0 0 rgba(245,137,12,.6); animation:pulse 2s infinite; }
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(245,137,12,.5); }
  70%{ box-shadow:0 0 0 8px rgba(245,137,12,0); }
  100%{ box-shadow:0 0 0 0 rgba(245,137,12,0); }
}
.hero-media h1{ color:#fff; font-size:clamp(36px, 4.6vw, 58px); max-width:760px; }
.hero-media p.hero-sub{ color:rgba(255,255,255,0.86); font-size:17.5px; max-width:520px; margin-bottom:30px; }
.hero-media .crumbs{ color:rgba(255,255,255,0.65); }
.hero-media .crumbs a:hover{ color:#fff; }
.hero-media p.lead{ color:rgba(255,255,255,0.86); font-size:17px; max-width:600px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:6px; }

.trust-row{
  display:flex; gap:34px; flex-wrap:wrap;
  margin-top:38px; padding-top:24px; border-top:1px solid rgba(255,255,255,0.22);
}
.trust-item{ display:flex; align-items:center; gap:12px; }
.trust-item .tring{
  width:42px; height:42px; border-radius:50%; flex:none;
  border:1.5px solid rgba(255,255,255,0.4);
  display:flex; align-items:center; justify-content:center;
}
.trust-item .tring svg{ width:19px; height:19px; color:#fff; }
.trust-item b{ display:block; font-size:14px; font-weight:700; color:#fff; }
.trust-item span{ font-size:12px; color:rgba(255,255,255,0.7); }

.hero-badge{
  position:absolute; top:26px; right:28px; z-index:3;
  width:100px; height:100px; border-radius:50%;
  background:var(--orange); color:#fff;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; box-shadow:0 16px 34px -10px rgba(245,137,12,0.55);
  font-family:var(--ff-head);
  transform:rotate(-8deg);
}
.hero-badge b{ font-size:22px; font-weight:700; line-height:1; }
.hero-badge span{ font-size:9.5px; font-weight:600; text-transform:uppercase; letter-spacing:.04em; font-family:var(--ff-body); margin-top:3px; }

/* ---------- Section generic ---------- */
section{ position:relative; padding:88px 0; }
.section-head{ max-width:640px; margin:0 auto 52px; text-align:center; }
.section-head.left{ margin:0 0 48px; text-align:left; }
.section-head h2{ font-size:clamp(28px, 3.6vw, 42px); }
.kicker{
  display:inline-block; font-size:12.5px; font-weight:700; letter-spacing:.12em;
  text-transform:uppercase; color:var(--blue); margin-bottom:14px;
}

.divider{ height:1px; background:var(--line); border:0; margin:0; }

/* feature cards */
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }

.card{
  background:var(--panel);
  border:1px solid var(--panel-border);
  border-radius:var(--radius);
  padding:32px 28px;
  box-shadow:var(--shadow-soft);
  transition:border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover{ border-color:var(--panel-border-hover); transform:translateY(-4px); box-shadow:var(--shadow-lift); }
.card .num{
  font-family:var(--ff-head); font-size:14px; font-weight:700; color:var(--blue);
  border:1.5px solid rgba(0,74,173,0.28); background:var(--blue-tint);
  width:34px; height:34px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px;
}
.icon-tile{
  width:52px; height:52px; border-radius:50%;
  background:#fff;
  border:1.5px solid rgba(0,74,173,0.28);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:20px;
}
.icon-tile svg{ width:22px; height:22px; color:var(--blue); }
.icon-tile.warm{ border-color:rgba(245,137,12,0.35); }
.icon-tile.warm svg{ color:var(--orange); }
.icon-tile.cool{ border-color:rgba(63,143,224,0.35); }
.icon-tile.cool svg{ color:var(--cyan); }
.card h3{ font-size:19px; margin-bottom:10px; font-weight:600; }
.card p{ font-size:14.5px; margin-bottom:0; }

/* brands strip */
.brands-strip{ background:var(--bg-alt); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.brands-row{ display:flex; flex-wrap:wrap; gap:14px; justify-content:center; }
.brand-pill{
  font-family:var(--ff-head); font-weight:600; font-size:15px;
  padding:12px 22px; border-radius:100px;
  border:1px solid var(--panel-border);
  background:#fff;
  color:var(--ink-soft);
  transition:color .2s, border-color .2s;
}
.brand-pill:hover{ color:var(--blue); border-color:var(--panel-border-hover); }

/* stats / why */
.why-block{ display:grid; grid-template-columns:.9fr 1.1fr; gap:60px; align-items:center; }
.why-visual{ position:relative; border-radius:24px; overflow:hidden; box-shadow:var(--shadow-lift); aspect-ratio:4/5; }
.why-visual img{ width:100%; height:100%; object-fit:cover; }
.why-visual .badge-fgas{
  position:absolute; bottom:20px; left:20px; right:20px;
  background:rgba(255,255,255,0.95);
  border:1px solid var(--panel-border);
  border-radius:14px; padding:16px 18px; backdrop-filter:blur(10px);
}
.badge-fgas .fgas-top{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
.badge-fgas .fgas-top svg{ width:20px; height:20px; color:var(--blue); }
.badge-fgas b{ font-family:var(--ff-head); font-size:14px; color:var(--ink); }
.badge-fgas span{ font-size:12px; color:var(--ink-faint); }

.why-list{ display:flex; flex-direction:column; gap:26px; }
.why-item{ display:flex; gap:18px; }
.why-item .n{ font-family:var(--ff-head); font-weight:700; font-size:22px; color:var(--blue); flex:none; width:46px; }
.why-item h4{ font-size:18px; margin-bottom:6px; font-weight:600; }
.why-item p{ font-size:14.5px; margin:0; }

/* testimonial */
.testi{ max-width:760px; margin:0 auto; text-align:center; }
.testi .stars{ color:var(--orange); font-size:18px; letter-spacing:3px; margin-bottom:22px; }
.testi blockquote{
  font-family:var(--ff-head); font-size:clamp(20px,2.6vw,28px); font-weight:500; font-style:italic;
  color:var(--ink); margin:0 0 22px; line-height:1.4;
}
.testi cite{ font-style:normal; color:var(--ink-faint); font-size:14px; }

/* zone map */
.zone-block{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.zone-map{ position:relative; aspect-ratio:1/1; border-radius:24px; border:1px solid var(--panel-border); background:var(--bg-alt); overflow:hidden; box-shadow:var(--shadow-soft); }
.zone-pin{ position:absolute; display:flex; flex-direction:column; align-items:center; gap:6px; }
.zone-pin .pt{ width:14px; height:14px; border-radius:50%; background:var(--blue); box-shadow:0 0 0 6px rgba(0,74,173,0.14); }
.zone-pin.amber .pt{ background:var(--orange); box-shadow:0 0 0 6px rgba(245,137,12,0.16); }
.zone-pin span{ font-size:12px; font-weight:700; background:#fff; padding:4px 10px; border-radius:8px; border:1px solid var(--panel-border); }
.zone-radius{ position:absolute; border-radius:50%; border:1px dashed rgba(0,74,173,0.3); }

/* Partner band (SM Elettrodomestici) */
.partner-band{
  border-radius:28px;
  background:var(--blue);
  background-image:linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  padding:56px;
  color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap:40px; flex-wrap:wrap;
  position:relative; overflow:hidden;
}
.partner-band::after{
  content:""; position:absolute; right:-60px; top:-60px; width:280px; height:280px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,255,255,0.14), transparent 70%);
}
.partner-band .kicker{ color:rgba(255,255,255,0.75); }
.partner-band h2, .partner-band h3{ color:#fff; }
.partner-band p{ color:rgba(255,255,255,0.82); }
.partner-categories{ display:flex; gap:10px; flex-wrap:wrap; margin-top:18px; }
.partner-categories a{
  font-size:13px; font-weight:600; padding:8px 16px; border-radius:100px;
  border:1px solid rgba(255,255,255,0.35); color:#fff; transition:.2s;
}
.partner-categories a:hover{ background:rgba(255,255,255,0.14); }

/* CTA band */
.cta-band{
  border-radius:28px;
  background:var(--ink);
  padding:56px;
  display:flex; align-items:center; justify-content:space-between; gap:32px;
  flex-wrap:wrap;
}
.cta-band h3{ font-size:clamp(22px,3vw,32px); margin-bottom:8px; max-width:520px; color:#fff; }
.cta-band p{ margin:0; max-width:460px; color:#B7BAC0; }

/* footer */
footer{ background:var(--bg-alt); border-top:1px solid var(--line); padding:64px 0 28px; }
.foot-top{ display:grid; grid-template-columns:1.3fr 1fr 1fr 1fr; gap:40px; margin-bottom:48px; }
.foot-brand .logo img{ height:40px; }
.foot-brand p{ font-size:14px; max-width:280px; }
.foot-col h5{ font-family:var(--ff-head); font-size:13px; letter-spacing:.06em; color:var(--ink-faint); text-transform:uppercase; margin-bottom:16px; font-weight:600; }
.foot-col ul li{ margin-bottom:11px; }
.foot-col ul li a{ font-size:14.5px; color:var(--ink-soft); transition:color .2s; }
.foot-col ul li a:hover{ color:var(--blue); }
.foot-bottom{
  display:flex; justify-content:space-between; align-items:center;
  padding-top:24px; border-top:1px solid var(--line);
  font-size:13px; color:var(--ink-faint); flex-wrap:wrap; gap:12px;
}
.social-row{ display:flex; gap:10px; }
.social-row a{ width:36px; height:36px; border-radius:50%; border:1px solid var(--panel-border); background:#fff; display:flex; align-items:center; justify-content:center; transition:.2s; }
.social-row a:hover{ border-color:var(--panel-border-hover); color:var(--blue); }
.social-row a svg{ width:16px; height:16px; }

/* contact grid full */
.contact-grid-full{ display:grid; grid-template-columns:repeat(4,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:18px; overflow:hidden; }
.contact-grid-full .cgi{ background:#fff; padding:24px 20px; display:flex; gap:14px; align-items:flex-start; }
.contact-grid-full .cgi .ic{ width:38px; height:38px; border-radius:50%; background:var(--blue-tint); border:1px solid rgba(0,74,173,0.3); display:flex; align-items:center; justify-content:center; flex:none; }
.contact-grid-full .cgi .ic svg{ width:18px; height:18px; color:var(--blue); }
.contact-grid-full .cgi b{ display:block; font-size:13.5px; margin-bottom:3px; color:var(--ink); }
.contact-grid-full .cgi span, .contact-grid-full .cgi a{ font-size:13px; color:var(--ink-soft); }

/* forms */
.form-panel{ background:#fff; border:1px solid var(--panel-border); border-radius:22px; padding:36px; box-shadow:var(--shadow-soft); }
.f-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.field{ margin-bottom:16px; }
.field label{ display:block; font-size:13px; font-weight:600; margin-bottom:7px; color:var(--ink-soft); }
.field input, .field select, .field textarea{
  width:100%; background:var(--bg-alt); border:1px solid var(--panel-border); border-radius:10px;
  padding:12px 14px; color:var(--ink); font-family:var(--ff-body); font-size:14.5px;
  transition:border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color:var(--blue); }
.field textarea{ resize:vertical; min-height:110px; }

.hours-card{ display:flex; flex-direction:column; gap:14px; }
.hours-row{ display:flex; justify-content:space-between; font-size:14.5px; padding:12px 0; border-bottom:1px solid var(--line); }
.hours-row:last-child{ border-bottom:0; }
.hours-row b{ font-weight:700; }

.service-block{ display:grid; grid-template-columns:60px 1fr; gap:24px; padding:36px 0; border-bottom:1px solid var(--line); }
.service-block:first-of-type{ padding-top:0; }
.service-block .si{ width:56px; height:56px; border-radius:50%; background:#fff; border:1.5px solid rgba(0,74,173,0.28); display:flex; align-items:center; justify-content:center; }
.service-block .si svg{ width:26px; height:26px; color:var(--blue); }
.service-block h3{ font-size:22px; margin-bottom:8px; font-weight:600; }
.service-block ul{ margin-top:14px; }
.service-block ul li{ font-size:14.5px; color:var(--ink-soft); padding-left:20px; position:relative; margin-bottom:8px; }
.service-block ul li::before{ content:""; position:absolute; left:0; top:8px; width:6px; height:6px; border-radius:50%; background:var(--blue); }

/* reveal animation */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* responsive */
@media (max-width:980px){
  .grid-3, .grid-4{ grid-template-columns:1fr 1fr; }
  .why-block, .zone-block{ grid-template-columns:1fr; }
  .foot-top{ grid-template-columns:1fr 1fr; }
  .contact-grid-full{ grid-template-columns:1fr 1fr; }
  .hero-media{ min-height:78vh; }
}
@media (max-width:720px){
  nav.links{ display:none; }
  nav.links.mobile-open{
    display:flex; flex-direction:column; gap:0;
    position:absolute; top:100%; left:0; right:0;
    background:var(--bg); border-bottom:1px solid var(--line);
    padding:8px 28px 20px;
  }
  nav.links.mobile-open a{ padding:14px 0; border-bottom:1px solid var(--line); }
  .burger{ display:block; }
  .nav-cta .btn-ghost.desktop-only{ display:none; }
  .grid-3, .grid-4, .f-row{ grid-template-columns:1fr; }
  .cta-band, .partner-band{ padding:36px 24px; flex-direction:column; align-items:flex-start; }
  .foot-top{ grid-template-columns:1fr; gap:32px; }
  .contact-grid-full{ grid-template-columns:1fr; }
  .service-block{ grid-template-columns:1fr; }
  .trust-row{ gap:20px; }
  .hero-badge{ width:82px; height:82px; top:16px; right:16px; }
  .hero-badge b{ font-size:17px; }
  .hero-media{ min-height:auto; padding-top:20px; }
  .hero-media .hero-body{ padding:40px 0 40px; }
}
