/* Font locali (prima in fonts.css, unito per risparmiare una richiesta bloccante) */
@font-face{font-family:'Roboto';font-style:normal;font-weight:100 900;font-display:swap;src:url('../fonts/roboto-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Saira Semi Condensed';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/saira-semi-condensed-500.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Saira Semi Condensed';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/saira-semi-condensed-600.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Saira Semi Condensed';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/saira-semi-condensed-700.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Saira Semi Condensed';font-style:normal;font-weight:800;font-display:swap;src:url('../fonts/saira-semi-condensed-800.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ==========================================================
   Ecoclima di Marinelli Lorenzo - Landing page
   ========================================================== */

/* ---------- Variabili ---------- */
:root {
  --font-body: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-head: "Saira Semi Condensed", "Arial Narrow", Arial, sans-serif;

  --blue: #005e9c;          /* blu logo */
  --blue-light: #0a8ac8;    /* azzurro logo */
  --navy: #0a3d66;          /* titoli */
  --navy-deep: #052d4d;
  --green: #7ab42a;         /* verde logo */
  --green-dark: #47811a;    /* verde per testi e pulsanti (contrasto AA) */
  --green-soft: #eef6e4;
  --blue-soft: #eaf3fa;
  --bg-light: #f4f8fb;
  --text: #5a6a7e;
  --white: #fff;
  --border: rgba(10, 61, 102, .1);

  --shadow: 0 0 40px 5px rgba(10, 61, 102, .06);
  --shadow-strong: 0 18px 45px rgba(10, 61, 102, .14);
  --radius: 22px;
  --ease: cubic-bezier(.25, .8, .25, 1);
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 104px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .3s; }
a:hover { color: var(--green-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; border-radius: 6px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1em; height: 1em; flex-shrink: 0; fill: currentColor; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(70px, 9vw, 120px); }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 26px;
  border-radius: 50px; border: 0;
  font-family: var(--font-body); font-weight: 700; font-size: 15px; line-height: 1.2;
  color: #fff; position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--navy); transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:hover { color: #fff; }
.btn .ico { font-size: 14px; transition: transform .35s var(--ease); }
.btn:hover .ico:not(.ico-left) { transform: rotate(45deg); }
.btn .ico-left { font-size: 19px; }
.btn-accent { background: var(--green-dark); box-shadow: 0 8px 22px rgba(71, 129, 26, .3); }
.btn-blue { background: var(--blue-light); box-shadow: 0 8px 22px rgba(10, 138, 200, .3); }
.btn-blue::before { background: var(--green-dark); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white::before { background: var(--green-dark); }

/* ---------- Section tag & titoli ---------- */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 14px 4px 4px; margin-bottom: 14px;
  border-radius: 50px; background: var(--green-soft);
  color: var(--green-dark); font-family: var(--font-body); font-weight: 600; font-size: 15px;
}
.tag-ico {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; font-size: 15px;
}
.tag-on-dark { background: #fff; }
.section-title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.3px; }
.section-head.center { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.lead { font-size: 17px; }

/* ==========================================================
   HEADER
   ========================================================== */
.site-header { position: relative; z-index: 100; }

.topbar {
  display: flex; justify-content: space-between; align-items: stretch;
  font-size: 14px; color: #fff; min-height: 46px;
}
.topbar .ico { font-size: 16px; }
.topbar-left {
  background: var(--green-dark); display: flex; align-items: center;
  padding: 8px var(--gutter) 8px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  padding-right: 48px; flex: 0 0 auto;
}
.topbar-left span { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; }
.topbar-right {
  flex: 1; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 28px;
  padding: 8px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 8px var(--gutter);
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 100%);
}
.topbar-right a, .topbar-right span { color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.topbar-right a:hover { color: #cfe8a6; }

.navbar {
  background: #fff; position: relative; z-index: 50;
  transition: box-shadow .35s, transform .35s;
}
.navbar.is-sticky {
  position: fixed; top: 0; left: 0; right: 0;
  box-shadow: 0 8px 30px rgba(10, 61, 102, .12);
  animation: navDown .5s var(--ease);
}
@keyframes navDown { from { transform: translateY(-100%); } to { transform: none; } }
.navbar-inner {
  max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter);
  height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.navbar-inner { transition: height .35s var(--ease); }
.brand img { height: 84px; width: auto; transition: height .35s var(--ease); }
.navbar.is-sticky .navbar-inner { height: 76px; }
.navbar.is-sticky .brand img { height: 58px; }
.main-nav > ul { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.main-nav > ul a {
  font-weight: 500; color: var(--navy); font-size: 16px; position: relative; padding: 8px 0; display: inline-block;
}
.main-nav > ul a::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: 100%; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav > ul a:hover, .main-nav > ul a.is-active { color: var(--green-dark); }
.main-nav > ul a:hover::after, .main-nav > ul a.is-active::after { transform: scaleX(1); transform-origin: left; }
.mobile-nav-extra { display: none; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none; width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--blue); padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .35s, opacity .35s; }
.nav-toggle span:nth-child(2) { width: 16px; margin-left: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: clamp(560px, 82vh, 760px);
  display: flex; align-items: center;
  padding: 90px 0 150px;
  background: var(--navy);
}
.hero-slides, .hero-slide, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.2s ease, transform 7s ease;
}
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 45, 77, .96) 0%, rgba(0, 94, 156, .86) 38%, rgba(0, 94, 156, .35) 68%, rgba(0, 94, 156, .05) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 660px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 16px; border-radius: 50px; background: rgba(255, 255, 255, .16);
  font-family: var(--font-head); font-weight: 700; letter-spacing: 3px; text-transform: uppercase; font-size: 15px;
  margin-bottom: 22px; backdrop-filter: blur(4px);
}
.hero-tag .ico { font-size: 20px; color: #b9e07c; }
.hero-title {
  color: #fff; font-size: clamp(36px, 5.4vw, 64px); font-weight: 800; line-height: 1.08; margin-bottom: 22px; letter-spacing: -.5px;
}
.hero-title .stroke {
  color: transparent; -webkit-text-stroke: 1.5px #fff;
}
@supports not (-webkit-text-stroke: 1px #fff) { .hero-title .stroke { color: #b9e07c; } }
.hero-text { font-size: clamp(16px, 1.6vw, 18px); max-width: 560px; color: rgba(255, 255, 255, .92); }
.hero-checks { display: flex; flex-wrap: wrap; gap: 14px 34px; margin: 26px 0 34px; }
.hero-checks li { display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: 17px; }
.hero-checks .ico { font-size: 24px; color: #b9e07c; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-nav { position: absolute; inset: 50% 0 auto; z-index: 3; pointer-events: none; }
.hero-arrow {
  position: absolute; top: -26px; width: 52px; height: 52px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .2); color: #fff; font-size: 20px;
  display: grid; place-items: center; pointer-events: auto; transition: background .3s;
  backdrop-filter: blur(4px);
}
.hero-arrow:hover { background: var(--green-dark); }
.hero-arrow[data-dir="-1"] { left: 24px; }
.hero-arrow[data-dir="1"] { right: 24px; }

.hero-badge {
  position: absolute; z-index: 3; right: 21%; top: 48%;
  width: 130px; height: 130px; border-radius: 50%;
  background: rgba(255, 255, 255, .22); backdrop-filter: blur(6px);
  display: grid; place-items: center;
}
.hero-badge-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.hero-badge-text text { fill: #fff; font-family: var(--font-head); font-weight: 700; font-size: 12.5px; letter-spacing: 2px; text-transform: uppercase; }
.hero-badge-ico {
  width: 64px; height: 64px; border-radius: 50%; background: var(--green-dark);
  display: grid; place-items: center; font-size: 34px; color: #fff; box-shadow: 0 0 0 6px rgba(255,255,255,.25);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* feature card sovrapposta all'hero */
.hero-features-wrap { position: relative; z-index: 5; margin-top: -95px; }
/* la card parte dal contenitore e arriva fino al bordo destro dello schermo */
.hero-features {
  --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  margin-left: auto; margin-right: calc(var(--edge) * -1);
  width: calc(min(760px, 100%) + var(--edge));
  background: #fff; border-radius: 22px 0 0 22px; box-shadow: var(--shadow-strong);
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
  padding: 32px var(--edge) 32px 32px;
}
.hf-item { display: flex; gap: 18px; align-items: flex-start; }
.hf-ico {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 6px var(--green-soft);
}
.hf-ico svg { width: 34px; height: 34px; }
.hf-title { font-size: 22px; margin-bottom: 4px; color: var(--navy); }
.hf-item p { margin: 0; font-size: 15px; line-height: 1.6; }

/* ==========================================================
   CHI SIAMO
   ========================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-media { position: relative; min-height: 600px; }
.about-lines {
  position: absolute; left: 18%; top: 12%; width: 74%; aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: repeating-radial-gradient(circle, transparent 0 16px, rgba(122, 180, 42, .28) 16px 17px);
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 72%);
          mask-image: radial-gradient(circle, #000 55%, transparent 72%);
}
.about-img { position: absolute; overflow: hidden; z-index: 1; box-shadow: var(--shadow-strong); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-img-1 { left: 0; top: 0; width: 46%; height: 64%; border-radius: 200px 200px 22px 200px; }
.about-img-2 { right: 0; bottom: 0; width: 50%; height: 66%; border-radius: 200px 22px 200px 200px; border: 8px solid #fff; }
.about-img-2 img { object-position: 30% center; }
.about-seal {
  position: absolute; z-index: 2; right: 6%; top: 2%;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--blue); color: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px #fff, 0 0 0 10px var(--blue-light);
  line-height: 1.1; font-family: var(--font-head);
}
.about-seal svg { width: 28px; height: 28px; fill: none; color: #b9e07c; margin-bottom: 4px; }
.about-seal strong { font-size: 20px; font-weight: 700; }
.about-seal span { font-size: 15px; opacity: .85; }

.about-feature { display: flex; gap: 20px; margin: 28px 0; }
.af-ico {
  width: 62px; height: 62px; flex-shrink: 0; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 6px var(--green-soft);
}
.af-ico svg { width: 32px; height: 32px; }
.about-feature h3 { font-size: 22px; margin-bottom: 6px; }
.about-feature p { margin: 0; }
.about-bottom {
  display: flex; align-items: center; gap: 26px;
  padding: 26px 0; margin-bottom: 30px; border-top: 1px solid var(--border);
}
.about-bottom img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 5px solid var(--green-soft); }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 500; padding: 3px 0; }
.check-list .ico { color: var(--green-dark); font-size: 19px; }

/* ==========================================================
   SERVIZI
   ========================================================== */
.services { padding-inline: clamp(0px, 1vw, 14px); }
.services-box {
  border-radius: 34px; padding-block: clamp(70px, 8vw, 110px);
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(122, 180, 42, .2), transparent 70%),
    radial-gradient(ellipse 55% 70% at 100% 0%, rgba(10, 138, 200, .2), transparent 70%),
    linear-gradient(135deg, #f1f8ea 0%, #f4f9fd 55%, #e8f3fb 100%);
}
.services-box::before, .services-box::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 70px solid rgba(255, 255, 255, .45);
}
.services-box::before { width: 900px; height: 900px; left: -380px; bottom: -520px; }
.services-box::after { width: 700px; height: 700px; right: -300px; top: -380px; }
.services-box .container { position: relative; z-index: 1; }
.services-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px 60px; align-items: end; margin-bottom: 50px; }
.services-head .section-title { margin: 0; }
.services-head-side p { color: var(--navy); font-weight: 500; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border-radius: var(--radius); padding: 32px 30px 26px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--green), var(--blue-light));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-strong); }
.service-card:hover::after { transform: scaleX(1); }
.sc-ico {
  width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; margin-bottom: 28px; box-shadow: 0 0 0 7px var(--green-soft);
  transition: transform .6s var(--ease);
}
.service-card:hover .sc-ico { transform: rotateY(180deg); }
.sc-ico svg { width: 38px; height: 38px; fill: none; }
.service-card h3 { font-size: 23px; margin-bottom: 8px; }
.service-card p { flex: 1; margin-bottom: 22px; }
.sc-link {
  display: inline-flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border);
  font-weight: 600; color: var(--blue); min-height: 44px;
}
.sc-link .ico { font-size: 14px; transition: transform .3s; }
.sc-link:hover .ico { transform: rotate(45deg); }
.service-card-cta { background: linear-gradient(145deg, var(--blue) 0%, var(--navy) 100%); }
.service-card-cta h3 { color: #fff; }
.service-card-cta p { color: rgba(255, 255, 255, .88); }
.service-card-cta .sc-ico { background: #fff; color: var(--green-dark); box-shadow: 0 0 0 7px rgba(255, 255, 255, .18); }
.service-card-cta .sc-ico svg { width: 36px; height: 36px; fill: currentColor; }
.service-card-cta .sc-link { color: #fff; border-color: rgba(255, 255, 255, .2); }
.service-card-cta .sc-link:hover { color: #cfe8a6; }

/* ==========================================================
   PERCHE' ECOCLIMA
   ========================================================== */
.why { margin-top: clamp(70px, 9vw, 120px); position: relative; }
.why-band { position: relative; z-index: 2; }
.why-band::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50%; background: var(--blue); z-index: -1;
}
.why-band .container { padding-inline: 0; max-width: none; }
.why-band-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: linear-gradient(90deg, var(--green-dark) 0%, #5c9b20 100%);
  border-radius: 0 100px 100px 0;
  width: calc(100% - max(var(--gutter), (100vw - var(--container)) / 2));
  padding: 30px 60px 30px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.why-band-list li { display: flex; align-items: center; gap: 16px; color: #fff; }
.why-band-list strong { display: block; font-family: var(--font-head); font-size: 24px; line-height: 1.1; }
.why-band-list span span, .why-band-list li > span:last-child { font-size: 15px; line-height: 1.3; }
.wb-ico {
  width: 60px; height: 60px; flex-shrink: 0; border-radius: 50%; background: #fff; color: var(--green-dark);
  display: grid; place-items: center;
}
.wb-ico svg { width: 32px; height: 32px; }
.why-main {
  background-color: var(--blue);
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px),
    radial-gradient(ellipse at 100% 100%, rgba(10, 138, 200, .7), transparent 60%),
    linear-gradient(160deg, var(--blue) 0%, var(--navy) 100%);
  background-size: 16.66% 100%, auto, auto;
  padding: clamp(60px, 7vw, 90px) 0;
  color: rgba(255, 255, 255, .88);
}
.why-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.why-content .section-title { color: #fff; margin-bottom: 34px; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 30px; padding-bottom: 34px; margin-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.wf-item { display: flex; gap: 16px; }
.wf-ico {
  width: 54px; height: 54px; flex-shrink: 0; border-radius: 50%; background: #fff; color: var(--blue);
  display: grid; place-items: center;
}
.wf-ico svg { width: 30px; height: 30px; }
.wf-item h3 { color: #fff; font-size: 21px; margin-bottom: 6px; }
.wf-item p { margin: 0; font-size: 15px; line-height: 1.6; }
.why-media { position: relative; }
.why-media img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: var(--radius); }
.why-card {
  position: absolute; left: 18px; bottom: 18px;
  background: #fff; border-radius: 14px; padding: 14px 20px; display: flex; align-items: center; gap: 14px;
  box-shadow: var(--shadow-strong);
}
.why-card-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; }
.why-card-ico svg { width: 24px; height: 24px; fill: none; }
.why-card strong { display: block; color: var(--navy); font-family: var(--font-head); font-size: 19px; line-height: 1.1; }
.why-card div > span { display: block; font-size: 14px; line-height: 1.3; color: var(--text); }

/* ==========================================================
   AMBITI (slider)
   ========================================================== */
.works-slider { position: relative; }
.works-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-bottom: 6px; scrollbar-width: none;
}
.works-track::-webkit-scrollbar { display: none; }
.work-card { margin: 0; scroll-snap-align: start; }
.work-img { position: relative; border-radius: 30px 30px 0 30px; overflow: hidden; aspect-ratio: 4 / 4.9; }
.work-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work-card:hover .work-img img { transform: scale(1.08); }
.work-link {
  position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--green-dark); display: grid; place-items: center; font-size: 15px;
  transition: background .3s, color .3s;
}
.work-link:hover { background: var(--green-dark); color: #fff; }
.work-card figcaption {
  background: var(--green-soft); border-radius: 0 0 30px 30px; padding: 16px 22px 18px; margin-top: 10px;
}
.work-card figcaption span { display: block; color: var(--green-dark); font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; }
.work-card figcaption strong { font-family: var(--font-head); color: var(--navy); font-size: 22px; font-weight: 700; }
.works-arrow {
  position: absolute; top: 40%; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--green-dark); color: #fff; display: grid; place-items: center; font-size: 18px;
  box-shadow: 0 6px 18px rgba(71, 129, 26, .35); transition: background .3s, opacity .3s;
}
.works-arrow:hover { background: var(--navy); }
.works-arrow[disabled] { opacity: .35; cursor: default; }
.works-prev { left: -22px; }
.works-next { right: -22px; }

/* ==========================================================
   MARQUEE
   ========================================================== */
.marquee { background: var(--blue-light); overflow: hidden; padding: 16px 0; }
.marquee-track {
  display: flex; align-items: center; gap: 36px; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track span { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); color: #fff; white-space: nowrap; letter-spacing: .5px; }
.marquee-track .ico { font-size: 30px; color: #d9efb6; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   COME LAVORIAMO
   ========================================================== */
.process-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.process-intro .section-title { font-size: clamp(32px, 4.2vw, 48px); }
.process-intro p { margin-bottom: 30px; max-width: 480px; }
.process-steps { display: grid; gap: 20px; }
.step {
  position: relative; display: flex; gap: 24px; align-items: flex-start;
  background: var(--bg-light); border-radius: var(--radius); padding: 28px 30px; overflow: hidden;
  transition: background .4s, transform .4s var(--ease);
}
.step:hover { background: var(--green-soft); transform: translateX(6px); }
.step-ico {
  width: 76px; height: 76px; flex-shrink: 0; border-radius: 50%; background: #fff; color: var(--blue);
  display: grid; place-items: center; border: 3px solid var(--green);
}
.step-ico svg { width: 38px; height: 38px; }
.step h3 { font-size: 23px; margin-bottom: 6px; position: relative; z-index: 1; }
.step p { margin: 0; position: relative; z-index: 1; }
.step-num {
  position: absolute; right: 22px; top: 8px; font-family: var(--font-head); font-weight: 800; font-size: 64px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(122, 180, 42, .45);
}

/* ==========================================================
   CONTATTI
   ========================================================== */
.contact { background: var(--bg-light); position: relative; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; width: 640px; height: 640px; right: -260px; top: -260px; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 18px, rgba(10, 138, 200, .12) 18px 19px);
}
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 70px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 28px 0; }
.contact-list li {
  display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow);
}
.cl-ico { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.cl-ico svg { width: 24px; height: 24px; fill: none; }
.cl-ico.cl-wa { background: #25d366; }
.cl-ico.cl-wa svg { fill: currentColor; width: 26px; height: 26px; }
.contact-list li div { min-width: 0; }
.contact-list div > span { display: block; font-size: 14px; }
.contact-list a, .contact-list address { display: block; color: var(--navy); font-weight: 600; font-size: 17px; overflow-wrap: anywhere; line-height: 1.4; }
.contact-list a { padding-block: 10px; margin-block: -10px; }
.contact-list a:hover { color: var(--green-dark); }
.contact-map {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 16 / 9; border: 6px solid #fff;
}
.contact-map img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.contact-map:hover img { transform: scale(1.05); }
.map-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%);
  width: 52px; height: 52px; border-radius: 50% 50% 50% 0; rotate: -45deg; background: var(--green-dark);
  display: grid; place-items: center; box-shadow: 0 8px 18px rgba(0, 0, 0, .25);
}
.map-pin svg { width: 26px; height: 26px; fill: none; color: #fff; rotate: 45deg; }
.map-pin::after {
  content: ""; position: absolute; width: 16px; height: 16px; border-radius: 50%; left: -4px; bottom: -4px;
  background: rgba(71, 129, 26, .35); animation: pulse 2s ease-out infinite;
}
@keyframes pulse { from { box-shadow: 0 0 0 0 rgba(71, 129, 26, .5); } to { box-shadow: 0 0 0 22px rgba(71, 129, 26, 0); } }
.map-label {
  position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--navy); font-weight: 600; font-size: 14px;
  padding: 8px 14px; border-radius: 40px; display: inline-flex; align-items: center; gap: 8px; box-shadow: var(--shadow);
}
.map-credit { position: absolute; right: 8px; bottom: 6px; font-size: 10px; color: #333; background: rgba(255, 255, 255, .75); padding: 0 5px; border-radius: 3px; }

.contact-form {
  background: #fff; border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-strong);
  position: relative; overflow: hidden;
}
.contact-form::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: var(--green-soft);
}
.contact-form > * { position: relative; }
.contact-form h3 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 4px; }
.form-intro { font-size: 14px; margin-bottom: 22px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-weight: 500; color: var(--navy); font-size: 15px; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--navy);
  background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px;
  padding: 12px 16px; min-height: 50px; transition: border-color .3s, box-shadow .3s, background .3s;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--blue-light); background: #fff; box-shadow: 0 0 0 4px rgba(10, 138, 200, .15);
}
.is-invalid input, .is-invalid textarea { border-color: #c62828; }
.field-error { display: block; color: #c62828; font-size: 13px; min-height: 0; margin-top: 4px; }
.field-error:empty { display: none; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; margin: 6px 0 14px; font-size: 13.5px; line-height: 1.55; }
.form-check + .form-check { margin-bottom: 24px; }
.form-check .privacy { font-weight: 600; text-decoration: underline; }
.form-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green-dark); cursor: pointer; }
.form-check label { cursor: pointer; }
.form-check .field-error { grid-column: 2; margin: 0; }
.btn-submit { width: 100%; }
.form-recaptcha { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--text); }
.form-recaptcha a { text-decoration: underline; }
/* badge reCAPTCHA v3 nascosto: l'avviso obbligatorio è sotto il pulsante */
.grecaptcha-badge { visibility: hidden; }

