:root{
  --primary:#276f20;
  --primary-dark:#185514;
  --secondary:#0a4b93;
  --text:#10233e;
  --muted:#556274;
  --bg:#f7faf7;
  --surface:#fff;
  --border:#dce6dc;
  --radius:22px;
  --radius-sm:14px;
  --shadow:0 16px 44px rgba(16,35,62,.1);
  --space:clamp(1rem,2.2vw,2rem);
  --focus:#ffbf47;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font:18px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--text);
  background:var(--bg);
}

img{
  max-width:100%;
  height:auto;
}

a{
  color:var(--secondary);
  text-underline-offset:.18em;
}

a:hover{color:var(--primary-dark)}

button,
input,
select,
textarea{font:inherit}

button,
a,
input,
select,
textarea{outline-offset:3px}

:focus-visible{outline:4px solid var(--focus)}

.container{
  width:min(1180px,calc(100% - 2rem));
  margin-inline:auto;
}

.skip-link{
  position:fixed;
  left:1rem;
  top:-5rem;
  background:#fff;
  padding:.8rem 1rem;
  z-index:9999;
}

.skip-link:focus{top:1rem}


/* =========================================================
   HEADER
   ========================================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--border);
  backdrop-filter:blur(10px);
}

.header-inner{
  min-height:96px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
}

.brand{
  display:flex;
  align-items:center;
  gap:.9rem;
  color:var(--primary-dark);
  text-decoration:none;
  flex-shrink:0;
}

.brand img{
  width:84px;
  height:auto;
  display:block;
}

.brand strong{
  display:block;
  font-size:1.18rem;
  line-height:1.05;
  text-transform:uppercase;
}

.brand small{
  display:block;
  color:var(--secondary);
  font-size:.82rem;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:.45rem;
  margin-left:auto;
}

.main-nav>a,
.submenu-toggle{
  border:0;
  background:none;
  color:var(--text);
  text-decoration:none;
  padding:.65rem .7rem;
  border-radius:12px;
  font-weight:650;
}

.main-nav>a:hover,
.submenu-toggle:hover{
  background:#eef6ec;
}

.nav-cta{
  background:var(--primary)!important;
  color:#fff!important;
  border:2px solid var(--primary)!important;
  padding:.78rem 1rem!important;
  box-shadow:0 10px 24px rgba(39,111,32,.16);
}

.nav-cta:hover{
  background:var(--primary-dark)!important;
  border-color:var(--primary-dark)!important;
  color:#fff!important;
}

.nav-toggle{
  display:none;
  min-height:44px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
  padding:.5rem .8rem;
  font-size:1.15rem;
  font-weight:800;
  line-height:1;
}

.mobile-quick-book{
  display:none;
  width:46px;
  height:46px;
  border-radius:14px;
  background:#eef6ec;
  border:1px solid var(--border);
  color:var(--primary-dark);
  text-decoration:none;
  place-items:center;
  font-size:1.2rem;
  flex:0 0 auto;
}

.mobile-quick-book:hover{
  background:#e3f1df;
  color:var(--primary-dark);
}

.submenu-wrap{position:relative}

.submenu{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:250px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:.5rem;
}

.submenu a{
  display:block;
  padding:.65rem .75rem;
  border-radius:10px;
  text-decoration:none;
}

.submenu-wrap:hover .submenu,
.submenu-wrap:focus-within .submenu,
.submenu-wrap.open .submenu{
  display:block;
}


/* =========================================================
   HERO
   ========================================================= */

.hero{
  padding:clamp(2rem,5vw,5.5rem) 0;
  background:
    radial-gradient(circle at 80% 20%,#eaf6e7,transparent 36%),
    linear-gradient(135deg,#fff,#f3f8ff);
}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:clamp(2rem,5vw,5rem);
  align-items:center;
}

.eyebrow{
  color:var(--primary);
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.82rem;
}

.hero h1,
.page-hero h1{
  font-size:clamp(2.45rem,6vw,5rem);
  line-height:1.02;
  letter-spacing:-.04em;
  margin:.25rem 0 1rem;
}

.hero p{
  font-size:clamp(1.05rem,2vw,1.28rem);
  max-width:62ch;
}

.hero-media{
  background:#fff;
  border-radius:32px;
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--border);
}

.hero-media img{
  display:block;
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}


/* =========================================================
   PULSANTI
   ========================================================= */

.button-row{
  display:flex;
  gap:.75rem;
  flex-wrap:wrap;
  margin-top:1.35rem;
}

.btn{
  display:inline-flex;
  min-height:48px;
  align-items:center;
  justify-content:center;
  padding:.75rem 1.15rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:800;
  border:2px solid transparent;
  cursor:pointer;
}

.btn-primary{
  background:var(--primary);
  color:#fff;
}

.btn-primary:hover{
  background:var(--primary-dark);
  color:#fff;
}

.btn-secondary{
  background:var(--secondary);
  color:#fff;
}

.btn-outline{
  border-color:var(--primary);
  color:var(--primary);
  background:#fff;
}

.btn-light{
  background:#fff;
  color:var(--primary-dark);
}

.btn-outline-light{
  border-color:#fff;
  color:#fff;
}


/* =========================================================
   HOME / SEZIONI GENERALI
   ========================================================= */

.trust-strip{
  margin-top:-1.5rem;
  position:relative;
  z-index:2;
}

.trust-grid{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  padding:1rem;
}

.trust-item{
  padding:.7rem 1rem;
  border-right:1px solid var(--border);
}

.trust-item:last-child{border:0}

.trust-item strong{
  display:block;
  color:var(--primary-dark);
}

section{
  padding:clamp(3rem,6vw,6rem) 0;
}

.section-head{
  max-width:760px;
  margin-bottom:2rem;
}

.section-head h2{
  font-size:clamp(2rem,4vw,3.4rem);
  line-height:1.1;
  margin:.2rem 0;
}

