/* PRELOADER STYLES */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ededed; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.preloader-logo {
    width: 150px;
    height: 150px;
    animation: rotate 0.7s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* CSS NAVBAR */

/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;

  /*========== Colors ==========*/
  --first-color: hsl(236, 100%, 48%);
  --black-color: hsl(0, 0%, 0%);
  --white-color: hsl(0, 0%, 100%);
  --body-color: hsl(0, 0%, 100%);
  --nav-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  
  /*========== Primary Color - Verde Moderno ==========*/
  --primary-color: hsl(145, 65%, 45%);
  --primary-color-dark: hsl(155, 70%, 40%);
  --primary-color-light: hsl(145, 60%, 50%);

  /*========== Font and typography ==========*/
  --body-font: "Montserrat", sans-serif;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  
  /*========== Section Titles - Standardized ==========*/
  --section-title-size: 2.5rem;
  --section-title-size-desktop: 3.25rem;
}

/*=============== GLOBAL SCALE - RIDUZIONE DIMENSIONI ===============*/
html {
  font-size: 80%;
}

@media screen and (min-width: 1150px) {
  html {
    font-size: 90%;
  }
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background:
    radial-gradient(800px circle at 10% 10%, rgba(52,168,83,0.12), transparent 40%),
    radial-gradient(600px circle at 90% 30%, rgba(0,0,0,0.05), transparent 45%),
    linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
}

button {
  outline: none;
  border: none;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1rem;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: top .4s ease, transform .4s ease, opacity .3s ease, visibility .3s ease;
}

/* Nascondi navbar completamente quando scrolli giù */
.header--hidden {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* =============== NAVBAR - Mobile Full-Width =============== */

/* 
 * Base header styles: full-width on all devices
 * Desktop centering is handled by the .container class
 */
.header {
  left: 0;
  right: 0;
}

/* Mobile: rimuove i margini laterali del container */
@media screen and (max-width: 1149px) {
  .header.container {
    margin-inline: 0;
    max-width: 100%;
  }
}

.nav {
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: .5rem 1rem .5rem .5rem;
  border-radius: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  margin-inline: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all .4s ease;
}

/* DESKTOP: navbar con effetto trasparente e bordi arrotondati quando scrolli */
@media screen and (min-width: 1150px) {
  .nav {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    box-shadow: none;
    border: none;
  }

  .nav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 4rem;
    box-shadow: var(--nav-shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: none;
    margin-inline: 1rem;
  }
}

.nav__logo {
  width: 40px;
  height: 40px;
  background-color: transparent;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.nav__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .6s;
}

.nav__logo:hover .nav__logo-img {
  transform: scale(1.1) rotateY(360deg);
}

@media screen and (min-width: 1150px) {
  .nav__logo {
    width: 56px;
    height: 56px;
    padding: 6px;
  }
}

.nav__buttons {
  display: flex;
  align-items: center;
  column-gap: .5rem;
}

.nav__email {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white-color);
  padding: .75rem 1rem;
  border-radius: 4rem;
  font: 500 var(--small-font-size) var(--body-font);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all .3s ease;
}

.nav__email span {
  transition: transform .2s;
}

.nav__email span:nth-child(2) {
  position: absolute;
  transform: translateY(200%);
}

.nav__email:hover span:nth-child(1) {
  transform: translateY(-200%);
}

.nav__email:hover span:nth-child(2) {
  transform: translateY(0);
}

.nav__email:hover {
  background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color));
  box-shadow: 0 4px 16px rgba(52, 168, 83, 0.3);
}

.nav__toggle {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: none;
  color: var(--black-color);
  font-size: 1.5rem;
  cursor: pointer;
}

.nav__burger, 
.nav__close {
  position: absolute;
  transition: opacity .3s, transform .4s;
}

.nav__close {
  opacity: 0;
}

/* MOBILE MENU: Full-width senza bordi arrotondati */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    top: calc(var(--header-height) + 0.5rem);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    margin-inline: 0;
    padding-block: 3rem;
    border-radius: 0;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    pointer-events: none;
    transition: transform .4s, opacity .3s;
  }
}

.nav__list {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.5rem;
}

.nav__link {
  color: var(--black-color);
  font-weight: 600;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.nav__link span {
  transition: transform .4s;
}

.nav__link span:nth-child(2) {
  position: absolute;
  transform: translateY(150%);
}

.nav__link:hover span:nth-child(1) {
  transform: translateY(-150%);
}

.nav__link:hover span:nth-child(2) {
  transform: translateY(0);
}

.show-menu {
  transform: translateY(0);
  opacity: 1;
  pointer-events: initial;
}

.show-icon .nav__burger {
  opacity: 0;
  transform: rotate(-90deg);
}

.show-icon .nav__close {
  opacity: 1;
  transform: rotate(-90deg);
}

@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .header.scrolled {
    top: 2.5rem;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
    padding: .75rem 1rem;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3rem;
  }

  .nav__email {
    font-size: var(--normal-font-size);
  }

  .nav__toggle {
    display: none;
  }
}
/*===============================================================
  HERO SECTION V3 - Wave Design with Orbital Services
  Design con onde, servizi orbitanti e animazioni fluide
  Sfondo bianco pulito
================================================================*/

/* ─────────────────────────────────────────────
   VARIABILI
───────────────────────────────────────────── */
.hero-v3 {
  --h3-green:     #34a853;
  --h3-green-l:   #4ade80;
  --h3-green-d:   #2a9146;
  --h3-dark:      #0d0d0d;
  --h3-text:      #1a1a1a;
  --h3-muted:     hsl(0, 0%, 46%);
  --h3-border:    rgba(0, 0, 0, 0.08);
  --h3-bg:        #ffffff;
  --h3-shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.05);
  --h3-shadow-md: 0 6px 32px rgba(0, 0, 0, 0.09);
  --h3-shadow-lg: 0 16px 56px rgba(0, 0, 0, 0.14);
}

/* ─────────────────────────────────────────────
   LAYOUT BASE
───────────────────────────────────────────── */
.hero-v3 {
  position: relative;
  background: var(--h3-bg);
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height, 4rem) + 3rem) 0 5rem;
  overflow: hidden;
  isolation: isolate;
}

/* ─────────────────────────────────────────────
   BACKGROUND DECORATIONS
───────────────────────────────────────────── */
.hero-v3__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Onde SVG */
.hero-v3__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
}

.hero-v3__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-v3__wave--1 {
  /* Onde fisse - animazione rimossa */
}

.hero-v3__wave--2 {
  /* Onde fisse - animazione rimossa */
}

.hero-v3__wave--3 {
  /* Onde fisse - animazione rimossa */
}

/* Dots pattern */
.hero-v3__dots {
  position: absolute;
  inset: 0;
}

.hero-v3__dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--h3-green);
  opacity: 0;
  animation: h3-dot-pulse 4s ease-in-out infinite;
}

.hero-v3__dot:nth-child(1) { animation-delay: 0s; }
.hero-v3__dot:nth-child(2) { animation-delay: 0.5s; }
.hero-v3__dot:nth-child(3) { animation-delay: 1s; }
.hero-v3__dot:nth-child(4) { animation-delay: 1.5s; }
.hero-v3__dot:nth-child(5) { animation-delay: 2s; }
.hero-v3__dot:nth-child(6) { animation-delay: 2.5s; }

/* Grid sottile */
.hero-v3__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.5;
}

/* ─────────────────────────────────────────────
   CONTAINER
───────────────────────────────────────────── */
.hero-v3__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

/* ─────────────────────────────────────────────
   CONTENUTO (LATO SINISTRO)
───────────────────────────────────────────── */
.hero-v3__content {
  text-align: center;
}

/* Badge superiore */
.hero-v3__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, rgba(52,168,83,0.08), rgba(52,168,83,0.12));
  border: 1px solid rgba(52,168,83,0.25);
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--h3-green-d);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 12px rgba(52,168,83,0.15);
  animation: h3-fade-down 0.6s ease-out 0.1s both;
}

.hero-v3__badge i {
  font-size: 0.9rem;
  color: var(--h3-green);
  animation: h3-star-spin 3s linear infinite;
}

/* Logo con glow */
.hero-v3__logo-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
  animation: h3-fade-scale 0.7s ease-out 0.2s both;
  transition: transform 0.3s ease;
}

.hero-v3__logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(52,168,83,0.2), transparent 70%);
  border-radius: 50%;
  filter: blur(25px);
  animation: h3-glow-pulse 3s ease-in-out infinite;
}

.hero-v3__logo {
  width: 95px;
  height: 95px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-v3__logo:hover {
  transform: scale(1.12) rotate(8deg);
}

/* Titolo */
.hero-v3__title {
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 900;
  color: var(--h3-dark);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: 0.75rem;
  animation: h3-fade-up 0.7s ease-out 0.3s both;
}

/* Sottotitolo split */
.hero-v3__subtitle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
  animation: h3-fade-up 0.7s ease-out 0.4s both;
}

.hero-v3__highlight {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, var(--h3-green), var(--h3-green-l));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.hero-v3__subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  color: var(--h3-text);
  letter-spacing: -0.02em;
}

/* Descrizione */
.hero-v3__description {
  font-size: 0.95rem;
  color: var(--h3-muted);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 auto 2rem;
  animation: h3-fade-up 0.7s ease-out 0.5s both;
}

/* Buttons */
.hero-v3__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  animation: h3-fade-up 0.7s ease-out 0.6s both;
}

.hero-v3__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.1rem 2.2rem;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-v3__btn--primary {
  background: linear-gradient(135deg, var(--h3-green), var(--h3-green-d));
  color: #fff;
  box-shadow: var(--h3-shadow-md);
}

/* Shine effect */
.hero-v3__btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255,255,255,0.3), 
    transparent
  );
  transition: left 0.6s ease;
}

.hero-v3__btn--primary:hover .hero-v3__btn-shine {
  left: 100%;
}

.hero-v3__btn--primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: var(--h3-shadow-lg);
}

.hero-v3__btn--glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid var(--h3-border);
  color: var(--h3-dark);
  box-shadow: var(--h3-shadow-sm);
}

.hero-v3__btn--glass:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--h3-green);
  transform: translateY(-4px);
  box-shadow: var(--h3-shadow-md);
}

/* Stats inline */
.hero-v3__stats-inline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  animation: h3-fade-up 0.7s ease-out 0.7s both;
}

.hero-v3__stat-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-v3__stat-item i {
  font-size: 1.8rem;
  color: var(--h3-green);
}

.hero-v3__stat-item > div {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hero-v3__stat-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--h3-text);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero-v3__stat-txt {
  font-size: 0.7rem;
  color: var(--h3-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

/* ─────────────────────────────────────────────
   SERVIZI ORBITANTI (LATO DESTRO)
───────────────────────────────────────────── */
.hero-v3__services {
  position: relative;
  width: 100%;
  height: 500px;
  display: none;
}

/* Centro orbita */
.hero-v3__orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-v3__orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(52,168,83,0.2);
}

.hero-v3__orbit-ring--1 {
  width: 280px;
  height: 280px;
  animation: h3-orbit-spin 20s linear infinite;
}

.hero-v3__orbit-ring--2 {
  width: 380px;
  height: 380px;
  animation: h3-orbit-spin 30s linear infinite reverse;
}

.hero-v3__orbit-core {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--h3-green), var(--h3-green-d));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 0 8px rgba(52,168,83,0.1),
    0 12px 40px rgba(52,168,83,0.35);
  animation: h3-core-pulse 3s ease-in-out infinite;
}

.hero-v3__orbit-core i {
  font-size: 2.2rem;
  color: #fff;
}

/* Servizi */
.hero-v3__service {
  position: absolute;
  width: 75px;
  height: 75px;
  border-radius: 1.2rem;
  background: #fff;
  border: 1.5px solid var(--h3-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  box-shadow: var(--h3-shadow-sm);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: h3-service-float 0.8s ease-out both;
}

.hero-v3__service:hover {
  transform: scale(1.15) translateY(-8px) !important;
  box-shadow: var(--h3-shadow-lg);
  z-index: 10;
}

.hero-v3__service i {
  font-size: 1.6rem;
  transition: transform 0.3s ease;
}

.hero-v3__service:hover i {
  transform: scale(1.2);
}

.hero-v3__service-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--h3-text);
  text-align: center;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

/* Posizioni orbitali */
.hero-v3__service--1 { top: 8%;  left: 50%; transform: translateX(-50%); animation-delay: 0.1s; }
.hero-v3__service--2 { top: 28%; right: 8%;  animation-delay: 0.2s; }
.hero-v3__service--3 { bottom: 28%; right: 8%; animation-delay: 0.3s; }
.hero-v3__service--4 { bottom: 8%;  left: 50%; transform: translateX(-50%); animation-delay: 0.4s; }
.hero-v3__service--5 { bottom: 28%; left: 8%;  animation-delay: 0.5s; }
.hero-v3__service--6 { top: 28%; left: 8%; animation-delay: 0.6s; }