/* popup SweetAlert2 */
.eco-swal { border-radius: var(--radius); font-family: inherit; padding: 2rem 1.5rem 1.8rem; }
.eco-swal .swal2-title { font-family: var(--font-head); color: var(--navy); font-size: 28px; font-weight: 700; }
.eco-swal .swal2-html-container { font-size: 16px; line-height: 1.6; }
.eco-swal .swal2-actions .btn { margin-top: 6px; }

/* ==========================================================
   CTA
   ========================================================== */
.cta { padding-block: clamp(70px, 9vw, 110px); }
.contact + .cta { padding-top: clamp(40px, 5vw, 64px); }
.cta-box {
  position: relative; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 40px;
  border-radius: 36px; overflow: hidden; padding: clamp(36px, 5vw, 60px);
  background:
    radial-gradient(circle at 100% 0%, rgba(122, 180, 42, .35), transparent 45%),
    linear-gradient(120deg, var(--blue) 0%, var(--blue-light) 100%);
}
.cta-box::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-radial-gradient(circle at 0% 100%, transparent 0 40px, rgba(255, 255, 255, .06) 40px 42px);
}
.cta-content { position: relative; }
.cta-content h2 { color: #fff; font-size: clamp(30px, 4vw, 48px); margin-bottom: 14px; }
.cta-content p { color: rgba(255, 255, 255, .92); font-size: 17px; margin-bottom: 28px; max-width: 520px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-media { position: relative; }
.cta-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 200px 24px 24px 24px; border: 8px solid rgba(255, 255, 255, .25); }

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  color: rgba(245, 250, 255, .85); font-size: 15px;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(10, 138, 200, .45), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(122, 180, 42, .18), transparent 50%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.site-footer a { color: rgba(245, 250, 255, .9); }
.site-footer a:hover { color: #b9e07c; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  padding: 50px 0 40px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-logo { background: #fff; border-radius: 16px; padding: 10px 18px; display: inline-block; }
.footer-logo img { height: 66px; width: auto; }
.footer-contacts { display: flex; flex-wrap: wrap; gap: 20px 40px; }
.footer-contacts li { display: flex; align-items: center; gap: 12px; }
.fc-ico { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--green-dark); color: #fff; display: grid; place-items: center; }
.fc-ico svg { width: 23px; height: 23px; fill: none; }
.footer-contacts li:first-child .fc-ico svg { fill: currentColor; }
.footer-contacts strong { display: block; color: #fff; font-family: var(--font-head); font-size: 17px; line-height: 1.2; }
.footer-contacts a, .footer-contacts div > span { display: block; font-size: 15px; overflow-wrap: anywhere; }
.footer-contacts a { padding-block: 10px; margin-block: -10px; }
.topbar-right a { min-height: 30px; }
.form-check input { width: 24px; height: 24px; }
.footer-mid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding: 50px 0; }
.footer-about p { max-width: 440px; margin-bottom: 24px; }
.footer-col h3 { color: #fff; font-size: 22px; margin-bottom: 22px; position: relative; padding-bottom: 10px; }
.footer-col h3::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--green); }
.footer-col li { margin-bottom: 4px; }
.footer-col a { display: inline-flex; align-items: center; min-height: 34px; transition: color .3s, padding .3s; }
.footer-col a:hover { padding-left: 6px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 30px;
  padding: 24px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px;
  padding-right: 84px; padding-bottom: 64px; /* spazio per WhatsApp / torna su a destra e badge cookie a sinistra */
}
.footer-bottom p { margin: 0; }
.credits { color: rgba(245, 250, 255, .75); }

/* ==========================================================
   PAGINE DI ERRORE (404 / 500)
   ========================================================== */
.error-body { min-height: 100vh; display: flex; flex-direction: column; }
.error-page {
  flex: 1; position: relative; overflow: hidden; color: #fff; text-align: center;
  display: flex; align-items: center; padding: clamp(60px, 9vw, 110px) 0;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(10, 138, 200, .55), transparent 55%),
    radial-gradient(ellipse at 10% 95%, rgba(122, 180, 42, .22), transparent 50%),
    linear-gradient(160deg, var(--blue) 0%, var(--navy-deep) 100%);
}
.error-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.error-code {
  margin: 18px 0 6px; font-family: var(--font-head); font-weight: 800; line-height: .9; letter-spacing: 4px;
  font-size: clamp(110px, 24vw, 230px); color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .6);
}
@supports not (-webkit-text-stroke: 1px #fff) { .error-code { color: rgba(255, 255, 255, .25); } }
.error-title { color: #fff; font-size: clamp(30px, 4.4vw, 48px); max-width: 760px; }
.error-text { max-width: 620px; font-size: 17px; color: rgba(255, 255, 255, .88); margin: 0 0 32px; }
.error-btns { justify-content: center; }
.error-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; margin-top: 36px; }
.error-links a { color: #fff; font-weight: 500; display: inline-flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; }
.error-links a:hover { color: #b9e07c; }
.error-body .footer-bottom { border-top: 0; }
@media (max-width: 575px) {
  .error-nav-cta { display: none; }
  .error-btns { width: 100%; }
  .error-btns .btn { width: 100%; }
}
.credits_link {
  color: #38B5E6 !important;
  font-weight: 700;
  font-family: sans-serif;
}
.credits_link:hover {
  color: #fff !important;
}
.credits_link:before {
  content: "";
  vertical-align: middle;
  width: 16px;
  height: 16px;
  display: inline-block;
  margin-right: 5px;
  margin-left: 5px;
  background-image: url(https://www.clion.it/favicon-96x96.png);
  background-repeat: no-repeat;
  -webkit-background-size: contain;
  background-size: contain;
  background-position: center center;
  transition: all 450ms ease;
}
.credits_link:hover:before {
  transform: rotateZ(360deg) rotateY(360deg);
}

/* ---------- Floating ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 25px rgba(37, 211, 102, .45);
  transition: transform .3s;
}
.wa-float svg { width: 32px; height: 32px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { from { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } to { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } }
.to-top {
  position: fixed; right: 27px; bottom: 92px; z-index: 89;
  width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 16px;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background .3s;
}
.to-top .ico { transform: rotate(-45deg); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-dark); color: #fff; }

/* ---------- Animazioni reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1279px) {
  .hero-badge { right: 12%; }
  .hero { padding-bottom: 190px; }
  .hero-nav { inset: auto auto 112px var(--gutter); display: flex; gap: 10px; }
  .hero-arrow, .hero-arrow[data-dir="-1"], .hero-arrow[data-dir="1"] { position: static; }
  .works-track { grid-auto-columns: calc((100% - 48px) / 3); }
  .works-prev { left: -10px; }
  .works-next { right: -10px; }
}

@media (max-width: 1199px) {
  .topbar-addr { display: none !important; }
  .why-band-list { grid-template-columns: repeat(2, 1fr); border-radius: 0 60px 60px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-media { min-height: 540px; }
}

/* Menu mobile sotto 1024px */
@media (max-width: 1023px) {
  :root { --header-h: 86px; }
  .brand img { height: 66px; }
  .navbar.is-sticky .navbar-inner { height: 70px; }
  .navbar.is-sticky .brand img { height: 52px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0;
    background: #fff; padding: 20px var(--gutter) 40px; overflow-y: auto; overscroll-behavior: contain;
    transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s;
    border-top: 1px solid var(--border);
  }
  .main-nav.is-open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul a { display: flex; align-items: center; min-height: 54px; font-size: 19px; font-family: var(--font-head); font-weight: 600; border-bottom: 1px solid var(--border); width: 100%; }
  .main-nav > ul a::after { display: none; }
  .mobile-nav-extra { display: grid; gap: 14px; margin-top: 28px; }
  .mobile-contact { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 500; min-height: 44px; overflow-wrap: anywhere; }
  .mobile-contact .ico { font-size: 20px; color: var(--green-dark); }

  .hero { padding: 80px 0 180px; min-height: 0; }
  .hero-badge { display: none; }

  .about-grid, .why-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 620px; width: 100%; margin: 0 auto; min-height: 0; aspect-ratio: 1 / .95; }
  .services-head { grid-template-columns: 1fr; align-items: start; }
  .why-media { max-width: 560px; }
  .why-media img { aspect-ratio: 4 / 3.4; }
  .cta-box { grid-template-columns: 1fr; }
  .cta-media img { aspect-ratio: 16 / 9; border-radius: 120px 24px 24px 24px; }
  .footer-mid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .topbar { display: none; }
  .hero { padding: 70px 0 130px; }
  .hero-nav { display: none; }
  .hero-features { grid-template-columns: 1fr; gap: 22px; padding: 26px 22px; width: 100%; margin-right: 0; border-radius: 22px; }
  .hero-features-wrap { margin-top: -80px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-box { border-radius: 24px; }
  .why-band-list { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 24px var(--gutter); border-radius: 0 40px 40px 0; width: calc(100% - var(--gutter)); }
  .why-band-list strong { font-size: 20px; }
  .wb-ico { width: 48px; height: 48px; }
  .wb-ico svg { width: 26px; height: 26px; }
  .why-features { grid-template-columns: 1fr; gap: 24px; }
  .works-track { grid-auto-columns: calc((100% - 20px) / 2); gap: 20px; }
  .works-arrow { top: 36%; width: 44px; height: 44px; }
  .works-prev { left: -8px; }
  .works-next { right: -8px; }
  .step { padding: 24px 20px; gap: 18px; }
  .step-ico { width: 62px; height: 62px; }
  .step-ico svg { width: 30px; height: 30px; }
  .step-num { font-size: 48px; right: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-contacts { flex-direction: column; gap: 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 575px) {
  .section-title { font-size: clamp(27px, 7.4vw, 34px); }
  .hero-title { font-size: clamp(31px, 8.6vw, 40px); }
  .hero-tag { font-size: 13px; letter-spacing: 2px; }
  .hero-checks { gap: 10px 22px; margin: 20px 0 28px; }
  .hero-checks li { font-size: 16px; }
  .hero-btns .btn, .cta-btns .btn { width: 100%; }
  .about-media { aspect-ratio: 1 / 1.05; }
  .about-seal { width: 112px; height: 112px; right: 2%; box-shadow: 0 0 0 6px #fff, 0 0 0 8px var(--blue-light); }
  .about-seal strong { font-size: 16px; }
  .about-seal svg { width: 22px; height: 22px; }
  .about-bottom { flex-direction: column; align-items: flex-start; gap: 18px; }
  .about-feature { gap: 16px; }
  .af-ico { width: 54px; height: 54px; }
  .why-band-list { grid-template-columns: 1fr; }
  .works-track { grid-auto-columns: 82%; gap: 16px; }
  .works-arrow { display: none; }
  .step { flex-direction: column; }
  .contact-list li { padding: 12px 14px; }
  .contact-list a, .contact-list address { font-size: 16px; }
  .map-label { font-size: 13px; }
  .footer-mid { grid-template-columns: 1fr; gap: 32px; }
  .cta-box { border-radius: 26px; }
  .cta-media img { border-radius: 80px 20px 20px 20px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 21px; bottom: 82px; }
  .footer-bottom { padding-right: 76px; }
}

/* Smartphone in orizzontale / schermi bassi */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --header-h: 66px; }
  .topbar { display: none; }
  .brand img { height: 52px; }
  .navbar.is-sticky .navbar-inner { height: 58px; }
  .navbar.is-sticky .brand img { height: 44px; }
  .nav-toggle { width: 46px; height: 46px; }
  .hero-nav { display: none; }
  .hero { min-height: 0; padding: 50px 0 120px; }
  .hero-title { font-size: clamp(28px, 4.6vw, 40px); }
  .hero-checks { margin: 16px 0 22px; }
  .hero-badge { display: none; }
  .main-nav > ul a { min-height: 46px; }
  .about-media { max-width: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