.grid{
  display:grid;
  gap:1.25rem;
}

.cards-5{
  grid-template-columns:repeat(5,1fr);
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.45rem;
  box-shadow:0 8px 24px rgba(16,35,62,.05);
}

.card h3{margin:.35rem 0}

.card p{color:var(--muted)}

.card-link{
  display:inline-flex;
  font-weight:800;
}

.soft{background:#eef6ec}

.blue-soft{background:#edf4fb}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
  align-items:center;
}

.feature-list{
  display:grid;
  gap:1rem;
}

.feature{
  display:flex;
  gap:1rem;
  align-items:flex-start;
}

.icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:#e5f1e2;
  color:var(--primary);
  font-weight:900;
  flex:0 0 auto;
}

.language-box{
  border-left:6px solid var(--primary);
  background:#fff;
  padding:1.3rem 1.5rem;
  border-radius:0 var(--radius) var(--radius) 0;
  box-shadow:var(--shadow);
}

.faq details{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:1rem 1.2rem;
  margin:.7rem 0;
}

.faq summary{
  cursor:pointer;
  font-weight:800;
}

.cta-band{
  background:linear-gradient(135deg,var(--primary-dark),var(--secondary));
  color:#fff;
}

.cta-grid{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:center;
  gap:2rem;
}

.page-hero{
  padding:3rem 0 2rem;
  background:linear-gradient(135deg,#fff,#eef6ec);
}

.page-hero h1{
  font-size:clamp(2.4rem,5vw,4.2rem);
}


/* =========================================================
   BREADCRUMB / PROFESSIONISTI
   ========================================================= */

.breadcrumbs ol{
  list-style:none;
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  padding:0;
  margin:0 0 1.5rem;
  font-size:.9rem;
}

.breadcrumbs li+li:before{
  content:"/";
  margin-right:.5rem;
  color:#8190a2;
}

.professional-grid{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:2rem;
}

.photo-placeholder{
  aspect-ratio:4/5;
  border:2px dashed #9fb59f;
  border-radius:var(--radius);
  display:grid;
  place-items:center;
  text-align:center;
  background:#f3f7f2;
  color:#486148;
  padding:1rem;
}

.profile-card{
  background:#fff;
  border-radius:var(--radius);
  border:1px solid var(--border);
  padding:1.5rem;
}

.profile-card h2{
  font-size:2rem;
  margin:.2rem 0;
}

.badge{
  display:inline-flex;
  background:#e8f3e6;
  color:var(--primary-dark);
  border-radius:999px;
  padding:.3rem .7rem;
  font-size:.82rem;
  font-weight:800;
}


/* =========================================================
   BLOG
   ========================================================= */

.blog-grid{
  grid-template-columns:repeat(3,1fr);
}

.blog-card{
  overflow:hidden;
  padding:0;
}

.blog-thumb{
  aspect-ratio:16/9;
  background:#eef3ee;
  display:grid;
  place-items:center;
  border-bottom:1px solid var(--border);
}

.blog-card-body{
  padding:1.3rem;
}


/* =========================================================
   FORM / PRENOTAZIONI
   ========================================================= */

.form-card{
  max-width:900px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:clamp(1.25rem,3vw,2rem);
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
}

.field{
  display:grid;
  gap:.35rem;
}

.field.full{
  grid-column:1/-1;
}

.field label{
  font-weight:750;
}

.field input,
.field select,
.field textarea{
  width:100%;
  min-height:48px;
  border:1px solid #aebbae;
  border-radius:14px;
  padding:.72rem .85rem;
  background:#fff;
}

.field textarea{
  min-height:150px;
  resize:vertical;
}

.notice{
  padding:1rem 1.2rem;
  border-radius:14px;
  background:#fff8df;
  border-left:5px solid #d6a300;
}

.success{
  background:#e8f6e5;
  border-left-color:var(--primary);
}

.error{
  background:#fff0f0;
  border-left-color:#b42318;
}

.hp-field{
  position:absolute!important;
  left:-10000px!important;
  width:1px;
  height:1px;
  overflow:hidden;
}

.booking-steps{
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
  margin-bottom:1.5rem;
}

.booking-step{
  background:#eef3ee;
  border-radius:999px;
  padding:.4rem .75rem;
  font-size:.85rem;
}

.slots{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
}

.slot{
  min-height:44px;
  border:1px solid var(--primary);
  color:var(--primary);
  background:#fff;
  border-radius:999px;
  padding:.5rem .8rem;
}

.slot[aria-pressed="true"]{
  background:var(--primary);
  color:#fff;
}


/* =========================================================
   CONTATTI
   ========================================================= */

.map-placeholder{
  min-height:320px;
  border:2px dashed #9fb59f;
  border-radius:var(--radius);
  display:grid;
  place-items:center;
  text-align:center;
  background:#eff4ef;
  padding:2rem;
}


/* =========================================================
   AREA AMMINISTRATIVA
   ========================================================= */

.admin-shell{
  display:grid;
  grid-template-columns:240px 1fr;
  min-height:100vh;
}

.admin-nav{
  background:#10233e;
  color:#fff;
  padding:1.25rem;
}

.admin-nav a{
  display:block;
  color:#fff;
  padding:.65rem;
  border-radius:10px;
  text-decoration:none;
}

.admin-nav a:hover{
  background:rgba(255,255,255,.1);
}

.admin-main{
  padding:2rem;
}

.table-wrap{
  overflow:auto;
  background:#fff;
  border-radius:16px;
  border:1px solid var(--border);
}

table{
  border-collapse:collapse;
  width:100%;
}

th,
td{
  text-align:left;
  padding:.75rem;
  border-bottom:1px solid var(--border);
  vertical-align:top;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer{
  background:#10233e;
  color:#fff;
  padding:3rem 0 1rem;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.25fr 1fr 1fr 1fr .85fr;
  gap:2rem;
  align-items:start;
}

.footer-brand img{
  width:118px;
  height:auto;
  margin-bottom:1rem;
  display:block;
}

.footer-brand p{
  margin-top:0;
  color:rgba(255,255,255,.88);
}

.site-footer h2{
  font-size:.98rem;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin:0 0 .9rem;
}

.site-footer a{
  color:#fff;
  text-decoration:none;
}

.site-footer a:hover{
  color:#fff;
  text-decoration:underline;
}

.footer-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:.8rem;
}

.footer-list li{
  display:flex;
  align-items:flex-start;
  gap:.7rem;
  line-height:1.5;
}

.footer-icon{
  width:32px;
  height:32px;
  border-radius:50%;
  background:rgba(255,255,255,.12);
  display:grid;
  place-items:center;
  flex:0 0 32px;
  font-size:.95rem;
}

.social-links{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
}

.social-link{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.08);
  display:grid;
  place-items:center;
  color:#fff;
  text-decoration:none;
  font-weight:800;
  font-size:.92rem;
}

