.elementor-kit-7{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header .site-branding{flex-direction:column;align-items:stretch;}.site-header{padding-inline-end:0px;padding-inline-start:0px;}.site-footer .site-branding{flex-direction:column;align-items:stretch;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}
/* Start custom CSS *//* ============================================================
   STUDIO TECNICO GIANCARLO MAROVELLI
   CSS Personalizzato per Elementor Pro
   — Basato sullo stile approvato dal cliente (styles.css) —

   Come usare:
   → Elementor > Impostazioni sito > CSS personalizzato
     oppure
   → Aspetto > Personalizza > CSS aggiuntivo

   Font richiesti (incollare nel <head> o Elementor > Font):
   https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700
   &family=Manrope:wght@400;500;700&display=swap
============================================================ */


/* ============================================================
   1. VARIABILI GLOBALI (palette e token approvati)
============================================================ */
:root {
  --bg:       #F5F0E8;   /* Beige caldo — sfondo principale */
  --bg-soft:  #FCFBF8;   /* Bianco avorio — card, panel, header */
  --ink:      #1F252B;   /* Quasi-nero — testo principale */
  --stone:    #D9CFC3;   /* Grigio sabbia — bordi e separatori */
  --bronze:   #1A7060;   /* Verde scuro — colore primario (CTA, accenti) */
  --sage:     #4A9080;   /* Verde chiaro — testo secondario, badge label */

  --shadow-sm: 0 10px 28px rgba(31, 37, 43, 0.08);
  --shadow-md: 0 18px 44px rgba(31, 37, 43, 0.12);
  --ring:      rgba(26, 112, 96, 0.28);   /* Focus ring */

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Manrope', Arial, sans-serif;
}


/* ============================================================
   2. BASE — body, font globali, smooth scroll
============================================================ */
html {
  scroll-behavior: smooth;
}

body,
.elementor-widget-container {
  font-family: var(--font-body) !important;
  color: var(--ink);
  background:
    radial-gradient(1000px 700px at 20% -20%, rgba(26, 112, 96, 0.07), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(74, 144, 128, 0.08), transparent 52%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}


/* ============================================================
   3. TIPOGRAFIA
============================================================ */

/* Heading globali */
h1, h2, h3,
.elementor-heading-title {
  font-family: var(--font-heading) !important;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 12px;
  text-wrap: balance;
}

h1, .elementor-heading-title.h1 {
  font-size: clamp(2rem, 3.8vw, 3.1rem) !important;
}

h2, .elementor-heading-title.h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
}

h3, .elementor-heading-title.h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
}

/* Testo paragrafo */
p,
.elementor-widget-text-editor p {
  font-family: var(--font-body);
  line-height: 1.65;
}

/* Testo attenuato */
.muted,
.elementor-widget-text-editor .muted {
  color: rgba(31, 37, 43, 0.78) !important;
}

/* Testo proof / sottotitolo verde */
.proof,
.elementor-widget-text-editor .proof {
  margin-top: 18px;
  font-weight: 600;
  color: var(--sage) !important;
  font-family: var(--font-body);
}

/* Hero subtitle */
.hero-subtitle {
  color: rgba(31, 37, 43, 0.88);
  font-weight: 600;
  margin: 0 0 14px;
  font-family: var(--font-body) !important;
}

/* Mini testo (footer, note) */
.mini {
  font-size: 0.9rem;
  opacity: 0.92;
}


/* ============================================================
   4. CONTAINER GLOBALE
============================================================ */
.container,
.elementor-container {
  width: min(1120px, 92%) !important;
  margin: 0 auto !important;
}


/* ============================================================
   5. HEADER / NAVIGAZIONE
============================================================ */
header,
.elementor-section.e-header {
  background: var(--bg-soft) !important;
  border-bottom: 1px solid var(--stone) !important;
  box-shadow: 0 10px 30px rgba(31, 37, 43, 0.06) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
}

