/* ==========================================================================
   GDLA Group Srls — foglio di stile unico
   Palette dal logo: blu GDLA (30%) · foglia lime (10%, solo azioni) · carta chiara (60%)
   Font self-hosted: Bricolage Grotesque (titoli) · Instrument Serif corsivo (accenti) · Inter (testo)
   Progettato da Royaletiger
   ========================================================================== */

/* ---------- Font locali (niente richieste a terzi) ---------- */
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../fonts/bricolage-grotesque-var.woff2') format('woff2');
  font-weight: 500 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../fonts/instrument-serif-italic.woff2') format('woff2');
  font-weight: 400; font-style: italic; font-display: swap;
}

/* ---------- Design system ---------- */
:root {
  /* blu del marchio */
  --navy-950: #061328;
  --navy-900: #0A1F3D;
  --navy-800: #0F2A50;
  --navy-700: #173A69;
  --brand:    #0B3A78;
  /* foglia: riservata alle azioni */
  --leaf:       #B4CC34;
  --leaf-hover: #C6DC4A;
  --leaf-600:   #93AA22;
  --leaf-ink:   #4B5F10;
  --leaf-soft:  #EEF3D6;
  /* tricolore del logo (solo dettaglio) */
  --it-green: #009246;
  --it-red:   #CE2B37;
  /* neutri */
  --ink:   #0B1B33;
  --text:  #33435A;
  --muted: #5E6B7D;
  --bg:      #F6F7F2;
  --bg-alt:  #ECEFE3;
  --surface: #FFFFFF;
  --line:    #DCE1D2;
  --line-dark: rgba(255, 255, 255, .12);
  --on-dark:   rgba(255, 255, 255, .74);

  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-serif:   'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px rgba(11, 27, 51, .06), 0 2px 8px rgba(11, 27, 51, .05);
  --shadow-md: 0 10px 30px -10px rgba(11, 27, 51, .18);
  --shadow-lg: 0 30px 70px -20px rgba(6, 19, 40, .35);
  --radius:    16px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --container: 1240px;
  --nav-h: 104px;
  --nav-h-scrolled: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--leaf); color: var(--navy-900); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.028em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -.04em; line-height: .98; }
h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -.02em; line-height: 1.2; }
h4 { font-size: 1rem; letter-spacing: 0; }

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.01em;
}
.on-dark .serif, .section-dark .serif, .hero .serif, .page-hero .serif { color: var(--leaf); }
.section .serif { color: var(--leaf-ink); }
.section-dark .serif { color: var(--leaf); }
.cta-final .serif, .pa-band .serif, .aside-card .serif { color: var(--leaf); }

.container { width: min(100% - clamp(40px, 6vw, 96px), var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 40px, 780px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--leaf); color: var(--navy-900);
  padding: 10px 18px; border-radius: 999px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--leaf-ink);
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: currentColor;
}
.section-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .on-dark .eyebrow { color: var(--leaf); }

.lead { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.65; color: var(--text); }

/* ---------- Bottoni ---------- */
.btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 600; font-size: 1rem; line-height: 1.2;
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease),
              transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { --btn-bg: var(--leaf); --btn-fg: var(--navy-900); --btn-bd: var(--leaf);
  box-shadow: 0 10px 30px -10px rgba(180, 204, 52, .65); }
.btn-primary:hover { --btn-bg: var(--leaf-hover); --btn-bd: var(--leaf-hover);
  box-shadow: 0 16px 40px -12px rgba(180, 204, 52, .8); transform: translateY(-2px); }

.btn-ghost { --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .32); --btn-bg: rgba(255, 255, 255, .04);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { --btn-bd: #fff; --btn-bg: rgba(255, 255, 255, .1); }

.btn-outline { --btn-fg: var(--ink); --btn-bd: rgba(11, 27, 51, .22); }
.btn-outline:hover { --btn-bd: var(--ink); --btn-bg: var(--ink); --btn-fg: #fff; }

.btn-dark { --btn-bg: var(--navy-900); --btn-fg: #fff; --btn-bd: var(--navy-900); }
.btn-dark:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); transform: translateY(-2px); }

.btn-lg { min-height: 62px; padding: 0 32px; font-size: 1.06rem; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: .94rem; }

.btn-icon {
  width: 30px; height: 30px; border-radius: 50%;
  display: inline-grid; place-items: center;
  background: var(--navy-900); color: var(--leaf);
  margin-right: -14px;
}
.btn-icon svg { width: 15px; height: 15px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--leaf-ink);
  border-bottom: 1.5px solid transparent;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { gap: 12px; border-color: currentColor; }
.section-dark .link-arrow, .on-dark .link-arrow, .map-card .link-arrow, .page-hero .link-arrow { color: var(--leaf); }

.cta-note {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: .9rem; color: var(--muted); margin-top: 16px;
}
.cta-note { gap: 6px 22px; }
.cta-note > span { display: inline-flex; align-items: center; gap: 8px; }
.cta-note svg { width: 16px; height: 16px; color: var(--leaf-600); }
.section-dark .cta-note, .hero .cta-note, .on-dark .cta-note { color: var(--on-dark); }
.hero .cta-note svg, .section-dark .cta-note svg { color: var(--leaf); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  color: #fff;
  transition: height .45s var(--ease), background .45s var(--ease), box-shadow .45s var(--ease),
              border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  height: var(--nav-h-scrolled);
  background: rgba(6, 19, 40, .82);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  backdrop-filter: saturate(160%) blur(16px);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 12px 40px -18px rgba(0, 0, 0, .5);
}
/* REGOLA CRITICA (SKILL FASE 5-bis): col menu aperto niente sfocatura,
   altrimenti il pannello fixed si ancora all'header e non allo schermo */
.site-header.has-menu-open {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: var(--navy-950);
}

.nav-inner { display: flex; align-items: center; gap: 28px; height: 100%; }

.nav-brand { flex: none; display: block; position: relative; z-index: 3; }
.nav-brand img {
  width: auto; height: 84px;
  transition: height .45s var(--ease);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .25));
}
.site-header.scrolled .nav-brand img { height: 60px; }