.social-link:hover{
  background:rgba(255,255,255,.16);
  color:#fff;
  text-decoration:none;
}

.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.18);
  padding-top:1rem;
  margin-top:2rem;
  font-size:.88rem;
}

.footer-powered{
  font-weight:700;
}

/* Il vecchio bottone mobile flottante non serve più:
   ora la prenotazione è raggiungibile dall'icona calendario nell'header. */
.mobile-book{
  display:none!important;
}


/* =========================================================
   ARTICOLI / NOTE LEGALI
   ========================================================= */

.article-content{
  max-width:780px;
}

.article-content h2{
  margin-top:2rem;
}

.photo-article{
  min-height:260px;
  border:2px dashed #9fb59f;
  border-radius:var(--radius);
  display:grid;
  place-items:center;
  text-align:center;
  background:#f3f7f2;
  margin:1.4rem 0;
  padding:1rem;
}

.legal section{
  padding:1.5rem 0;
}

.muted{
  color:var(--muted);
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1050px){

  .cards-5{
    grid-template-columns:repeat(2,1fr);
  }

  .main-nav{
    position:fixed;
    inset:96px 1rem auto 1rem;
    display:none;
    flex-direction:column;
    align-items:stretch;
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:var(--shadow);
    padding:1rem;
    margin-left:0;
  }

  .main-nav.open{
    display:flex;
  }

  .nav-toggle{
    display:block;
  }

  .submenu{
    position:static;
    box-shadow:none;
    border:0;
    padding-left:1rem;
  }

  .submenu-wrap:hover .submenu{
    display:none;
  }

  .submenu-wrap.open .submenu{
    display:block;
  }

  .submenu-toggle{
    width:100%;
    text-align:left;
  }

  .nav-cta{
    margin-top:.5rem;
    width:100%;
  }

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

  .hero-media{
    order:-1;
    max-width:760px;
  }

  .trust-grid{
    grid-template-columns:1fr 1fr;
  }

  .trust-item:nth-child(2){
    border-right:0;
  }

  .blog-grid{
    grid-template-columns:1fr 1fr;
  }

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }

  .professional-grid{
    grid-template-columns:220px 1fr;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:700px){

  body{
    font-size:17px;
  }

  .header-inner{
    display:grid;
    grid-template-columns:46px 1fr 46px;
    align-items:center;
    min-height:84px;
    gap:.6rem;
  }

  .mobile-quick-book{
    display:grid;
    justify-self:start;
  }

  .brand{
    justify-content:center;
    width:100%;
    min-width:0;
    margin:0;
  }

  .brand img{
    width:62px;
  }

  .brand span{
    display:none!important;
  }

  .nav-toggle{
    display:grid;
    place-items:center;
    justify-self:end;
    width:46px;
    min-height:46px;
    padding:0;
  }

  .main-nav{
    position:fixed;
    inset:84px 1rem auto 1rem;
    display:none;
    flex-direction:column;
    align-items:stretch;
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    box-shadow:var(--shadow);
    padding:1rem;
    margin-left:0;
  }

  .main-nav.open{
    display:flex;
  }

  .hero{
    padding-top:1.5rem;
  }

  .hero h1{
    font-size:2.65rem;
  }

  .trust-strip{
    margin-top:0;
  }

  .trust-grid,
  .form-grid,
  .cta-grid,
  .blog-grid,
  .professional-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .trust-item{
    border-right:0;
    border-bottom:1px solid var(--border);
  }

  .trust-item:last-child{
    border-bottom:0;
  }

  .cards-5{
    grid-template-columns:1fr;
  }

  .button-row .btn{
    width:100%;
  }

  .footer-grid{
    gap:2.2rem;
  }

  .footer-brand img{
    width:105px;
  }

  .social-links{
    gap:.75rem;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }

  .photo-placeholder{
    max-width:320px;
  }

  .admin-shell{
    grid-template-columns:1fr;
  }

  .admin-nav{
    position:relative;
  }

  .admin-main{
    padding:1rem;
  }
}


/* =========================================================
   ACCESSIBILITÀ
   ========================================================= */

@media(prefers-reduced-motion:reduce){
  html{
    scroll-behavior:auto;
  }

  *,
  *:before,
  *:after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}


/* =========================================================
   HOME - RIFINITURE GRAFICHE
   ========================================================= */

.approach-section .section-head{
  margin-bottom:2.3rem;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.25rem;
}

.feature-card{
  position:relative;
  min-height:230px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:1.55rem;
  box-shadow:0 10px 28px rgba(16,35,62,.055);
}

.feature-number{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  height:38px;
  padding:0 .8rem;
  margin-bottom:1.35rem;
  border-radius:999px;
  background:#e7f3e4;
  color:var(--primary-dark);
  font-size:.84rem;
  font-weight:900;
  letter-spacing:.08em;
}