/* Colori servizi */
.hero-v3__service--blue   i { color: #3b82f6; }
.hero-v3__service--cyan   i { color: #06b6d4; }
.hero-v3__service--orange i { color: #f97316; }
.hero-v3__service--purple i { color: #8b5cf6; }
.hero-v3__service--teal   i { color: #14b8a6; }
.hero-v3__service--red    i { color: #ef4444; }

.hero-v3__service--blue:hover   { border-color: #3b82f6; }
.hero-v3__service--cyan:hover   { border-color: #06b6d4; }
.hero-v3__service--orange:hover { border-color: #f97316; }
.hero-v3__service--purple:hover { border-color: #8b5cf6; }
.hero-v3__service--teal:hover   { border-color: #14b8a6; }
.hero-v3__service--red:hover    { border-color: #ef4444; }

/* ─────────────────────────────────────────────
   SCROLL INDICATOR
───────────────────────────────────────────── */
.hero-v3__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--h3-muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0;
  animation: h3-fade-up 0.7s ease-out 1.5s both;
}

.hero-v3__scroll-icon {
  width: 32px;
  height: 32px;
  color: var(--h3-green);
  animation: h3-scroll-bounce 2s ease-in-out infinite;
}

/* ─────────────────────────────────────────────
   ANIMAZIONI
───────────────────────────────────────────── */
@keyframes h3-fade-up {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes h3-fade-down {
  from { opacity: 0; transform: translateY(-15px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes h3-fade-scale {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes h3-wave-move {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(-50px); }
}

@keyframes h3-dot-pulse {
  0%, 100% { opacity: 0; transform: scale(0.5); }
  50%       { opacity: 0.6; transform: scale(1.2); }
}

@keyframes h3-star-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes h3-glow-pulse {
  0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.6; transform: translate(-50%, -50%) scale(1.15); }
}

@keyframes h3-orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes h3-core-pulse {
  0%, 100% { box-shadow: 0 0 0 8px rgba(52,168,83,0.1), 0 12px 40px rgba(52,168,83,0.35); }
  50%       { box-shadow: 0 0 0 12px rgba(52,168,83,0.15), 0 16px 48px rgba(52,168,83,0.5); }
}

@keyframes h3-service-float {
  from { opacity: 0; transform: translateY(30px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes h3-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */

/* Tablet ≥ 768px */
@media screen and (min-width: 768px) {
  .hero-v3 {
    min-height: 92vh;
  }

  .hero-v3__content {
    text-align: left;
  }

  .hero-v3__badge {
    margin-bottom: 2rem;
  }

  .hero-v3__logo {
    width: 110px;
    height: 110px;
  }

  .hero-v3__logo-glow {
    width: 160px;
    height: 160px;
  }

  .hero-v3__subtitle-wrap {
    align-items: flex-start;
  }

  .hero-v3__description {
    margin-inline: 0;
  }

  .hero-v3__actions {
    justify-content: flex-start;
  }

  .hero-v3__stats-inline {
    justify-content: flex-start;
  }
}

/* Desktop ≥ 1024px */
@media screen and (min-width: 1024px) {
  .hero-v3__container {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }

  .hero-v3__services {
    display: block;
  }
}

/* Desktop Large ≥ 1200px */
@media screen and (min-width: 1200px) {
  .hero-v3__container {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
  }
}

/* ─────────────────────────────────────────────
   RIDUZIONE MOTO
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero-v3__badge,
  .hero-v3__logo-container,
  .hero-v3__title,
  .hero-v3__subtitle-wrap,
  .hero-v3__description,
  .hero-v3__actions,
  .hero-v3__stats-inline,
  .hero-v3__service,
  .hero-v3__scroll { animation: none; opacity: 1; }

  .hero-v3__logo:hover,
  .hero-v3__btn:hover,
  .hero-v3__service:hover { transition: none; transform: none; }

  .hero-v3__wave--1,
  .hero-v3__wave--2,
  .hero-v3__wave--3,
  .hero-v3__dot,
  .hero-v3__badge i,
  .hero-v3__logo-glow,
  .hero-v3__orbit-ring--1,
  .hero-v3__orbit-ring--2,
  .hero-v3__orbit-core,
  .hero-v3__scroll-icon { animation: none; }
}

/*=============== SERVICES SECTION - RIDOTTA ===============*/
.services {
  padding: 2rem 0;
  background: linear-gradient(to bottom, #f6f7f9 0%, #ffffff 50%, #f6f7f9 100%);
}

.services__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1rem;
}

.services__header {
  text-align: center;
  margin-bottom: 2rem;
}

.services__subtitle {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.65rem;
}

.services__title {
  font-size: var(--section-title-size);
  font-weight: 800;
  color: var(--black-color);
  margin-bottom: 0.9rem;
  line-height: 1.1;
  letter-spacing: -2px;
}

.services__description {
  font-size: 0.95rem;
  color: hsl(0, 0%, 40%);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card {
  background: var(--white-color);
  border-radius: 1.15rem;
  padding: 1.5rem;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.07);
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
  display: block;
  cursor: pointer;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.13);
  border-color: var(--primary-color);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-color-dark));
  opacity: 0;
  transition: opacity .4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: transform .4s ease;
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(5deg);
}

.service-card__icon i {
  font-size: 1.6rem;
  color: var(--white-color);
}

.service-card__icon--orange {
  background: linear-gradient(135deg, hsl(16, 100%, 50%), hsl(25, 100%, 45%));
}

.service-card__icon--blue {
  background: linear-gradient(135deg, hsl(210, 100%, 55%), hsl(200, 100%, 50%));
}

.service-card__icon--green {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
}

.service-card__icon--yellow {
  background: linear-gradient(135deg, hsl(48, 100%, 50%), hsl(43, 100%, 45%));
}

.service-card__icon--purple {
  background: linear-gradient(135deg, hsl(260, 60%, 55%), hsl(270, 65%, 50%));
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black-color);
  margin-bottom: 0.75rem;
  transition: color .3s ease;
}

.service-card:hover .service-card__title {
  color: var(--primary-color);
}

.service-card__description {
  font-size: 0.875rem;
  color: hsl(0, 0%, 40%);
  line-height: 1.45;
  margin-bottom: 1.1rem;
}

.service-card__features {
  list-style: none;
  margin-bottom: 1.1rem;
}

.service-card__features li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  color: hsl(0, 0%, 30%);
  margin-bottom: 0.6rem;
  transition: transform .3s ease;
}

.service-card:hover .service-card__features li {
  transform: translateX(5px);
}

.service-card__features i {
  font-size: 0.95rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: gap .3s ease;
}

.service-card:hover .service-card__cta {
  gap: 0.95rem;
}

.service-card__cta i {
  font-size: 0.95rem;
  transition: transform .3s ease;
}

.service-card:hover .service-card__cta i {
  transform: translateX(5px);
}

.services__footer {
  text-align: center;
  padding: 1.75rem;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 1.15rem;
  border: 2px dashed hsl(0, 0%, 85%);
}

.services__footer-text {
  font-size: 0.95rem;
  color: hsl(0, 0%, 30%);
  margin-bottom: 1.1rem;
  font-weight: 500;
}

.services__footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  background: var(--black-color);
  color: var(--white-color);
  border-radius: 3rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: all .3s ease;
}

.services__footer-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.services__footer-btn i {
  font-size: 1.05rem;
}

@media screen and (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media screen and (min-width: 1150px) {
  .services {
    padding: 3rem 0;
  }
  
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
  }
  
  .services__header {
    margin-bottom: 3rem;
  }
  
  .services__title {
    font-size: var(--section-title-size-desktop);
  }
  
  .services__description {
    font-size: 1rem;
  }
  
  .service-card {
    padding: 2rem;
  }
}

/*=============== ABOUT SECTION - RIDOTTA ===============*/
.about {
  padding: 1.5rem 0 3rem 0;
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 50%, #f5f5f5 100%);
  position: relative;
  overflow: hidden;
}

.about__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1rem;
}

.about__header {
  text-align: center;
  margin-bottom: 2rem;
}

.about__title {
  font-size: var(--section-title-size);
  font-weight: 800;
  color: var(--black-color);
  line-height: 1.2;
}

.about__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.about__image-box {
  position: relative;
}

.about__image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.13);
  transition: transform .4s ease;
}

.about__image-wrapper:hover {
  transform: translateY(-7px);
}

.about__image {
  width: 100%;
  height: auto;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.about__badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.1rem;
  border-radius: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.13);
  animation: float 3s ease-in-out infinite;
}

.about__badge-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__badge-icon i {
  font-size: 1.25rem;
  color: var(--white-color);
}

.about__badge-text {
  display: flex;
  flex-direction: column;
}

.about__badge-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black-color);
  line-height: 1;
}

.about__badge-label {
  font-size: 0.675rem;
  color: hsl(0, 0%, 40%);
  font-weight: 500;
}

.about__quote {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: var(--white-color);
  border-radius: 1.1rem;
  border-left: 3px solid var(--primary-color);
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.07);
  position: relative;
}

.about__quote i {
  font-size: 1.6rem;
  color: var(--primary-color);
  opacity: 0.3;
  position: absolute;
  top: 0.95rem;
  left: 0.95rem;
}

.about__quote p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--black-color);
  margin: 0 0 0.75rem 0;
  padding-left: 1.5rem;
  line-height: 1.45;
}

.about__quote-author {
  display: block;
  font-size: 0.825rem;
  color: hsl(0, 0%, 40%);
  font-weight: 600;
  padding-left: 1.5rem;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.about__subtitle-large {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black-color);
  line-height: 1.3;
}

.about__description {
  font-size: 0.9rem;
  color: hsl(0, 0%, 30%);
  line-height: 1.65;
}

.about__description strong {
  color: var(--black-color);
  font-weight: 600;
}

.about__values {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin: 0.75rem 0;
}

.about__value {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all .3s ease;
}

.about__value:hover {
  background: var(--white-color);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.07);
  transform: translateX(10px);
}

.about__value-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__value-icon i {
  font-size: 1.25rem;
  color: var(--white-color);
}

.about__value-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black-color);
  margin-bottom: 0.35rem;
}

.about__value-content p {
  font-size: 0.875rem;
  color: hsl(0, 0%, 40%);
  line-height: 1.35;
  margin: 0;
}

.about__cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.about__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all .3s ease;
  cursor: pointer;
}

.about__btn--primary {
  background: var(--black-color);
  color: var(--white-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.about__btn--primary:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.about__btn--secondary {
  background: transparent;
  color: var(--black-color);
  border: 2px solid var(--black-color);
}

.about__btn--secondary:hover {
  background: var(--black-color);
  color: var(--white-color);
  transform: translateY(-3px);
}

.about__timeline {
  margin-top: 3rem;
}

.about__timeline-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--black-color);
  margin-bottom: 2rem;
}

.timeline {
  position: relative;
  max-width: 850px;
  margin: 0 auto;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary-color), var(--primary-color-dark));
}

.timeline__item {
  position: relative;
  padding: 0 0 2.25rem 1.5rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -2.05rem;
  top: 0;
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  border: 4px solid var(--white-color);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(52,168,83,0.2);
  z-index: 1;
}

.timeline__year {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white-color);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}

.timeline__content {
  padding: 1.1rem;
  background: var(--white-color);
  border-radius: 1rem;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.07);
  transition: all .3s ease;
}

.timeline__content:hover {
  transform: translateX(7px);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.11);
}

.timeline__content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black-color);
  margin-bottom: 0.6rem;
}

.timeline__content p {
  font-size: 0.9rem;
  color: hsl(0, 0%, 40%);
  line-height: 1.45;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .about__values {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media screen and (min-width: 1150px) {
  .about {
    padding: 2rem 0 4rem 0;
  }
  
  .about__content {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
  }
  
  .about__title {
    font-size: var(--section-title-size-desktop);
  }
  
  .about__subtitle-large {
    font-size: 1.85rem;
  }
}

/*=============== LOCATION SECTION - ULTRA RIDOTTA ===============*/
.location {
  padding: 1.75rem 0;
  background: linear-gradient(to bottom, #fafafa 0%, #ffffff 50%, #fafafa 100%);
  position: relative;
}

.location__container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1rem;
}

.location__header {
  text-align: center;
  margin-bottom: 2rem;
}

.location__title {
  font-size: var(--section-title-size);
  font-weight: 800;
  color: var(--black-color);
  margin-bottom: 0.65rem;
  line-height: 1;
}

.location__subtitle {
  font-size: 0.9rem;
  color: hsl(0, 0%, 40%);
  font-weight: 500;
}

.location__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.location__map-box {
  position: relative;
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.11);
}

.location__map {
  width: 100%;
  height: 350px;
  position: relative;
}

.location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 1.15rem;
}

.location__map-btn {
  position: absolute;
  bottom: 1.15rem;
  right: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.3rem;
  background: var(--white-color);
  color: var(--black-color);
  border-radius: 3rem;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.11);
  transition: all .3s ease;
  z-index: 10;
}

.location__map-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

.location__map-btn i {
  font-size: 1.05rem;
}

.location__info {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.location__card {
  background: var(--white-color);
  border-radius: 0.95rem;
  padding: 1.25rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  gap: 1.15rem;
  transition: all .3s ease;
}

.location__card:hover {
  box-shadow: 0 5px 24px rgba(0, 0, 0, 0.09);
  transform: translateY(-2px);
}

.location__card--address {
  border-left: 3px solid var(--primary-color);
}

.location__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.15rem;
}

.location__card--small {
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.15rem;
}

.location__card--hours {
  background: linear-gradient(135deg, rgba(52,168,83,0.08), rgba(52,168,83,0.03));
  border: 2px solid rgba(52,168,83,0.2);
}

.location__card-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location__card-icon i {
  font-size: 1.4rem;
  color: var(--white-color);
}

.location__card-icon--small {
  width: 38px;
  height: 38px;
}

.location__card-icon--small i {
  font-size: 1.2rem;
}

.location__card-content {
  flex: 1;
}

.location__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black-color);
  margin-bottom: 0.55rem;
}

.location__card-label {
  font-size: 0.775rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: hsl(0, 0%, 50%);
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.location__card-text {
  font-size: 0.875rem;
  color: hsl(0, 0%, 30%);
  line-height: 1.5;
  margin: 0;
}

.location__card-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: color .3s ease;
}

.location__card-link:hover {
  color: var(--primary-color-dark);
}

.location__hours {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.location__hour-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.location__hour-row:last-child {
  border-bottom: none;
}

.location__hour-day {
  font-size: 0.85rem;
  color: var(--black-color);
  font-weight: 600;
}

.location__hour-time {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 600;
}

.location__hour-row--closed .location__hour-time {
  color: hsl(0, 0%, 50%);
}

.location__emergency {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.15rem;
  background: linear-gradient(135deg, hsl(0, 85%, 58%), hsl(0, 75%, 48%));
  border-radius: 0.95rem;
  color: var(--white-color);
  box-shadow: 0 5px 18px rgba(255, 0, 0, 0.16);
}

.location__emergency i {
  font-size: 1.65rem;
  flex-shrink: 0;
}

.location__emergency-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.location__emergency-text strong {
  font-size: 0.9rem;
  font-weight: 700;
}

.location__emergency-text span {
  font-size: 0.775rem;
  opacity: 0.9;
}

.location__emergency-btn {
  padding: 0.55rem 1.15rem;
  background: var(--white-color);
  color: hsl(0, 85%, 58%);
  border-radius: 2rem;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all .3s ease;
  flex-shrink: 0;
}

.location__emergency-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.05);
}

.location__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.location__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.8rem 1.55rem;
  border-radius: 3rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all .3s ease;
  flex: 1;
  justify-content: center;
}

.location__btn--primary {
  background: var(--black-color);
  color: var(--white-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.location__btn--primary:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.location__btn--secondary {
  background: transparent;
  color: var(--black-color);
  border: 2px solid var(--black-color);
}

.location__btn--secondary:hover {
  background: var(--black-color);
  color: var(--white-color);
  transform: translateY(-3px);
}

.location__service-area {
  background: var(--white-color);
  padding: 1.75rem;
  border-radius: 1.15rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.location__service-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black-color);
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.location__service-title i {
  font-size: 1.65rem;
  color: var(--primary-color);
}

.location__service-text {
  font-size: 0.875rem;
  color: hsl(0, 0%, 30%);
  line-height: 1.6;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

.location__service-text strong {
  color: var(--black-color);
  font-weight: 600;
}

.location__cities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
}

.location__city {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  background: rgba(52,168,83,0.1);
  color: var(--black-color);
  border-radius: 2rem;
  font-size: 0.775rem;
  font-weight: 600;
  border: 2px solid rgba(52,168,83,0.2);
  transition: all .3s ease;
}

.location__city:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

@media screen and (min-width: 768px) {
  .location__map {
    height: 450px;
  }
}

@media screen and (min-width: 1150px) {
  .location {
    padding: 3rem 0;
  }
  
  .location__title {
    font-size: var(--section-title-size-desktop);
  }
  
  .location__content {
    grid-template-columns: 1.15fr 1fr;
    gap: 2.25rem;
  }
  
  .location__map {
    height: 100%;
    min-height: 550px;
  }
  
  .location__card--small {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
}

/*=============== CONTACT SECTION - ULTRA RIDOTTA ===============*/
.contact {
  padding: 1.75rem 0;
  background: linear-gradient(to bottom, #ffffff 0%, #fafafa 50%, #f5f5f5 100%);
  position: relative;
}

.contact__container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact__header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact__title {
  font-size: var(--section-title-size);
  font-weight: 800;
  color: var(--black-color);
  margin-bottom: 0.65rem;
  line-height: 1;
}

.contact__subtitle {
  font-size: 0.9rem;
  color: hsl(0, 0%, 40%);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
}

.contact__form-wrapper {
  background: var(--white-color);
  padding: 1.75rem;
  border-radius: 1.4rem;
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.07);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contact__label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black-color);
}

.contact__label i {
  font-size: 0.9rem;
  color: var(--primary-color);
}

.contact__optional {
  font-size: 0.725rem;
  font-weight: 400;
  color: hsl(0, 0%, 50%);
  font-style: italic;
}

.contact__input,
.contact__select,
.contact__textarea {
  width: 100%;
  padding: 0.8rem 1.05rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.8rem;
  font-family: var(--body-font);
  font-size: 0.875rem;
  color: var(--black-color);
  background: var(--white-color);
  transition: all .3s ease;
}

.contact__input:focus,
.contact__select:focus,
.contact__textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(52,168,83,0.1);
}

.contact__input::placeholder,
.contact__textarea::placeholder {
  color: hsl(0, 0%, 60%);
}

.contact__textarea {
  resize: vertical;
  min-height: 115px;
  font-family: var(--body-font);
}

.contact__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23000000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.05rem center;
  padding-right: 2.5rem;
}

.contact__form-group--checkbox {
  margin-top: 0.35rem;
}

.contact__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
}

.contact__checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.3rem;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 0.05rem;
  accent-color: var(--primary-color);
}

.contact__checkbox-text {
  font-size: 0.8rem;
  color: hsl(0, 0%, 40%);
  line-height: 1.3;
}

.contact__checkbox-text a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: underline;
}

.contact__checkbox-text a:hover {
  color: var(--primary-color-dark);
}

.contact__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1rem 2rem;
  background: var(--black-color);
  color: var(--white-color);
  border: none;
  border-radius: 3rem;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.contact__submit:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.contact__submit:active {
  transform: translateY(-1px);
}

.contact__submit i {
  font-size: 1.05rem;
}

.contact__response {
  padding: 0.8rem 1.05rem;
  border-radius: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  display: none;
}

.contact__response.success {
  display: block;
  background: rgba(16, 185, 129, 0.1);
  color: rgb(16, 185, 129);
  border: 2px solid rgba(16, 185, 129, 0.3);
}