.nav { margin-left: auto; }
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu > li > a:not(.btn) {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 10px 14px;
  font-size: .96rem; font-weight: 500;
  color: rgba(255, 255, 255, .86);
  border-radius: 999px;
  transition: color .3s var(--ease), background .3s var(--ease);
}
.nav-menu > li > a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--leaf); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.nav-menu > li > a:not(.btn):hover { color: #fff; }
.nav-menu > li > a:not(.btn):hover::after,
.nav-menu > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav-menu > li > a[aria-current="page"] { color: #fff; }
.nav-menu .nav-cta { margin-left: 10px; }
.nav-menu .nav-extra { display: none; }

.nav-phone {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .96rem; color: #fff;
  padding-left: 22px; border-left: 1px solid var(--line-dark);
  white-space: nowrap; position: relative; z-index: 3;
}
.nav-phone-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.nav-phone-icon svg { width: 16px; height: 16px; }
.nav-phone:hover .nav-phone-icon { background: var(--leaf); border-color: var(--leaf); color: var(--navy-900); }
.nav-phone small { display: block; font-weight: 500; font-size: .72rem; color: var(--on-dark); letter-spacing: .04em; line-height: 1.2; }
.nav-phone span { line-height: 1.25; }

/* hamburger (dal modello menu.css, adattato a fondo scuro) */
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  position: relative; z-index: 3;
}
.nav-toggle span {
  display: block; width: 20px; height: 1.8px; border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* blocco pagina col menu aperto (modello menu.css) */
body.is-locked {
  position: fixed; width: 100%; overflow: hidden;
  top: var(--scroll-lock-top, 0);
  overflow-anchor: none;
}
.nav-overlay { display: none; }

@media (max-width: 1180px) {
  .nav-phone small { display: none; }
  .nav-phone .nav-phone-num { display: none; }
  .nav-phone { padding-left: 14px; }
  .nav-menu > li > a:not(.btn) { padding: 10px 11px; }
  .nav-inner { gap: 18px; }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .nav-menu .nav-cta { display: none; }
}

@media (max-width: 900px) {
  :root { --nav-h: 86px; --nav-h-scrolled: 70px; }
  .nav-brand img { height: 66px; }
  .site-header.scrolled .nav-brand img { height: 52px; }
  .nav-toggle { display: flex; }
  .nav-phone { margin-left: auto; border-left: 0; padding-left: 0; }

  .nav-overlay {
    display: block;
    position: fixed; inset: 0; z-index: 89;
    background: rgba(3, 10, 22, .6);
    -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
    border: 0; padding: 0; cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: opacity .38s var(--ease), visibility 0s linear .38s;
  }
  .nav-overlay.is-open {
    opacity: 1; visibility: visible;
    transition: opacity .38s var(--ease), visibility 0s linear 0s;
  }

  .nav-menu {
    position: fixed; inset: 0 0 0 auto; z-index: 2;
    width: min(88vw, 380px);
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(180, 204, 52, .14), transparent 60%),
      var(--navy-950);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0;
    padding: 94px 22px 28px;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .42s var(--ease), visibility 0s linear .42s;
  }
  .nav-menu.is-open {
    transform: none;
    visibility: visible;
    transition: transform .42s var(--ease), visibility 0s linear 0s;
  }
  .nav-menu > li > a:not(.btn) {
    display: flex; padding: 9px 14px;
    font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.4;
    border-radius: 14px;
  }
  .nav-menu > li > a:not(.btn)::after { display: none; }
  .nav-menu > li > a[aria-current="page"] { background: rgba(255, 255, 255, .06); color: var(--leaf); }
  .nav-menu .nav-cta { margin: 14px 0 0; }
  .nav-menu .nav-cta .btn { width: 100%; }
  .nav-menu .nav-extra {
    display: grid; gap: 2px;
    margin-top: 18px; padding-top: 14px;
    border-top: 1px solid var(--line-dark);
    font-size: .95rem; color: var(--on-dark);
  }
  .nav-extra a { display: flex; align-items: center; gap: 10px; padding: 7px 4px; font-size: .92rem; }
  .nav-extra svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }
}
@media (max-width: 480px) {
  :root { --nav-h: 78px; }
  .nav-brand img { height: 58px; }
  .nav-phone-icon { width: 44px; height: 44px; }
}