.feature-card h3{
  margin:0 0 .65rem;
  font-size:1.3rem;
  line-height:1.2;
}

.feature-card p{
  margin:0;
  color:var(--muted);
}

.specialties-heading-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:2rem;
}

.specialties-heading-row .section-head{
  margin-bottom:0;
}

.specialties-controls{
  display:none;
  gap:.55rem;
}

.specialty-arrow{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  border:1px solid #b9cfb7;
  border-radius:50%;
  background:#fff;
  color:var(--primary-dark);
  cursor:pointer;
  font-size:1.15rem;
  font-weight:900;
}

.specialty-arrow:hover{
  background:#eef6ec;
}

.specialty-arrow:disabled{
  opacity:.35;
  cursor:default;
}

.specialties-viewport{
  min-width:0;
}

.specialty-card{
  display:flex;
  flex-direction:column;
}

.specialty-card .card-link{
  margin-top:auto;
}

@media(min-width:1051px){
  .specialties-controls{
    display:flex;
  }

  .specialties-viewport{
    overflow:hidden;
    margin-inline:-.25rem;
    padding:.25rem;
  }

  .specialties-track.cards-5{
    display:flex;
    grid-template-columns:none;
    gap:1.35rem;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    scrollbar-width:none;
    padding:.1rem 0 1.2rem;
  }

  .specialties-track.cards-5::-webkit-scrollbar{
    display:none;
  }

  .specialty-card{
    flex:0 0 calc((100% - 2.7rem)/3);
    min-height:350px;
    scroll-snap-align:start;
    padding:1.7rem;
  }
}

.family-split{
  align-items:stretch;
}

.medix-note{
  margin-top:1.3rem;
  padding:1rem 1.1rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  border:1px solid #c9dced;
  border-radius:16px;
  background:#edf4fb;
  color:var(--text);
}

.medix-note strong{
  display:block;
  margin-top:.15rem;
  line-height:1.45;
}

.medix-kicker{
  display:block;
  color:var(--secondary);
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.72rem;
  font-weight:900;
}

.medix-link{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:.55rem .85rem;
  border-radius:999px;
  background:var(--secondary);
  color:#fff;
  text-decoration:none;
  font-weight:800;
  white-space:nowrap;
}

.medix-link:hover{
  background:#073c78;
  color:#fff;
}

.home-visit-card{
  height:100%;
}

.home-seo-section{
  background:#fff;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.home-seo-grid{
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:clamp(2rem,5vw,5rem);
  align-items:start;
}

.home-seo-grid h2{
  margin:.3rem 0 0;
  font-size:clamp(2rem,3.5vw,3.2rem);
  line-height:1.1;
}

.home-seo-copy p:first-child{
  margin-top:0;
}

.home-seo-links{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem 1.15rem;
  margin-top:1.3rem;
}

.home-seo-links a{
  font-weight:800;
}

.blog-home-track{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.25rem;
}

.home-blog-extra{
  display:none;
}

@media(max-width:1050px){
  .feature-grid{
    grid-template-columns:1fr;
  }

  .feature-card{
    min-height:0;
    display:grid;
    grid-template-columns:auto 1fr;
    gap:1rem;
    align-items:start;
  }

  .feature-number{
    margin:0;
  }

  .specialties-heading-row{
    display:block;
  }

  .specialties-controls{
    display:none;
  }

  .medix-note{
    flex-direction:column;
    align-items:flex-start;
  }

  .home-seo-grid{
    grid-template-columns:1fr;
    gap:1.4rem;
  }
}

@media(max-width:700px){
  .feature-grid{
    gap:.9rem;
  }

  .feature-card{
    grid-template-columns:44px 1fr;
    gap:.85rem;
    padding:1.15rem;
    border-radius:18px;
  }

  .feature-number{
    min-width:44px;
    width:44px;
    height:44px;
    padding:0;
    border-radius:14px;
    font-size:.76rem;
  }

  .feature-card h3{
    font-size:1.12rem;
    margin:.1rem 0 .4rem;
  }

  .feature-card p{
    font-size:.96rem;
    line-height:1.55;
  }

  .specialties-track.cards-5{
    display:grid;
    grid-template-columns:1fr;
    overflow:visible;
    padding:0;
  }

  .specialty-card{
    min-height:0;
  }

  .medix-note{
    margin-top:1.1rem;
    padding:1rem;
  }

  .medix-link{
    width:100%;
  }

  .home-seo-section{
    padding-top:3.2rem;
    padding-bottom:3.2rem;
  }

  .blog-home-track{
    display:flex;
    gap:1rem;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
    margin-right:-1rem;
    padding:0 1rem 1rem 0;
  }

  .blog-home-track::-webkit-scrollbar{
    display:none;
  }

  .home-blog-card,
  .home-blog-extra{
    display:block;
    flex:0 0 min(86vw,360px);
    scroll-snap-align:start;
  }
}


/* =========================================================
   HOME V3 - RIFINITURE SPECIALITÀ / MEDIX / SEO
   ========================================================= */

/* Frecce slider specialità */
.specialty-arrow{
  width:50px;
  height:50px;
  border:1px solid #c6d9c3;
  border-radius:16px;
  background:rgba(255,255,255,.78);
  color:var(--primary-dark);
  box-shadow:0 8px 20px rgba(16,35,62,.06);
  transition:background .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;
}