.contact__response.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: rgb(239, 68, 68);
  border: 2px solid rgba(239, 68, 68, 0.3);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__info-card {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  padding: 1.5rem;
  border-radius: 1.15rem;
  color: var(--white-color);
  box-shadow: 0 6px 28px rgba(52,168,83,0.23);
}

.contact__info-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.75rem;
}

.contact__info-header i {
  font-size: 1.4rem;
}

.contact__info-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.contact__info-text {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}

.contact__info-text strong {
  font-weight: 700;
}

.contact__methods {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact__method {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 1.15rem;
  background: var(--white-color);
  border-radius: 0.95rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  transition: all .3s ease;
}

.contact__method:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 24px rgba(0, 0, 0, 0.09);
}

.contact__method-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__method-icon--email {
  background: linear-gradient(135deg, hsl(210, 100%, 55%), hsl(200, 100%, 50%));
}

.contact__method-icon--emergency {
  background: linear-gradient(135deg, hsl(0, 85%, 58%), hsl(0, 75%, 48%));
}

.contact__method-icon i {
  font-size: 1.2rem;
  color: var(--white-color);
}

.contact__method-content {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.contact__method-content h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--black-color);
  margin: 0;
}

.contact__method-content a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: color .3s ease;
}

.contact__method-content a:hover {
  color: var(--primary-color-dark);
}

.contact__method-content span {
  font-size: 0.75rem;
  color: hsl(0, 0%, 50%);
}

.contact__social {
  padding: 1.5rem;
  background: var(--white-color);
  border-radius: 1.15rem;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
  text-align: center;
}

.contact__social-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--black-color);
  margin-bottom: 0.95rem;
}

.contact__social-links {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.contact__social-link {
  width: 38px;
  height: 38px;
  background: rgba(52,168,83,0.1);
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all .3s ease;
}

.contact__social-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

@media screen and (min-width: 1150px) {
  .contact {
    padding: 3rem 0;
  }
  
  .contact__title {
    font-size: var(--section-title-size-desktop);
  }
  
  .contact__content {
    grid-template-columns: 1.25fr 1fr;
    gap: 2.75rem;
  }
  
  .contact__form-wrapper {
    padding: 2.25rem;
  }
}

/*=============== FOOTER ===============*/
.footer {
  background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
  color: rgba(255, 255, 255, 0.8);
  padding: 3.5rem 0 0;
  position: relative;
}

.footer__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__column {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.footer__column--about {
  max-width: 330px;
}

.footer__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 0.45rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 45px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.footer__logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer__logo-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white-color);
}

.footer__description {
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.9rem;
}

.footer__social {
  display: flex;
  gap: 0.7rem;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  transition: all .3s ease;
}

.footer__social-link:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-5px);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: all .3s ease;
}

.footer__link:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer__link i {
  font-size: 0.95rem;
  color: var(--primary-color);
}

.footer__contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.footer__contact-item > i {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer__contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.footer__contact-text strong {
  font-size: 0.85rem;
  color: var(--white-color);
  font-weight: 600;
}

.footer__contact-text span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.45;
}

.footer__contact-text a {
  font-size: 0.875rem;
  color: var(--primary-color);
  transition: color .3s ease;
}

.footer__contact-text a:hover {
  color: var(--primary-color-light);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-left,
.footer__bottom-center,
.footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  text-align: center;
}

.footer__copyright strong {
  color: var(--primary-color);
  font-weight: 700;
}

.footer__certifications {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer__certifications i {
  font-size: 0.95rem;
  color: var(--primary-color);
}

.footer__divider {
  color: rgba(255, 255, 255, 0.3);
}

.footer__legal-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color .3s ease;
}

.footer__legal-link:hover {
  color: var(--primary-color);
}

.footer__credits {
  text-align: center;
  padding: 1.35rem 0;
}

.footer__credits p {
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.footer__credits a {
  color: var(--primary-color);
  font-weight: 600;
  transition: color .3s ease;
}

.footer__credits a:hover {
  color: var(--primary-color-light);
}

.scroll-top {
  position: fixed;
  bottom: 1.85rem;
  right: 1.85rem;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
  color: var(--white-color);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 100;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.scroll-top:active {
  transform: translateY(-3px);
}

@media screen and (min-width: 768px) {
  .footer__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .footer__copyright {
    text-align: left;
  }
}

@media screen and (min-width: 1150px) {
  .footer {
    padding: 4.5rem 0 0;
  }
  
  .footer__content {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3.5rem;
  }
  
  .footer__bottom {
    gap: 1.75rem;
  }
  
  .footer__bottom-left,
  .footer__bottom-center,
  .footer__bottom-right {
    justify-content: flex-start;
  }
}



.contact__response { padding: 10px; display: none; margin-top: 1rem; border-radius: 4px; }
.contact__response.success { display: block; color: #155724; background-color: #d4edda; border: 1px solid #c3e6cb; }
.contact__response.error { display: block; color: #721c24; background-color: #f8d7da; border: 1px solid #f5c6cb; }


/* Animazione rotazione */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.btn-spin {
    display: inline-block;
    animation: spin 1s prefetch infinite linear;
    margin-right: 5px;
}

/* Stile opzionale per il pulsante disabilitato */
.contact__submit:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}


/*PAGINA IMPIANTI ELETTRICI*/
/*===============================================================
  CSS PAGINA: impianti-elettrici.php
  Incolla questo blocco alla fine del tuo style.css
  oppure in un file separato impianti-elettrici.css
================================================================*/

/* ─────────────────────────────────────────────
   VARIABILI DI SUPPORTO (già nel tuo :root)
   Se sono già definite nel tuo style.css,
   puoi saltare questo blocco.
───────────────────────────────────────────── */
:root {
  --ie-dark:    #0d0d0d;
  --ie-dark2:   #151515;
  --ie-green:   #34a853;
  --ie-green-l: #4ade80;
  --ie-gray:    #f6f7f9;
  --ie-text:    #1a1a1a;
  --ie-muted:   hsl(0, 0%, 40%);
}

/* ─────────────────────────────────────────────
   UTILITY CONDIVISE (usate in tutte le sezioni)
───────────────────────────────────────────── */
.ie-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--ie-green);
  margin-bottom: 0.6rem;
}

.ie-section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--ie-text);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1.1rem;
}

.ie-section-title--white {
  color: #ffffff;
}

/* Bottoni generici */
.ie-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 7px;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.ie-btn--dark {
  background: var(--ie-dark);
  color: #fff;
  border-color: var(--ie-dark);
}

.ie-btn--dark:hover {
  background: var(--ie-green);
  border-color: var(--ie-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52,168,83,0.35);
}

.ie-btn--green {
  background: var(--ie-green);
  color: #fff;
  border-color: var(--ie-green);
}

.ie-btn--green:hover {
  background: #2a9146;
  border-color: #2a9146;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52,168,83,0.45);
}

.ie-btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}

.ie-btn--outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.ie-btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}


/* ═══════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════ */
.ie-hero {
  position: relative;
  background: var(--ie-dark);
  min-height: 52vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  /* Compensa la navbar fixed del sito */
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 5rem; /* spazio per l'onda */
}

/* Pattern circuiti (CSS puro) */
.ie-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ie-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(52,168,83,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(52,168,83,0.07) 0%, transparent 40%);
  /* Griglia sottile tipo circuiti stampati */
  background-size: 60px 60px;
}

.ie-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,13,13,0.95) 0%,
    rgba(13,13,13,0.7) 60%,
    rgba(13,13,13,0.9) 100%
  );
}

.ie-hero__inner {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem 1rem;
}

/* Breadcrumb */
.ie-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.75rem;
  animation: ieFadeUp 0.4s ease-out both;
}

.ie-breadcrumb__link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  transition: color 0.2s;
}

.ie-breadcrumb__link:hover { color: var(--ie-green-l); }

.ie-breadcrumb__sep {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
}

.ie-breadcrumb__current {
  font-size: 0.78rem;
  color: var(--ie-green-l);
  font-weight: 600;
}

/* Badge categoria */
.ie-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(52,168,83,0.15);
  border: 1px solid rgba(52,168,83,0.4);
  color: var(--ie-green-l);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 3rem;
  margin-bottom: 1.25rem;
  animation: ieFadeUp 0.4s ease-out 0.1s both;
}

.ie-hero__badge i { font-size: 0.95rem; }

/* Titolo hero */
.ie-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  animation: ieFadeUp 0.4s ease-out 0.2s both;
}

.ie-hero__title-accent { color: var(--ie-green-l); }

/* Sottotitolo hero */
.ie-hero__subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  max-width: 55ch;
  margin-bottom: 2rem;
  animation: ieFadeUp 0.4s ease-out 0.3s both;
}

/* Certificazioni rapide */
.ie-hero__certs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: ieFadeUp 0.4s ease-out 0.4s both;
}

.ie-hero__cert {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
}

.ie-hero__cert i {
  font-size: 0.85rem;
  color: var(--ie-green-l);
}

/* Onda di transizione */
.ie-hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.ie-hero__wave svg {
  display: block;
  width: 100%;
  height: 80px;
}


/* ═══════════════════════════════════════════
   2. INTRO + NUMERI
═══════════════════════════════════════════ */
.ie-intro {
  background: var(--ie-gray);
  padding: 4.5rem 0;
}

.ie-intro__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  padding: 0 1rem;
}

.ie-intro__desc {
  font-size: 0.92rem;
  color: var(--ie-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

/* Griglia numeri */
.ie-intro__numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.ie-number-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ie-number-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.ie-number-card__value {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--ie-green);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -1px;
}

.ie-number-card__label {
  display: block;
  font-size: 0.78rem;
  color: var(--ie-muted);
  font-weight: 500;
  line-height: 1.4;
}

.ie-number-card__bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ie-green), transparent);
}

@media screen and (min-width: 1024px) {
  .ie-intro__inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 5rem;
  }
}


/* ═══════════════════════════════════════════
   3. SERVIZI DETTAGLIATI
═══════════════════════════════════════════ */
.ie-services {
  background: #fff;
  padding: 4.5rem 0;
}

.ie-services__inner {
  padding: 0 1rem;
}

.ie-services__header {
  text-align: center;
  margin-bottom: 3rem;
}

.ie-services__sub {
  font-size: 0.9rem;
  color: var(--ie-muted);
  max-width: 55ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Griglia card servizi */
.ie-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media screen and (min-width: 640px) {
  .ie-services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (min-width: 1024px) {
  .ie-services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Singola card servizio */
.ie-srv-card {
  background: var(--ie-gray);
  border-radius: 1.15rem;
  padding: 1.75rem;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ie-srv-card:hover {
  border-color: var(--ie-green);
  background: #fff;
  box-shadow: 0 8px 32px rgba(52,168,83,0.12);
  transform: translateY(-4px);
}

.ie-srv-card__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--ie-green), #2a9146);
  border-radius: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.ie-srv-card:hover .ie-srv-card__icon {
  transform: scale(1.1) rotate(4deg);
}

.ie-srv-card__icon i {
  font-size: 1.5rem;
  color: #fff;
}

.ie-srv-card__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ie-text);
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

.ie-srv-card:hover .ie-srv-card__title {
  color: var(--ie-green);
}

.ie-srv-card__desc {
  font-size: 0.85rem;
  color: var(--ie-muted);
  line-height: 1.65;
  margin-bottom: 0.5rem;
}

.ie-srv-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ie-srv-card__list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: hsl(0,0%,30%);
  transition: transform 0.25s ease;
}

.ie-srv-card:hover .ie-srv-card__list li {
  transform: translateX(4px);
}

.ie-srv-card__list i {
  font-size: 0.9rem;
  color: var(--ie-green);
  flex-shrink: 0;
}


/* ═══════════════════════════════════════════
   4. GALLERIA
═══════════════════════════════════════════ */
.ie-gallery {
  background: var(--ie-gray);
  padding: 4.5rem 0;
}

.ie-gallery__inner {
  padding: 0 1rem;
}

.ie-gallery__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ie-gallery__sub {
  font-size: 0.9rem;
  color: var(--ie-muted);
  max-width: 55ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid masonry-like */
.ie-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

@media screen and (min-width: 768px) {
  .ie-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 240px;
  }

  .ie-gallery__item--tall { grid-row: span 2; }
  .ie-gallery__item--wide { grid-column: span 2; }
}

.ie-gallery__item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--ie-dark2);
  cursor: pointer;
  aspect-ratio: 4/3;
}

@media screen and (min-width: 768px) {
  .ie-gallery__item { aspect-ratio: auto; }
}

.ie-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, filter 0.45s ease;
  filter: brightness(0.85) saturate(0.9);
}

.ie-gallery__item:hover .ie-gallery__img {
  transform: scale(1.06);
  filter: brightness(0.65) saturate(1.1);
}

/* Caption che appare in hover */
.ie-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.ie-gallery__item:hover .ie-gallery__caption {
  transform: translateY(0);
}

.ie-gallery__caption-tag {
  display: inline-block;
  background: var(--ie-green);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.4rem;
}

.ie-gallery__caption p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  margin: 0;
}

/* Placeholder quando l'immagine non esiste */
.ie-gallery__item--placeholder {
  background: linear-gradient(135deg, #1a1a1a, #222);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ie-gallery__item--placeholder::before {
  content: '\ef5c'; /* ri-image-line unicode */
  font-family: 'remixicon';
  font-size: 3rem;
  color: rgba(255,255,255,0.12);
}

.ie-gallery__item--placeholder .ie-gallery__img {
  display: none;
}

/* Nota sotto galleria */
.ie-gallery__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ie-muted);
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(52,168,83,0.06);
  border-radius: 6px;
  border-left: 3px solid var(--ie-green);
}

.ie-gallery__note i { color: var(--ie-green); flex-shrink: 0; }


/* ═══════════════════════════════════════════
   5. PROCESSO
═══════════════════════════════════════════ */
.ie-process {
  background: var(--ie-dark);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

/* Sfondo radiale decorativo */
.ie-process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 80%, rgba(52,168,83,0.1) 0%, transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(52,168,83,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.ie-process__inner {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.ie-process__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.ie-process__sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  max-width: 50ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Steps in riga */
.ie-process__steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

@media screen and (min-width: 768px) {
  .ie-process__steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
  }
}

/* Singolo step */
.ie-step {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 1rem;
  flex: 1;
}

@media screen and (min-width: 768px) {
  .ie-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 0 1rem;
  }
}

.ie-step__num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--ie-green), #2a9146);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
}

.ie-step__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.ie-step__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

/* Connettore tra step */
.ie-step__connector {
  display: none;
}

@media screen and (min-width: 768px) {
  .ie-step__connector {
    display: flex;
    align-items: flex-start;
    padding-top: 26px; /* allinea con il centro del cerchio */
    flex-shrink: 0;
  }

  .ie-step__connector::before {
    content: '';
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--ie-green), rgba(52,168,83,0.3));
  }
}

/* Linea verticale su mobile */
@media screen and (max-width: 767px) {
  .ie-step {
    border-left: 2px solid rgba(52,168,83,0.25);
    margin-left: 26px;
    position: relative;
  }

  .ie-step__num {
    position: absolute;
    left: -27px;
    top: 1.5rem;
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .ie-step__body {
    padding-left: 1rem;
  }
}


/* ═══════════════════════════════════════════
   6. FAQ
═══════════════════════════════════════════ */
.ie-faq {
  background: #fff;
  padding: 4.5rem 0;
}

.ie-faq__inner {
  padding: 0 1rem;
  max-width: 780px;
  margin: 0 auto;
}

.ie-faq__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.ie-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ie-faq__item {
  background: var(--ie-gray);
  border-radius: 0.85rem;
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.ie-faq__item[open] {
  border-color: var(--ie-green);
}

.ie-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ie-text);
  list-style: none;
  user-select: none;
  transition: color 0.2s ease;
}

.ie-faq__question::-webkit-details-marker { display: none; }

.ie-faq__item[open] .ie-faq__question {
  color: var(--ie-green);
}

.ie-faq__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--ie-green);
  transition: transform 0.3s ease;
}

.ie-faq__item[open] .ie-faq__icon {
  transform: rotate(45deg);
}

.ie-faq__answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.875rem;
  color: var(--ie-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 0;
  padding-top: 1rem;
}