/* Nav container (riga orizzontale logo + menu + CTA) */
.nav {
  min-height: 74px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

/* Lista voci menu — orizzontale */
nav ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 14px !important;
}

/* Brand / logo testo */
.brand,
.elementor-site-logo a,
.site-logo a {
  font-family: var(--font-heading) !important;
  font-size: 1.55rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  color: var(--ink) !important;
}

/* Nav links */
.elementor-nav-menu .elementor-nav-menu--main > li > a,
nav a {
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  padding: 10px 8px !important;
  border-radius: 10px !important;
  transition: background-color 160ms ease, transform 160ms ease !important;
}

.elementor-nav-menu .elementor-nav-menu--main > li > a:hover,
nav a:hover {
  background: rgba(217, 207, 195, 0.35) !important;
  transform: translateY(-1px) !important;
}


/* ============================================================
   6. BOTTONI
============================================================ */
.btn,
.elementor-button {
  display: inline-block;
  padding: 11px 18px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  border: 1px solid transparent !important;
  font-family: var(--font-body) !important;
  transition: transform 160ms ease, background-color 160ms ease,
              border-color 160ms ease, box-shadow 160ms ease !important;
}

/* Bottone primario — verde */
.btn-primary,
.elementor-button.btn-primary,
.elementor-button-wrapper .elementor-button[data-button-type="primary"] {
  background: var(--bronze) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.btn-primary:hover,
.elementor-button.btn-primary:hover {
  background: #155048 !important;
  transform: translateY(-1px) !important;
  box-shadow: var(--shadow-sm) !important;
}

/* Bottone secondario — outline */
.btn-secondary,
.elementor-button.btn-secondary {
  border-color: var(--ink) !important;
  background: rgba(252, 251, 248, 0.8) !important;
  color: var(--ink) !important;
}

.btn-secondary:hover,
.elementor-button.btn-secondary:hover {
  border-color: var(--bronze) !important;
  box-shadow: var(--shadow-sm) !important;
  transform: translateY(-1px) !important;
}

/* Focus ring accessibile */
.btn:focus-visible,
.elementor-button:focus-visible,
nav a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--ring) !important;
  outline-offset: 2px !important;
}


/* ============================================================
   7. SEZIONI — spaziature e separatori
============================================================ */
main,
.elementor-section.e-main {
  padding: 44px 0 72px;
}

/* Classe .section — usarla come CSS class su ogni sezione Elementor */
.section {
  margin-top: 46px;
  position: relative;
}

/* Linea separatrice tra sezioni */
.section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 207, 195, 0.85), transparent);
  opacity: 0.75;
}

/* Separatore hr */
hr.sep {
  border: 0;
  height: 1px;
  background: rgba(217, 207, 195, 0.9);
  margin: 26px 0;
}

/* Sezione con barra verticale verde sinistra */
.section.accent,
.accent-section {
  position: relative;
  padding-left: 16px;
}

.section.accent::before,
.accent-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(26, 112, 96, 0.9), rgba(74, 144, 128, 0.55));
}


/* ============================================================
   8. HERO (Home page)
============================================================ */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-panel {
  background: var(--bg-soft);
  border: 1px solid var(--stone);
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Pannello hero destra (immagine/grafica) */
.hero-media {
  position: relative;
  overflow: hidden;
  padding: 28px;
  /* L'immagine hero viene iniettata via CSS nella regola foto reali */
  background-image: url('/images/hero-home.jpg');
  background-size: cover;
  background-position: center;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -40px;
  background:
    radial-gradient(600px 420px at 20% 20%, rgba(26, 112, 96, 0.28), transparent 55%),
    radial-gradient(560px 380px at 80% 10%, rgba(74, 144, 128, 0.22), transparent 56%),
    linear-gradient(120deg, rgba(31, 37, 43, 0.06), rgba(31, 37, 43, 0) 55%);
  transform: rotate(-3deg);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(217, 207, 195, 0.25) 0px,
    rgba(217, 207, 195, 0.25) 1px,
    transparent 1px,
    transparent 12px
  );
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.hero-media-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

/* Tag "Studio Tecnico" nel pannello hero */
.media-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  width: fit-content;
  border-radius: 999px;
  background: rgba(252, 251, 248, 0.72);
  border: 1px solid rgba(217, 207, 195, 0.8);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--bronze);
  box-shadow: 0 0 0 6px rgba(26, 112, 96, 0.18);
}