.specialty-arrow svg{
  width:22px;
  height:22px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.specialty-arrow:hover:not(:disabled){
  background:#fff;
  border-color:#8fbb89;
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(16,35,62,.09);
}

.specialty-arrow:active:not(:disabled){
  transform:translateY(0);
}

.specialty-arrow:disabled{
  opacity:.32;
  background:rgba(255,255,255,.45);
  box-shadow:none;
}

/* Titolo specialità: solo box verde, niente duplicato blu */
.specialty-badge-title.badge{
  display:flex;
  align-items:center;
  width:100%;
  min-height:48px;
  margin:0 0 1.35rem;
  padding:.65rem 1rem;
  border-radius:15px;
  font-size:1.08rem;
  line-height:1.2;
  font-weight:850;
  letter-spacing:-.01em;
  background:#e5f1e2;
  color:var(--primary-dark);
}

.specialty-card > p{
  margin-top:0;
}

/* mediX dentro il box bianco */
.home-visit-card{
  display:flex;
  flex-direction:column;
  height:100%;
}

.home-visit-link{
  align-self:flex-start;
}

.medix-note-inside{
  margin-top:auto;
  padding-top:1.15rem;
}

.home-visit-card .medix-note{
  margin-left:-.25rem;
  margin-right:-.25rem;
  margin-bottom:-.25rem;
  margin-top:auto;
}

/* Sezione SEO più equilibrata */
.home-seo-grid{
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:clamp(2.25rem,4vw,4.5rem);
  align-items:center;
}

.home-seo-grid h2{
  max-width:16ch;
  font-size:clamp(2rem,3vw,2.75rem);
  line-height:1.08;
  letter-spacing:-.025em;
}

.home-seo-copy{
  font-size:1.06rem;
  line-height:1.72;
}

.home-seo-copy p{
  max-width:58ch;
}

.home-seo-links{
  margin-top:1.15rem;
}

@media(max-width:1050px){
  .home-seo-grid{
    grid-template-columns:1fr;
    align-items:start;
  }

  .home-seo-grid h2{
    max-width:22ch;
  }

  .home-visit-card .medix-note{
    margin-top:1.5rem;
  }
}

@media(max-width:700px){
  .specialty-badge-title.badge{
    min-height:44px;
    margin-bottom:1rem;
    padding:.6rem .85rem;
    font-size:1rem;
  }

  .home-seo-copy{
    font-size:1rem;
  }

  .home-visit-card .medix-note{
    margin-left:0;
    margin-right:0;
    margin-bottom:0;
  }
}


/* =========================================================
   HOME V4 - TITOLI SPECIALITÀ / SEO RE-DESIGN
   ========================================================= */

/* Il titolo verde deve emergere chiaramente rispetto al testo descrittivo */
.specialty-badge-title.badge{
  min-height:54px;
  padding:.72rem 1.05rem;
  font-size:1.24rem;
  line-height:1.15;
  font-weight:900;
  letter-spacing:-.015em;
}

.specialty-card > p{
  font-size:1rem;
  line-height:1.72;
}

/* Nel box bianco rimangono solo contenuto visite + box mediX */
.home-visit-card .medix-note{
  margin-top:auto;
}

/* Nuova sezione SEO: contenuta in una superficie unica, più ordinata */
.home-seo-section{
  background:linear-gradient(180deg,#f8fbf7 0%,#f3f8f2 100%);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.home-seo-shell{
  position:relative;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--border);
  border-radius:30px;
  padding:clamp(1.6rem,3.6vw,3.2rem);
  box-shadow:0 18px 50px rgba(16,35,62,.07);
}

.home-seo-shell:before{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  right:-95px;
  top:-120px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(39,111,32,.11),rgba(39,111,32,0) 70%);
  pointer-events:none;
}

.home-seo-head{
  position:relative;
  max-width:900px;
  margin-bottom:2rem;
}

.home-seo-head h2{
  max-width:20ch;
  margin:.35rem 0 .8rem;
  font-size:clamp(2rem,3.2vw,3rem);
  line-height:1.07;
  letter-spacing:-.03em;
}

.home-seo-lead{
  max-width:68ch;
  margin:0;
  color:var(--muted);
  font-size:1.06rem;
}

.home-seo-cards{
  position:relative;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}

.home-seo-card{
  min-height:245px;
  padding:1.45rem;
  border:1px solid #d9e6d7;
  border-radius:20px;
  background:#f4f9f2;
}

.home-seo-card-blue{
  border-color:#d4e2ef;
  background:#f2f7fc;
}

.home-seo-card-kicker{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:.3rem .65rem;
  margin-bottom:.9rem;
  border-radius:999px;
  background:#e4f0e1;
  color:var(--primary-dark);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.home-seo-card-blue .home-seo-card-kicker{
  background:#e3eef9;
  color:var(--secondary);
}

.home-seo-card h3{
  margin:0 0 .65rem;
  font-size:1.28rem;
  line-height:1.25;
}

.home-seo-card p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.home-seo-actions{
  position:relative;
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  margin-top:1.2rem;
}

.home-seo-actions a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:.55rem .9rem;
  border:1px solid #cadac8;
  border-radius:999px;
  background:#fff;
  color:var(--primary-dark);
  text-decoration:none;
  font-weight:800;
}

.home-seo-actions a:hover{
  background:#eef6ec;
  color:var(--primary-dark);
}

.home-seo-actions a:nth-child(2){
  border-color:var(--primary);
  background:var(--primary);
  color:#fff;
}

.home-seo-actions a:nth-child(2):hover{
  background:var(--primary-dark);
  color:#fff;
}

@media(max-width:1050px){
  .home-seo-cards{
    grid-template-columns:1fr;
  }

  .home-seo-card{
    min-height:0;
  }
}

@media(max-width:700px){
  .specialty-badge-title.badge{
    min-height:48px;
    padding:.65rem .9rem;
    font-size:1.12rem;
  }

  .home-seo-shell{
    border-radius:22px;
    padding:1.2rem;
  }

  .home-seo-head{
    margin-bottom:1.25rem;
  }

  .home-seo-head h2{
    max-width:none;
    font-size:2rem;
  }

  .home-seo-lead{
    font-size:1rem;
  }

  .home-seo-card{
    padding:1.15rem;
    border-radius:17px;
  }

  .home-seo-card h3{
    font-size:1.14rem;
  }

  .home-seo-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .home-seo-actions a{
    width:100%;
  }
}