/* ═══════════════════════════════════════════
   7. CTA FINALE
═══════════════════════════════════════════ */
.ie-cta {
  background: var(--ie-dark2);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.ie-cta__inner {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
  text-align: center;
}

.ie-cta__icon-big {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--ie-green), #2a9146);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  box-shadow: 0 12px 36px rgba(52,168,83,0.4);
  animation: ieIconPulse 3s ease-in-out infinite;
}

@keyframes ieIconPulse {
  0%, 100% { box-shadow: 0 12px 36px rgba(52,168,83,0.4); }
  50%       { box-shadow: 0 12px 52px rgba(52,168,83,0.65); }
}

.ie-cta__icon-big i {
  font-size: 2rem;
  color: #fff;
}

.ie-cta__title {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}

.ie-cta__title-green { color: var(--ie-green-l); }

.ie-cta__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 48ch;
  margin-inline: auto;
}

.ie-cta__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.ie-cta__note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.ie-cta__note i { color: var(--ie-green); }

/* Anelli decorativi */
.ie-cta__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.ie-cta__deco-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(52,168,83,0.12);
}

.ie-cta__deco-ring--1 {
  width: 400px; height: 400px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.ie-cta__deco-ring--2 {
  width: 650px; height: 650px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.ie-cta__deco-ring--3 {
  width: 900px; height: 900px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* ─────────────────────────────────────────────
   ANIMAZIONE BASE PAGINA
───────────────────────────────────────────── */
@keyframes ieFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0);     }
}



/* SEZIONE FOTOVOLTAICO */
/*===============================================================
  CSS PAGINA: fotovoltaico.php
  Aggiungi alla fine del tuo style.css
  oppure collega come file separato: fotovoltaico.css
================================================================*/

/* ─────────────────────────────────────────────
   VARIABILI SPECIFICHE FOTOVOLTAICO
   Palette solare: ambra/oro — distinta dal verde elettrico
───────────────────────────────────────────── */
:root {
  --fv-solar:    #f59e0b;    /* ambra solare */
  --fv-solar-d:  #d97706;    /* ambra scura */
  --fv-solar-l:  #fcd34d;    /* ambra chiara */
  --fv-dark:     #0d0d0d;
  --fv-dark2:    #111827;
  --fv-gray:     #f8f7f4;    /* bianco caldo */
  --fv-gray2:    #f0eeea;
  --fv-text:     #1a1a1a;
  --fv-muted:    #6b7280;
  --fv-green:    #34a853;    /* verde brand */
}

/* ─────────────────────────────────────────────
   UTILITY CONDIVISE
───────────────────────────────────────────── */
.fv-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--fv-solar);
  margin-bottom: 0.65rem;
}

.fv-label--white { color: rgba(255,255,255,0.6); }

.fv-section-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 900;
  color: var(--fv-text);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 0.9rem;
}

.fv-section-title--white { color: #ffffff; }

/* Bottoni */
.fv-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 7px;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.fv-btn--lg { padding: 1rem 2rem; font-size: 0.95rem; }

/* Solare (ambra) */
.fv-btn--solar {
  background: var(--fv-solar);
  color: var(--fv-dark);
  border-color: var(--fv-solar);
}
.fv-btn--solar:hover {
  background: var(--fv-solar-d);
  border-color: var(--fv-solar-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,158,11,0.45);
}

/* Glass su sfondo scuro */
.fv-btn--glass {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}
.fv-btn--glass:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* Glass dark */
.fv-btn--glass-dark {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}
.fv-btn--glass-dark:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════ */
.fv-hero {
  position: relative;
  background: var(--fv-dark);
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 6rem;
}

/* Effetto sole nel cielo */
.fv-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.fv-hero__sun {
  position: absolute;
  top: -100px;
  right: 10%;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(245,158,11,0.35) 0%,
    rgba(245,158,11,0.12) 40%,
    transparent 70%
  );
  animation: fvSunPulse 6s ease-in-out infinite;
}

@keyframes fvSunPulse {
  0%, 100% { transform: scale(1);    opacity: 0.8; }
  50%       { transform: scale(1.12); opacity: 1;   }
}

/* Raggi solari CSS */
.fv-hero__rays {
  position: absolute;
  top: -60px;
  right: 14%;
  width: 280px;
  height: 280px;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(245,158,11,0.06) 10deg,
    transparent 20deg,
    transparent 30deg,
    rgba(245,158,11,0.05) 40deg,
    transparent 50deg,
    transparent 60deg,
    rgba(245,158,11,0.07) 70deg,
    transparent 80deg,
    transparent 90deg,
    rgba(245,158,11,0.05) 100deg,
    transparent 110deg
  );
  animation: fvRaysSpin 20s linear infinite;
}

@keyframes fvRaysSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.fv-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(13,13,13,0.97) 0%,
    rgba(13,13,13,0.80) 50%,
    rgba(13,13,13,0.55) 100%
  );
}

/* Inner layout */
.fv-hero__inner {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem 1rem;
  width: 100%;
}

/* Breadcrumb */
.fv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 2rem;
  animation: fvFadeUp 0.4s ease-out both;
}

.fv-breadcrumb__link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  transition: color 0.2s;
}
.fv-breadcrumb__link:hover { color: var(--fv-solar-l); }

.fv-breadcrumb__sep {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
}

.fv-breadcrumb__current {
  font-size: 0.78rem;
  color: var(--fv-solar-l);
  font-weight: 600;
}

/* Hero content: due colonne */
.fv-hero__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media screen and (min-width: 900px) {
  .fv-hero__content {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

/* Badge */
.fv-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--fv-solar-l);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 3rem;
  margin-bottom: 1.25rem;
  animation: fvFadeUp 0.4s ease-out 0.1s both;
}
.fv-hero__badge i { font-size: 1rem; }

/* Titolo */
.fv-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  animation: fvFadeUp 0.4s ease-out 0.2s both;
}
.fv-hero__title-accent { color: var(--fv-solar-l); }

/* Sottotitolo */
.fv-hero__subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 50ch;
  margin-bottom: 2rem;
  animation: fvFadeUp 0.4s ease-out 0.3s both;
}

/* Azioni */
.fv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
  animation: fvFadeUp 0.4s ease-out 0.4s both;
}

/* Vantaggi rapidi */
.fv-hero__perks {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  animation: fvFadeUp 0.4s ease-out 0.5s both;
}

.fv-hero__perk {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}
.fv-hero__perk i {
  font-size: 0.95rem;
  color: var(--fv-solar);
  flex-shrink: 0;
}

/* Card risparmio */
.fv-hero__card {
  animation: fvFadeUp 0.5s ease-out 0.4s both;
}

.fv-savings-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245,158,11,0.25);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.fv-savings-card__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.85rem;
}
.fv-savings-card__header i {
  font-size: 0.9rem;
  color: var(--fv-solar);
}

.fv-savings-card__amount {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--fv-solar-l);
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.fv-savings-card__note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.fv-savings-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.fv-savings-bar__label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  width: 85px;
  flex-shrink: 0;
}

.fv-savings-bar__track {
  flex: 1;
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}

.fv-savings-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--fv-solar), var(--fv-solar-l));
  border-radius: 99px;
  animation: fvBarGrow 1.2s ease-out 0.8s both;
  transform-origin: left;
}

.fv-savings-bar__fill--light {
  background: linear-gradient(90deg, rgba(245,158,11,0.4), rgba(245,158,11,0.2));
}

@keyframes fvBarGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.fv-savings-bar__val {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--fv-solar-l);
  width: 30px;
  text-align: right;
  flex-shrink: 0;
}

.fv-savings-card__footer {
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.3);
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  line-height: 1.5;
}
.fv-savings-card__footer i { flex-shrink: 0; color: var(--fv-solar); margin-top: 2px; }

/* Wave */
.fv-hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.fv-hero__wave svg { display: block; width: 100%; height: 80px; }


/* ═══════════════════════════════════════════
   2. INTRO
═══════════════════════════════════════════ */
.fv-intro {
  background: #ffffff;
  padding: 4rem 0 4.5rem;
}

.fv-intro__inner {
  padding: 0 1rem;
}

/* Stats in riga */
.fv-stats-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--fv-gray);
  border-radius: 1rem;
  overflow: hidden;
  margin-bottom: 4rem;
  border: 1px solid rgba(0,0,0,0.06);
}

.fv-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 2rem;
  flex: 1;
  min-width: 140px;
}

.fv-stat-pill__num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--fv-solar-d);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 0.3rem;
}

.fv-stat-pill__label {
  font-size: 0.72rem;
  color: var(--fv-muted);
  font-weight: 500;
  line-height: 1.3;
  max-width: 100px;
}

.fv-stat-pill__sep {
  width: 1px;
  height: 50px;
  background: rgba(0,0,0,0.08);
  flex-shrink: 0;
}

/* Colonne intro testo */
.fv-intro__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media screen and (min-width: 768px) {
  .fv-intro__cols {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }
}

.fv-intro__desc {
  font-size: 0.9rem;
  color: var(--fv-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}


/* ═══════════════════════════════════════════
   3. SERVIZI
═══════════════════════════════════════════ */
.fv-services {
  background: var(--fv-gray);
  padding: 4.5rem 0;
}

.fv-services__inner { padding: 0 1rem; }

.fv-services__header {
  text-align: center;
  margin-bottom: 3rem;
}

.fv-services__sub {
  font-size: 0.88rem;
  color: var(--fv-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid 3 colonne */
.fv-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media screen and (min-width: 640px) {
  .fv-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (min-width: 1024px) {
  .fv-services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card servizio */
.fv-srv {
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.65rem;
  border: 2px solid transparent;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  position: relative;
  overflow: hidden;
}

.fv-srv::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--fv-solar), var(--fv-solar-l));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.fv-srv:hover {
  border-color: rgba(245,158,11,0.35);
  box-shadow: 0 8px 32px rgba(245,158,11,0.12);
  transform: translateY(-4px);
}

.fv-srv:hover::after { opacity: 1; }

/* Header della card */
.fv-srv__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.fv-srv__icon {
  width: 50px; height: 50px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--fv-solar), var(--fv-solar-d));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.fv-srv:hover .fv-srv__icon { transform: scale(1.1) rotate(4deg); }

.fv-srv__icon--orange {
  background: linear-gradient(135deg, #f97316, #ea580c);
}
.fv-srv__icon--blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}
.fv-srv__icon--green {
  background: linear-gradient(135deg, var(--fv-green), #1a7a35);
}
.fv-srv__icon--purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}
.fv-srv__icon--teal {
  background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.fv-srv__icon i { font-size: 1.4rem; color: #fff; }

.fv-srv__tag {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.3);
  color: var(--fv-solar-d);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
}

.fv-srv__title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--fv-text);
  line-height: 1.3;
}
.fv-srv:hover .fv-srv__title { color: var(--fv-solar-d); }

.fv-srv__desc {
  font-size: 0.83rem;
  color: var(--fv-muted);
  line-height: 1.65;
}

.fv-srv__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0;
}

.fv-srv__list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #374151;
  transition: transform 0.22s ease;
}
.fv-srv:hover .fv-srv__list li { transform: translateX(3px); }
.fv-srv__list i { font-size: 0.85rem; color: var(--fv-solar-d); flex-shrink: 0; }

.fv-srv__range {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.fv-srv__range-label {
  font-size: 0.68rem;
  color: var(--fv-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 600;
}
.fv-srv__range-val {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--fv-solar-d);
}


/* ═══════════════════════════════════════════
   4. INCENTIVI
═══════════════════════════════════════════ */
.fv-incentives {
  background: var(--fv-dark2);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.fv-incentives::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 70%, rgba(245,158,11,0.1) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(245,158,11,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.fv-incentives__inner {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.fv-incentives__header {
  text-align: center;
  margin-bottom: 3rem;
}

.fv-incentives__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

.fv-incentives__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto 2rem;
}

@media screen and (min-width: 640px) {
  .fv-incentives__grid { grid-template-columns: repeat(3, 1fr); }
}

.fv-inc-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.1rem;
  padding: 2rem 1.5rem;
  transition: all 0.25s ease;
}

.fv-inc-card:hover {
  background: rgba(245,158,11,0.08);
  border-color: rgba(245,158,11,0.3);
  transform: translateY(-4px);
}

.fv-inc-card--featured {
  background: rgba(245,158,11,0.1);
  border-color: rgba(245,158,11,0.35);
  position: relative;
}

.fv-inc-card--featured::before {
  content: '★ In evidenza';
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--fv-solar);
  color: var(--fv-dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.9rem;
  border-radius: 0 0 6px 6px;
}

.fv-inc-card__perc {
  font-size: 3rem;
  font-weight: 900;
  color: var(--fv-solar-l);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.fv-inc-card--featured .fv-inc-card__perc {
  color: var(--fv-solar);
}

.fv-inc-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.fv-inc-card__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.fv-inc-card__tag {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.fv-incentives__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.55;
}
.fv-incentives__note i { color: var(--fv-solar); flex-shrink: 0; margin-top: 2px; }


/* ═══════════════════════════════════════════
   5. GALLERIA
═══════════════════════════════════════════ */
.fv-gallery {
  background: var(--fv-gray);
  padding: 4.5rem 0;
}

.fv-gallery__inner { padding: 0 1rem; }

.fv-gallery__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.fv-gallery__sub {
  font-size: 0.88rem;
  color: var(--fv-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid galleria */
.fv-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media screen and (min-width: 768px) {
  .fv-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
  .fv-gal-item--wide { grid-column: span 2; }
  .fv-gal-item--tall { grid-row: span 2; }
}

.fv-gal-item {
  position: relative;
  border-radius: 0.95rem;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  aspect-ratio: 4/3;
}

@media screen and (min-width: 768px) {
  .fv-gal-item { aspect-ratio: auto; }
}

.fv-gal-item__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.82) saturate(0.85);
}

.fv-gal-item:hover .fv-gal-item__img {
  transform: scale(1.07);
  filter: brightness(0.6) saturate(1.1);
}

/* Caption */
.fv-gal-item__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.fv-gal-item:hover .fv-gal-item__info { transform: translateY(0); }

.fv-gal-item__tag {
  display: inline-block;
  background: var(--fv-solar);
  color: var(--fv-dark);
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.35rem;
}

.fv-gal-item__info p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* Placeholder mancante */
.fv-gal-item--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1c1a16, #251f0e);
}
.fv-gal-item--placeholder::before {
  content: '\ef5c';
  font-family: 'remixicon';
  font-size: 2.5rem;
  color: rgba(245,158,11,0.15);
}
.fv-gal-item--placeholder .fv-gal-item__img { display: none; }

/* Nota */
.fv-gallery__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--fv-muted);
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(245,158,11,0.06);
  border-radius: 6px;
  border-left: 3px solid var(--fv-solar);
}
.fv-gallery__note i { color: var(--fv-solar); flex-shrink: 0; }


/* ═══════════════════════════════════════════
   6. PROCESSO (timeline verticale)
═══════════════════════════════════════════ */
.fv-process {
  background: #fff;
  padding: 4.5rem 0;
}

.fv-process__inner {
  padding: 0 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.fv-process__header {
  text-align: center;
  margin-bottom: 3rem;
}

.fv-process__sub {
  font-size: 0.88rem;
  color: var(--fv-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

.fv-process__timeline {
  display: flex;
  flex-direction: column;
}

/* Singolo step */
.fv-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.fv-step__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.fv-step__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fv-solar), var(--fv-solar-d));
  color: var(--fv-dark);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(245,158,11,0.4);
  position: relative;
  z-index: 1;
}

.fv-step__line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, rgba(245,158,11,0.4), rgba(245,158,11,0.1));
  margin-top: 4px;
}

.fv-step--last .fv-step__marker { justify-content: flex-start; }
.fv-step--last .fv-step__line { display: none; }

/* Contenuto step */
.fv-step__content {
  padding: 0.25rem 0 2.5rem;
  flex: 1;
}

.fv-step__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(245,158,11,0.1);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.65rem;
}
.fv-step__icon i { font-size: 1rem; color: var(--fv-solar-d); }

.fv-step__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--fv-text);
  margin-bottom: 0.4rem;
}