.media-title {
  margin: 0;
  font-family: var(--font-heading) !important;
  font-size: 1.55rem;
  line-height: 1.15;
}

.media-proof {
  margin: 0;
  font-weight: 600;
  color: rgba(31, 37, 43, 0.88);
}


/* ============================================================
   9. PAGE HERO (pagine interne)
============================================================ */
.page-hero {
  background: var(--bg-soft);
  border: 1px solid var(--stone);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(31, 37, 43, 0.06);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: -140px -120px auto -120px;
  height: 220px;
  background:
    radial-gradient(340px 170px at 25% 60%, rgba(26, 112, 96, 0.22), transparent 60%),
    radial-gradient(420px 200px at 80% 20%, rgba(74, 144, 128, 0.18), transparent 60%),
    linear-gradient(135deg, rgba(31, 37, 43, 0.06), rgba(31, 37, 43, 0) 55%);
  transform: rotate(-5deg);
  pointer-events: none;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    135deg,
    rgba(217, 207, 195, 0.18) 0px,
    rgba(217, 207, 195, 0.18) 1px,
    transparent 1px,
    transparent 11px
  );
  opacity: 0.45;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}

.hero-copy {
  padding: 6px 0;
}


/* ============================================================
   10. CARD (griglia servizi, badge autorevolezza, ecc.)
============================================================ */
.card {
  background: var(--bg-soft);
  border: 1px solid var(--stone);
  border-radius: 16px;
  padding: 18px 18px 20px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  cursor: default;
}

.card h3 {
  font-size: 1.25rem;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(26, 112, 96, 0.38);
}

/* Griglia 3 colonne */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* Placeholder visivo nelle card servizi */
.visual-ph {
  height: 112px;
  border-radius: 14px;
  border: 1px solid rgba(217, 207, 195, 0.95);
  background:
    radial-gradient(260px 120px at 30% 30%, rgba(26, 112, 96, 0.28), transparent 58%),
    radial-gradient(240px 110px at 90% 10%, rgba(74, 144, 128, 0.22), transparent 60%),
    repeating-linear-gradient(
      135deg,
      rgba(217, 207, 195, 0.24) 0px,
      rgba(217, 207, 195, 0.24) 1px,
      transparent 1px,
      transparent 10px
    ),
    rgba(252, 251, 248, 0.92);
  position: relative;
  overflow: hidden;
}

.visual-ph::after {
  content: "";
  position: absolute;
  inset: -30px;
  background: linear-gradient(120deg, rgba(26, 112, 96, 0.20), transparent 55%);
  transform: rotate(-6deg);
  pointer-events: none;
}


/* ============================================================
   11. BADGE
============================================================ */
.badge {
  background: #ddf0eb;
  color: var(--ink);
  border-radius: 100px;
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-block;
}

.badge-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Chip nell'immagine hero pagine interne */
.img-chip {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(252, 251, 248, 0.8);
  border: 1px solid rgba(217, 207, 195, 0.9);
  font-weight: 700;
  font-size: 0.82rem;
  color: rgba(31, 37, 43, 0.9);
  display: inline-block;
}


/* ============================================================
   12. PANEL (contenitore testo/contenuto)
============================================================ */
.panel {
  background: var(--bg-soft);
  border: 1px solid var(--stone);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(31, 37, 43, 0.05);
}