/* =========================================================
   HOME V5 - ACTION BUTTONS / BODY MAP
   ========================================================= */

/* Titoli specialità ancora più leggibili dentro ai box */
.specialty-badge-title.badge{
  min-height:58px;
  padding:.78rem 1.1rem;
  font-size:1.34rem;
  line-height:1.12;
  font-weight:900;
}

/* CTA sezione SEO: bottoni più evidenti */
.home-seo-actions{
  gap:.85rem;
}

.home-seo-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:.8rem 1.15rem;
  border-radius:999px;
  text-decoration:none;
  font-weight:850;
  border:1px solid transparent;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}

.home-seo-action:hover{
  transform:translateY(-2px);
}

.home-seo-action-soft{
  background:#eef5ec;
  border-color:#d7e5d4;
  color:var(--primary-dark);
  box-shadow:0 10px 24px rgba(16,35,62,.06);
}

.home-seo-action-soft:hover{
  background:#e7f1e4;
  color:var(--primary-dark);
}

.home-seo-action-primary{
  background:var(--primary);
  border-color:var(--primary);
  color:#fff;
  box-shadow:0 12px 28px rgba(39,111,32,.22);
}

.home-seo-action-primary:hover{
  background:var(--primary-dark);
  border-color:var(--primary-dark);
  color:#fff;
}