.fv-step__desc {
  font-size: 0.85rem;
  color: var(--fv-muted);
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.fv-step__detail {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--fv-solar-d);
  font-weight: 600;
  background: rgba(245,158,11,0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
}
.fv-step__detail i { font-size: 0.8rem; }


/* ═══════════════════════════════════════════
   7. FAQ
═══════════════════════════════════════════ */
.fv-faq {
  background: var(--fv-gray);
  padding: 4.5rem 0;
}

.fv-faq__inner { padding: 0 1rem; }

.fv-faq__header {
  text-align: center;
  margin-bottom: 3rem;
}

/* Griglia: domande + aside */
.fv-faq__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media screen and (min-width: 900px) {
  .fv-faq__cols {
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
  }
}

.fv-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.fv-faq__item {
  background: #fff;
  border-radius: 0.85rem;
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.fv-faq__item[open] {
  border-color: var(--fv-solar);
  box-shadow: 0 4px 20px rgba(245,158,11,0.12);
}

.fv-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fv-text);
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}
.fv-faq__q::-webkit-details-marker { display: none; }
.fv-faq__item[open] .fv-faq__q { color: var(--fv-solar-d); }

.fv-faq__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--fv-solar);
  transition: transform 0.3s ease;
}
.fv-faq__item[open] .fv-faq__icon { transform: rotate(45deg); }

.fv-faq__a {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.85rem;
  color: var(--fv-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1rem;
}

/* Aside card */
.fv-aside-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 1.25rem;
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.fv-aside-card__icon {
  width: 52px; height: 52px;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--fv-solar), var(--fv-solar-d));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(245,158,11,0.35);
}
.fv-aside-card__icon i { font-size: 1.5rem; color: #fff; }

.fv-aside-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--fv-text);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.fv-aside-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fv-aside-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: #374151;
  line-height: 1.4;
}
.fv-aside-card__list i {
  font-size: 0.95rem;
  color: var(--fv-solar-d);
  flex-shrink: 0;
  margin-top: 1px;
}


/* ═══════════════════════════════════════════
   8. CTA FINALE
═══════════════════════════════════════════ */
.fv-cta {
  background: var(--fv-dark);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.fv-cta__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.fv-cta__sun-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(245,158,11,0.18) 0%,
    rgba(245,158,11,0.06) 40%,
    transparent 70%
  );
}

.fv-cta__inner {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.fv-cta__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}
.fv-cta__title-accent { color: var(--fv-solar-l); }

.fv-cta__desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.fv-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.fv-cta__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.fv-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
}
.fv-cta__badge i { color: var(--fv-solar); font-size: 0.85rem; }


/* ─────────────────────────────────────────────
   ANIMAZIONE BASE
───────────────────────────────────────────── */
@keyframes fvFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* SEZIONE RETI LAN E TELEFONIA */

/*===============================================================
  CSS PAGINA: reti-lan-telefonia.php
  Palette verde/nero standard del sito
  Aggiungi alla fine del tuo style.css o collega come file separato
================================================================*/

/* ─────────────────────────────────────────────
   VARIABILI
───────────────────────────────────────────── */
:root {
  --rt-green:   #34a853;
  --rt-green-l: #4ade80;
  --rt-green-d: #2a9146;
  --rt-dark:    #0d0d0d;
  --rt-dark2:   #111111;
  --rt-gray:    #f6f7f9;
  --rt-text:    #1a1a1a;
  --rt-muted:   hsl(0, 0%, 40%);
}

/* ─────────────────────────────────────────────
   UTILITY
───────────────────────────────────────────── */
.rt-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--rt-green);
  margin-bottom: 0.6rem;
}

.rt-section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--rt-text);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}

.rt-section-title--white { color: #ffffff; }

/* Bottoni */
.rt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 7px;
  font-family: var(--body-font);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.rt-btn--lg { padding: 1rem 2rem; font-size: 0.95rem; }

.rt-btn--green {
  background: var(--rt-green);
  color: #ffffff;
  border-color: var(--rt-green);
}
.rt-btn--green:hover {
  background: var(--rt-green-d);
  border-color: var(--rt-green-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52,168,83,0.4);
}

.rt-btn--dark {
  background: var(--rt-dark);
  color: #ffffff;
  border-color: var(--rt-dark);
}
.rt-btn--dark:hover {
  background: var(--rt-green);
  border-color: var(--rt-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52,168,83,0.35);
}

.rt-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}
.rt-btn--outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.rt-btn--outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.28);
}
.rt-btn--outline-white:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════ */
.rt-hero {
  position: relative;
  background: var(--rt-dark);
  min-height: 54vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 5rem;
}

.rt-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Pattern griglia sottile */
.rt-hero__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(52,168,83,0.09) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(52,168,83,0.05) 0%, transparent 40%);
  background-size: 80px 80px;
}

.rt-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(13,13,13,0.98) 0%,
    rgba(13,13,13,0.78) 60%,
    rgba(13,13,13,0.92) 100%
  );
}

.rt-hero__inner {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem 1rem;
}

/* Breadcrumb */
.rt-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.75rem;
  animation: rtFadeUp 0.4s ease-out both;
}

.rt-breadcrumb__link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  transition: color 0.2s;
}
.rt-breadcrumb__link:hover { color: var(--rt-green-l); }

.rt-breadcrumb__sep {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
}

.rt-breadcrumb__current {
  font-size: 0.78rem;
  color: var(--rt-green-l);
  font-weight: 600;
}

/* Badge */
.rt-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(52,168,83,0.1);
  border: 1px solid rgba(52,168,83,0.35);
  color: var(--rt-green-l);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  width: fit-content;
  animation: rtFadeUp 0.4s ease-out 0.1s both;
}

.rt-hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--rt-green-l);
  border-radius: 50%;
  animation: rtPulseDot 2s ease-in-out infinite;
}

@keyframes rtPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

/* Titolo */
.rt-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  animation: rtFadeUp 0.4s ease-out 0.2s both;
}
.rt-hero__title-accent { color: var(--rt-green-l); }

/* Sottotitolo */
.rt-hero__subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 55ch;
  margin-bottom: 1.75rem;
  animation: rtFadeUp 0.4s ease-out 0.3s both;
}

/* Pills */
.rt-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  animation: rtFadeUp 0.4s ease-out 0.35s both;
}

.rt-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
}
.rt-hero__pill i { font-size: 0.8rem; color: var(--rt-green-l); }

/* Azioni */
.rt-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: rtFadeUp 0.4s ease-out 0.4s both;
}

/* Wave */
.rt-hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.rt-hero__wave svg { display: block; width: 100%; height: 80px; }


/* ═══════════════════════════════════════════
   2. INTRO + NUMERI
═══════════════════════════════════════════ */
.rt-intro {
  background: var(--rt-gray);
  padding: 4.5rem 0;
}

.rt-intro__inner { padding: 0 1rem; }

/* Numeri */
.rt-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

@media screen and (min-width: 768px) {
  .rt-numbers { grid-template-columns: repeat(4, 1fr); }
}

.rt-number-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rt-number-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.rt-number-card__val {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--rt-green);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 0.4rem;
}

.rt-number-card__label {
  display: block;
  font-size: 0.77rem;
  color: var(--rt-muted);
  font-weight: 500;
  line-height: 1.4;
}

.rt-number-card__bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rt-green), transparent);
}

/* Colonne testo + infobox */
.rt-intro__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media screen and (min-width: 1024px) {
  .rt-intro__cols {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.rt-intro__desc {
  font-size: 0.9rem;
  color: var(--rt-muted);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

/* Infobox */
.rt-infobox {
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.75rem;
  border-left: 4px solid var(--rt-green);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.rt-infobox__icon {
  width: 46px; height: 46px;
  background: rgba(52,168,83,0.1);
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.rt-infobox__icon i {
  font-size: 1.4rem;
  color: var(--rt-green);
}

.rt-infobox__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--rt-text);
  margin-bottom: 1rem;
}

.rt-infobox__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rt-infobox__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--rt-muted);
  line-height: 1.6;
}
.rt-infobox__list i {
  font-size: 0.9rem;
  color: var(--rt-green);
  flex-shrink: 0;
  margin-top: 2px;
}
.rt-infobox__list strong {
  color: var(--rt-text);
  font-weight: 700;
}


/* ═══════════════════════════════════════════
   3. SERVIZI
═══════════════════════════════════════════ */
.rt-services {
  background: #fff;
  padding: 4.5rem 0;
}

.rt-services__inner { padding: 0 1rem; }

.rt-services__header {
  text-align: center;
  margin-bottom: 3rem;
}

.rt-services__sub {
  font-size: 0.88rem;
  color: var(--rt-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Griglia card */
.rt-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media screen and (min-width: 640px) {
  .rt-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (min-width: 1024px) {
  .rt-services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card servizio */
.rt-srv-card {
  background: var(--rt-gray);
  border-radius: 1.15rem;
  padding: 1.65rem;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.rt-srv-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rt-green), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.rt-srv-card:hover {
  border-color: var(--rt-green);
  background: #fff;
  box-shadow: 0 8px 32px rgba(52,168,83,0.1);
  transform: translateY(-4px);
}

.rt-srv-card:hover::after { opacity: 1; }

/* Top */
.rt-srv-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.rt-srv-card__icon {
  width: 50px; height: 50px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--rt-green), var(--rt-green-d));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.rt-srv-card:hover .rt-srv-card__icon { transform: scale(1.1) rotate(4deg); }

.rt-srv-card__icon i { font-size: 1.4rem; color: #fff; }

/* Varianti icone */
.rt-srv-card__icon--blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.rt-srv-card__icon--orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.rt-srv-card__icon--purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.rt-srv-card__icon--red    { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.rt-srv-card__icon--teal   { background: linear-gradient(135deg, #14b8a6, #0d9488); }

.rt-srv-card__tag {
  display: inline-block;
  background: rgba(52,168,83,0.1);
  border: 1px solid rgba(52,168,83,0.3);
  color: var(--rt-green-d);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.18rem 0.55rem;
  border-radius: 3px;
}

.rt-srv-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--rt-text);
  line-height: 1.3;
}
.rt-srv-card:hover .rt-srv-card__title { color: var(--rt-green-d); }

.rt-srv-card__desc {
  font-size: 0.83rem;
  color: var(--rt-muted);
  line-height: 1.65;
}

.rt-srv-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.rt-srv-card__list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #374151;
  transition: transform 0.22s ease;
}
.rt-srv-card:hover .rt-srv-card__list li { transform: translateX(3px); }
.rt-srv-card__list i { font-size: 0.85rem; color: var(--rt-green); flex-shrink: 0; }


/* ═══════════════════════════════════════════
   4. VOIP
═══════════════════════════════════════════ */
.rt-voip {
  background: var(--rt-dark);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.rt-voip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 70%, rgba(52,168,83,0.09) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(52,168,83,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.rt-voip__inner {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.rt-voip__header {
  text-align: center;
  margin-bottom: 3rem;
}

.rt-voip__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

.rt-voip__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media screen and (min-width: 640px) {
  .rt-voip__grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (min-width: 1024px) {
  .rt-voip__grid { grid-template-columns: repeat(3, 1fr); }
}

.rt-voip-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.1rem;
  padding: 1.65rem;
  transition: all 0.25s ease;
}

.rt-voip-card:hover {
  background: rgba(52,168,83,0.07);
  border-color: rgba(52,168,83,0.3);
  transform: translateY(-4px);
}

.rt-voip-card__icon {
  width: 46px; height: 46px;
  background: rgba(52,168,83,0.15);
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.rt-voip-card__icon i {
  font-size: 1.3rem;
  color: var(--rt-green-l);
}

.rt-voip-card__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.rt-voip-card__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════
   5. CASO STUDIO
═══════════════════════════════════════════ */
.rt-case {
  background: var(--rt-gray);
  padding: 4.5rem 0;
}

.rt-case__inner { padding: 0 1rem; }

.rt-case__header {
  text-align: center;
  margin-bottom: 3rem;
}

.rt-case__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media screen and (min-width: 900px) {
  .rt-case__layout {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.rt-case__subtitle {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--rt-text);
  margin-bottom: 0.6rem;
  margin-top: 1.5rem;
}
.rt-case__subtitle:first-child { margin-top: 0; }

.rt-case__desc {
  font-size: 0.88rem;
  color: var(--rt-muted);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.rt-case__desc strong {
  color: var(--rt-text);
  font-weight: 700;
}

.rt-case__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.rt-case__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: var(--rt-muted);
  line-height: 1.65;
}
.rt-case__list i {
  font-size: 0.9rem;
  color: var(--rt-green);
  flex-shrink: 0;
  margin-top: 2px;
}
.rt-case__list strong {
  color: var(--rt-text);
  font-weight: 700;
}

/* Visual boxes */
.rt-case__visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.rt-case__box {
  background: #fff;
  border-radius: 1rem;
  padding: 1.35rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s ease;
}

.rt-case__box:hover { transform: translateY(-4px); }

.rt-case__box-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--rt-green), var(--rt-green-d));
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
}
.rt-case__box-icon i { font-size: 1.3rem; color: #fff; }

.rt-case__box-icon--blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.rt-case__box-icon--orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.rt-case__box-icon--purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.rt-case__box-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--rt-text);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.rt-case__box-text {
  font-size: 0.75rem;
  color: var(--rt-muted);
  line-height: 1.4;
}


/* ═══════════════════════════════════════════
   6. FAQ
═══════════════════════════════════════════ */
.rt-faq {
  background: #fff;
  padding: 4.5rem 0;
}

.rt-faq__inner { padding: 0 1rem; }

.rt-faq__header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.rt-faq__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media screen and (min-width: 900px) {
  .rt-faq__layout {
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
  }
}

.rt-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.rt-faq__item {
  background: var(--rt-gray);
  border-radius: 0.85rem;
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.rt-faq__item[open] {
  border-color: var(--rt-green);
  box-shadow: 0 4px 20px rgba(52,168,83,0.1);
}

.rt-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--rt-text);
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}
.rt-faq__q::-webkit-details-marker { display: none; }
.rt-faq__item[open] .rt-faq__q { color: var(--rt-green-d); }

.rt-faq__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--rt-green);
  transition: transform 0.3s ease;
}
.rt-faq__item[open] .rt-faq__icon { transform: rotate(45deg); }

.rt-faq__a {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.85rem;
  color: var(--rt-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.rt-faq__a strong { color: var(--rt-text); font-weight: 700; }

/* Aside */
.rt-aside-card {
  background: var(--rt-gray);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.25rem;
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.rt-aside-card__icon {
  width: 52px; height: 52px;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--rt-green), var(--rt-green-d));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(52,168,83,0.3);
}
.rt-aside-card__icon i { font-size: 1.5rem; color: #fff; }

.rt-aside-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--rt-text);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.rt-aside-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.rt-aside-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: #374151;
  line-height: 1.4;
}
.rt-aside-card__list i {
  font-size: 0.95rem;
  color: var(--rt-green);
  flex-shrink: 0;
  margin-top: 1px;
}


/* ═══════════════════════════════════════════
   7. CTA FINALE
═══════════════════════════════════════════ */
.rt-cta {
  background: var(--rt-dark2);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.rt-cta__inner {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.rt-cta__icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--rt-green), var(--rt-green-d));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  box-shadow: 0 12px 36px rgba(52,168,83,0.4);
  animation: rtIconPulse 3s ease-in-out infinite;
}
.rt-cta__icon-wrap i { font-size: 2rem; color: #fff; }

@keyframes rtIconPulse {
  0%, 100% { box-shadow: 0 12px 36px rgba(52,168,83,0.4); }
  50%       { box-shadow: 0 12px 52px rgba(52,168,83,0.65); }
}

.rt-cta__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}
.rt-cta__title-accent { color: var(--rt-green-l); }

.rt-cta__desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.rt-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.rt-cta__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.rt-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
}
.rt-cta__badge i { color: var(--rt-green); font-size: 0.82rem; }

/* Anelli decorativi */
.rt-cta__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.rt-cta__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(52,168,83,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.rt-cta__ring--1 { width: 400px; height: 400px; }
.rt-cta__ring--2 { width: 650px; height: 650px; }
.rt-cta__ring--3 { width: 900px; height: 900px; }


/* ─────────────────────────────────────────────
   ANIMAZIONE
───────────────────────────────────────────── */
@keyframes rtFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/*===============================================================
  CSS PAGINA: antiintrusione-videosorveglianza.php
  Palette verde/nero + galleria foto
  Aggiungi alla fine del tuo style.css
================================================================*/

/* ─────────────────────────────────────────────
   VARIABILI
───────────────────────────────────────────── */
:root {
  --av-green:   #34a853;
  --av-green-l: #4ade80;
  --av-green-d: #2a9146;
  --av-dark:    #0d0d0d;
  --av-dark2:   #111111;
  --av-gray:    #f6f7f9;
  --av-text:    #1a1a1a;
  --av-muted:   hsl(0, 0%, 40%);
}

/* ─────────────────────────────────────────────
   UTILITY
───────────────────────────────────────────── */
.av-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--av-green);
  margin-bottom: 0.6rem;
}

.av-section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--av-text);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}