/* ==========================================================================
   HERO HOME
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 140px;
  background: var(--navy-950);
  color: #fff;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 8% 92%, rgba(180, 204, 52, .22), transparent 60%),
    linear-gradient(95deg, rgba(6, 19, 40, .97) 0%, rgba(6, 19, 40, .88) 40%, rgba(6, 19, 40, .6) 70%, rgba(6, 19, 40, .5) 100%),
    linear-gradient(180deg, rgba(6, 19, 40, .55) 0%, transparent 28%, transparent 70%, rgba(6, 19, 40, .9) 100%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr);
  gap: clamp(32px, 5vw, 80px); align-items: end;
}
.hero h1 { color: #fff; margin-bottom: 26px; }
.hero h1 .serif { font-size: 1.06em; line-height: .9; }
.hero .lead { color: rgba(255, 255, 255, .8); max-width: 600px; margin-bottom: 34px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px 8px 10px; margin-bottom: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: .86rem; font-weight: 500; color: rgba(255, 255, 255, .88);
}
.pulse {
  position: relative; width: 10px; height: 10px; border-radius: 50%;
  background: var(--leaf); flex: none;
}
.pulse::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%;
  border: 2px solid var(--leaf);
  animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.tricolore { display: inline-flex; height: 10px; width: 18px; border-radius: 2px; overflow: hidden; flex: none; }
.tricolore i { flex: 1; }
.tricolore i:nth-child(1) { background: var(--it-green); }
.tricolore i:nth-child(2) { background: #fff; }
.tricolore i:nth-child(3) { background: var(--it-red); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 14px 30px;
  margin-top: 44px; padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  list-style: none;
}
.hero-trust li { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: rgba(255, 255, 255, .82); line-height: 1.35; }
.hero-trust b { display: block; color: #fff; font-weight: 600; font-size: .98rem; }
.hero-trust .ico {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: rgba(180, 204, 52, .12); color: var(--leaf);
  border: 1px solid rgba(180, 204, 52, .25);
}
.hero-trust .ico svg { width: 20px; height: 20px; }

/* card "cosa controlliamo nella tua bolletta" */
.bill-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(23, 58, 105, .62), rgba(6, 19, 40, .72));
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.bill-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bill-card-head p { margin: 0; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); font-weight: 600; }
.bill-card h2 { color: #fff; font-size: 1.55rem; margin: 0 0 18px; }
.bill-badge {
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px; background: var(--leaf); color: var(--navy-900);
}
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(6, 19, 40, .38);
  border: 1px solid rgba(255, 255, 255, .08);
  font-size: .95rem; color: rgba(255, 255, 255, .9); line-height: 1.35;
}
.check-dot {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--leaf); color: var(--navy-900);
}
.check-dot svg { width: 14px; height: 14px; }
html.js .bill-card .check-list li { opacity: 0; transform: translateX(14px); }
html.js .bill-card.is-visible .check-list li {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
html.js .bill-card.is-visible .check-list li:nth-child(1) { transition-delay: .25s; }
html.js .bill-card.is-visible .check-list li:nth-child(2) { transition-delay: .4s; }
html.js .bill-card.is-visible .check-list li:nth-child(3) { transition-delay: .55s; }
html.js .bill-card.is-visible .check-list li:nth-child(4) { transition-delay: .7s; }
.bill-card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 18px; border-top: 1px dashed rgba(255, 255, 255, .2);
  font-size: .9rem; color: var(--on-dark);
}
.bill-card-foot strong { color: #fff; font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.02em; }

/* filo dell'energia (dal cavo del logo) */
.hero-cord {
  position: absolute; left: 0; right: 0; bottom: 64px; z-index: -1;
  width: 100%; height: 160px; pointer-events: none; color: var(--leaf); opacity: .55;
}
.hero-cord path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: cord 3.2s .4s var(--ease) forwards; }
@keyframes cord { to { stroke-dashoffset: 0; } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 88px; transform: translateX(-50%);
  width: 28px; height: 44px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, .35);
  display: none;
}

/* ---------- nastro servizi ---------- */
.marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: var(--leaf); color: var(--navy-900);
  overflow: hidden; padding: 18px 0;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  letter-spacing: -.01em;
}
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee ul { display: flex; align-items: center; list-style: none; }
.marquee li { display: flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; }
.marquee li svg { width: 20px; height: 20px; flex: none; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   PAGE HERO (pagine interne)
   ========================================================================== */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(460px, 64vh, 640px);
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 60px) 0 clamp(56px, 8vw, 96px);
  background: var(--navy-950); color: #fff;
}
.page-hero .hero-media img { object-position: 50% 50%; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 80% at 0% 100%, rgba(180, 204, 52, .2), transparent 60%),
    linear-gradient(90deg, rgba(6, 19, 40, .95) 0%, rgba(6, 19, 40, .78) 50%, rgba(6, 19, 40, .45) 100%),
    linear-gradient(180deg, rgba(6, 19, 40, .6) 0%, transparent 40%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.6rem); max-width: 16ch; }
.page-hero .lead { color: rgba(255, 255, 255, .8); max-width: 640px; margin: 0; }
.page-hero--plain { min-height: clamp(380px, 48vh, 480px); }
.page-hero--plain::before {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(180, 204, 52, .16), transparent 60%),
    radial-gradient(50% 80% at 0% 100%, rgba(23, 58, 105, .9), transparent 70%),
    var(--navy-950);
}
.page-hero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: end; }
.page-hero-aside { justify-self: end; }