/* Panel con sfumatura verde — usare come .panel.accent */
.panel.accent {
  background:
    radial-gradient(600px 260px at 15% 0%, rgba(74, 144, 128, 0.14), transparent 55%),
    radial-gradient(520px 240px at 85% 10%, rgba(26, 112, 96, 0.11), transparent 55%),
    var(--bg-soft);
}

.panel-tight {
  padding: 16px;
  border-radius: 16px;
}

/* Layout a due colonne */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}


/* ============================================================
   13. IMG-PH (placeholder immagine hero pagine interne)
============================================================ */
.img-ph {
  border: 1px solid rgba(217, 207, 195, 0.95);
  border-radius: 16px;
  background:
    radial-gradient(360px 220px at 30% 25%, rgba(26, 112, 96, 0.26), transparent 55%),
    radial-gradient(380px 240px at 80% 10%, rgba(74, 144, 128, 0.22), transparent 56%),
    linear-gradient(135deg, rgba(31, 37, 43, 0.06), rgba(31, 37, 43, 0.0) 60%),
    var(--bg-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.img-ph::before {
  content: "";
  position: absolute;
  inset: -30px;
  background: repeating-linear-gradient(
    135deg,
    rgba(217, 207, 195, 0.22) 0px,
    rgba(217, 207, 195, 0.22) 1px,
    transparent 1px,
    transparent 10px
  );
  opacity: 0.55;
  pointer-events: none;
}

.img-ph .img-ph-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading) !important;
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.1;
}

.img-ph .img-ph-meta {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


/* ============================================================
   14. FOTO REALI — iniezione via CSS su img-ph e visual-ph
       Aggiungere le immagini in /wp-content/uploads/ e
       aggiornare i percorsi qui sotto.
============================================================ */

/* Hero Home */
.hero-media {
  background-image: url('/images/hero-home.jpg');
  background-size: cover;
  background-position: center;
}

/* img-ph per pagina */
.img-ph[aria-label="Placeholder lavori e cantieri"]        { background: url('/images/progetti-hero.jpg')       center/cover no-repeat; }
.img-ph[aria-label="Placeholder articoli e contenuti"]     { background: url('/images/pubblicazioni-hero.jpg')  center/cover no-repeat; }
.img-ph[aria-label="Ritratto professionale"]               { background: url('/images/studio-hero.jpg')         center/cover no-repeat; }
.img-ph[aria-label="Placeholder immagine servizi tecnici"] { background: url('/images/servizi-hero.jpg')        center/cover no-repeat; }
.img-ph[aria-label="Placeholder copertine e ricerca"]      { background: url('/images/pubblicazioni-hero.jpg')  center/cover no-repeat; }
.img-ph[aria-label="Placeholder termografia e APE"]        { background: url('/images/termografia-hero.jpg')    center/cover no-repeat; }
.img-ph[aria-label="Placeholder schemi tecnici"]           { background: url('/images/small-cantiere1.jpg')     center/cover no-repeat; }
.img-ph[aria-label="Placeholder rilievi e confini"]        { background: url('/images/catasto-hero.jpg')        center/cover no-repeat; }
.img-ph[aria-label="Placeholder edificio salubre e radon"] { background: url('/images/radon-hero.jpg')          center/cover no-repeat; }
.img-ph[aria-label="Placeholder pratiche edilizie"]        { background: url('/images/pratiche-hero.jpg')       center/cover no-repeat; }
.img-ph[aria-label="Placeholder contatto e territorio"]    { background: url('/images/contatti-hero.jpg')       center/cover no-repeat; }
.img-ph[aria-label="Placeholder perizie e stime"]          { background: url('/images/perizie-hero.jpg')        center/cover no-repeat; }

/* Overlay scuro leggibile su tutti gli img-ph con foto */
.img-ph:is(
  [aria-label="Placeholder lavori e cantieri"],
  [aria-label="Placeholder articoli e contenuti"],
  [aria-label="Ritratto professionale"],
  [aria-label="Placeholder immagine servizi tecnici"],
  [aria-label="Placeholder copertine e ricerca"],
  [aria-label="Placeholder termografia e APE"],
  [aria-label="Placeholder schemi tecnici"],
  [aria-label="Placeholder rilievi e confini"],
  [aria-label="Placeholder edificio salubre e radon"],
  [aria-label="Placeholder pratiche edilizie"],
  [aria-label="Placeholder contatto e territorio"],
  [aria-label="Placeholder perizie e stime"]
)::before {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.22) 55%,
    rgba(0, 0, 0, 0.06) 100%
  );
  opacity: 1;
  inset: 0;
}