.av-section-title--white { color: #ffffff; }

/* Bottoni */
.av-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 7px;
  font-family: var(--body-font);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.av-btn--lg { padding: 1rem 2rem; font-size: 0.95rem; }

.av-btn--green {
  background: var(--av-green);
  color: #ffffff;
  border-color: var(--av-green);
}
.av-btn--green:hover {
  background: var(--av-green-d);
  border-color: var(--av-green-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52,168,83,0.4);
}

.av-btn--dark {
  background: var(--av-dark);
  color: #ffffff;
  border-color: var(--av-dark);
}
.av-btn--dark:hover {
  background: var(--av-green);
  border-color: var(--av-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52,168,83,0.35);
}

.av-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}
.av-btn--outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.av-btn--outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.28);
}
.av-btn--outline-white:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════ */
.av-hero {
  position: relative;
  background: var(--av-dark);
  min-height: 54vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 5rem;
}

.av-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.av-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(52,168,83,0.11) 0%, transparent 50%),
    radial-gradient(circle at 10% 70%, rgba(52,168,83,0.07) 0%, transparent 40%);
}

.av-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(13,13,13,0.98) 0%,
    rgba(13,13,13,0.75) 60%,
    rgba(13,13,13,0.92) 100%
  );
}

.av-hero__inner {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem 1rem;
}

/* Breadcrumb */
.av-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.75rem;
  animation: avFadeUp 0.4s ease-out both;
}

.av-breadcrumb__link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  transition: color 0.2s;
}
.av-breadcrumb__link:hover { color: var(--av-green-l); }

.av-breadcrumb__sep {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
}

.av-breadcrumb__current {
  font-size: 0.78rem;
  color: var(--av-green-l);
  font-weight: 600;
}

/* Badge */
.av-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(52,168,83,0.1);
  border: 1px solid rgba(52,168,83,0.35);
  color: var(--av-green-l);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  width: fit-content;
  animation: avFadeUp 0.4s ease-out 0.1s both;
}

.av-hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--av-green-l);
  border-radius: 50%;
  animation: avPulseDot 2s ease-in-out infinite;
}

@keyframes avPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

/* Titolo */
.av-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  animation: avFadeUp 0.4s ease-out 0.2s both;
}
.av-hero__title-accent { color: var(--av-green-l); }

/* Sottotitolo */
.av-hero__subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 55ch;
  margin-bottom: 1.75rem;
  animation: avFadeUp 0.4s ease-out 0.3s both;
}

/* Pills */
.av-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  animation: avFadeUp 0.4s ease-out 0.35s both;
}

.av-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
}
.av-hero__pill i { font-size: 0.8rem; color: var(--av-green-l); }

/* Azioni */
.av-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: avFadeUp 0.4s ease-out 0.4s both;
}

/* Wave */
.av-hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.av-hero__wave svg { display: block; width: 100%; height: 80px; }


/* ═══════════════════════════════════════════
   2. INTRO + NUMERI
═══════════════════════════════════════════ */
.av-intro {
  background: var(--av-gray);
  padding: 4.5rem 0;
}

.av-intro__inner { padding: 0 1rem; }

/* Numeri */
.av-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

@media screen and (min-width: 768px) {
  .av-numbers { grid-template-columns: repeat(4, 1fr); }
}

.av-number-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.av-number-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.av-number-card__val {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--av-green);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 0.4rem;
}

.av-number-card__label {
  display: block;
  font-size: 0.77rem;
  color: var(--av-muted);
  font-weight: 500;
  line-height: 1.4;
}

.av-number-card__bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--av-green), transparent);
}

/* Colonne */
.av-intro__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media screen and (min-width: 1024px) {
  .av-intro__cols {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.av-intro__desc {
  font-size: 0.9rem;
  color: var(--av-muted);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

/* Alert box */
.av-alert-box {
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.75rem;
  border-left: 4px solid var(--av-green);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.av-alert-box__icon {
  width: 46px; height: 46px;
  background: rgba(52,168,83,0.1);
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.av-alert-box__icon i {
  font-size: 1.4rem;
  color: var(--av-green);
}

.av-alert-box__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--av-text);
  margin-bottom: 1rem;
}

.av-alert-box__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.av-alert-box__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--av-muted);
  line-height: 1.6;
}
.av-alert-box__list i {
  font-size: 0.9rem;
  color: var(--av-green);
  flex-shrink: 0;
  margin-top: 2px;
}
.av-alert-box__list strong {
  color: var(--av-text);
  font-weight: 700;
}


/* ═══════════════════════════════════════════
   3. SERVIZI
═══════════════════════════════════════════ */
.av-services {
  background: #fff;
  padding: 4.5rem 0;
}

.av-services__inner { padding: 0 1rem; }

.av-services__header {
  text-align: center;
  margin-bottom: 3rem;
}

.av-services__sub {
  font-size: 0.88rem;
  color: var(--av-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Griglia card */
.av-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media screen and (min-width: 640px) {
  .av-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (min-width: 1024px) {
  .av-services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card servizio */
.av-srv-card {
  background: var(--av-gray);
  border-radius: 1.15rem;
  padding: 1.65rem;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.av-srv-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--av-green), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.av-srv-card:hover {
  border-color: var(--av-green);
  background: #fff;
  box-shadow: 0 8px 32px rgba(52,168,83,0.1);
  transform: translateY(-4px);
}

.av-srv-card:hover::after { opacity: 1; }

/* Top */
.av-srv-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.av-srv-card__icon {
  width: 50px; height: 50px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--av-green), var(--av-green-d));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.av-srv-card:hover .av-srv-card__icon { transform: scale(1.1) rotate(4deg); }

.av-srv-card__icon i { font-size: 1.4rem; color: #fff; }

/* Varianti icone */
.av-srv-card__icon--blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.av-srv-card__icon--orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.av-srv-card__icon--purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.av-srv-card__icon--red    { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.av-srv-card__icon--teal   { background: linear-gradient(135deg, #14b8a6, #0d9488); }

.av-srv-card__tag {
  display: inline-block;
  background: rgba(52,168,83,0.1);
  border: 1px solid rgba(52,168,83,0.3);
  color: var(--av-green-d);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.18rem 0.55rem;
  border-radius: 3px;
}

.av-srv-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--av-text);
  line-height: 1.3;
}
.av-srv-card:hover .av-srv-card__title { color: var(--av-green-d); }

.av-srv-card__desc {
  font-size: 0.83rem;
  color: var(--av-muted);
  line-height: 1.65;
}

.av-srv-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.av-srv-card__list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #374151;
  transition: transform 0.22s ease;
}
.av-srv-card:hover .av-srv-card__list li { transform: translateX(3px); }
.av-srv-card__list i { font-size: 0.85rem; color: var(--av-green); flex-shrink: 0; }


/* ═══════════════════════════════════════════
   4. GALLERIA
═══════════════════════════════════════════ */
.av-gallery {
  background: var(--av-gray);
  padding: 4.5rem 0;
}

.av-gallery__inner { padding: 0 1rem; }

.av-gallery__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.av-gallery__sub {
  font-size: 0.88rem;
  color: var(--av-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid galleria */
.av-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media screen and (min-width: 768px) {
  .av-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
  .av-gal-item--wide { grid-column: span 2; }
  .av-gal-item--tall { grid-row: span 2; }
}

.av-gal-item {
  position: relative;
  border-radius: 0.95rem;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  aspect-ratio: 4/3;
}

@media screen and (min-width: 768px) {
  .av-gal-item { aspect-ratio: auto; }
}

.av-gal-item__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.82) saturate(0.85);
}

.av-gal-item:hover .av-gal-item__img {
  transform: scale(1.07);
  filter: brightness(0.6) saturate(1.1);
}

/* Caption */
.av-gal-item__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.av-gal-item:hover .av-gal-item__info { transform: translateY(0); }

.av-gal-item__tag {
  display: inline-block;
  background: var(--av-green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.35rem;
}

.av-gal-item__info p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* Placeholder mancante */
.av-gal-item--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1c1a16, #251f0e);
}
.av-gal-item--placeholder::before {
  content: '\ef5c';
  font-family: 'remixicon';
  font-size: 2.5rem;
  color: rgba(52,168,83,0.15);
}
.av-gal-item--placeholder .av-gal-item__img { display: none; }

/* Nota */
.av-gallery__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--av-muted);
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(52,168,83,0.06);
  border-radius: 6px;
  border-left: 3px solid var(--av-green);
}
.av-gallery__note i { color: var(--av-green); flex-shrink: 0; }


/* ═══════════════════════════════════════════
   5. TECNOLOGIE
═══════════════════════════════════════════ */
.av-tech {
  background: var(--av-dark);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.av-tech::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 70%, rgba(52,168,83,0.09) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(52,168,83,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.av-tech__inner {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.av-tech__header {
  text-align: center;
  margin-bottom: 3rem;
}

.av-tech__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

.av-tech__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media screen and (min-width: 640px) {
  .av-tech__grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (min-width: 1024px) {
  .av-tech__grid { grid-template-columns: repeat(3, 1fr); }
}

.av-tech-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 1.1rem;
  padding: 1.65rem;
  transition: all 0.25s ease;
}

.av-tech-card:hover {
  background: rgba(52,168,83,0.07);
  border-color: rgba(52,168,83,0.3);
  transform: translateY(-4px);
}

.av-tech-card__icon {
  width: 46px; height: 46px;
  background: rgba(52,168,83,0.15);
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.av-tech-card__icon i {
  font-size: 1.3rem;
  color: var(--av-green-l);
}

.av-tech-card__title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.av-tech-card__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}


/* ═══════════════════════════════════════════
   6. PROCESSO
═══════════════════════════════════════════ */
.av-process {
  background: #fff;
  padding: 4.5rem 0;
}

.av-process__inner {
  padding: 0 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.av-process__header {
  text-align: center;
  margin-bottom: 3rem;
}

.av-process__sub {
  font-size: 0.88rem;
  color: var(--av-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

.av-process__steps {
  display: flex;
  flex-direction: column;
}

/* Step */
.av-pstep {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.av-pstep__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.av-pstep__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--av-green), var(--av-green-d));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(52,168,83,0.35);
  position: relative;
  z-index: 1;
}

.av-pstep__line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, rgba(52,168,83,0.4), rgba(52,168,83,0.08));
  margin-top: 4px;
}

.av-pstep--last .av-pstep__line { display: none; }

.av-pstep__body {
  padding: 0.25rem 0 2.75rem;
  flex: 1;
}

.av-pstep__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(52,168,83,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}
.av-pstep__icon i { font-size: 1rem; color: var(--av-green-d); }

.av-pstep__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--av-text);
  margin-bottom: 0.4rem;
}

.av-pstep__desc {
  font-size: 0.85rem;
  color: var(--av-muted);
  line-height: 1.7;
  margin-bottom: 0.65rem;
}

.av-pstep__time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--av-green-d);
  font-weight: 600;
  background: rgba(52,168,83,0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
}
.av-pstep__time i { font-size: 0.78rem; }


/* ═══════════════════════════════════════════
   7. FAQ
═══════════════════════════════════════════ */
.av-faq {
  background: var(--av-gray);
  padding: 4.5rem 0;
}

.av-faq__inner { padding: 0 1rem; }

.av-faq__header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.av-faq__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media screen and (min-width: 900px) {
  .av-faq__layout {
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
  }
}

.av-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.av-faq__item {
  background: #fff;
  border-radius: 0.85rem;
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.av-faq__item[open] {
  border-color: var(--av-green);
  box-shadow: 0 4px 20px rgba(52,168,83,0.1);
}

.av-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--av-text);
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}
.av-faq__q::-webkit-details-marker { display: none; }
.av-faq__item[open] .av-faq__q { color: var(--av-green-d); }

.av-faq__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--av-green);
  transition: transform 0.3s ease;
}
.av-faq__item[open] .av-faq__icon { transform: rotate(45deg); }

.av-faq__a {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.85rem;
  color: var(--av-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.av-faq__a strong { color: var(--av-text); font-weight: 700; }

/* Aside */
.av-aside-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.25rem;
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.av-aside-card__icon {
  width: 52px; height: 52px;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--av-green), var(--av-green-d));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(52,168,83,0.3);
}
.av-aside-card__icon i { font-size: 1.5rem; color: #fff; }

.av-aside-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--av-text);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.av-aside-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.av-aside-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: #374151;
  line-height: 1.4;
}
.av-aside-card__list i {
  font-size: 0.95rem;
  color: var(--av-green);
  flex-shrink: 0;
  margin-top: 1px;
}


/* ═══════════════════════════════════════════
   8. CTA FINALE
═══════════════════════════════════════════ */
.av-cta {
  background: var(--av-dark2);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.av-cta__inner {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.av-cta__icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--av-green), var(--av-green-d));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  box-shadow: 0 12px 36px rgba(52,168,83,0.4);
  animation: avIconPulse 3s ease-in-out infinite;
}
.av-cta__icon-wrap i { font-size: 2rem; color: #fff; }

@keyframes avIconPulse {
  0%, 100% { box-shadow: 0 12px 36px rgba(52,168,83,0.4); }
  50%       { box-shadow: 0 12px 52px rgba(52,168,83,0.65); }
}

.av-cta__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}
.av-cta__title-accent { color: var(--av-green-l); }

.av-cta__desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.av-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.av-cta__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.av-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
}
.av-cta__badge i { color: var(--av-green); font-size: 0.82rem; }

/* Anelli decorativi */
.av-cta__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.av-cta__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(52,168,83,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.av-cta__ring--1 { width: 400px; height: 400px; }
.av-cta__ring--2 { width: 650px; height: 650px; }
.av-cta__ring--3 { width: 900px; height: 900px; }


/* ─────────────────────────────────────────────
   ANIMAZIONE
───────────────────────────────────────────── */
@keyframes avFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}


/*===============================================================
  CSS PAGINA: climatizzazione.php
  Palette verde/nero + galleria foto
  Aggiungi alla fine del tuo style.css
================================================================*/

/* ─────────────────────────────────────────────
   VARIABILI
───────────────────────────────────────────── */
:root {
  --cl-green:   #34a853;
  --cl-green-l: #4ade80;
  --cl-green-d: #2a9146;
  --cl-dark:    #0d0d0d;
  --cl-dark2:   #111111;
  --cl-gray:    #f6f7f9;
  --cl-text:    #1a1a1a;
  --cl-muted:   hsl(0, 0%, 40%);
}

/* ─────────────────────────────────────────────
   UTILITY
───────────────────────────────────────────── */
.cl-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--cl-green);
  margin-bottom: 0.6rem;
}

.cl-section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  color: var(--cl-text);
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}

.cl-section-title--white { color: #ffffff; }

/* Bottoni */
.cl-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 7px;
  font-family: var(--body-font);
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  text-decoration: none;
}

.cl-btn--lg { padding: 1rem 2rem; font-size: 0.95rem; }

.cl-btn--green {
  background: var(--cl-green);
  color: #ffffff;
  border-color: var(--cl-green);
}
.cl-btn--green:hover {
  background: var(--cl-green-d);
  border-color: var(--cl-green-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(52,168,83,0.4);
}

.cl-btn--dark {
  background: var(--cl-dark);
  color: #ffffff;
  border-color: var(--cl-dark);
}
.cl-btn--dark:hover {
  background: var(--cl-green);
  border-color: var(--cl-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52,168,83,0.35);
}

.cl-btn--outline {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.3);
}
.cl-btn--outline:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.cl-btn--outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.28);
}
.cl-btn--outline-white:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}


/* ═══════════════════════════════════════════
   1. HERO
═══════════════════════════════════════════ */
.cl-hero {
  position: relative;
  background: var(--cl-dark);
  min-height: 54vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 5rem;
}

.cl-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cl-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(52,168,83,0.11) 0%, transparent 50%),
    radial-gradient(circle at 10% 70%, rgba(52,168,83,0.07) 0%, transparent 40%);
}