.breadcrumb { margin-bottom: 26px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; list-style: none; font-size: .88rem; color: var(--on-dark); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb a:hover { color: var(--leaf); }
.breadcrumb [aria-current="page"] { color: #fff; }

/* ==========================================================================
   SEZIONI
   ========================================================================== */
.section { padding: clamp(84px, 10vw, 150px) 0; position: relative; }
.section-tight { padding: clamp(64px, 7vw, 100px) 0; }
.section-alt { background: var(--bg-alt); }
.section-white { background: var(--surface); }
.section-dark { background: var(--navy-900); color: var(--on-dark); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .lead { color: var(--on-dark); }

.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { margin-bottom: 18px; }
.section-head p:last-child { margin-bottom: 0; }
.section-head--split {
  max-width: none;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end;
}
.section-head--split h2 { margin: 0; }

/* ---------- Painpoint ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card {
  position: relative;
  padding: 36px 32px 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.pain-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.pain-num {
  font-family: var(--font-serif); font-style: italic; font-size: 3.4rem; line-height: 1;
  color: var(--leaf-600); display: block; margin-bottom: 18px;
}
.pain-card h3 { margin-bottom: 12px; }
.pain-card p { margin: 0; color: var(--muted); }
.pain-answer {
  margin-top: 26px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  padding: 26px 30px;
  border-radius: var(--radius-lg);
  background: var(--navy-900); color: var(--on-dark);
}
.pain-answer-ico {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--leaf); color: var(--navy-900);
}
.pain-answer-ico svg { width: 26px; height: 26px; }
.pain-answer p { margin: 0; font-size: 1.08rem; }
.pain-answer strong { color: #fff; font-weight: 600; }

/* ---------- Bento servizi ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(250px, auto);
  gap: 18px;
}
.tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tile h3 { margin-bottom: 10px; }
.tile p { margin: 0; color: var(--muted); font-size: 1rem; }
.tile .tile-link {
  position: absolute; top: 26px; right: 26px;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg); color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.tile .tile-link svg { width: 20px; height: 20px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.tile:hover .tile-link { background: var(--leaf); color: var(--navy-900); }
.tile:hover .tile-link svg { transform: rotate(0); }
.tile-tag {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--leaf-ink); margin-bottom: auto; padding-bottom: 26px;
}
.tile-ico {
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: auto;
  display: grid; place-items: center;
  background: var(--leaf-soft); color: var(--leaf-ink);
}
.tile-ico svg { width: 28px; height: 28px; }
.tile-ico + h3 { margin-top: 30px; }

.tile--photo { color: #fff; border: 0; background: var(--navy-900); min-height: 340px; }
.tile--photo img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.tile--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 19, 40, .05) 20%, rgba(6, 19, 40, .55) 55%, rgba(6, 19, 40, .94) 100%);
}
.tile--photo:hover img { transform: scale(1.06); }
.tile--photo h3 { color: #fff; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.tile--photo p { color: rgba(255, 255, 255, .8); max-width: 46ch; }
.tile--photo .tile-tag {
  color: #fff; padding: 7px 13px; margin-bottom: auto; border-radius: 999px;
  background: rgba(6, 19, 40, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.tile--photo .tile-tag svg { width: 15px; height: 15px; color: var(--leaf); }
.tile--photo .tile-tag + .tile-link + h3 { margin-top: 26px; }
.tile--photo .tile-link { background: rgba(255, 255, 255, .14); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

.tile--dark { background: var(--navy-900); border-color: var(--navy-900); }
.tile--dark h3 { color: #fff; }
.tile--dark p { color: var(--on-dark); }
.tile--dark .tile-ico { background: rgba(180, 204, 52, .14); color: var(--leaf); }
.tile--dark .tile-link { background: rgba(255, 255, 255, .08); color: #fff; }

.tile--leaf { background: var(--leaf); border-color: var(--leaf); }
.tile--leaf h3, .tile--leaf p { color: var(--navy-900); }
.tile--leaf .tile-ico { background: rgba(10, 31, 61, .1); color: var(--navy-900); }
.tile--leaf .tile-link { background: var(--navy-900); color: var(--leaf); }
.tile--leaf:hover .tile-link { background: var(--navy-900); color: #fff; }

.span-7 { grid-column: span 7; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; } .span-8 { grid-column: span 8; }
.row-2 { grid-row: span 2; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 18px; }
.chips li {
  font-size: .86rem; font-weight: 500; padding: 7px 13px; border-radius: 999px;
  background: var(--bg); border: 1px solid var(--line); color: var(--ink);
}
.tile--dark .chips li { background: rgba(255, 255, 255, .06); border-color: var(--line-dark); color: #fff; }

/* ---------- Sezione fotovoltaico ---------- */
.solar { overflow: hidden; }
.solar::after {
  content: ""; position: absolute; right: -20%; top: -30%; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgba(180, 204, 52, .16), transparent);
  pointer-events: none;
}
.solar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; position: relative; z-index: 1; }
.solar-media { position: relative; padding: 0 0 60px 0; }
.solar-media .img-main {
  border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3.3;
  box-shadow: var(--shadow-lg);
}
.solar-media .img-main img { width: 100%; height: 100%; object-fit: cover; }
.solar-media .img-float {
  position: absolute; right: -24px; bottom: 0; width: 46%;
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3 / 4;
  border: 6px solid var(--navy-900);
  box-shadow: var(--shadow-lg);
}
.solar-media .img-float img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag {
  position: absolute; left: 22px; top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(6, 19, 40, .7); color: #fff; font-size: .82rem; font-weight: 500;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.photo-tag .pulse { width: 8px; height: 8px; }
.sun-stat {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin: 34px 0; border-radius: var(--radius); overflow: hidden;
  background: var(--line-dark); border: 1px solid var(--line-dark);
}
.sun-stat div { background: var(--navy-900); padding: 22px 20px; }
.sun-stat b {
  display: block; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: #fff; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 6px;
}
.sun-stat b em { font-style: normal; color: var(--leaf); }
.sun-stat span { font-size: .88rem; line-height: 1.4; display: block; }
.fineprint { font-size: .8rem; color: rgba(255, 255, 255, .5); margin: -18px 0 30px; }
.section .fineprint { color: var(--muted); }
.section-dark .fineprint { color: rgba(255, 255, 255, .5); }

.tick-list { list-style: none; display: grid; gap: 14px; margin: 0 0 34px; }
.tick-list li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; }
.tick-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1F3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.tick-list strong { color: var(--ink); font-weight: 600; }
.section-dark .tick-list strong { color: #fff; }

/* ---------- Come funziona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; list-style: none; counter-reset: step; }
.steps::before {
  content: ""; position: absolute; left: 4%; right: 4%; top: 38px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--leaf-600) 0 10px, transparent 10px 18px);
  opacity: .5;
}
.step { position: relative; padding: 0 6px; }
.step-num {
  position: relative; z-index: 1;
  width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 26px;
  background: var(--surface); border: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: background .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.step:hover .step-num { background: var(--leaf); color: var(--navy-900); transform: translateY(-4px) rotate(-6deg); border-color: var(--leaf); }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; font-size: 1rem; }

/* ---------- Chi siamo split ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about-media { position: relative; }
.about-media .frame { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; left: -22px; bottom: -28px;
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px; border-radius: 20px;
  background: var(--navy-900); color: #fff;
  box-shadow: var(--shadow-lg);
}
.about-badge b { display: block; font-family: var(--font-display); font-size: 2.2rem; letter-spacing: -.03em; line-height: 1; color: var(--leaf); }
.about-badge b svg { width: 34px; height: 34px; }
.about-badge span { font-size: .88rem; line-height: 1.35; color: var(--on-dark); }
.about-badge .about-badge-sep { width: 1px; align-self: stretch; background: var(--line-dark); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 34px 0 36px; }
.stat { padding: 20px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.035em; line-height: 1; color: var(--ink); margin-bottom: 8px; }
.stat span { font-size: .88rem; color: var(--muted); line-height: 1.35; display: block; }

/* ---------- Banda condomini / PA ---------- */
.pa-band {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 0;
  border-radius: var(--radius-xl); overflow: hidden;
  background: var(--navy-900); color: var(--on-dark);
  box-shadow: var(--shadow-lg);
}
.pa-band-media { position: relative; min-height: 380px; }
.pa-band-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pa-band-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--navy-900)); }
.pa-band-body { padding: clamp(36px, 5vw, 64px); }
.pa-band-body h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.7rem); }
.pa-band .tick-list strong { color: #fff; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-aside { position: sticky; top: 110px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  border-radius: var(--radius); background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item[open] { border-color: transparent; box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--ink); letter-spacing: -.015em; line-height: 1.35;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bg); position: relative;
  transition: background .3s var(--ease), transform .4s var(--ease);
}
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; width: 12px; height: 2px; border-radius: 2px; background: var(--ink); }
.faq-plus::after { transform: rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] .faq-plus { background: var(--leaf); transform: rotate(180deg); }
.faq-item[open] .faq-plus::after { transform: rotate(0); }
.faq-body { padding: 0 24px 22px; color: var(--muted); }
.faq-body p:last-child { margin-bottom: 0; }