/* Titolo bianco su foto */
.img-ph:is(
  [aria-label="Placeholder lavori e cantieri"],
  [aria-label="Placeholder articoli e contenuti"],
  [aria-label="Ritratto professionale"],
  [aria-label="Placeholder immagine servizi tecnici"],
  [aria-label="Placeholder copertine e ricerca"],
  [aria-label="Placeholder termografia e APE"],
  [aria-label="Placeholder schemi tecnici"],
  [aria-label="Placeholder rilievi e confini"],
  [aria-label="Placeholder edificio salubre e radon"],
  [aria-label="Placeholder pratiche edilizie"],
  [aria-label="Placeholder contatto e territorio"],
  [aria-label="Placeholder perizie e stime"]
) .img-ph-title {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

/* Chip su foto — sfondo glassmorphism */
.img-ph:is(
  [aria-label="Placeholder lavori e cantieri"],
  [aria-label="Placeholder articoli e contenuti"],
  [aria-label="Ritratto professionale"],
  [aria-label="Placeholder immagine servizi tecnici"],
  [aria-label="Placeholder copertine e ricerca"],
  [aria-label="Placeholder termografia e APE"],
  [aria-label="Placeholder schemi tecnici"],
  [aria-label="Placeholder rilievi e confini"],
  [aria-label="Placeholder edificio salubre e radon"],
  [aria-label="Placeholder pratiche edilizie"],
  [aria-label="Placeholder contatto e territorio"],
  [aria-label="Placeholder perizie e stime"]
) .img-chip {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* visual-ph — Progetti (3 card in .gallery) */
.gallery .card:nth-child(1) .visual-ph { background: url('/images/progetti-card1.jpg') center/cover no-repeat; }
.gallery .card:nth-child(2) .visual-ph { background: url('/images/progetti-card2.jpg') center/cover no-repeat; }
.gallery .card:nth-child(3) .visual-ph { background: url('/images/progetti-card3.jpg') center/cover no-repeat; }

/* visual-ph — Servizi (6 card in .cards) */
.cards .card:nth-child(1) .visual-ph { background: url('/images/small-lavori1.jpg')       center/cover no-repeat; }
.cards .card:nth-child(2) .visual-ph { background: url('/images/small-lavori2.jpg')       center/cover no-repeat; }
.cards .card:nth-child(3) .visual-ph { background: url('/images/small-lavori3.jpg')       center/cover no-repeat; }
.cards .card:nth-child(4) .visual-ph { background: url('/images/small-cantiere1.jpg')     center/cover no-repeat; }
.cards .card:nth-child(5) .visual-ph { background: url('/images/small-naturalistica.jpg') center/cover no-repeat; }
.cards .card:nth-child(6) .visual-ph { background: url('/images/small-facciata.jpg')      center/cover no-repeat; }

/* Overlay sottile su card fotografiche */
.gallery .card .visual-ph::after,
.cards .card .visual-ph::after {
  background: linear-gradient(to top, rgba(0,0,0,0.28), rgba(0,0,0,0.04));
}


/* ============================================================
   15. LIST-CHECK (elenco puntato con bullet verde)
============================================================ */
.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.list-check li {
  background: rgba(252, 251, 248, 0.7);
  border: 1px solid rgba(217, 207, 195, 0.95);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.list-check li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(26, 112, 96, 1), rgba(74, 144, 128, 0.7));
  box-shadow: 0 0 0 6px rgba(26, 112, 96, 0.15);
  flex: 0 0 auto;
}


/* ============================================================
   16. KPI GRID (griglia metriche / qualifiche)
============================================================ */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kpi {
  background: rgba(252, 251, 248, 0.76);
  border: 1px solid rgba(217, 207, 195, 0.95);
  border-radius: 16px;
  padding: 14px;
}

.kpi .kpi-top {
  font-family: var(--font-heading) !important;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.kpi .kpi-bot {
  font-weight: 700;
  color: var(--sage);
}


/* ============================================================
   17. STEPS (metodo in 4 passaggi)
============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step {
  background: var(--bg-soft);
  border: 1px solid var(--stone);
  border-radius: 16px;
  padding: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(26, 112, 96, 0.38);
}


/* ============================================================
   18. GALLERY (griglia 3 card — Progetti / Pubblicazioni)
============================================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 18px;
}

.gallery-top {
  min-height: 180px;
  padding: 0;
}

.gallery-content {
  padding: 16px;
}

.gallery-title {
  font-family: var(--font-heading) !important;
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 6px;
}


/* ============================================================
   19. FAQ BOX (domande frequenti inline)
============================================================ */
.faq {
  margin-top: 16px;
  padding: 14px;
  background: #e8f5f2;
  border-radius: 10px;
}

.faq h3 {
  margin-top: 0;
  font-size: 1rem;
}


/* ============================================================
   20. FORM CONTATTI
============================================================ */
form input,
form textarea,
.elementor-form input[type="text"],
.elementor-form input[type="email"],
.elementor-form input[type="tel"],
.elementor-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(217, 207, 195, 0.95) !important;
  background: var(--bg-soft) !important;
  color: var(--ink) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  transition: border-color 160ms ease, box-shadow 160ms ease !important;
  box-shadow: none !important;
}

form input:focus,
form textarea:focus,
.elementor-form input:focus,
.elementor-form textarea:focus {
  border-color: var(--bronze) !important;
  outline: 3px solid var(--ring) !important;
  outline-offset: 2px !important;
}

form label,
.elementor-form label,
.elementor-field-label {
  display: block;
  font-weight: 650 !important;
  font-family: var(--font-body) !important;
  color: var(--ink) !important;
}

/* Submit button */
.elementor-form .elementor-button[type="submit"] {
  background: var(--bronze) !important;
  color: #fff !important;
  border-color: transparent !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  padding: 11px 18px !important;
}

.elementor-form .elementor-button[type="submit"]:hover {
  background: #155048 !important;
  transform: translateY(-1px) !important;
}

/* Messaggio di successo */
.elementor-message.elementor-message-success {
  background: #e8f5f2 !important;
  border: 1px solid rgba(26, 112, 96, 0.3) !important;
  border-radius: 12px !important;
  color: var(--ink) !important;
}


/* ============================================================
   21. FOOTER
============================================================ */
footer {
  background: #1b2126;
  color: #f5f5f5;
  padding: 34px 0;
  border-top: 3px solid var(--bronze);
}

footer a {
  color: #f5f5f5;
  transition: color 160ms ease;
}

footer a:hover {
  color: rgba(74, 144, 128, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

footer h3 {
  color: #f5f5f5 !important;
}


/* ============================================================
   22. SCROLL REVEAL (attivato da script.js)
============================================================ */
.reveal-me {
  opacity: 0;
  transform: translateY(12px);
}

.reveal-me.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 600ms ease, transform 600ms ease;
}


/* ============================================================
   23. RESPONSIVE
============================================================ */
@media (max-width: 900px) {
  .hero,
  .cards,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .page-hero-grid,
  .split {
    grid-template-columns: 1fr !important;
  }

  .kpi-grid,
  .gallery {
    grid-template-columns: 1fr !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}/* End custom CSS */