.cl-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(13,13,13,0.98) 0%,
    rgba(13,13,13,0.75) 60%,
    rgba(13,13,13,0.92) 100%
  );
}

.cl-hero__inner {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem 1rem;
}

/* Breadcrumb */
.cl-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 1.75rem;
  animation: clFadeUp 0.4s ease-out both;
}

.cl-breadcrumb__link {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  transition: color 0.2s;
}
.cl-breadcrumb__link:hover { color: var(--cl-green-l); }

.cl-breadcrumb__sep {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
}

.cl-breadcrumb__current {
  font-size: 0.78rem;
  color: var(--cl-green-l);
  font-weight: 600;
}

/* Badge */
.cl-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(52,168,83,0.1);
  border: 1px solid rgba(52,168,83,0.35);
  color: var(--cl-green-l);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  width: fit-content;
  animation: clFadeUp 0.4s ease-out 0.1s both;
}

.cl-hero__badge-dot {
  width: 7px;
  height: 7px;
  background: var(--cl-green-l);
  border-radius: 50%;
  animation: clPulseDot 2s ease-in-out infinite;
}

@keyframes clPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

/* Titolo */
.cl-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -2px;
  margin-bottom: 1rem;
  animation: clFadeUp 0.4s ease-out 0.2s both;
}
.cl-hero__title-accent { color: var(--cl-green-l); }

/* Sottotitolo */
.cl-hero__subtitle {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  max-width: 55ch;
  margin-bottom: 1.75rem;
  animation: clFadeUp 0.4s ease-out 0.3s both;
}

/* Pills */
.cl-hero__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
  animation: clFadeUp 0.4s ease-out 0.35s both;
}

.cl-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
}
.cl-hero__pill i { font-size: 0.8rem; color: var(--cl-green-l); }

/* Azioni */
.cl-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  animation: clFadeUp 0.4s ease-out 0.4s both;
}

/* Wave */
.cl-hero__wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.cl-hero__wave svg { display: block; width: 100%; height: 80px; }


/* ═══════════════════════════════════════════
   2. INTRO + NUMERI
═══════════════════════════════════════════ */
.cl-intro {
  background: var(--cl-gray);
  padding: 4.5rem 0;
}

.cl-intro__inner { padding: 0 1rem; }

/* Numeri */
.cl-numbers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

@media screen and (min-width: 768px) {
  .cl-numbers { grid-template-columns: repeat(4, 1fr); }
}

.cl-number-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cl-number-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}

.cl-number-card__val {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--cl-green);
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 0.4rem;
}

.cl-number-card__label {
  display: block;
  font-size: 0.77rem;
  color: var(--cl-muted);
  font-weight: 500;
  line-height: 1.4;
}

.cl-number-card__bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cl-green), transparent);
}

/* Colonne */
.cl-intro__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media screen and (min-width: 1024px) {
  .cl-intro__cols {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.cl-intro__desc {
  font-size: 0.9rem;
  color: var(--cl-muted);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

/* Infobox */
.cl-infobox {
  background: #fff;
  border-radius: 1.15rem;
  padding: 1.75rem;
  border-left: 4px solid var(--cl-green);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}

.cl-infobox__icon {
  width: 46px; height: 46px;
  background: rgba(52,168,83,0.1);
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.cl-infobox__icon i {
  font-size: 1.4rem;
  color: var(--cl-green);
}

.cl-infobox__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cl-text);
  margin-bottom: 1rem;
}

.cl-infobox__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cl-infobox__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--cl-muted);
  line-height: 1.6;
}
.cl-infobox__list i {
  font-size: 0.9rem;
  color: var(--cl-green);
  flex-shrink: 0;
  margin-top: 2px;
}
.cl-infobox__list strong {
  color: var(--cl-text);
  font-weight: 700;
}


/* ═══════════════════════════════════════════
   3. SERVIZI
═══════════════════════════════════════════ */
.cl-services {
  background: #fff;
  padding: 4.5rem 0;
}

.cl-services__inner { padding: 0 1rem; }

.cl-services__header {
  text-align: center;
  margin-bottom: 3rem;
}

.cl-services__sub {
  font-size: 0.88rem;
  color: var(--cl-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Griglia card */
.cl-services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media screen and (min-width: 640px) {
  .cl-services__grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (min-width: 1024px) {
  .cl-services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Card servizio */
.cl-srv-card {
  background: var(--cl-gray);
  border-radius: 1.15rem;
  padding: 1.65rem;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.cl-srv-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cl-green), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.cl-srv-card:hover {
  border-color: var(--cl-green);
  background: #fff;
  box-shadow: 0 8px 32px rgba(52,168,83,0.1);
  transform: translateY(-4px);
}

.cl-srv-card:hover::after { opacity: 1; }

/* Top */
.cl-srv-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.cl-srv-card__icon {
  width: 50px; height: 50px;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--cl-green), var(--cl-green-d));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.cl-srv-card:hover .cl-srv-card__icon { transform: scale(1.1) rotate(4deg); }

.cl-srv-card__icon i { font-size: 1.4rem; color: #fff; }

/* Varianti icone */
.cl-srv-card__icon--blue   { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.cl-srv-card__icon--orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.cl-srv-card__icon--purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.cl-srv-card__icon--red    { background: linear-gradient(135deg, #ef4444, #b91c1c); }
.cl-srv-card__icon--teal   { background: linear-gradient(135deg, #14b8a6, #0d9488); }

.cl-srv-card__tag {
  display: inline-block;
  background: rgba(52,168,83,0.1);
  border: 1px solid rgba(52,168,83,0.3);
  color: var(--cl-green-d);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 0.18rem 0.55rem;
  border-radius: 3px;
}

.cl-srv-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cl-text);
  line-height: 1.3;
}
.cl-srv-card:hover .cl-srv-card__title { color: var(--cl-green-d); }

.cl-srv-card__desc {
  font-size: 0.83rem;
  color: var(--cl-muted);
  line-height: 1.65;
}

.cl-srv-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.cl-srv-card__list li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #374151;
  transition: transform 0.22s ease;
}
.cl-srv-card:hover .cl-srv-card__list li { transform: translateX(3px); }
.cl-srv-card__list i { font-size: 0.85rem; color: var(--cl-green); flex-shrink: 0; }


/* ═══════════════════════════════════════════
   4. GALLERIA
═══════════════════════════════════════════ */
.cl-gallery {
  background: var(--cl-gray);
  padding: 4.5rem 0;
}

.cl-gallery__inner { padding: 0 1rem; }

.cl-gallery__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.cl-gallery__sub {
  font-size: 0.88rem;
  color: var(--cl-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grid galleria */
.cl-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media screen and (min-width: 768px) {
  .cl-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
  .cl-gal-item--wide { grid-column: span 2; }
  .cl-gal-item--tall { grid-row: span 2; }
}

.cl-gal-item {
  position: relative;
  border-radius: 0.95rem;
  overflow: hidden;
  background: #1a1a1a;
  cursor: pointer;
  aspect-ratio: 4/3;
}

@media screen and (min-width: 768px) {
  .cl-gal-item { aspect-ratio: auto; }
}

.cl-gal-item__img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: brightness(0.82) saturate(0.85);
}

.cl-gal-item:hover .cl-gal-item__img {
  transform: scale(1.07);
  filter: brightness(0.6) saturate(1.1);
}

/* Caption */
.cl-gal-item__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 2;
}

.cl-gal-item:hover .cl-gal-item__info { transform: translateY(0); }

.cl-gal-item__tag {
  display: inline-block;
  background: var(--cl-green);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.18rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.35rem;
}

.cl-gal-item__info p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

/* Placeholder mancante */
.cl-gal-item--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1c1a16, #251f0e);
}
.cl-gal-item--placeholder::before {
  content: '\ef5c';
  font-family: 'remixicon';
  font-size: 2.5rem;
  color: rgba(52,168,83,0.15);
}
.cl-gal-item--placeholder .cl-gal-item__img { display: none; }

/* Nota */
.cl-gallery__note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--cl-muted);
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: rgba(52,168,83,0.06);
  border-radius: 6px;
  border-left: 3px solid var(--cl-green);
}
.cl-gallery__note i { color: var(--cl-green); flex-shrink: 0; }


/* ═══════════════════════════════════════════
   5. DETRAZIONI
═══════════════════════════════════════════ */
.cl-detrazioni {
  background: var(--cl-dark);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.cl-detrazioni::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 70%, rgba(52,168,83,0.09) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(52,168,83,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.cl-detrazioni__inner {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.cl-detrazioni__header {
  text-align: center;
  margin-bottom: 3rem;
}

.cl-detrazioni__sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

.cl-detrazioni__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto 2.5rem;
}

@media screen and (min-width: 640px) {
  .cl-detrazioni__grid { grid-template-columns: repeat(3, 1fr); }
}

.cl-detr-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1.1rem;
  padding: 2rem 1.5rem;
  transition: all 0.25s ease;
}

.cl-detr-card:hover {
  background: rgba(52,168,83,0.08);
  border-color: rgba(52,168,83,0.3);
  transform: translateY(-4px);
}

.cl-detr-card--featured {
  background: rgba(52,168,83,0.1);
  border-color: rgba(52,168,83,0.35);
  position: relative;
}

.cl-detr-card--featured::before {
  content: '★ Migliore';
  position: absolute;
  top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--cl-green);
  color: var(--cl-dark);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.9rem;
  border-radius: 0 0 6px 6px;
}

.cl-detr-card__perc {
  font-size: 3rem;
  font-weight: 900;
  color: var(--cl-green-l);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.cl-detr-card--featured .cl-detr-card__perc {
  color: var(--cl-green);
}

.cl-detr-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.cl-detr-card__desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.cl-detr-card__tag {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.55);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

/* Help box */
.cl-detrazioni__help {
  max-width: 680px;
  margin: 0 auto;
  background: rgba(52,168,83,0.1);
  border: 1px solid rgba(52,168,83,0.3);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.cl-detrazioni__help-icon {
  width: 48px; height: 48px;
  background: var(--cl-green);
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cl-detrazioni__help-icon i {
  font-size: 1.3rem;
  color: #fff;
}

.cl-detrazioni__help-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.4rem;
}

.cl-detrazioni__help-text p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin: 0;
}


/* ═══════════════════════════════════════════
   6. PROCESSO
═══════════════════════════════════════════ */
.cl-process {
  background: #fff;
  padding: 4.5rem 0;
}

.cl-process__inner {
  padding: 0 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.cl-process__header {
  text-align: center;
  margin-bottom: 3rem;
}

.cl-process__sub {
  font-size: 0.88rem;
  color: var(--cl-muted);
  max-width: 52ch;
  margin: 0 auto;
  line-height: 1.7;
}

.cl-process__steps {
  display: flex;
  flex-direction: column;
}

/* Step */
.cl-pstep {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.cl-pstep__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.cl-pstep__num {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cl-green), var(--cl-green-d));
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(52,168,83,0.35);
  position: relative;
  z-index: 1;
}

.cl-pstep__line {
  width: 2px;
  flex: 1;
  min-height: 40px;
  background: linear-gradient(to bottom, rgba(52,168,83,0.4), rgba(52,168,83,0.08));
  margin-top: 4px;
}

.cl-pstep--last .cl-pstep__line { display: none; }

.cl-pstep__body {
  padding: 0.25rem 0 2.75rem;
  flex: 1;
}

.cl-pstep__icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(52,168,83,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}
.cl-pstep__icon i { font-size: 1rem; color: var(--cl-green-d); }

.cl-pstep__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cl-text);
  margin-bottom: 0.4rem;
}

.cl-pstep__desc {
  font-size: 0.85rem;
  color: var(--cl-muted);
  line-height: 1.7;
  margin-bottom: 0.65rem;
}

.cl-pstep__time {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  color: var(--cl-green-d);
  font-weight: 600;
  background: rgba(52,168,83,0.08);
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
}
.cl-pstep__time i { font-size: 0.78rem; }


/* ═══════════════════════════════════════════
   7. FAQ
═══════════════════════════════════════════ */
.cl-faq {
  background: var(--cl-gray);
  padding: 4.5rem 0;
}

.cl-faq__inner { padding: 0 1rem; }

.cl-faq__header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.cl-faq__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}

@media screen and (min-width: 900px) {
  .cl-faq__layout {
    grid-template-columns: 1.3fr 1fr;
    gap: 3.5rem;
  }
}

.cl-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.cl-faq__item {
  background: #fff;
  border-radius: 0.85rem;
  border: 2px solid transparent;
  overflow: hidden;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.cl-faq__item[open] {
  border-color: var(--cl-green);
  box-shadow: 0 4px 20px rgba(52,168,83,0.1);
}

.cl-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cl-text);
  list-style: none;
  user-select: none;
  transition: color 0.2s;
}
.cl-faq__q::-webkit-details-marker { display: none; }
.cl-faq__item[open] .cl-faq__q { color: var(--cl-green-d); }

.cl-faq__icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--cl-green);
  transition: transform 0.3s ease;
}
.cl-faq__item[open] .cl-faq__icon { transform: rotate(45deg); }

.cl-faq__a {
  padding: 1rem 1.25rem 1.25rem;
  font-size: 0.85rem;
  color: var(--cl-muted);
  line-height: 1.75;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.cl-faq__a strong { color: var(--cl-text); font-weight: 700; }

/* Aside */
.cl-aside-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 1.25rem;
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.cl-aside-card__icon {
  width: 52px; height: 52px;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, var(--cl-green), var(--cl-green-d));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 6px 18px rgba(52,168,83,0.3);
}
.cl-aside-card__icon i { font-size: 1.5rem; color: #fff; }

.cl-aside-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--cl-text);
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.cl-aside-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cl-aside-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: #374151;
  line-height: 1.4;
}
.cl-aside-card__list i {
  font-size: 0.95rem;
  color: var(--cl-green);
  flex-shrink: 0;
  margin-top: 1px;
}


/* ═══════════════════════════════════════════
   8. CTA FINALE
═══════════════════════════════════════════ */
.cl-cta {
  background: var(--cl-dark2);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cl-cta__inner {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.cl-cta__icon-wrap {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--cl-green), var(--cl-green-d));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  box-shadow: 0 12px 36px rgba(52,168,83,0.4);
  animation: clIconPulse 3s ease-in-out infinite;
}
.cl-cta__icon-wrap i { font-size: 2rem; color: #fff; }

@keyframes clIconPulse {
  0%, 100% { box-shadow: 0 12px 36px rgba(52,168,83,0.4); }
  50%       { box-shadow: 0 12px 52px rgba(52,168,83,0.65); }
}

.cl-cta__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 1rem;
}
.cl-cta__title-accent { color: var(--cl-green-l); }

.cl-cta__desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.cl-cta__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.cl-cta__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cl-cta__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 99px;
}
.cl-cta__badge i { color: var(--cl-green); font-size: 0.82rem; }

/* Anelli decorativi */
.cl-cta__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.cl-cta__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(52,168,83,0.1);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.cl-cta__ring--1 { width: 400px; height: 400px; }
.cl-cta__ring--2 { width: 650px; height: 650px; }
.cl-cta__ring--3 { width: 900px; height: 900px; }


/* ─────────────────────────────────────────────
   ANIMAZIONE
───────────────────────────────────────────── */
@keyframes clFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/*===============================================================
  COOKIE CONSENT BANNER V2 - Centered Card Design
  Design con card centrale e overlay scuro
  Aggiungi alla fine del tuo style.css
================================================================*/

/* ─────────────────────────────────────────────
   VARIABILI
───────────────────────────────────────────── */
:root {
  --cookie-green:     #34a853;
  --cookie-green-l:   #4ade80;
  --cookie-green-d:   #2a9146;
  --cookie-dark:      #0d0d0d;
  --cookie-text:      #1a1a1a;
  --cookie-muted:     hsl(0, 0%, 48%);
  --cookie-border:    rgba(0, 0, 0, 0.08);
  --cookie-shadow:    0 16px 64px rgba(0, 0, 0, 0.25);
}

/* ─────────────────────────────────────────────
   OVERLAY
───────────────────────────────────────────── */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  cursor: pointer;
}

.cookie-overlay--visible {
  opacity: 1;
  visibility: visible;
}

/* ─────────────────────────────────────────────
   CARD CENTRALE
───────────────────────────────────────────── */
.cookie-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  max-width: 520px;
  width: calc(100% - 2rem);
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem 2rem;
  box-shadow: var(--cookie-shadow);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-card--visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