/* ---------- Card blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post-card-media { aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-cat {
  position: absolute; left: 18px; top: 18px;
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px; background: var(--leaf); color: var(--navy-900);
}
.post-card-body { padding: 28px 30px 30px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-size: .86rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-card h3, .post-card .h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 12px; }
.post-card h3 a:hover, .post-card .h3 a:hover { color: var(--leaf-ink); }
.post-card p { color: var(--muted); }
.post-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- CTA finale ---------- */
.cta-final {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 96px) clamp(28px, 6vw, 88px);
  background: var(--navy-900); color: var(--on-dark);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center;
}
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 90% at 100% 100%, rgba(180, 204, 52, .32), transparent 65%),
    radial-gradient(40% 60% at 0% 0%, rgba(23, 58, 105, .9), transparent 70%);
}
.cta-final h2 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.8rem); margin-bottom: 18px; }
.cta-final .lead { color: var(--on-dark); margin: 0; }
.cta-final-actions { display: grid; gap: 14px; justify-items: stretch; }
.cta-final-actions .btn { width: 100%; }
.cta-phone {
  display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-dark); color: #fff;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.cta-phone:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); }
.cta-phone .nav-phone-icon { background: var(--leaf); border-color: var(--leaf); color: var(--navy-900); width: 46px; height: 46px; }
.cta-phone small { display: block; font-size: .8rem; color: var(--on-dark); }
.cta-phone b { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.01em; }
.cta-leaf {
  position: absolute; right: -40px; bottom: -60px; width: 280px; opacity: .08; z-index: -1; pointer-events: none;
}