/* Sezione mappa del corpo / orientamento specialità */
.body-map-section{
  padding:clamp(3rem,5vw,4.75rem) 0;
  background:linear-gradient(180deg,#f8fbf7 0%,#eef5ed 100%);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.body-map-shell{
  background:#fff;
  border:1px solid var(--border);
  border-radius:30px;
  padding:clamp(1.25rem,3vw,2.4rem);
  box-shadow:0 18px 46px rgba(16,35,62,.07);
}

.body-map-head{
  max-width:760px;
  margin-bottom:1.75rem;
}

.body-map-head h2{
  margin:.35rem 0 .75rem;
  font-size:clamp(2rem,3.1vw,2.9rem);
  line-height:1.08;
  letter-spacing:-.03em;
}

.body-map-head p{
  margin:0;
  color:var(--muted);
  max-width:64ch;
}

.body-map-grid{
  display:grid;
  grid-template-columns:minmax(0, .92fr) minmax(0, 1.08fr);
  gap:clamp(1.2rem,2.5vw,2rem);
  align-items:stretch;
}

.body-map-figure-wrap{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:1.2rem;
  border-radius:24px;
  background:linear-gradient(180deg,#f6faf5 0%,#edf5eb 100%);
  border:1px solid #dce8da;
}

.body-map-figure{
  position:relative;
  width:min(100%, 360px);
  margin:0 auto;
  aspect-ratio:320 / 540;
}

.body-map-silhouette{
  width:100%;
  height:100%;
  display:block;
  filter:drop-shadow(0 8px 18px rgba(16,35,62,.08));
}

.body-map-hotspot{
  position:absolute;
  transform:translate(-50%,-50%);
  width:24px;
  height:24px;
  border:0;
  padding:0;
  border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 6px rgba(39,111,32,.12);
  cursor:pointer;
}

.body-map-hotspot::before,
.body-map-hotspot::after{
  content:"";
  position:absolute;
  border-radius:50%;
  inset:0;
}

.body-map-hotspot::before{
  inset:4px;
  background:var(--primary);
}

.body-map-hotspot::after{
  inset:-8px;
  border:1px solid rgba(39,111,32,.22);
}

.body-map-hotspot:hover,
.body-map-hotspot.is-active{
  box-shadow:0 0 0 8px rgba(39,111,32,.16);
}

.body-map-hotspot.is-active::before,
.body-map-hotspot:hover::before{
  background:var(--secondary);
}

.body-map-legend{
  margin-top:1rem;
  text-align:center;
  color:var(--muted);
  font-size:.95rem;
}

.body-map-legend span{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
}

.body-map-legend i{
  display:inline-block;
  width:14px;
  height:14px;
  border-radius:50%;
  background:var(--primary);
  box-shadow:0 0 0 5px rgba(39,111,32,.16);
}

.body-map-panels{
  display:grid;
  align-items:stretch;
}

.body-map-panel{
  display:flex;
  flex-direction:column;
  gap:.65rem;
  min-height:100%;
  padding:1.5rem;
  border-radius:24px;
  border:1px solid #dbe6ea;
  background:linear-gradient(180deg,#ffffff 0%,#f7fafc 100%);
  box-shadow:0 14px 34px rgba(16,35,62,.05);
}

.body-map-panel-kicker{
  display:inline-flex;
  align-self:flex-start;
  align-items:center;
  min-height:30px;
  padding:.28rem .7rem;
  border-radius:999px;
  background:#e4f0e1;
  color:var(--primary-dark);
  font-size:.76rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.body-map-panel h3{
  margin:0;
  font-size:1.5rem;
  line-height:1.2;
}

.body-map-panel p{
  margin:0;
  color:var(--muted);
  line-height:1.72;
  max-width:48ch;
}

.body-map-panel .btn{
  align-self:flex-start;
  margin-top:auto;
}

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

@media(max-width:1050px){
  .body-map-grid{
    grid-template-columns:1fr;
  }

  .body-map-head{
    margin-bottom:1.25rem;
  }
}

@media(max-width:700px){
  .specialty-badge-title.badge{
    min-height:50px;
    font-size:1.18rem;
  }

  .home-seo-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  .home-seo-action{
    width:100%;
  }

  .body-map-shell{
    border-radius:22px;
    padding:1rem;
  }

  .body-map-head h2{
    font-size:2rem;
  }

  .body-map-figure-wrap,
  .body-map-panel{
    border-radius:18px;
    padding:1rem;
  }

  .body-map-figure{
    width:min(100%, 280px);
  }

  .body-map-panel h3{
    font-size:1.24rem;
  }

  .body-map-panel .btn{
    width:100%;
  }
}

/* =========================================================
   HOME V6 - FIX CACHE / MAPPA COMPATTA / CTA SEO
   ========================================================= */

/* Mappa anatomica più compatta e leggibile */
.body-map-grid{
  grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);
  align-items:center;
}

.body-map-figure-wrap{
  min-height:0;
  padding:1.25rem;
}

.body-map-figure{
  width:min(100%,240px);
  aspect-ratio:280 / 520;
}

.body-map-hotspot{
  width:22px;
  height:22px;
  z-index:3;
  border:2px solid #fff;
  background:var(--primary);
  box-shadow:0 0 0 5px rgba(39,111,32,.18),0 6px 16px rgba(16,35,62,.12);
}

.body-map-hotspot::before{
  display:none;
}

.body-map-hotspot::after{
  inset:-7px;
  border:2px solid rgba(39,111,32,.22);
}

.body-map-hotspot:hover,
.body-map-hotspot.is-active{
  background:var(--secondary);
  box-shadow:0 0 0 6px rgba(10,75,147,.14),0 8px 18px rgba(16,35,62,.14);
}

.body-map-panel{
  min-height:330px;
}

/* Bottoni SEO: forza lo stile anche contro regole precedenti */
.home-seo-actions > a.home-seo-action{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:48px!important;
  padding:.8rem 1.2rem!important;
  border-radius:999px!important;
  text-decoration:none!important;
  font-weight:850!important;
  border:1px solid transparent!important;
}

.home-seo-actions > a.home-seo-action-soft{
  background:#eef5ec!important;
  border-color:#d7e5d4!important;
  color:var(--primary-dark)!important;
  box-shadow:0 10px 24px rgba(16,35,62,.06)!important;
}

.home-seo-actions > a.home-seo-action-primary{
  background:var(--primary)!important;
  border-color:var(--primary)!important;
  color:#fff!important;
  box-shadow:0 12px 28px rgba(39,111,32,.22)!important;
}

@media(max-width:1050px){
  .body-map-grid{
    grid-template-columns:1fr;
  }

  .body-map-figure{
    width:min(100%,220px);
  }

  .body-map-panel{
    min-height:0;
  }
}

@media(max-width:700px){
  .body-map-section{
    padding:2.5rem 0;
  }

  .body-map-shell{
    padding:1rem;
  }

  .body-map-figure-wrap{
    padding:.9rem;
  }

  .body-map-figure{
    width:min(100%,185px);
  }

  .body-map-hotspot{
    width:20px;
    height:20px;
  }

  .body-map-legend{
    font-size:.86rem;
  }
}

/* =========================================================
   HOME V7 - MAPPA CORPO: SOLO FIGURA, BOX SU CLICK
   ========================================================= */

.body-map-stage{
  display:grid;
  grid-template-columns:minmax(0,1fr);
  gap:1.35rem;
  align-items:center;
  max-width:620px;
  margin-inline:auto;
  transition:max-width .2s ease;
}

.body-map-stage.has-selection{
  grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);
  max-width:none;
}

.body-map-figure-wrap{
  min-height:0;
  padding:1.15rem;
}

.body-map-figure{
  width:min(100%,250px);
  margin-inline:auto;
}

.body-map-panel-stage{
  position:relative;
  min-width:0;
}

.body-map-panel-stage[hidden],
.body-map-panel[hidden]{
  display:none!important;
}

.body-map-panel-stage:not([hidden]){
  display:block;
}

.body-map-panel{
  min-height:300px;
  padding:1.55rem;
}

.body-map-close{
  position:absolute;
  top:.85rem;
  right:.85rem;
  z-index:4;
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border:1px solid #d7e2e8;
  border-radius:50%;
  background:#fff;
  color:var(--text);
  cursor:pointer;
  box-shadow:0 6px 18px rgba(16,35,62,.07);
}

.body-map-close:hover{
  background:#f3f7f3;
  color:var(--primary-dark);
}

.body-map-close svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
}

.body-map-panel h3{
  padding-right:2.6rem;
}

@media(max-width:1050px){
  .body-map-stage,
  .body-map-stage.has-selection{
    grid-template-columns:1fr;
    max-width:620px;
  }

  .body-map-panel{
    min-height:0;
  }
}

@media(max-width:700px){
  .body-map-stage,
  .body-map-stage.has-selection{
    max-width:none;
  }

  .body-map-figure{
    width:min(100%,205px);
  }

  .body-map-panel{
    padding:1.15rem;
  }

  .body-map-close{
    top:.65rem;
    right:.65rem;
    width:36px;
    height:36px;
  }
}


/* =========================================================
   HOME V8 - FOOTER SVG FIX / OMINO SIMMETRICO
   ========================================================= */

/* Le SVG del layout devono avere dimensioni esplicite.
   Senza queste regole il browser usa le dimensioni SVG predefinite
   e le icone diventano enormi. */
.ui-icon{
  width:1.25rem;
  height:1.25rem;
  display:block;
  flex:0 0 auto;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.menu-icon,
.mobile-calendar-icon{
  width:1.35rem;
  height:1.35rem;
}

.footer-info-list{
  display:grid;
  gap:.82rem;
}

.footer-info-row{
  display:flex;
  align-items:flex-start;
  gap:.68rem;
  line-height:1.5;
  min-width:0;
}

.footer-line-icon{
  width:1.15rem;
  height:1.15rem;
  color:#9fd39a;
  margin-top:.18rem;
}

.footer-links{
  display:grid;
  gap:.7rem;
}

.social-links{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:.7rem;
}

.social-link{
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.30);
  background:rgba(255,255,255,.07);
  display:grid;
  place-items:center;
  color:#fff;
  text-decoration:none;
}

.social-icon{
  width:1.2rem;
  height:1.2rem;
}

.social-link[aria-label="Facebook"] .social-icon{
  fill:currentColor;
  stroke:none;
}

.social-link:hover{
  background:rgba(255,255,255,.15);
  color:#fff;
  text-decoration:none;
}

.footer-bottom{
  justify-content:flex-start;
  gap:.8rem;
}

.footer-tracking{
  margin-left:auto;
  color:rgba(255,255,255,.82);
}

/* Il disegno dell'omino resta contenuto e centrato. */
.body-map-silhouette{
  overflow:visible;
}

@media(max-width:1050px){
  .footer-tracking{
    margin-left:0;
    width:100%;
  }
}

@media(max-width:700px){
  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:.45rem;
  }

  .footer-separator{
    display:none;
  }

  .footer-tracking{
    width:auto;
    margin-top:.3rem;
  }
}