/* ─────────────────────────────────────────────
   ICONA GRANDE IN ALTO
───────────────────────────────────────────── */
.cookie-card__icon-wrap {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  animation: cookie-bounce 0.6s ease-out 0.3s both;
}

.cookie-card__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--cookie-green), var(--cookie-green-d));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 0 8px rgba(255, 255, 255, 1),
    0 12px 32px rgba(52, 168, 83, 0.35);
}

.cookie-card__icon i {
  font-size: 2.5rem;
  color: #ffffff;
  animation: cookie-rotate 2s ease-in-out infinite;
}

/* ─────────────────────────────────────────────
   CONTENUTO
───────────────────────────────────────────── */
.cookie-card__content {
  text-align: center;
  margin-top: 1rem;
  animation: cookie-fade-in 0.5s ease-out 0.5s both;
}

.cookie-card__title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--cookie-text);
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cookie-card__text {
  font-size: 0.95rem;
  color: var(--cookie-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.cookie-card__text strong {
  color: var(--cookie-text);
  font-weight: 700;
}

/* ─────────────────────────────────────────────
   INFO BOX
───────────────────────────────────────────── */
.cookie-card__info {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(52,168,83,0.04), rgba(52,168,83,0.08));
  border: 1px solid rgba(52,168,83,0.15);
  border-radius: 1rem;
}

.cookie-card__info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cookie-text);
}

.cookie-card__info-item i {
  font-size: 1.1rem;
  color: var(--cookie-green);
}

/* ─────────────────────────────────────────────
   DETTAGLI E LINK
───────────────────────────────────────────── */
.cookie-card__detail {
  font-size: 0.82rem;
  color: var(--cookie-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.cookie-card__link {
  color: var(--cookie-green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}

.cookie-card__link:hover {
  color: var(--cookie-green-d);
  text-decoration-thickness: 2px;
}

/* ─────────────────────────────────────────────
   AZIONI (BOTTONI)
───────────────────────────────────────────── */
.cookie-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
  animation: cookie-fade-in 0.5s ease-out 0.6s both;
}

.cookie-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-radius: 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
}

.cookie-card__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.cookie-card__btn i {
  font-size: 1.2rem;
}

/* Bottone Accetta */
.cookie-card__btn--accept {
  background: linear-gradient(135deg, var(--cookie-green), var(--cookie-green-d));
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(52, 168, 83, 0.3);
}

.cookie-card__btn--accept:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(52, 168, 83, 0.4);
}

/* Bottone Rifiuta */
.cookie-card__btn--decline {
  background: transparent;
  color: var(--cookie-text);
  border-color: var(--cookie-border);
}

.cookie-card__btn--decline:hover:not(:disabled) {
  background: var(--cookie-dark);
  color: #ffffff;
  border-color: var(--cookie-dark);
  transform: translateY(-3px);
}

/* Stato success */
.cookie-card__btn--success {
  background: var(--cookie-green-d) !important;
  color: #ffffff !important;
}

/* ─────────────────────────────────────────────
   NOTA PICCOLA
───────────────────────────────────────────── */
.cookie-card__note {
  font-size: 0.7rem;
  color: var(--cookie-muted);
  text-align: center;
  line-height: 1.4;
  margin: 0;
  opacity: 0.7;
  animation: cookie-fade-in 0.5s ease-out 0.7s both;
}

/* ─────────────────────────────────────────────
   ANIMAZIONI
───────────────────────────────────────────── */
@keyframes cookie-bounce {
  0%   { opacity: 0; transform: translateX(-50%) translateY(-20px) scale(0.8); }
  60%  { transform: translateX(-50%) translateY(5px) scale(1.05); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes cookie-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes cookie-rotate {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(-15deg); }
  75%      { transform: rotate(15deg); }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */

/* Mobile Small ≤ 400px */
@media screen and (max-width: 400px) {
  .cookie-card {
    padding: 2rem 1.25rem 1.5rem;
    border-radius: 1.25rem;
  }

  .cookie-card__icon-wrap {
    top: -35px;
  }

  .cookie-card__icon {
    width: 70px;
    height: 70px;
  }

  .cookie-card__icon i {
    font-size: 2rem;
  }

  .cookie-card__title {
    font-size: 1.3rem;
  }

  .cookie-card__text {
    font-size: 0.88rem;
  }

  .cookie-card__actions {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .cookie-card__btn {
    padding: 0.85rem 1.25rem;
    font-size: 0.85rem;
  }

  .cookie-card__info {
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem;
  }
}

/* Tablet ≥ 640px */
@media screen and (min-width: 640px) {
  .cookie-card {
    max-width: 580px;
    padding: 3rem 2.5rem 2.5rem;
  }

  .cookie-card__title {
    font-size: 1.65rem;
  }

  .cookie-card__text {
    font-size: 1rem;
  }
}

/* Desktop ≥ 1024px */
@media screen and (min-width: 1024px) {
  .cookie-card {
    max-width: 620px;
  }

  .cookie-card__icon-wrap {
    top: -45px;
  }

  .cookie-card__icon {
    width: 90px;
    height: 90px;
  }

  .cookie-card__icon i {
    font-size: 2.8rem;
  }
}

/* ─────────────────────────────────────────────
   ACCESSIBILITÀ
───────────────────────────────────────────── */

/* Focus visibile */
.cookie-card__btn:focus-visible,
.cookie-card__link:focus-visible {
  outline: 3px solid var(--cookie-green);
  outline-offset: 3px;
}

/* Riduzione movimento */
@media (prefers-reduced-motion: reduce) {
  .cookie-overlay,
  .cookie-card {
    transition: opacity 0.2s ease;
  }

  .cookie-card__icon-wrap,
  .cookie-card__content,
  .cookie-card__actions,
  .cookie-card__note {
    animation: none;
    opacity: 1;
  }

  .cookie-card__icon i {
    animation: none;
  }

  .cookie-card__btn:hover {
    transform: none;
  }
}

/* High contrast */
@media (prefers-contrast: high) {
  .cookie-card {
    border: 3px solid var(--cookie-dark);
  }

  .cookie-card__btn {
    border-width: 3px;
  }

  .cookie-card__btn--decline {
    border-color: var(--cookie-text);
  }
}

/* ─────────────────────────────────────────────
   SCROLLBAR CARD (se contenuto lungo)
───────────────────────────────────────────── */
.cookie-card::-webkit-scrollbar {
  width: 6px;
}

.cookie-card::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.cookie-card::-webkit-scrollbar-thumb {
  background: var(--cookie-green);
  border-radius: 10px;
}

.cookie-card::-webkit-scrollbar-thumb:hover {
  background: var(--cookie-green-d);
}

/* ─────────────────────────────────────────────
   PRINT
───────────────────────────────────────────── */
@media print {
  .cookie-overlay,
  .cookie-card {
    display: none !important;
  }
}

/*===============================================================
  COOKIE POLICY PAGE
  Design pulito e professionale per pagina Cookie Policy
  Aggiungi alla fine del tuo style.css
================================================================*/

/* ─────────────────────────────────────────────
   VARIABILI
───────────────────────────────────────────── */
.cookie-policy {
  --cp-green:     #34a853;
  --cp-green-l:   #4ade80;
  --cp-green-d:   #2a9146;
  --cp-dark:      #0d0d0d;
  --cp-text:      #1a1a1a;
  --cp-muted:     hsl(0, 0%, 45%);
  --cp-border:    rgba(0, 0, 0, 0.08);
  --cp-bg-light:  #f6f7f9;
  --cp-shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.05);
  --cp-shadow-md: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ─────────────────────────────────────────────
   LAYOUT BASE
───────────────────────────────────────────── */
.cookie-policy {
  background: #ffffff;
  padding: calc(var(--header-height, 4rem) + 3rem) 0 5rem;
  min-height: 100vh;
}

.cookie-policy__container {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─────────────────────────────────────────────
   HEADER
───────────────────────────────────────────── */
.cookie-policy__header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--cp-border);
}

.cookie-policy__icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--cp-green), var(--cp-green-d));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 32px rgba(52, 168, 83, 0.25);
}

.cookie-policy__icon i {
  font-size: 2rem;
  color: #ffffff;
}

.cookie-policy__title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: var(--cp-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.cookie-policy__date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--cp-muted);
  font-weight: 600;
  background: var(--cp-bg-light);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--cp-border);
}

.cookie-policy__date i {
  font-size: 1rem;
  color: var(--cp-green);
}

/* ─────────────────────────────────────────────
   INTRO
───────────────────────────────────────────── */
.cookie-policy__intro {
  background: linear-gradient(135deg, rgba(52,168,83,0.05), rgba(52,168,83,0.08));
  border-left: 4px solid var(--cp-green);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 3rem;
}

.cookie-policy__intro p {
  font-size: 1rem;
  color: var(--cp-text);
  line-height: 1.7;
  margin: 0;
}

.cookie-policy__intro strong {
  color: var(--cp-green-d);
  font-weight: 700;
}

/* ─────────────────────────────────────────────
   SEZIONI
───────────────────────────────────────────── */
.cookie-policy__section {
  margin-bottom: 3rem;
  animation: cp-fade-in 0.6s ease-out;
}

.cookie-policy__section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.cookie-policy__number {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--cp-green), var(--cp-green-d));
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(52, 168, 83, 0.25);
}

.cookie-policy__section-title {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--cp-text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ─────────────────────────────────────────────
   CONTENUTO
───────────────────────────────────────────── */
.cookie-policy__content {
  padding-left: calc(48px + 1rem); /* Allinea con il numero */
}

.cookie-policy__content p {
  font-size: 0.95rem;
  color: var(--cp-muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.cookie-policy__content strong {
  color: var(--cp-text);
  font-weight: 700;
}

/* ─────────────────────────────────────────────
   SUBSECTIONS
───────────────────────────────────────────── */
.cookie-policy__subsection {
  background: var(--cp-bg-light);
  border-radius: 0.85rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--cp-border);
}

.cookie-policy__subsection-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--cp-text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.cookie-policy__subsection-title i {
  font-size: 1.3rem;
  color: var(--cp-green);
}

/* ─────────────────────────────────────────────
   INFO BOX
───────────────────────────────────────────── */
.cookie-policy__info-box {
  background: #ffffff;
  border: 1px solid rgba(52,168,83,0.2);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.cookie-policy__info-box-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cp-green-d);
  margin-bottom: 0.85rem;
}

.cookie-policy__info-box-header i {
  font-size: 1.2rem;
  color: var(--cp-green);
}

.cookie-policy__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cookie-policy__list li {
  font-size: 0.88rem;
  color: var(--cp-muted);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.cookie-policy__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cp-green);
  font-weight: 900;
  font-size: 1rem;
}

/* ─────────────────────────────────────────────
   NOTE E WARNING
───────────────────────────────────────────── */
.cookie-policy__note {
  font-size: 0.85rem !important;
  color: var(--cp-muted) !important;
  font-style: italic;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.02);
  border-left: 3px solid var(--cp-border);
  border-radius: 0.5rem;
  margin-top: 1rem;
}

.cookie-policy__warning {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem !important;
  color: #d97706 !important;
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 0.65rem;
  padding: 1rem;
  margin-top: 1.5rem;
}

.cookie-policy__warning i {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─────────────────────────────────────────────
   BROWSER LINKS
───────────────────────────────────────────── */
.cookie-policy__browser-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

@media screen and (min-width: 640px) {
  .cookie-policy__browser-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cookie-policy__browser-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.1rem;
  background: #ffffff;
  border: 1.5px solid var(--cp-border);
  border-radius: 0.75rem;
  color: var(--cp-text);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.cookie-policy__browser-link:hover {
  border-color: var(--cp-green);
  background: rgba(52,168,83,0.03);
  transform: translateX(4px);
}

.cookie-policy__browser-link i:first-child {
  font-size: 1.5rem;
  color: var(--cp-green);
}

.cookie-policy__browser-link span {
  flex: 1;
}

.cookie-policy__browser-link i:last-child {
  font-size: 1rem;
  color: var(--cp-muted);
}

/* ─────────────────────────────────────────────
   HIGHLIGHT BOX
───────────────────────────────────────────── */
.cookie-policy__highlight {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(52,168,83,0.06);
  border: 1px solid rgba(52,168,83,0.2);
  border-radius: 0.85rem;
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.cookie-policy__highlight i {
  font-size: 1.5rem;
  color: var(--cp-green);
  flex-shrink: 0;
  margin-top: 2px;
}

.cookie-policy__highlight p {
  margin: 0 !important;
  font-size: 0.9rem !important;
}

.cookie-policy__highlight a {
  color: var(--cp-green-d);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 2px;
}

.cookie-policy__highlight a:hover {
  color: var(--cp-green);
  text-decoration-thickness: 2px;
}

/* ─────────────────────────────────────────────
   CONTACT CARD
───────────────────────────────────────────── */
.cookie-policy__contact-card {
  background: var(--cp-bg-light);
  border: 1px solid var(--cp-border);
  border-radius: 1rem;
  overflow: hidden;
  margin: 1.5rem 0;
}

.cookie-policy__contact-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--cp-green), var(--cp-green-d));
  color: #ffffff;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
}

.cookie-policy__contact-header i {
  font-size: 1.4rem;
}

.cookie-policy__contact-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cookie-policy__contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--cp-muted);
}

.cookie-policy__contact-item i {
  font-size: 1.1rem;
  color: var(--cp-green);
  flex-shrink: 0;
}

.cookie-policy__contact-item a {
  color: var(--cp-text);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cookie-policy__contact-item a:hover {
  color: var(--cp-green);
  text-decoration: underline;
}

/* ─────────────────────────────────────────────
   FOOTER CTA
───────────────────────────────────────────── */
.cookie-policy__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(52,168,83,0.06), rgba(52,168,83,0.1));
  border: 1px solid rgba(52,168,83,0.2);
  border-radius: 1rem;
  padding: 1.75rem;
  margin-top: 4rem;
}

.cookie-policy__footer-content {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex: 1;
}

.cookie-policy__footer-content i {
  font-size: 2rem;
  color: var(--cp-green);
  flex-shrink: 0;
}

.cookie-policy__footer-content strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--cp-text);
  margin-bottom: 0.25rem;
}

.cookie-policy__footer-content p {
  font-size: 0.85rem;
  color: var(--cp-muted);
  margin: 0;
}

.cookie-policy__footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--cp-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 0.65rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(52, 168, 83, 0.25);
}

.cookie-policy__footer-btn:hover {
  background: var(--cp-green-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(52, 168, 83, 0.35);
}

.cookie-policy__footer-btn i {
  font-size: 1.1rem;
}

/* ─────────────────────────────────────────────
   ANIMAZIONI
───────────────────────────────────────────── */
@keyframes cp-fade-in {
  from { opacity: 0; transform: translateY(15px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────── */

/* Mobile ≤ 640px */
@media screen and (max-width: 640px) {
  .cookie-policy {
    padding: calc(var(--header-height, 4rem) + 2rem) 0 3rem;
  }

  .cookie-policy__container {
    padding: 0 1rem;
  }

  .cookie-policy__content {
    padding-left: 0;
  }

  .cookie-policy__section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .cookie-policy__footer {
    flex-direction: column;
    text-align: center;
  }

  .cookie-policy__footer-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-policy__footer-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Tablet ≥ 641px */
@media screen and (min-width: 641px) {
  .cookie-policy__icon {
    width: 80px;
    height: 80px;
  }

  .cookie-policy__icon i {
    font-size: 2.2rem;
  }
}

/* ─────────────────────────────────────────────
   ACCESSIBILITÀ
───────────────────────────────────────────── */
.cookie-policy__browser-link:focus-visible,
.cookie-policy__footer-btn:focus-visible {
  outline: 3px solid var(--cp-green);
  outline-offset: 3px;
}

/* Riduzione movimento */
@media (prefers-reduced-motion: reduce) {
  .cookie-policy__section {
    animation: none;
  }

  .cookie-policy__browser-link:hover,
  .cookie-policy__footer-btn:hover {
    transform: none;
  }
}

/* ─────────────────────────────────────────────
   PRINT
───────────────────────────────────────────── */
@media print {
  .cookie-policy {
    padding: 2rem 0;
  }

  .cookie-policy__icon,
  .cookie-policy__footer {
    display: none;
  }

  .cookie-policy__section {
    page-break-inside: avoid;
  }
}