/* ==========================================================================
   SERVIZI (pagina)
   ========================================================================== */
.service-nav {
  position: sticky; top: var(--nav-h-scrolled); z-index: 20;
  background: rgba(246, 247, 242, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.service-nav ul { display: flex; gap: 6px; list-style: none; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: inline-flex; white-space: nowrap; padding: 9px 16px; border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: var(--text); border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.service-nav a:hover { border-color: var(--line); background: var(--surface); color: var(--ink); }

.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.service-block + .service-block { margin-top: clamp(80px, 10vw, 140px); }
.service-block.reverse .service-media { order: 2; }
.service-media { position: relative; }
.service-media .frame { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); }
.service-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.service-index {
  position: absolute; top: -26px; left: -12px; z-index: 2;
  font-family: var(--font-serif); font-style: italic; font-size: clamp(4rem, 8vw, 7rem); line-height: 1;
  color: var(--leaf-600); opacity: .9; pointer-events: none;
}
.service-block.reverse .service-index { left: auto; right: -12px; }
.service-body h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }

.pratiche-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.pratica {
  position: relative; display: flex; flex-direction: column;
  padding: 28px 24px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
  transition: background .4s var(--ease), transform .5s var(--ease), border-color .4s var(--ease);
}
.pratica:hover { background: rgba(255, 255, 255, .08); transform: translateY(-6px); border-color: rgba(180, 204, 52, .4); }
.pratica .tile-ico { background: rgba(180, 204, 52, .14); color: var(--leaf); margin-bottom: 26px; width: 52px; height: 52px; border-radius: 16px; }
.pratica .tile-ico svg { width: 24px; height: 24px; }
.pratica h3 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; }
.pratica p { margin: 0 0 18px; font-size: .95rem; line-height: 1.6; }
.pratica .link-arrow { margin-top: auto; font-size: .92rem; }

.audience { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.audience-card { padding: 28px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.audience-card .tile-ico { margin-bottom: 22px; width: 52px; height: 52px; border-radius: 16px; }
.audience-card .tile-ico svg { width: 24px; height: 24px; }
.audience-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.audience-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ==========================================================================
   CHI SIAMO
   ========================================================================== */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card {
  position: relative; overflow: hidden;
  padding: 38px 32px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line-dark);
}
.value-card .tile-ico { background: var(--leaf); color: var(--navy-900); margin-bottom: 26px; }
.value-card h3 { color: #fff; margin-bottom: 12px; }
.value-card p { margin: 0; font-size: 1rem; }
.value-card .bg-num {
  position: absolute; right: 18px; top: 4px;
  font-family: var(--font-serif); font-style: italic; font-size: 6rem; line-height: 1;
  color: rgba(255, 255, 255, .05);
}

.team-mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 18px; }
.team-mosaic figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--bg-alt); position: relative; }
.team-mosaic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; filter: saturate(.9); transition: transform .8s var(--ease), filter .6s var(--ease); }
.team-mosaic figure:hover img { transform: scale(1.05); filter: saturate(1.05); }
.team-hero-photo { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8; }
.team-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }

.mission-quote {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.2; letter-spacing: -.03em;
  color: var(--ink); margin: 0 0 30px; text-wrap: balance;
}
.mission-quote .serif { color: var(--leaf-ink); }