/* =========================================================
   UI V9 - CHECKBOX MODULI / CHI SIAMO / SOCIAL CONTATTI
   ========================================================= */

/* Checkbox privacy: annulla le regole generiche degli input del form. */
.privacy-check{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  width:100%;
  cursor:pointer;
  font-weight:750;
  line-height:1.45;
}

.field input.privacy-checkbox,
.privacy-checkbox{
  appearance:auto;
  -webkit-appearance:checkbox;
  width:22px!important;
  min-width:22px!important;
  max-width:22px!important;
  height:22px!important;
  min-height:22px!important;
  margin:.08rem 0 0!important;
  padding:0!important;
  border:1px solid #8fa18f!important;
  border-radius:5px!important;
  background:#fff!important;
  box-shadow:none!important;
  accent-color:var(--primary);
  flex:0 0 22px;
  cursor:pointer;
}

.privacy-check span{
  min-width:0;
}

.privacy-check a{
  font-weight:800;
}

/* Immagine/visione della pagina Chi siamo. */
.about-vision-section{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,#f8fbf7 0%,#f2f7f1 100%);
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.about-vision-section::before,
.about-vision-section::after{
  content:"";
  position:absolute;
  width:280px;
  height:280px;
  border-radius:50%;
  pointer-events:none;
  filter:blur(2px);
}

.about-vision-section::before{
  left:-130px;
  top:10%;
  background:radial-gradient(circle,rgba(39,111,32,.11),rgba(39,111,32,0) 70%);
}

.about-vision-section::after{
  right:-130px;
  bottom:5%;
  background:radial-gradient(circle,rgba(10,75,147,.09),rgba(10,75,147,0) 70%);
}

.about-vision-heading{
  position:relative;
  z-index:1;
  max-width:760px;
  margin:0 auto 1.8rem;
  text-align:center;
}

.about-vision-heading h2{
  margin:.35rem 0 0;
  font-size:clamp(2rem,3.8vw,3.15rem);
  line-height:1.08;
  letter-spacing:-.03em;
}

.about-vision-frame{
  position:relative;
  z-index:1;
  max-width:980px;
  margin:0 auto;
  padding:clamp(.65rem,1.5vw,1rem);
  border:1px solid #d5e2d4;
  border-radius:34px;
  background:rgba(255,255,255,.88);
  box-shadow:0 22px 60px rgba(16,35,62,.10);
}

.about-vision-frame::before{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(39,111,32,.12);
  border-radius:26px;
  pointer-events:none;
}

.about-vision-frame img{
  position:relative;
  z-index:1;
  display:block;
  width:100%;
  height:auto;
  margin:0 auto;
  border-radius:26px;
}

/* Pulsanti social nella pagina Contatti. */
.contact-social-buttons{
  align-items:center;
  gap:.8rem;
}

.contact-social-btn{
  min-width:150px;
  color:#fff!important;
  border-color:transparent!important;
  box-shadow:0 9px 24px rgba(16,35,62,.10);
}

.contact-social-btn:hover{
  color:#fff!important;
  transform:translateY(-1px);
}

.contact-whatsapp-btn{
  background:#247a27!important;
}

.contact-whatsapp-btn:hover{
  background:#1b651f!important;
}

.contact-facebook-btn{
  background:#1877f2!important;
}

.contact-facebook-btn:hover{
  background:#0f64d2!important;
}

.contact-instagram-btn{
  background:linear-gradient(135deg,#833ab4 0%,#c13584 38%,#e1306c 62%,#f77737 100%)!important;
}

.contact-instagram-btn:hover{
  background:linear-gradient(135deg,#702e9f 0%,#ab2c72 38%,#cd245d 62%,#e5682d 100%)!important;
}

.contact-social-btn.is-disabled{
  opacity:.88;
  cursor:not-allowed;
  user-select:none;
}

@media(max-width:700px){
  .privacy-check{
    gap:.65rem;
    font-size:.98rem;
  }

  .field input.privacy-checkbox,
  .privacy-checkbox{
    width:21px!important;
    min-width:21px!important;
    max-width:21px!important;
    height:21px!important;
    min-height:21px!important;
    flex-basis:21px;
  }

  .about-vision-heading{
    margin-bottom:1.25rem;
  }

  .about-vision-heading h2{
    font-size:2rem;
  }

  .about-vision-frame{
    border-radius:22px;
    padding:.5rem;
  }

  .about-vision-frame::before{
    inset:10px;
    border-radius:17px;
  }

  .about-vision-frame img{
    border-radius:17px;
  }

  .contact-social-buttons{
    display:grid;
    grid-template-columns:1fr;
  }

  .contact-social-btn{
    width:100%;
  }
}