/* ==========================================================================
   GALLERIA
   ========================================================================== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filter-bar button {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 10px 18px; border-radius: 999px; font-weight: 500; font-size: .95rem; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button[aria-pressed="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry figure {
  break-inside: avoid; margin: 0 0 16px; position: relative;
  border-radius: var(--radius); overflow: hidden; background: var(--bg-alt);
}
.masonry figure[hidden] { display: none; }
.masonry button { all: unset; display: block; cursor: zoom-in; width: 100%; }
.masonry button:focus-visible { outline: 3px solid var(--leaf); outline-offset: -3px; }
.masonry img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption {
  position: absolute; left: 12px; bottom: 12px; right: 12px;
  display: inline-flex; width: fit-content; max-width: calc(100% - 24px);
  padding: 7px 12px; border-radius: 999px; font-size: .82rem; font-weight: 500;
  background: rgba(6, 19, 40, .72); color: #fff;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center; padding: 40px 70px;
  background: rgba(3, 10, 22, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility 0s linear .35s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .35s var(--ease), visibility 0s linear 0s; }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; border-radius: 14px; box-shadow: var(--shadow-lg); }
.lightbox figcaption { color: var(--on-dark); font-size: .95rem; text-align: center; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff;
  display: grid; place-items: center; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.lb-btn:hover { background: var(--leaf); color: var(--navy-900); border-color: var(--leaf); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   CONTATTI
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 24px; border-radius: var(--radius-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
a.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.contact-card .tile-ico { width: 54px; height: 54px; border-radius: 16px; margin: 0; flex: none; }
.contact-card .tile-ico svg { width: 24px; height: 24px; }
.contact-card small { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.contact-card b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.18rem; color: var(--ink); letter-spacing: -.01em; line-height: 1.3; word-break: break-word; }
.contact-card span.sub { display: block; font-size: .9rem; color: var(--muted); margin-top: 2px; }

.map-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  background: var(--navy-900); color: var(--on-dark); padding: 28px;
  display: grid; gap: 12px;
}
.map-card::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.map-card > * { position: relative; }
.map-pin {
  width: 54px; height: 54px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg);
  background: var(--leaf); display: grid; place-items: center; margin-bottom: 8px;
  box-shadow: 0 0 0 10px rgba(180, 204, 52, .15), 0 0 0 22px rgba(180, 204, 52, .07);
}
.map-pin svg { width: 22px; height: 22px; transform: rotate(45deg); color: var(--navy-900); }
.map-card h3 { color: #fff; margin: 0; }
.map-card p { margin: 0; }

.form-card {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-xl);
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
  font-size: 1rem; color: var(--ink);
  transition: border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B1B33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 44px;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #c5ccb9; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf-600); background: #fff;
  box-shadow: 0 0 0 4px rgba(180, 204, 52, .22);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: #c2412d; }
.check {
  grid-column: 1 / -1;
  display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text); line-height: 1.5;
}
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--leaf-600); flex: none; }
.check a { color: var(--leaf-ink); text-decoration: underline; text-underline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 6px; }
.form-actions .btn[disabled] { opacity: .65; cursor: progress; }
.form-status {
  grid-column: 1 / -1; display: none;
  padding: 16px 18px; border-radius: 14px; font-size: .96rem; line-height: 1.5;
}
.form-status.is-ok { display: block; background: var(--leaf-soft); color: var(--leaf-ink); border: 1px solid #d7e3a2; }
.form-status.is-error { display: block; background: #FBEDEA; color: #8A2A1B; border: 1px solid #F1C9C0; }
.form-status a { text-decoration: underline; }

.after-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; }
.after-steps li { padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.after-steps b { display: block; font-family: var(--font-serif); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--leaf-600); margin-bottom: 12px; font-weight: 400; }
.after-steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.after-steps p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ==========================================================================
   ARTICOLI / TESTI LUNGHI
   ========================================================================== */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 6vw, 88px); align-items: start; }
.prose { font-size: 1.1rem; line-height: 1.8; color: var(--text); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 2em 0 .6em; }
.prose h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); margin: 1.6em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.25em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--leaf-600); }
.prose a { color: var(--leaf-ink); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.5em; font-size: .98rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--font-display); color: var(--ink); background: var(--bg-alt); }
.table-wrap { overflow-x: auto; margin: 0 0 1.5em; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.table-wrap table { margin: 0; }
.answer-box {
  padding: 24px 26px; border-radius: var(--radius-lg); margin: 0 0 2em;
  background: var(--leaf-soft); border: 1px solid #dfe8b5; color: var(--ink);
}
.answer-box p:last-child { margin: 0; }
.answer-box .label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf-ink); margin-bottom: 8px; }
.note-box { padding: 20px 22px; border-radius: var(--radius); background: var(--bg-alt); font-size: .98rem; margin: 0 0 1.5em; border-left: 4px solid var(--leaf-600); }
.article-aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.aside-card { padding: 28px; border-radius: var(--radius-lg); background: var(--navy-900); color: var(--on-dark); }
.aside-card h3 { color: #fff; font-size: 1.35rem; }
.aside-card p { font-size: .98rem; }
.aside-card .btn { width: 100%; }
.aside-toc { padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.aside-toc h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .12em; font-family: var(--font-body); color: var(--muted); }
.aside-toc ol { list-style: none; display: grid; gap: 8px; counter-reset: toc; }
.aside-toc li { counter-increment: toc; display: flex; gap: 10px; font-size: .95rem; line-height: 1.4; }
.aside-toc li::before { content: counter(toc, decimal-leading-zero); color: var(--leaf-600); font-weight: 600; font-size: .85rem; padding-top: 2px; }
.aside-toc a:hover { color: var(--leaf-ink); }
.article-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .92rem; color: var(--on-dark); }
.article-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.article-hero-meta svg { width: 16px; height: 16px; color: var(--leaf); }
.legal .prose h2 { font-size: 1.5rem; }
.legal .prose { font-size: 1.02rem; }
.legal-updated { font-size: .92rem; color: var(--muted); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative; overflow: hidden;
  background: var(--navy-950); color: var(--on-dark);
  padding: clamp(72px, 9vw, 110px) 0 0;
  font-size: .98rem;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--leaf) 0 40%, var(--brand) 40% 100%);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr; gap: 40px; padding-bottom: 64px; }
.footer-logo img { width: 190px; height: auto; margin-bottom: 22px; }
.footer-brand p { max-width: 34ch; }
.site-footer h4 {
  color: #fff; font-family: var(--font-body); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px;
}
.site-footer ul { list-style: none; display: grid; gap: 11px; }
.site-footer a { transition: color .25s var(--ease); }
.site-footer a:hover { color: var(--leaf); }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.5; }
.footer-contact svg { width: 18px; height: 18px; color: var(--leaf); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: #fff;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.socials a:hover { background: var(--leaf); color: var(--navy-900); border-color: var(--leaf); }
.socials svg { width: 19px; height: 19px; }
.footer-word {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(4rem, 17vw, 15rem); line-height: .8; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .09);
  white-space: nowrap; user-select: none; pointer-events: none;
  margin: 0 0 -.12em; text-align: center;
}
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding: 26px 0 30px; border-top: 1px solid var(--line-dark);
  font-size: .88rem; color: rgba(255, 255, 255, .58);
}
.footer-bottom p { margin: 0; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-credit a { color: rgba(255, 255, 255, .78); }

/* bottone chiamata flottante (mobile) */
.fab-call {
  position: fixed; right: 16px; bottom: 16px; z-index: 80;
  display: none; align-items: center; gap: 10px;
  padding: 0 20px 0 8px; height: 58px; border-radius: 999px;
  background: var(--leaf); color: var(--navy-900); font-weight: 700;
  box-shadow: 0 16px 40px -10px rgba(6, 19, 40, .55);
  transform: translateY(120px); transition: transform .5s var(--ease);
}
.fab-call.is-visible { transform: none; }
.fab-call .ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--leaf); }
.fab-call svg { width: 18px; height: 18px; }

/* ==========================================================================
   404
   ========================================================================== */
.error-hero { min-height: 100svh; align-items: center; text-align: center; }
.error-hero .container { display: grid; justify-items: center; }
.error-code {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(7rem, 24vw, 16rem); line-height: .85; letter-spacing: -.07em;
  background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .15));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 10px;
}
.error-hero h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: none; }
.error-hero .lead { margin: 0 auto 32px; }
.error-hero .hero-actions { justify-content: center; }

/* ==========================================================================
   ANIMAZIONI DI COMPARSA
   Stato di partenza VISIBILE: si nasconde solo se il JS è attivo (classe .js
   messa in <head>) e torna visibile da solo se main.js non arriva.
   ========================================================================== */
html.js .reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0s);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.no-anim .reveal, html.no-anim .bill-card .check-list li { opacity: 1 !important; transform: none !important; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .bill-card { max-width: 560px; }
  .pratiche-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; grid-template-columns: 1fr 1fr; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .team-mosaic { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  body { font-size: 1.03rem; }
  .hero { padding-bottom: 120px; min-height: auto; }
  .hero-cord { display: none; }
  .section-head--split { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .pain-answer { grid-template-columns: auto 1fr; }
  .pain-answer .btn { grid-column: 1 / -1; justify-self: start; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .bento > * { grid-column: span 1; grid-row: auto; }
  .bento > .span-7, .bento > .span-8 { grid-column: 1 / -1; min-height: 420px; }
  .tile { min-height: 280px; }
  .solar-grid, .about-grid, .service-block, .faq-wrap, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .service-block.reverse .service-media { order: 0; }
  .solar-media .img-float { right: 0; }
  .faq-aside { position: static; }
  .steps { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
  .steps::before { display: none; }
  .pa-band { grid-template-columns: 1fr; }
  .pa-band-media { min-height: 260px; }
  .pa-band-media::after { background: linear-gradient(180deg, transparent 50%, var(--navy-900)); }
  .cta-final { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .after-steps { grid-template-columns: 1fr; }
  .page-hero-aside { justify-self: start; }
  .about-badge { left: 12px; }
  .fab-call { display: inline-flex; }
}

@media (max-width: 768px) {
  .stats { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .stat { padding: 16px 14px; }
  .sun-stat { grid-template-columns: 1fr; }
  .pratiche-grid { grid-template-columns: 1fr 1fr; }
  .team-hero-photo { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  .container, .container-narrow { width: min(100% - 32px, var(--container)); }
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero-actions .btn { width: 100%; }
  .hero-trust { gap: 16px; }
  .bill-card { padding: 22px; }
  .bento { grid-template-columns: 1fr; }
  .bento > * { grid-column: 1 / -1 !important; }
  .tile { padding: 26px; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .article-aside { grid-template-columns: 1fr; }
  .pratiche-grid, .audience { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .team-mosaic { grid-template-columns: repeat(2, 1fr); }
  .lightbox { padding: 70px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
  .solar-media { padding-bottom: 40px; }
  .solar-media .img-float { width: 42%; border-width: 4px; }
  .service-index { font-size: 4rem; top: -18px; left: 4px; }
  .service-block.reverse .service-index { right: 4px; }
  .cta-final { border-radius: var(--radius-lg); }
  .pa-band { border-radius: var(--radius-lg); }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .page-hero h1 { font-size: clamp(2.1rem, 10vw, 2.8rem); }
  .btn { padding: 0 22px; }
  .marquee { padding: 14px 0; }
  .about-badge { position: relative; left: 0; bottom: 0; margin-top: -40px; margin-left: 12px; width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .bill-card .check-list li { opacity: 1; transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; }
  .hero-media img { transform: none; }
  .hero-cord path { stroke-dashoffset: 0; }
}

@media print {
  .site-header, .fab-call, .marquee, .nav-overlay, .cta-final, .site-footer .footer-word { display: none !important; }
  .hero, .page-hero { min-height: 0; padding: 30px 0; background: none; color: #000; }
  .hero::before, .page-hero::before, .hero-media { display: none; }
  .page-hero h1, .hero h1 { color: #000; }
}
