
:root{
  --navy:#123d58;
  --navy-2:#0d3148;
  --blue:#2f7f9f;
  --aqua:#6db3c8;
  --ice:#f4f9fb;
  --ice-2:#edf5f8;
  --warm:#fbfaf8;
  --text:#26343d;
  --muted:#6a7881;
  --line:#dfe9ed;
  --white:#ffffff;
  --green:#2d8b65;
  --shadow:0 14px 40px rgba(18,61,88,.10);
  --shadow-soft:0 8px 24px rgba(18,61,88,.07);
  --r:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,Helvetica,sans-serif;
  color:var(--text);
  line-height:1.62;
  background:#fff;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility
}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
.container{width:min(1180px,calc(100% - 44px));margin:auto}

/* top strip */
.top{
  background:var(--navy-2);
  color:#fff;
  font-size:12.5px;
  letter-spacing:.1px
}
.top .container{
  display:flex;
  justify-content:space-between;
  align-items:center;
  min-height:30px;
  gap:24px
}
.top a{opacity:.94}

/* header */
.header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(223,233,237,.9)
}
.navrow{
  display:flex;
  align-items:center;
  min-height:72px;
  gap:24px
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  margin-right:auto
}
.brandmark{
  width:42px;
  height:42px;
  border:2px solid #b7d5df;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-weight:800;
  font-size:15px;
  color:var(--navy);
  background:#fbfeff
}
.brand strong{
  display:block;
  color:var(--navy);
  font-size:17px;
  line-height:1.1;
  letter-spacing:-.1px
}
.brand small{
  display:block;
  margin-top:4px;
  color:var(--muted);
  font-size:11.5px
}
.nav{
  display:flex;
  align-items:center;
  gap:18px;
  font-size:13.5px;
  font-weight:650
}
.navitem{position:relative}
.nav>a,.navitem>a{
  display:block;
  padding:25px 0 23px;
  color:#233642;
  transition:.18s ease
}
.nav>a:hover,.navitem>a:hover{color:var(--blue)}
.dropdown{
  display:none;
  position:absolute;
  top:64px;
  left:-18px;
  background:white;
  min-width:330px;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:9px;
  max-height:72vh;
  overflow:auto
}
.navitem:hover .dropdown{display:block}
.dropdown a{
  display:block;
  padding:9px 10px;
  border-radius:9px;
  font-size:12.8px;
  line-height:1.3;
  font-weight:550;
  color:#30434f
}
.dropdown a:hover{
  background:var(--ice);
  color:var(--navy)
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 16px;
  border-radius:999px;
  background:var(--navy);
  border:1px solid var(--navy);
  color:#fff;
  font-weight:700;
  font-size:13.5px;
  line-height:1.1;
  box-shadow:none;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease
}
.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(18,61,88,.13)
}
.btn.alt{
  background:#fff;
  color:var(--navy);
  border-color:#a9c9d5
}
.btn.alt:hover{background:#f9fcfd}
.btn.wa{
  background:var(--green);
  border-color:var(--green)
}
.mobile{
  display:none;
  background:none;
  border:0;
  font-size:27px;
  color:var(--navy)
}

/* hero */
.hero{
  position:relative;
  overflow:hidden;
  padding:76px 0 74px;
  background:linear-gradient(180deg,#ffffff 0%,#ffffff 100%)
}
.hero:after{
  content:"";
  position:absolute;
  right:-10%;
  top:0;
  width:52%;
  height:100%;
  background:linear-gradient(180deg,var(--ice) 0%,#eef6f8 100%);
  border-bottom-left-radius:90px;
  z-index:0
}
.herogrid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.70fr);
  gap:76px;
  align-items:center
}
.eyebrow{
  text-transform:uppercase;
  letter-spacing:1.6px;
  font-size:12.5px;
  font-weight:800;
  color:var(--blue)
}
h1{
  font-size:clamp(48px,5vw,63px);
  line-height:1.02;
  margin:10px 0 14px;
  color:var(--navy);
  letter-spacing:-1.8px;
  font-weight:760
}
h2{
  color:var(--navy);
  line-height:1.15;
  letter-spacing:-.4px
}
.hero h2{
  font-size:23px;
  margin:0 0 20px;
  font-weight:700
}
.hero p{
  font-size:17px;
  color:#465862;
  max-width:740px;
  margin:0 0 13px
}
.actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:27px
}
.portrait{
  width:100%;
  height:470px;
  object-fit:cover;
  object-position:50% 22%;
  border-radius:22px;
  box-shadow:0 18px 40px rgba(16,57,81,.15)
}

/* generic sections */
section{padding:68px 0}
.sectiontitle{
  text-align:center;
  max-width:760px;
  margin:0 auto 38px
}
.sectiontitle h2{
  font-size:37px;
  margin:7px 0 10px
}
.sectiontitle p{
  color:var(--muted);
  font-size:16px
}

/* profile */
.profile{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:54px;
  align-items:start
}
.profile>div:first-child{
  padding-top:4px
}
.profile>div:first-child h2{
  margin:12px 0 16px;
  font-size:31px
}
.profile>div:first-child p{
  font-size:16px;
  color:#495a64
}
.credentials{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px
}
.credential{
  border:1px solid var(--line);
  border-left:4px solid var(--aqua);
  background:#fbfdfe;
  padding:14px 16px;
  border-radius:10px;
  min-height:82px;
  font-size:14px
}
.credential b{
  color:var(--navy)
}

/* cards */
.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px
}
.card{
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--shadow-soft);
  transition:transform .16s ease,box-shadow .16s ease
}
.card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 26px rgba(18,61,88,.10)
}
.card img{
  width:100%;
  height:175px;
  object-fit:cover
}
.cardbody{padding:21px 21px 22px}
.card h3{
  color:var(--navy);
  font-size:19px;
  margin:0 0 8px;
  letter-spacing:-.2px
}
.card p{
  color:var(--muted);
  margin:0;
  font-size:14.5px
}

/* blue band */
.band{
  background:linear-gradient(180deg,var(--navy) 0%,#10384f 100%);
  color:#fff
}
.band h2{color:#fff}
.pills{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:9px
}
.pill{
  border:1px solid rgba(255,255,255,.23);
  background:rgba(255,255,255,.08);
  padding:9px 14px;
  border-radius:999px;
  font-size:14px
}

/* interior pages */
.pagehero{
  background:linear-gradient(180deg,var(--ice) 0%,#f7fbfc 100%);
  padding:50px 0 46px;
  border-bottom:1px solid var(--line)
}
.pagehero h1{
  font-size:44px;
  margin-bottom:4px
}
.article{
  max-width:900px;
  margin:auto;
  padding:52px 0 62px
}
.article .leadimg{
  width:100%;
  max-height:430px;
  object-fit:cover;
  border-radius:18px;
  margin:0 0 28px;
  box-shadow:var(--shadow)
}
.article p{font-size:16.5px;color:#3d4e58}
.article h2{
  font-size:28px;
  margin-top:36px;
  margin-bottom:9px
}
.article h3{
  font-size:21px;
  color:var(--blue);
  margin-top:26px
}
.article li{margin-bottom:8px}

/* services */
.serviceblock{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:30px;
  align-items:center;
  padding:30px 0;
  border-bottom:1px solid var(--line)
}
.serviceblock img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:15px;
  box-shadow:var(--shadow-soft)
}
.serviceblock h2{
  margin:0 0 10px;
  font-size:28px
}
.serviceblock p{
  margin:0;
  color:#4d5e68
}

/* studio */
.studio{
  background:var(--warm)
}
.studiogrid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:28px
}
.box{
  background:#fff;
  border-radius:18px;
  padding:28px;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft)
}
.map{
  border:0;
  border-radius:18px;
  width:100%;
  min-height:420px;
  box-shadow:var(--shadow-soft)
}
.hours{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px 18px;
  font-size:14.5px
}

/* contact */
.contactgrid{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:30px
}
.form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:13px
}
.form input,.form textarea{
  padding:13px 14px;
  border:1px solid #cadbe2;
  border-radius:9px;
  font:inherit;
  width:100%;
  background:#fff
}
.form input:focus,.form textarea:focus{
  outline:2px solid rgba(77,155,179,.18);
  border-color:#8ebccc
}
.form textarea{
  grid-column:1/-1;
  min-height:150px
}
.full{grid-column:1/-1}
.notice{
  font-size:12px;
  color:var(--muted)
}

/* footer */
footer{
  background:#0d2f45;
  color:#d8e7ed;
  padding:34px 0
}
.footergrid{
  display:grid;
  grid-template-columns:1.3fr .8fr .8fr;
  gap:30px
}
footer strong{color:#fff}
footer p{
  margin:8px 0 0;
  font-size:13.5px
}
.copy{
  border-top:1px solid rgba(255,255,255,.12);
  margin-top:24px;
  padding-top:16px;
  font-size:11.5px;
  color:#a9c3cf
}
.floatwa{
  position:fixed;
  right:20px;
  bottom:18px;
  width:52px;
  height:52px;
  border-radius:50%;
  background:var(--green);
  color:#fff;
  display:grid;
  place-items:center;
  font-size:22px;
  box-shadow:0 8px 22px rgba(0,0,0,.18);
  z-index:120
}

/* tablet */
@media(max-width:980px){
  .top{display:none}
  .mobile{display:block}
  .navrow>.btn{display:none}
  .nav{
    display:none;
    position:absolute;
    top:72px;
    left:0;
    right:0;
    background:#fff;
    border-bottom:1px solid var(--line);
    padding:12px 18px 16px;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    max-height:calc(100vh - 72px);
    overflow:auto
  }
  .nav.open{display:flex}
  .nav>a,.navitem>a{padding:10px}
  .dropdown{
    position:static;
    display:block;
    box-shadow:none;
    border:0;
    padding:0 0 4px 15px;
    max-height:none;
    min-width:0
  }
  .dropdown a{
    padding:6px 10px;
    font-weight:500
  }
  .herogrid{
    grid-template-columns:1fr;
    gap:34px
  }
  .hero:after{
    width:100%;
    height:40%;
    top:auto;
    bottom:0;
    right:0;
    border-radius:0
  }
  .portrait{
    max-width:520px;
    height:500px;
    margin:auto
  }
  .profile,.studiogrid,.contactgrid{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr 1fr}
  .serviceblock{grid-template-columns:220px 1fr}
}

/* mobile */
@media(max-width:650px){
  .container{width:calc(100% - 28px)}
  .navrow{min-height:68px}
  .nav{top:68px;max-height:calc(100vh - 68px)}
  .brandmark{width:40px;height:40px}
  .brand strong{font-size:16px}
  .brand small{font-size:11px}
  .hero{padding:42px 0 48px}
  h1{
    font-size:40px;
    line-height:1.05;
    letter-spacing:-1.1px
  }
  .hero h2{font-size:21px}
  .hero p{font-size:15.5px}
  .actions{
    gap:9px;
    margin-top:22px
  }
  .btn{
    padding:10px 14px;
    font-size:13px
  }
  .portrait{
    height:420px;
    border-radius:18px
  }
  section{padding:52px 0}
  .sectiontitle h2{font-size:31px}
  .profile{gap:28px}
  .profile>div:first-child h2{font-size:27px}
  .credentials{grid-template-columns:1fr}
  .cards{grid-template-columns:1fr}
  .serviceblock{grid-template-columns:1fr}
  .serviceblock img{height:210px}
  .serviceblock h2{font-size:25px}
  .pagehero{padding:38px 0 34px}
  .pagehero h1{font-size:37px}
  .article{padding:38px 14px 48px}
  .article h2{font-size:25px}
  .form{grid-template-columns:1fr}
  .full,.form textarea{grid-column:1}
  .footergrid{grid-template-columns:1fr}
}


/* =========================================================
   v0.6 — branding, contatti, ribbon grafico, fixed background
   ========================================================= */
:root{
  --navy:#226b86;
  --navy-2:#174f67;
  --blue:#3b8eaa;
  --aqua:#75bfd0;
  --ice:#f1f8fa;
  --ice-2:#eaf4f7;
  --green:#2d8b65;
}
body{
  background:#f7fbfc;
}
.contact-ribbon{
  background:
    radial-gradient(circle at 8% 50%, rgba(255,255,255,.16) 0 3px, transparent 3.5px),
    radial-gradient(circle at 92% 50%, rgba(255,255,255,.10) 0 2px, transparent 2.5px),
    linear-gradient(115deg,var(--navy-2),var(--navy) 62%,#3f97ae);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.ribbon-inner{
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.ribbon-left,.ribbon-actions{
  display:flex;
  align-items:center;
  gap:13px;
}
.ribbon-pill{
  display:inline-flex;
  align-items:center;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.13);
  border:1px solid rgba(255,255,255,.18);
  font-size:11px;
  font-weight:700;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.ribbon-hours{
  font-size:12.5px;
  opacity:.95;
}
.ribbon-link{
  font-size:12.5px;
  font-weight:700;
  padding:5px 9px;
  border-radius:999px;
  transition:.16s ease;
}
.ribbon-link:hover{background:rgba(255,255,255,.12)}
.ribbon-wa{
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.18)
}
.brand-logo{
  width:250px;
  min-width:250px;
  height:58px;
  overflow:hidden;
  display:flex;
  align-items:center;
}
.brand-logo img{
  width:100%;
  max-height:52px;
  object-fit:contain;
  object-position:left center;
}
.navrow{min-height:74px}
.header-book{display:flex;align-items:center}
.btn.compact{padding:9px 13px;font-size:12.5px}
.hero{
  background:rgba(255,255,255,.92);
}
.hero:after{
  background:linear-gradient(180deg,rgba(234,246,249,.92),rgba(225,241,245,.90));
}
.hero h1,.hero h2,h1,h2,.brand strong,.card h3,.serviceblock h2{
  color:var(--navy-2);
}
.eyebrow{color:var(--blue)}
.availability-note{
  margin-top:14px;
  color:#4f6772;
  font-size:13px;
  display:flex;
  align-items:center;
  gap:7px;
}
.availability-note span{
  color:var(--green);
  font-size:11px;
}
.booking-actions .btn{min-height:42px}
.fixed-bg{
  position:relative;
  background-attachment:fixed !important;
  background-position:center center !important;
  background-size:cover !important;
}
.fixed-bg:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:rgba(247,252,253,.90);
}
.fixed-bg>.container{position:relative;z-index:1}
.fixed-bg-services{
  background:
    linear-gradient(rgba(234,247,250,.30),rgba(234,247,250,.30)),
    url("images/bilanci-di-salute.jpg") center center/cover fixed;
}
.fixed-bg-studio{
  background:
    linear-gradient(rgba(248,249,248,.42),rgba(248,249,248,.42)),
    url("images/pretermine.jpg") center center/cover fixed;
}
.fixed-bg-studio:before{
  background:rgba(250,249,247,.88)
}
.hours-allweek{
  grid-template-columns:1fr auto;
  max-width:380px
}
.contact-panel,.contact-form-wrap{
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
  padding:30px;
  box-shadow:var(--shadow-soft);
}
.booking-stack{display:grid;gap:12px;margin-top:22px}
.booking-card{
  display:flex;
  align-items:center;
  gap:14px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:14px 15px;
  background:#fbfdfe;
  transition:.16s ease;
}
.booking-card:hover{
  transform:translateY(-1px);
  box-shadow:var(--shadow-soft);
  border-color:#bcd5df;
}
.booking-icon{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--ice-2);
  color:var(--navy-2);
  font-weight:800;
}
.booking-card strong{
  display:block;
  color:var(--navy-2);
  font-size:15px;
}
.booking-card small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:12px;
}
.whatsapp-card{
  background:#f6fbf8;
  border-color:#cce5d9;
}
.whatsapp-card .booking-icon{
  background:#e6f4ec;
  color:var(--green)
}
.contact-privacy-note{
  margin-top:18px;
  color:var(--muted);
  font-size:12.5px;
}
.contact-form-wrap h2,.contact-panel h2{margin-top:8px}
footer{
  background:linear-gradient(135deg,#123f55,#1d6078);
}
.floatwa{
  background:var(--green);
}
@media(max-width:1100px){
  .brand-logo{width:210px;min-width:210px}
  .nav{gap:13px;font-size:12.8px}
  .header-book{display:none}
}
@media(max-width:980px){
  .contact-ribbon{display:block}
  .ribbon-inner{padding:7px 0;min-height:auto}
  .ribbon-pill{display:none}
  .ribbon-left{flex:1}
  .ribbon-hours{font-size:11.5px}
  .brand-logo{width:205px;min-width:205px}
}
@media(max-width:650px){
  .ribbon-inner{align-items:flex-start;gap:8px}
  .ribbon-left{display:none}
  .ribbon-actions{width:100%;justify-content:space-between}
  .ribbon-link{font-size:12px}
  .brand-logo{width:180px;min-width:180px;height:54px}
  .brand-logo img{max-height:48px}
  .fixed-bg{background-attachment:scroll !important}
  .contact-panel,.contact-form-wrap{padding:22px}
}


/* =========================================================
   v0.7 — wave top bar, photo radius, SEO refinement
   ========================================================= */
.contact-ribbon{
  position:relative;
  overflow:visible;
  margin-bottom:9px;
  background:linear-gradient(115deg,#1d6d89 0%,#2f89a4 58%,#53a9bd 100%);
}
.contact-ribbon:after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-10px;
  height:18px;
  background:
    radial-gradient(32px 12px at 16px -2px, transparent 98%, #ffffff 100%) 0 0/64px 18px repeat-x;
  pointer-events:none;
}
.ribbon-inner{min-height:36px}
.ribbon-pill{background:rgba(255,255,255,.15)}
.ribbon-hours{font-weight:500}
.portrait{border-radius:11px !important}
.hero:after{border-bottom-left-radius:58px}
.hero h1{font-weight:700;letter-spacing:-1.25px}
.hero h2{color:#226b86}
.brand-logo{width:275px;min-width:275px}
.brand-logo img{max-height:56px}
.credential{
  background:rgba(255,255,255,.74);
  border:1px solid rgba(207,225,232,.85);
  border-left:3px solid #70bfd0;
  box-shadow:0 4px 14px rgba(22,79,103,.04);
}
.profile{gap:48px}
.booking-actions .btn{min-height:40px;padding:10px 15px}
.booking-actions .btn.wa{background:#318b67}
.hero{padding-top:66px;padding-bottom:64px}
.hero p{margin-bottom:10px}
.availability-note{margin-top:9px}
.fixed-bg-services:before{background:rgba(241,249,251,.91)}
.pagehero{background:linear-gradient(180deg,#eef8fa 0%,#f7fbfc 100%)}
@media(max-width:1100px){
  .brand-logo{width:235px;min-width:235px}
}
@media(max-width:650px){
  .contact-ribbon{margin-bottom:7px}
  .contact-ribbon:after{
    bottom:-8px;height:14px;background-size:48px 14px;
  }
  .brand-logo{width:205px;min-width:205px}
  .portrait{border-radius:9px !important}
}


/* =========================================================
   v0.8 — smooth wave, menu typography, credentials, favicon
   Palette intentionally unchanged from v0.7
   ========================================================= */

/* Remove the scalloped v0.7 edge completely */
.contact-ribbon {
  position: relative;
  margin-bottom: 22px;
  overflow: visible;
  background: linear-gradient(115deg,#1d6d89 0%,#2f89a4 58%,#53a9bd 100%);
}
.contact-ribbon:after {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-23px;
  height:32px;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNDQwIDM0JyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSdub25lJz4KPHBhdGggZD0nTTAgMTIgQzEyMCAyNCAyMTAgMyAzNDAgMTMgQzQ3MCAyMyA1NjAgMjcgNzEwIDE0IEM4NjAgMiA5OTAgMjUgMTEzMCAxNCBDMTI2MCA0IDEzNjAgMTAgMTQ0MCAxOCBMMTQ0MCAzNCBMMCAzNCBaJyBmaWxsPSd3aGl0ZScvPgo8L3N2Zz4=");
  background-repeat:no-repeat;
  background-size:100% 100%;
  background-position:center bottom;
  z-index:3;
  pointer-events:none;
}
.contact-ribbon:before {
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-17px;
  height:30px;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNDQwIDM0JyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSdub25lJz4KPHBhdGggZD0nTTAgMTggQzE1MCAyIDI0MCAyOCAzOTAgMTUgQzUzMCAzIDY1MCAyOCA3OTAgMTYgQzkzMCA1IDEwNTAgMjUgMTE4MCAxNCBDMTMwMCA1IDEzNzAgMTAgMTQ0MCAxMyBMMTQ0MCAzNCBMMCAzNCBaJyBmaWxsPScjY2NlYWYxJy8+Cjwvc3ZnPg==");
  background-repeat:no-repeat;
  background-size:100% 100%;
  background-position:center bottom;
  opacity:.70;
  z-index:2;
  pointer-events:none;
}
.ribbon-inner {
  min-height:38px;
}

/* Header/nav: larger and more polished without changing the overall layout */
.navrow {
  min-height:78px;
}
.nav {
  gap:23px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:15px;
  font-weight:650;
  letter-spacing:-.15px;
}
.nav > a,
.navitem > a {
  position:relative;
  padding:27px 0 25px;
}
.nav > a:after,
.navitem > a:after {
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:18px;
  height:2px;
  border-radius:999px;
  background:#53a9bd;
  transition:right .18s ease;
}
.nav > a:hover:after,
.navitem > a:hover:after {
  right:0;
}
.dropdown {
  top:69px;
}
.dropdown a {
  font-size:13.5px;
  padding:10px 11px;
}

/* slightly more refined menu CTA */
.header-book .btn {
  font-size:13.5px;
  padding:10px 15px;
}

/* Credential cards: support 8 cards elegantly */
.credentials {
  grid-template-columns:1fr 1fr;
  gap:13px;
}
.credential {
  min-height:96px;
  padding:15px 17px;
  line-height:1.45;
}
.credential b {
  display:block;
  margin-bottom:4px;
  font-size:14.3px;
}

/* Browser-favicon-friendly header spacing */
.brand-logo {
  flex:0 0 auto;
}

@media(max-width:1200px){
  .nav {
    gap:17px;
    font-size:14px;
  }
}

@media(max-width:980px){
  .contact-ribbon {
    margin-bottom:18px;
  }
  .contact-ribbon:after {
    bottom:-19px;
    height:26px;
  }
  .contact-ribbon:before {
    bottom:-14px;
    height:24px;
  }
  .nav {
    font-size:14.5px;
    gap:0;
  }
  .nav > a,
  .navitem > a {
    padding:10px;
  }
  .nav > a:after,
  .navitem > a:after {
    display:none;
  }
}

@media(max-width:650px){
  .contact-ribbon {
    margin-bottom:14px;
  }
  .contact-ribbon:after {
    bottom:-15px;
    height:21px;
  }
  .contact-ribbon:before {
    bottom:-11px;
    height:19px;
  }
  .credentials {
    grid-template-columns:1fr;
  }
}


/* =========================================================
   v0.9 — stronger smooth wave, enriched menu, bigger logo
   ========================================================= */

/* slightly darker on the left, same approved palette */
.contact-ribbon {
  margin-bottom:31px;
  background:linear-gradient(115deg,#15566f 0%,#287b98 42%,#3e97ae 72%,#53a9bd 100%);
}
.contact-ribbon:after {
  bottom:-32px;
  height:44px;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNDQwIDUyJyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSdub25lJz4KPHBhdGggZD0nTTAgMTggQzEyMCAzOCAyMzUgMiAzNjUgMTkgQzUwMCAzNiA2MTAgNDMgNzYwIDIwIEM5MDUgLTIgMTAzMCA0MCAxMTc1IDIwIEMxMzAwIDQgMTM4MCAxNCAxNDQwIDI3IEwxNDQwIDUyIEwwIDUyIFonIGZpbGw9J3doaXRlJy8+Cjwvc3ZnPg==");
  background-repeat:no-repeat;
  background-size:100% 100%;
  background-position:center bottom;
}
.contact-ribbon:before {
  bottom:-24px;
  height:39px;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNDQwIDUyJyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSdub25lJz4KPHBhdGggZD0nTTAgMzEgQzE0MCA1IDI2MCA0NiA0MDUgMjQgQzU0NSAzIDY3NSA0NCA4MTUgMjQgQzk1MCA1IDEwODUgNDEgMTIyMCAyMCBDMTMyNSA1IDEzOTAgMTEgMTQ0MCAxOCBMMTQ0MCA1MiBMMCA1MiBaJyBmaWxsPScjY2NlYWYxJy8+Cjwvc3ZnPg==");
  background-repeat:no-repeat;
  background-size:100% 100%;
  background-position:center bottom;
  opacity:.72;
}

/* logo larger */
.brand-logo {
  width:315px;
  min-width:315px;
  height:64px;
}
.brand-logo img {
  max-height:62px;
}

/* menu: richer, less plain */
.nav {
  gap:12px;
  font-size:15.5px;
  font-weight:650;
}
.nav > a,
.navitem > a {
  position:relative;
  padding:11px 13px;
  border-radius:12px;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
.nav > a:hover,
.navitem > a:hover {
  background:linear-gradient(180deg,rgba(83,169,189,.12),rgba(83,169,189,.05));
  color:#15566f;
  transform:translateY(-1px);
}
.nav > a:before,
.navitem > a:before {
  content:"";
  width:5px;
  height:5px;
  border-radius:50%;
  background:#70bfd0;
  display:inline-block;
  margin-right:7px;
  vertical-align:2px;
  opacity:.68;
}
.nav > a:after,
.navitem > a:after {
  left:13px;
  right:calc(100% - 13px);
  bottom:6px;
  height:2px;
}
.nav > a:hover:after,
.navitem > a:hover:after {
  right:13px;
}
.navitem {
  display:flex;
  align-items:center;
}
.dropdown {
  top:54px;
  border-top:3px solid #70bfd0;
  border-radius:12px;
}
.dropdown a {
  font-size:13.7px;
  padding:10px 12px;
}
.dropdown a:before {
  content:"›";
  color:#53a9bd;
  font-weight:800;
  margin-right:7px;
}

/* profile keywords */
.profile p strong {
  color:#15566f;
  font-weight:750;
}

/* improve spacing now there are 8 credential cards */
.credentials {
  align-content:start;
}

@media(max-width:1200px){
  .brand-logo {
    width:270px;
    min-width:270px;
  }
  .nav {
    font-size:14.2px;
    gap:7px;
  }
  .nav > a,
  .navitem > a {
    padding:10px 9px;
  }
  .nav > a:before,
  .navitem > a:before {
    display:none;
  }
}

@media(max-width:980px){
  .contact-ribbon {
    margin-bottom:23px;
  }
  .contact-ribbon:after {
    bottom:-24px;
    height:33px;
  }
  .contact-ribbon:before {
    bottom:-18px;
    height:29px;
  }
  .brand-logo {
    width:235px;
    min-width:235px;
  }
  .nav > a,
  .navitem > a {
    border-radius:8px;
    padding:10px;
  }
}

@media(max-width:650px){
  .contact-ribbon {
    margin-bottom:18px;
  }
  .contact-ribbon:after {
    bottom:-19px;
    height:26px;
  }
  .contact-ribbon:before {
    bottom:-14px;
    height:23px;
  }
  .brand-logo {
    width:215px;
    min-width:215px;
    height:58px;
  }
  .brand-logo img {
    max-height:55px;
  }
}


/* =========================================================
   v0.10 — menu, top ribbon, credentials, WhatsApp CTA
   ========================================================= */

/* TOP RIBBON: +50% height and more movement */
.contact-ribbon {
  margin-bottom:42px;
  min-height:58px;
  background:linear-gradient(115deg,#15566f 0%,#24728f 36%,#3c94aa 70%,#53a9bd 100%);
}
.ribbon-inner {
  min-height:58px;
  align-items:center;
}
.ribbon-pill {
  font-size:12.5px;
  padding:6px 12px;
}
.ribbon-hours,
.ribbon-link {
  font-size:13.5px;
}
.ribbon-actions {
  gap:14px;
}
.contact-ribbon:after {
  bottom:-43px;
  height:60px;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNDQwIDcyJyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSdub25lJz4KPHBhdGggZD0nTTAgMjQgQzEyNSA1OCAyNTAgMiAzOTAgMzAgQzUyNSA1OCA2NDUgNjUgNzkwIDMwIEM5MjUgLTQgMTA2MCA1OSAxMTk1IDI4IEMxMzE1IDIgMTM4NSAxNSAxNDQwIDM2IEwxNDQwIDcyIEwwIDcyIFonIGZpbGw9J3doaXRlJy8+Cjwvc3ZnPg==");
  background-repeat:no-repeat;
  background-size:100% 100%;
}
.contact-ribbon:before {
  bottom:-33px;
  height:52px;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNDQwIDcyJyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSdub25lJz4KPHBhdGggZD0nTTAgNDMgQzE0MCA0IDI3MCA2OCA0MjAgMzggQzU2NSA5IDcwMCA2NiA4NDUgMzYgQzk5MCA3IDExMTAgNjEgMTI0MCAzMSBDMTM0NSA3IDE0MDAgMTIgMTQ0MCAyNCBMMTQ0MCA3MiBMMCA3MiBaJyBmaWxsPScjY2NlYWYxJy8+Cjwvc3ZnPg==");
  background-repeat:no-repeat;
  background-size:100% 100%;
  opacity:.76;
}

/* LOGO larger again */
.brand-logo {
  width:365px;
  min-width:365px;
  height:72px;
}
.brand-logo img {
  max-height:69px;
}

/* HEADER more breathing room */
.navrow {
  min-height:88px;
  gap:20px;
}
.header .container {
  width:min(1500px,calc(100% - 44px));
}

/* MENU: no wrapping, stronger dots, cleaner geometry */
.nav {
  gap:7px;
  font-size:15.5px;
  font-weight:680;
  white-space:nowrap;
  flex-wrap:nowrap;
}
.nav > a,
.navitem > a {
  white-space:nowrap;
  line-height:1.15;
  padding:12px 11px;
  border-radius:12px;
}
.navitem {
  display:block;
  position:relative;
}
.nav > a:before,
.navitem > a:before {
  width:9px;
  height:9px;
  margin-right:8px;
  vertical-align:1px;
  opacity:1;
  background:linear-gradient(135deg,#1d6d89 0%,#53a9bd 65%,#89cedb 100%);
  box-shadow:0 0 0 2px rgba(83,169,189,.10);
}
.nav > a:after,
.navitem > a:after {
  left:11px;
  right:calc(100% - 11px);
  bottom:5px;
  background:linear-gradient(90deg,#1d6d89,#53a9bd);
}
.nav > a:hover:after,
.navitem > a:hover:after {
  right:11px;
}

/* dropdowns more separated from white page */
.dropdown {
  top:56px;
  min-width:360px;
  padding:10px;
  background:linear-gradient(180deg,#f4fbfd 0%,#edf7fa 100%);
  border:1px solid #b9dce6;
  border-top:4px solid #53a9bd;
  box-shadow:0 18px 38px rgba(19,78,101,.18);
  border-radius:14px;
}
.dropdown a {
  background:rgba(255,255,255,.68);
  border:1px solid rgba(189,220,230,.45);
  margin:4px 0;
  padding:10px 12px;
  border-radius:9px;
  font-size:13.6px;
}
.dropdown a:hover {
  background:#ffffff;
  color:#15566f;
  border-color:#9fd0dc;
  transform:translateX(2px);
}
.dropdown a:before {
  color:#2586a2;
  font-size:17px;
  vertical-align:-1px;
}

/* CREDENTIALS */
.credential {
  min-height:86px;
  padding:13px 17px 14px;
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.credential b {
  font-size:15px;
  line-height:1.25;
  margin-bottom:1px;
  color:#17627e;
}
.credential br {
  line-height:1;
}
.credential:hover {
  transform:translateY(-2px);
  background:linear-gradient(135deg,#f5fcfe 0%,#e9f6f9 100%);
  border-color:#9ed4df;
  box-shadow:0 10px 22px rgba(22,79,103,.10);
}
.credential:hover b {
  color:#0f5670;
}

/* WHATSAPP official green + icon */
.btn.wa,
.header-book .btn.wa {
  background:#25D366 !important;
  border-color:#25D366 !important;
  color:#fff !important;
}
.btn.wa:hover,
.header-book .btn.wa:hover {
  background:#20bd5a !important;
  border-color:#20bd5a !important;
}
.wa-icon-svg {
  width:18px;
  height:18px;
  display:inline-block;
  flex:0 0 auto;
  color:#fff;
  margin-right:7px;
}
.ribbon-wa .wa-icon-svg {
  width:16px;
  height:16px;
  margin-right:6px;
}
.ribbon-wa {
  display:inline-flex;
  align-items:center;
}

/* Make main WA button slightly roomier */
.header-book .btn {
  min-height:44px;
  padding:11px 16px;
}
.booking-actions .btn.wa {
  min-height:42px;
}

/* Responsive safety */
@media(max-width:1320px){
  .brand-logo {
    width:305px;
    min-width:305px;
  }
  .nav {
    font-size:14.2px;
    gap:3px;
  }
  .nav > a,
  .navitem > a {
    padding:10px 8px;
  }
  .nav > a:before,
  .navitem > a:before {
    width:7px;
    height:7px;
    margin-right:6px;
  }
}

@media(max-width:1100px){
  .brand-logo {
    width:260px;
    min-width:260px;
  }
  .header-book {
    display:none;
  }
}

@media(max-width:980px){
  .contact-ribbon {
    min-height:48px;
    margin-bottom:31px;
  }
  .ribbon-inner {
    min-height:48px;
  }
  .contact-ribbon:after {
    bottom:-32px;
    height:45px;
  }
  .contact-ribbon:before {
    bottom:-25px;
    height:39px;
  }
  .nav {
    white-space:normal;
  }
  .nav > a,
  .navitem > a {
    white-space:normal;
  }
  .dropdown {
    background:#f3fafc;
    box-shadow:none;
    border-top:0;
  }
}

@media(max-width:650px){
  .contact-ribbon {
    min-height:43px;
    margin-bottom:26px;
  }
  .ribbon-inner {
    min-height:43px;
  }
  .ribbon-actions {
    width:100%;
  }
  .contact-ribbon:after {
    bottom:-27px;
    height:38px;
  }
  .contact-ribbon:before {
    bottom:-21px;
    height:33px;
  }
  .brand-logo {
    width:235px;
    min-width:235px;
  }
}


/* v0.11 */
.contact-ribbon{min-height:64px;margin-bottom:48px}
.ribbon-inner{min-height:64px}
.contact-ribbon:after{bottom:-49px;height:68px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNDQwIDg0JyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSdub25lJz48cGF0aCBkPSdNMCAyOCBDMTAwIDcwIDIzMCAzIDM2NSAzNCBDNTAwIDY1IDYyMCA3OCA3NjAgMzggQzkwMCAtNCAxMDM1IDcyIDExODUgMzUgQzEzMTUgNCAxMzk1IDE4IDE0NDAgNDYgTDE0NDAgODQgTDAgODQgWicgZmlsbD0nd2hpdGUnLz48L3N2Zz4=");background-repeat:no-repeat;background-size:100% 100%}
.contact-ribbon:before{bottom:-38px;height:58px;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNDQwIDg0JyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSdub25lJz48cGF0aCBkPSdNMCA1MiBDMTM1IDUgMjcwIDgwIDQyMCA0MyBDNTYwIDEwIDcwMCA3NiA4NDUgNDAgQzk4NSA2IDExMjAgNzEgMTI1MCAzNCBDMTM1NSA3IDE0MTAgMTQgMTQ0MCAyNSBMMTQ0MCA4NCBMMCA4NCBaJyBmaWxsPScjYTlkY2U3Jy8+PC9zdmc+");background-repeat:no-repeat;background-size:100% 100%;opacity:.88}
.ribbon-pill{font-size:13px;padding:7px 13px}
.ribbon-hours,.ribbon-link{font-size:14px}
.phone-icon-svg{width:20px;height:20px;display:inline-block;vertical-align:-5px;color:#fff;margin-right:5px}

.brand-logo{width:405px;min-width:405px;height:78px}
.brand-logo img{max-height:76px}

.dropdown{max-height:none!important;overflow:visible!important;min-width:375px;padding:7px 8px}
.dropdown a{margin:2px 0;padding:7px 10px;line-height:1.18;font-size:14.4px}
.dropdown a:before{font-size:16px;margin-right:6px}
.navitem .dropdown{z-index:200}

.credential{min-height:82px;padding:12px 17px 13px;line-height:1.28}
.credential b{margin:0!important;padding:0;line-height:1.16;font-size:15.2px}
.credential br{display:block;content:"";height:0;line-height:0}

.hero p strong{color:#15566f;font-weight:760}

.studio-gallery-section{margin-top:38px}
.studio-gallery-title{margin-bottom:22px}
.studio-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.gallery-item{display:block;border-radius:12px;overflow:hidden;box-shadow:0 8px 22px rgba(18,61,88,.10);border:1px solid rgba(190,219,228,.9);background:#fff;transition:transform .18s ease,box-shadow .18s ease}
.gallery-item:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(18,61,88,.15)}
.gallery-item img{width:100%;height:230px;object-fit:cover}

.btn.wa .wa-icon-svg + .wa-icon-svg,.ribbon-wa .wa-icon-svg + .wa-icon-svg{display:none!important}
.btn.wa .wa-icon-svg{width:19px;height:19px;margin-right:7px}

@media(max-width:1320px){.brand-logo{width:335px;min-width:335px}}
@media(max-width:1100px){.brand-logo{width:285px;min-width:285px}.studio-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:980px){
.contact-ribbon{min-height:54px;margin-bottom:36px}.ribbon-inner{min-height:54px}
.contact-ribbon:after{bottom:-37px;height:52px}.contact-ribbon:before{bottom:-29px;height:44px}
.dropdown{overflow:visible!important;max-height:none!important}
}
@media(max-width:650px){
.contact-ribbon{min-height:47px;margin-bottom:29px}.ribbon-inner{min-height:47px}
.contact-ribbon:after{bottom:-30px;height:42px}.contact-ribbon:before{bottom:-23px;height:36px}
.brand-logo{width:245px;min-width:245px}
.studio-gallery{grid-template-columns:1fr 1fr;gap:10px}
.gallery-item img{height:160px}
}


/* =========================================================
   v0.12 — dropdown stability, premium nav, contact strip,
           private pediatrician SEO, curriculum page
   ========================================================= */

/* Dropdown bridge: no more disappearing while moving the mouse */
.navitem{
  position:relative;
  padding-bottom:14px;
  margin-bottom:-14px;
}
.navitem::after{
  content:"";
  position:absolute;
  left:-10px;
  right:-10px;
  top:100%;
  height:18px;
  background:transparent;
}
.navitem .dropdown{
  top:100% !important;
  margin-top:-2px !important;
}
.navitem.open .dropdown{
  display:block !important;
}

/* MENU: remove dots, use full gradient buttons */
.nav{
  gap:8px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI Variable","Segoe UI",Arial,sans-serif;
  font-size:15.5px;
  font-weight:680;
}
.nav > a,
.navitem > a{
  color:#fff !important;
  background:linear-gradient(135deg,#1b6782 0%,#2f89a4 58%,#54aabe 100%);
  border:1px solid rgba(255,255,255,.16);
  border-radius:10px;
  padding:11px 14px !important;
  box-shadow:0 4px 11px rgba(22,86,111,.12);
  letter-spacing:-.12px;
}
.nav > a:before,
.navitem > a:before{
  display:none !important;
}
.nav > a:hover,
.navitem > a:hover{
  color:#fff !important;
  background:linear-gradient(135deg,#15566f 0%,#277f9c 58%,#64b7c9 100%) !important;
  box-shadow:0 7px 16px rgba(22,86,111,.18);
}
.nav > a:after,
.navitem > a:after{
  background:rgba(255,255,255,.95) !important;
  bottom:5px !important;
  left:14px !important;
  right:calc(100% - 14px) !important;
}
.nav > a:hover:after,
.navitem > a:hover:after{
  right:14px !important;
}

/* dropdown keeps lighter styling and is clearly detached from background */
.dropdown{
  background:linear-gradient(180deg,#f0fafc 0%,#e8f5f8 100%) !important;
  border:1px solid #9fd2de !important;
  border-top:4px solid #2f89a4 !important;
  box-shadow:0 22px 44px rgba(18,61,88,.22) !important;
}
.dropdown a{
  color:#263f4c !important;
  background:rgba(255,255,255,.82) !important;
}
.dropdown a:hover{
  color:#15566f !important;
  background:#fff !important;
}

/* Quick contacts under the hero */
.quick-contact-band{
  position:relative;
  background:#f4fafc;
  border-bottom:1px solid #d8e8ed;
  padding:26px 0 25px;
}
.quick-contact-accent{
  position:absolute;
  left:0;right:0;top:0;height:5px;
  background:linear-gradient(90deg,#15566f,#2f89a4,#53a9bd);
}
.quick-contact-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.quick-contact-item{
  min-width:0;
  display:flex;
  align-items:center;
  gap:13px;
  padding:9px 12px;
  border-radius:13px;
  transition:background .18s ease,transform .18s ease;
}
.quick-contact-item:hover{
  background:#fff;
  transform:translateY(-1px);
}
.quick-icon{
  width:38px;height:38px;flex:0 0 38px;
  color:#58a994;
}
.quick-icon svg{width:100%;height:100%;fill:currentColor}
.quick-contact-item small{
  display:block;color:#71818a;font-size:12px;margin-bottom:1px
}
.quick-contact-item strong{
  display:block;color:#154e68;font-size:17px;line-height:1.14
}
.quick-contact-item em{
  display:block;color:#6d7b84;font-size:12px;font-style:normal;margin-top:2px
}
.email-image{
  height:25px;
  width:auto;
  max-width:100%;
  display:block;
}

/* Why choose section */
.why-private{
  background:#fff;
  padding-top:58px;
  padding-bottom:62px;
}
.why-head{
  max-width:900px;
}
.why-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.why-card{
  border:1px solid #d9e8ed;
  border-radius:17px;
  padding:25px 23px;
  background:linear-gradient(145deg,#fbfeff,#f1f9fb);
  box-shadow:0 6px 18px rgba(18,61,88,.05);
  transition:.18s ease;
}
.why-card:hover{
  transform:translateY(-3px);
  box-shadow:0 13px 28px rgba(18,61,88,.10);
  border-color:#a9d5df;
}
.why-icon{
  display:block;
  width:34px;height:34px;
  color:#57aa97;
  margin-bottom:13px;
}
.why-icon svg{width:100%;height:100%;fill:currentColor}
.why-card h3{
  color:#15566f;
  margin:0 0 7px;
  font-size:19px;
}
.why-card p{
  color:#445760;
  margin:0;
  font-size:15px;
}

/* Make private-Turin SEO emphasis elegant */
.hero p strong,
.profile p strong,
.why-card strong{
  color:#15566f;
  font-weight:760;
}

/* Gallery: remove washed-out effect */
.studio-gallery-section{
  position:relative !important;
  z-index:5 !important;
  background:#f7fbfc !important;
  opacity:1 !important;
  padding:44px max(24px,calc((100vw - 1180px)/2)) 54px !important;
  margin:42px 0 -68px !important;
}
.studio-gallery-section *{
  opacity:1 !important;
}
.studio-gallery-title h2,
.studio-gallery-title p,
.studio-gallery-title .eyebrow{
  opacity:1 !important;
}
.gallery-item img{
  filter:none !important;
  opacity:1 !important;
}

/* Curriculum */
.curriculum-hero p{
  max-width:880px;
  font-size:17px;
  color:#465a64;
}
.curriculum-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 335px;
  gap:48px;
  align-items:start;
}
.curriculum-main h2{
  font-size:28px;
  margin:0 0 10px;
  padding-top:20px;
}
.curriculum-main h2:first-child{padding-top:0}
.curriculum-main p{
  font-size:16.5px;
  color:#3e505a;
}
.curriculum-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:32px;
}
.career-summary{
  position:sticky;
  top:125px;
  background:linear-gradient(145deg,#f6fbfc,#edf7f9);
  border:1px solid #d9e9ed;
  border-radius:20px;
  padding:25px 25px 20px;
  box-shadow:0 9px 25px rgba(18,61,88,.07);
}
.career-summary h2{
  margin:0 0 19px;
  font-size:24px;
}
.career-stat{
  padding:10px 0 12px;
  border-bottom:1px solid #dbeaec;
}
.career-stat:last-child{border-bottom:0}
.career-stat span{
  display:block;
  color:#15566f;
  font-size:22px;
  font-weight:800;
  letter-spacing:-.4px;
}
.career-stat p{
  margin:1px 0 0;
  color:#6b7981;
  font-size:13.5px;
  line-height:1.32;
}

@media(max-width:1200px){
  .nav{font-size:13.5px;gap:5px}
  .nav > a,.navitem > a{padding:10px 9px !important}
}
@media(max-width:980px){
  .nav > a,.navitem > a{
    color:#183a49 !important;
    background:transparent !important;
    box-shadow:none;
    border:0;
  }
  .navitem{padding-bottom:0;margin-bottom:0}
  .navitem::after{display:none}
  .quick-contact-grid{grid-template-columns:1fr 1fr}
  .why-grid{grid-template-columns:1fr 1fr}
  .curriculum-layout{grid-template-columns:1fr}
  .career-summary{position:static}
}
@media(max-width:650px){
  .quick-contact-grid{grid-template-columns:1fr}
  .why-grid{grid-template-columns:1fr}
  .studio-gallery-section{
    padding:34px 14px 45px !important;
    margin-bottom:-52px !important;
  }
}


/* =========================================================
   v0.13 — compact aligned header, lighter contact separator,
           continuity-focused hero
   ========================================================= */

/* HEADER ALIGNMENT: same horizontal container as main content */
.header .container,
.navrow,
.hero .container,
.profile.container,
.quick-contact-shell,
.why-private .container{
  width:min(1180px,calc(100% - 44px)) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.header .container{
  max-width:1180px !important;
}

/* Logo: larger but no left overflow */
.brand-logo{
  width:290px !important;
  min-width:290px !important;
  height:66px !important;
  margin:0 !important;
}
.brand-logo img{
  max-height:64px !important;
  object-position:left center !important;
}

/* Header more compact vertically */
.navrow{
  min-height:76px !important;
  gap:13px !important;
}
.nav{
  gap:6px !important;
  margin-left:auto;
}
.nav > a,
.navitem > a{
  font-size:14px !important;
  font-weight:500 !important;
  padding:8px 11px !important;
  min-height:34px !important;
  border-radius:5px !important;
  box-shadow:0 3px 8px rgba(22,86,111,.11) !important;
}
.header-book .btn{
  min-height:36px !important;
  padding:8px 13px !important;
  border-radius:18px !important;
  font-size:13px !important;
}

/* dropdown cues: more obvious arrows */
.navitem > a{
  display:flex !important;
  align-items:center;
  gap:8px;
}
.navitem > a::before{
  content:"" !important;
  display:block !important;
  order:2;
  width:0 !important;
  height:0 !important;
  border-left:6px solid transparent !important;
  border-right:6px solid transparent !important;
  border-top:8px solid rgba(255,255,255,.95) !important;
  background:none !important;
  box-shadow:none !important;
  border-radius:0 !important;
  margin:1px 0 0 1px !important;
}
.navitem > a::after{
  order:3;
}

/* remove text triangle symbols if present visually */
.navitem > a{
  font-size:0 !important;
}
.navitem > a::first-letter{
  font-size:0;
}
.navitem > a{
  /* actual label restored via inner text sizing */
}
.navitem > a{
  font-size:14px !important;
}

/* lighter contact separator, constrained to content width */
.quick-contact-band{
  background:#fff !important;
  border-bottom:0 !important;
  padding:20px 0 26px !important;
}
.quick-contact-shell{
  position:relative;
}
.quick-contact-divider{
  height:5px;
  width:100%;
  border-radius:999px;
  margin:0 0 24px;
  background:linear-gradient(90deg,rgba(21,86,111,.95),rgba(47,137,164,.85),rgba(83,169,189,.55));
  position:relative;
  overflow:hidden;
}
.quick-contact-divider::after{
  content:"";
  position:absolute;
  left:13%;
  right:7%;
  bottom:-2px;
  height:7px;
  border-radius:50%;
  background:rgba(118,195,211,.18);
  filter:blur(2px);
}
.quick-contact-grid{
  gap:10px !important;
}
.quick-contact-item{
  padding:9px 8px !important;
  gap:13px !important;
}
.quick-icon{
  width:44px !important;
  height:44px !important;
  flex:0 0 44px !important;
  color:#2f89a4 !important;
}
.quick-contact-item:nth-child(1) .quick-icon{color:#35a8a2 !important}
.quick-contact-item:nth-child(2) .quick-icon{color:#267b98 !important}
.quick-contact-item:nth-child(3) .quick-icon{color:#53a9bd !important}
.quick-contact-item:nth-child(4) .quick-icon{color:#1d6d89 !important}
.quick-contact-item small{
  font-size:12.5px !important;
  color:#73858e !important;
}
.quick-contact-item strong{
  font-size:16px !important;
  font-weight:650 !important;
}
.quick-contact-item em{
  font-size:12px !important;
}

/* Hero copy readability */
.hero p{
  font-size:17px !important;
  line-height:1.68 !important;
}
.hero p strong{
  color:#15566f !important;
  font-weight:760 !important;
}

/* Why section title/message */
.why-head h2{
  max-width:820px;
  margin-left:auto;
  margin-right:auto;
}
.why-head p{
  max-width:900px;
  margin-left:auto;
  margin-right:auto;
  font-size:16.5px;
}

/* retain mobile friendliness */
@media(max-width:1200px){
  .brand-logo{
    width:245px !important;
    min-width:245px !important;
  }
  .nav > a,.navitem > a{
    padding:8px 8px !important;
    font-size:13px !important;
  }
}
@media(max-width:980px){
  .header .container,
  .navrow,
  .hero .container,
  .quick-contact-shell{
    width:calc(100% - 28px) !important;
  }
  .brand-logo{
    width:215px !important;
    min-width:215px !important;
  }
  .navitem > a::before{
    border-top-color:#2f89a4 !important;
  }
}


/* =========================================================
   v0.14 — reviews carousel + refined quick-contact icons
   ========================================================= */

/* Quick-contact strip icon colors: blue like the top band */
.quick-icon{
  color:#2f89a4 !important;
}
.quick-contact-item:nth-child(1) .quick-icon,
.quick-contact-item:nth-child(3) .quick-icon{
  color:#2f89a4 !important;
}
.quick-contact-item:nth-child(2) .quick-icon{
  color:#267b98 !important;
}
.quick-contact-item:nth-child(4) .quick-icon{
  color:#53a9bd !important;
}

/* Reviews carousel */
.reviews-carousel-section{
  background:linear-gradient(180deg,#f8fbfc 0%, #f3f8fa 100%);
  padding:68px 0 74px;
}
.reviews-head{
  max-width:900px;
  margin-bottom:26px;
}
.reviews-carousel{
  position:relative;
  display:flex;
  align-items:center;
  gap:14px;
}
.reviews-viewport{
  overflow:hidden;
  width:100%;
}
.reviews-track{
  display:flex;
  transition:transform .45s ease;
  will-change:transform;
}
.review-card{
  flex:0 0 50%;
  padding:12px 14px 22px;
  box-sizing:border-box;
}
.review-bubble{
  position:relative;
  min-height:220px;
  border-radius:8px;
  padding:22px 26px 26px;
  box-shadow:0 8px 24px rgba(18,61,88,.08);
}
.review-bubble:after{
  content:"";
  position:absolute;
  left:26px;
  bottom:-22px;
  width:0;height:0;
  border-left:0 solid transparent;
  border-right:18px solid transparent;
  border-top:24px solid #fff;
}
.review-card-light .review-bubble{
  background:#e9eef1;
}
.review-card-light .review-bubble:after{
  border-top-color:#e9eef1;
}
.review-card-blue .review-bubble{
  background:#43a8e3;
  color:#fff;
}
.review-card-blue .review-bubble:after{
  border-top-color:#43a8e3;
}
.review-bubble p{
  margin:0;
  font-size:16px;
  line-height:1.5;
}
.review-meta{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:26px;
  padding-left:18px;
}
.review-avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  background:#f2f6f8;
  color:#80d5d0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:21px;
  font-weight:700;
}
.review-meta strong{
  display:block;
  color:#4f5457;
  font-size:15px;
  margin-bottom:2px;
}
.review-stars{
  color:#f3c433;
  font-size:22px;
  letter-spacing:1px;
}
.review-nav{
  width:44px;
  height:44px;
  flex:0 0 44px;
  border:0;
  border-radius:50%;
  background:#2f89a4;
  color:#fff;
  font-size:30px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(18,61,88,.12);
  transition:.18s ease;
}
.review-nav:hover{
  transform:translateY(-1px);
  background:#1e728c;
}
.reviews-dots{
  display:flex;
  justify-content:center;
  gap:8px;
  margin:16px 0 28px;
}
.reviews-dots button{
  width:11px;
  height:11px;
  border-radius:50%;
  border:0;
  padding:0;
  background:#c4d8de;
  cursor:pointer;
}
.reviews-dots button.active{
  background:#2f89a4;
}
.reviews-actions-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 280px;
  gap:24px;
  align-items:center;
  margin-top:6px;
}
.reviews-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.review-google-btn{
  background:#25D366 !important;
  border-color:#25D366 !important;
}
.review-google-btn:hover{
  background:#1fb656 !important;
  border-color:#1fb656 !important;
}
.review-qr-card{
  display:flex;
  align-items:center;
  gap:16px;
  background:#fff;
  border:1px solid #d8e7ec;
  border-radius:16px;
  padding:14px;
  box-shadow:0 10px 24px rgba(18,61,88,.07);
}
.review-qr-card img{
  width:92px;
  height:92px;
  border-radius:10px;
  display:block;
}
.review-qr-card strong{
  display:block;
  color:#15566f;
  font-size:17px;
  margin-bottom:4px;
}
.review-qr-card p{
  margin:0;
  color:#60717a;
  font-size:14px;
  line-height:1.4;
}

@media(max-width:980px){
  .review-card{
    flex-basis:100%;
    padding-left:4px;
    padding-right:4px;
  }
  .review-bubble{
    min-height:auto;
  }
  .reviews-actions-wrap{
    grid-template-columns:1fr;
  }
  .review-nav{
    width:38px;height:38px;flex-basis:38px;font-size:24px;
  }
}
@media(max-width:650px){
  .reviews-carousel-section{
    padding:52px 0 56px;
  }
  .review-bubble{
    padding:18px 18px 22px;
  }
  .review-bubble p{
    font-size:15px;
  }
  .review-meta{
    padding-left:10px;
  }
}


/* =========================================================
   v0.15 — review carousel redesign
   ========================================================= */
.reviews-v15{
  padding-top:68px;
  padding-bottom:76px;
}
.reviews-carousel-v15{
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
}
.reviews-viewport-v15{
  overflow:hidden;
  width:100%;
}
.reviews-track-v15{
  display:flex;
  transition:transform .48s cubic-bezier(.22,.61,.36,1);
  will-change:transform;
}
.review-card-v15{
  flex:0 0 33.333333%;
  padding:11px 10px 26px;
  box-sizing:border-box;
}
.review-bubble-v15{
  position:relative;
  min-height:270px;
  border-radius:24px 24px 24px 7px;
  padding:24px 24px 22px;
  box-shadow:0 12px 28px rgba(18,61,88,.09);
  border:1px solid rgba(255,255,255,.55);
  overflow:visible;
}
.review-bubble-v15:after{
  content:"";
  position:absolute;
  left:31px;
  bottom:-19px;
  width:34px;
  height:34px;
  transform:skewY(-38deg) rotate(16deg);
  border-bottom-left-radius:8px;
  z-index:-1;
}
.review-aqua .review-bubble-v15{
  background:linear-gradient(145deg,#2d90b0,#53b7c8);
  color:#fff;
}
.review-aqua .review-bubble-v15:after{background:#3ca5bb}
.review-sky .review-bubble-v15{
  background:linear-gradient(145deg,#4aa8df,#75c2e9);
  color:#fff;
}
.review-sky .review-bubble-v15:after{background:#59b2e0}
.review-soft .review-bubble-v15{
  background:linear-gradient(145deg,#eff5f7,#dfecef);
  color:#314650;
}
.review-soft .review-bubble-v15:after{background:#e6f0f2}
.review-stars-v15{
  color:#ffd13a;
  font-size:21px;
  letter-spacing:1px;
  margin-bottom:12px;
  text-shadow:0 1px 1px rgba(0,0,0,.06);
}
.review-bubble-v15 p{
  margin:0;
  font-size:15.7px;
  line-height:1.52;
}
.review-signature{
  position:absolute;
  left:22px;
  right:22px;
  bottom:18px;
  display:flex;
  align-items:center;
  gap:11px;
  padding-top:13px;
  border-top:1px solid rgba(255,255,255,.28);
}
.review-soft .review-signature{
  border-top-color:rgba(35,92,110,.12);
}
.review-avatar-v15{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,.22);
  font-size:13px;
  font-weight:750;
}
.review-soft .review-avatar-v15{
  background:#fff;
  color:#2f89a4;
}
.review-signature strong{
  display:block;
  font-size:14.5px;
  line-height:1.1;
}
.review-signature small{
  display:block;
  margin-top:3px;
  font-size:11.5px;
  opacity:.82;
}
.review-nav-v15{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border:0;
  border-radius:50%;
  background:linear-gradient(145deg,#226f89,#3c9db4);
  color:#fff;
  font-size:28px;
  cursor:pointer;
  box-shadow:0 7px 17px rgba(18,61,88,.13);
}
.review-nav-v15:hover{
  transform:translateY(-1px);
}
.reviews-dots-v15{
  display:flex;
  justify-content:center;
  gap:7px;
  margin:12px 0 27px;
}
.reviews-dots-v15 button{
  width:9px;
  height:9px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#bed4dc;
  cursor:pointer;
}
.reviews-dots-v15 button.active{
  width:24px;
  border-radius:999px;
  background:linear-gradient(90deg,#267b98,#53a9bd);
}
.reviews-cta-v15{
  width:min(720px,100%);
  margin:12px auto 0;
  display:grid;
  grid-template-columns:260px 1fr;
  gap:25px;
  align-items:center;
  justify-content:center;
}
.review-qr-large{
  text-align:center;
  padding:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid #d7e6eb;
  box-shadow:0 10px 24px rgba(18,61,88,.07);
}
.review-qr-large img{
  width:190px;
  height:190px;
  display:block;
  margin:0 auto 10px;
}
.review-qr-large span{
  display:block;
  color:#60727b;
  font-size:12.5px;
}
.reviews-buttons-stack{
  display:grid;
  gap:13px;
}
.review-wide-btn{
  width:100%;
  min-height:48px;
  border-radius:9px !important;
  font-size:15px !important;
}
.review-google-link{
  background:linear-gradient(135deg,#226f89,#3f9eb5) !important;
  border-color:#2f89a4 !important;
  color:#fff !important;
}
.review-google-link:hover{
  background:linear-gradient(135deg,#195f76,#368ca2) !important;
}

@media(max-width:980px){
  .review-card-v15{flex-basis:50%}
  .review-bubble-v15{min-height:280px}
}
@media(max-width:700px){
  .review-card-v15{flex-basis:100%}
  .review-bubble-v15{
    min-height:260px;
    border-radius:21px 21px 21px 7px;
  }
  .reviews-cta-v15{
    grid-template-columns:1fr;
    max-width:360px;
  }
  .review-qr-large img{
    width:210px;
    height:210px;
  }
}


/* =========================================================
   v0.16 — review bubbles refinement + final hero phrase
   ========================================================= */

/* More speech-bubble-like geometry */
.review-bubble-v15{
  border-radius:28px 28px 28px 10px !important;
  overflow:visible !important;
}
.review-bubble-v15:after{
  content:"" !important;
  position:absolute !important;
  left:28px !important;
  bottom:-24px !important;
  width:0 !important;
  height:0 !important;
  border-left:0 solid transparent !important;
  border-right:29px solid transparent !important;
  border-top:31px solid currentColor !important;
  transform:none !important;
  background:none !important;
  border-bottom:0 !important;
  z-index:1 !important;
}

/* First bubble: deeper aqua/teal */
.review-aqua .review-bubble-v15{
  background:linear-gradient(145deg,#2f8fa8 0%,#4dafc0 100%) !important;
  color:#fff !important;
}
.review-aqua .review-bubble-v15:after{
  color:#43a5b7 !important;
}

/* Second bubble: same aqua family, just slightly lighter */
.review-sky .review-bubble-v15{
  background:linear-gradient(145deg,#43a4ba 0%,#69bdca 100%) !important;
  color:#fff !important;
}
.review-sky .review-bubble-v15:after{
  color:#5bb4c3 !important;
}

/* Third bubble: pale aqua rather than grey */
.review-soft .review-bubble-v15{
  background:linear-gradient(145deg,#eef8fa 0%,#dceef2 100%) !important;
  color:#304650 !important;
}
.review-soft .review-bubble-v15:after{
  color:#e5f3f6 !important;
}

/* Make the tail look visually connected to the card */
.review-bubble-v15{
  box-shadow:0 12px 30px rgba(18,61,88,.10) !important;
}
.review-signature{
  z-index:2 !important;
}

/* Slightly more dynamic cards */
.review-card-v15{
  padding-bottom:31px !important;
}
.review-card-v15:nth-child(3n+1) .review-bubble-v15{
  transform:rotate(-.25deg);
}
.review-card-v15:nth-child(3n+2) .review-bubble-v15{
  transform:rotate(.18deg);
}
.review-card-v15:nth-child(3n) .review-bubble-v15{
  transform:rotate(-.10deg);
}

@media(max-width:700px){
  .review-bubble-v15{
    border-radius:24px 24px 24px 9px !important;
  }
  .review-bubble-v15:after{
    border-right-width:24px !important;
    border-top-width:26px !important;
    bottom:-20px !important;
  }
}


/* =========================================================
   v0.17 — approfondimenti, images, buttons, icons, services
   ========================================================= */

/* All primary buttons: pill shape like the approved WhatsApp button */
.btn,
.nav > a,
.navitem > a,
.header-book .btn,
.review-wide-btn{
  border-radius:999px !important;
}
.nav > a,
.navitem > a{
  padding-left:15px !important;
  padding-right:15px !important;
}

/* Make dropdown triangle prominent while retaining pill */
.navitem > a::before{
  border-left-width:7px !important;
  border-right-width:7px !important;
  border-top-width:9px !important;
}

/* Quick-contact icons: +50% and visually stronger */
.quick-icon{
  width:66px !important;
  height:66px !important;
  flex:0 0 66px !important;
}
.quick-contact-item{
  align-items:center !important;
}

/* Four feature icons: much bigger and centered */
.why-card{
  text-align:center;
}
.why-icon{
  width:68px !important;
  height:68px !important;
  margin:2px auto 17px !important;
  color:#3da38f !important;
}
.why-card h3{
  text-align:center;
}
.why-card p{
  text-align:left;
}

/* Third review: still graduated, but visibly aqua rather than almost white */
.review-soft .review-bubble-v15{
  background:linear-gradient(145deg,#cfeaf0 0%,#b9dde5 100%) !important;
  color:#29444e !important;
}
.review-soft .review-bubble-v15:after{
  color:#c4e4ea !important;
}

/* Richer article pages, images never stretched beyond their real resolution */
.article-v17{
  max-width:980px !important;
}
.article-intro-v17{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:32px;
  align-items:center;
  margin-bottom:32px;
  padding-bottom:27px;
  border-bottom:1px solid #dce9ed;
}
.article-v17 .leadimg{
  width:auto !important;
  height:auto !important;
  max-width:min(440px,100%) !important;
  max-height:360px !important;
  object-fit:contain !important;
  margin:0 !important;
  border-radius:13px !important;
  box-shadow:0 10px 28px rgba(18,61,88,.10) !important;
}
.article-v17 .article-lead{
  font-size:18px !important;
  line-height:1.65 !important;
  color:#324b57 !important;
  margin:0 !important;
}
.article-section-v17{
  padding:0 !important;
  margin:0 0 26px !important;
}
.article-section-v17 h2{
  font-size:27px !important;
  margin:0 0 8px !important;
  color:#15566f !important;
}
.article-section-v17 p{
  margin:0 !important;
  font-size:16.5px !important;
  line-height:1.68 !important;
}
.article-actions-v17{
  margin-top:34px !important;
  padding-top:24px;
  border-top:1px solid #dce9ed;
}

/* If source image is only 300 px wide, do not upscale it */
.article-v17 img[src*="febbre.jpg"],
.article-v17 img[src*="vaccinazioni.jpg"],
.article-v17 img[src*="allattamento-artificiale.jpg"],
.article-v17 img[src*="sonno.jpg"]{
  max-width:300px !important;
}

/* Services: anchors stop below sticky header instead of hiding title */
.serviceblock{
  scroll-margin-top:190px !important;
  padding-top:34px !important;
  padding-bottom:34px !important;
}
.serviceblock img{
  width:280px !important;
  height:190px !important;
  object-fit:cover !important;
  border-radius:14px !important;
}
.serviceblock h2{
  scroll-margin-top:190px !important;
}
.pagehero{
  scroll-margin-top:170px;
}

/* Avoid stretching 300px service images */
.serviceblock img[src*="vaccinazioni.jpg"],
.serviceblock img[src*="allattamento-artificiale.jpg"],
.serviceblock img[src*="sonno.jpg"]{
  width:260px !important;
  height:auto !important;
  max-height:195px !important;
  object-fit:contain !important;
  background:#fff;
}

/* internal top message needs room for the longer continuity phrase */
.ribbon-hours{
  white-space:nowrap;
}
@media(max-width:1200px){
  .ribbon-hours{
    white-space:normal;
    line-height:1.25;
  }
}

@media(max-width:800px){
  .article-intro-v17{
    grid-template-columns:1fr;
    gap:18px;
  }
  .article-v17 .leadimg{
    margin:0 auto !important;
  }
  .article-v17 .article-lead{
    font-size:16.5px !important;
  }
  .why-icon{
    width:58px !important;
    height:58px !important;
  }
  .quick-icon{
    width:54px !important;
    height:54px !important;
    flex-basis:54px !important;
  }
}


/* =========================================================
   v0.18 — requested refinements
   ========================================================= */
/* Header WhatsApp: exactly aligned with the menu controls */
.header-book .btn,
.header-book .btn.wa{
  min-height:34px !important;
  height:34px !important;
  padding:7px 11px !important;
  border-radius:5px !important;
  font-size:13px !important;
  line-height:1 !important;
}
.header-book .wa-icon-svg{width:16px !important;height:16px !important;margin-right:4px !important;}

/* Four feature icons: same geometry, site aqua/blue instead of green */
.why-icon{color:#2f89a4 !important;}
.why-card:nth-child(2) .why-icon{color:#267b98 !important;}
.why-card:nth-child(3) .why-icon{color:#53a9bd !important;}
.why-card:nth-child(4) .why-icon{color:#1d6d89 !important;}

/* Review / MioDottore area */
.section-separator{
  width:100%; height:2px; margin:34px auto;
  background:linear-gradient(90deg,#267b98,#7dc7d7);
  border-radius:999px;
}
.section-separator-wide{width:100%;}
.reviews-cta-v18{
  width:100%;
  grid-template-columns:250px minmax(260px,1fr) 290px;
  gap:24px;
}
.miodottore-certificate{
  min-height:220px; display:flex; align-items:center; justify-content:center;
  background:#fff; border:1px solid #d7e6eb; border-radius:18px;
  padding:14px; box-shadow:0 10px 24px rgba(18,61,88,.07);
  overflow:hidden;
}
.miodottore-certificate .zl-url{display:inline-block;}

/* User-supplied portrait: discourage direct UI saving/dragging */
.protected-image{-webkit-user-drag:none;user-select:none;-webkit-user-select:none;pointer-events:none;}

/* Full source content readability */
.article-source-v18 .article-section-v17{scroll-margin-top:120px;}
.article-source-v18 .article-section-v17 p{margin:0 0 15px;}
.article-list-v18{margin:10px 0 18px 22px;padding:0;color:#334a56;}
.article-list-v18 li{margin:7px 0;line-height:1.55;}
.serviceblock{scroll-margin-top:120px;}
.serviceblock p{line-height:1.68;}

.website-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important;}
.form-status{min-height:22px;font-weight:650;color:#1d6d89;}

@media(max-width:980px){
  .reviews-cta-v18{grid-template-columns:1fr 1fr;}
  .miodottore-certificate{grid-column:1 / -1;}
}
@media(max-width:700px){
  .reviews-cta-v18{grid-template-columns:1fr;}
  .miodottore-certificate{grid-column:auto;}
  .header-book .btn,.header-book .btn.wa{height:34px!important;min-height:34px!important;}
}


/* =========================================================
   v0.18.1 — refinements 1–8
   ========================================================= */
/* Header WhatsApp button: same compact shape as screenshot, label only "WhatsApp" */
.header-book .btn.wa{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  white-space:nowrap!important;
  height:34px!important;
  min-height:34px!important;
  padding:7px 13px!important;
  border-radius:5px!important;
  line-height:1!important;
}

/* Logo +25% compared with v0.18 desktop */
.brand-logo{
  width:363px!important;
  min-width:363px!important;
  height:82px!important;
}
.brand-logo img{max-height:80px!important;}

/* Slightly smaller hero portrait, without changing the image itself */
.hero .portrait{
  width:88%!important;
  max-width:500px!important;
  justify-self:end!important;
}

/* Professional profile separators: same line used below hero/reviews */
.professional-profile-section .profile-separator{
  margin:0 auto 34px!important;
}
.professional-profile-section .profile + .container .profile-separator{
  margin:34px auto 0!important;
}

/* Pathology chips are now clickable WhatsApp booking buttons */
.pill-wa{
  text-decoration:none!important;
  cursor:pointer!important;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease!important;
}
.pill-wa:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 6px 14px rgba(22,86,111,.14)!important;
}

/* MioDottore widget: let the provider control its own dimensions */
.miodottore-certificate{
  overflow:visible!important;
  min-height:240px!important;
  padding:10px!important;
}
.miodottore-certificate iframe,
.miodottore-certificate > div{
  max-width:100%!important;
}

@media(max-width:1320px){
  .brand-logo{width:320px!important;min-width:320px!important;height:76px!important;}
  .brand-logo img{max-height:74px!important;}
}
@media(max-width:1100px){
  .brand-logo{width:270px!important;min-width:270px!important;height:68px!important;}
  .brand-logo img{max-height:66px!important;}
}
@media(max-width:980px){
  .brand-logo{width:235px!important;min-width:235px!important;height:62px!important;}
  .brand-logo img{max-height:60px!important;}
  .hero .portrait{width:82%!important;max-width:430px!important;justify-self:center!important;}
}
@media(max-width:700px){
  .brand-logo{width:215px!important;min-width:215px!important;height:58px!important;}
  .brand-logo img{max-height:56px!important;}
  .hero .portrait{width:86%!important;max-width:390px!important;}
}


/* =========================================================
   v0.18.2 — pathology band, MioDottore, WA shape, images
   ========================================================= */
/* Lighter and more compact pathology strip */
#patologie.band{
  background:linear-gradient(135deg,#53a9bd 0%,#338da7 52%,#287a96 100%) !important;
  padding:42px 0 44px !important;
}
#patologie .sectiontitle{margin-bottom:26px !important;}
#patologie .sectiontitle h2{font-size:34px !important;line-height:1.12 !important;margin-top:0 !important;}
#patologie .pills{gap:7px 8px !important;}
#patologie .pill{
  padding:6px 12px !important;
  min-height:31px !important;
  display:inline-flex !important;
  align-items:center !important;
  line-height:1.15 !important;
  font-size:13.5px !important;
  background:rgba(255,255,255,.075) !important;
  border-color:rgba(255,255,255,.28) !important;
}

/* Header WhatsApp: exactly the same pill silhouette as menu buttons */
.header-book .btn.wa{
  border-radius:999px !important;
  height:34px !important;
  min-height:34px !important;
  padding:7px 14px !important;
}

/* Let the official MioDottore script own the certificate rendering */
.miodottore-certificate{
  min-height:0 !important;
  height:auto !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
  background:transparent !important;
  overflow:visible !important;
  display:block !important;
  align-self:center !important;
}
.miodottore-certificate .zl-url{display:inline-block;}
.miodottore-certificate iframe{max-width:100% !important;}
.miodottore-fallback{display:inline-block;padding:12px 18px;border:1px solid #b9d7df;border-radius:999px;background:#fff;color:#15566f;text-decoration:none;}

@media(max-width:700px){
  #patologie.band{padding:34px 0 36px !important;}
  #patologie .sectiontitle{margin-bottom:22px !important;}
  #patologie .sectiontitle h2{font-size:28px !important;}
  #patologie .pill{padding:6px 10px !important;font-size:13px !important;min-height:30px !important;}
}


/* =========================================================
   v0.19 — MioDottore static certificate, SEO, alignment, footer wave
   ========================================================= */
/* Slightly lighter and shorter pathology band */
#patologie.band{
  background:linear-gradient(135deg,#6fbfd1 0%,#4aa8c0 50%,#2f89a4 100%) !important;
  padding:34px 0 36px !important;
}
#patologie .sectiontitle{margin-bottom:20px !important;}
#patologie .sectiontitle h2{font-size:33px !important;line-height:1.10 !important;}
#patologie .pills{gap:6px 7px !important;}
#patologie .pill{
  padding:5px 11px !important;
  min-height:28px !important;
  font-size:13px !important;
}

/* Desktop header/menu nudged slightly left for better alignment with hero text */
@media(min-width:981px){
  .navrow{padding-right:22px !important;}
  .nav{margin-right:8px !important;}
  .header-book{margin-right:8px !important;}
}

/* Hero portrait protection against casual saving */
.hero-photo-guard{
  position:relative;
  width:88%;
  max-width:500px;
  justify-self:end;
}
.hero-photo-guard::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:transparent;
}
.hero-photo-guard .portrait{
  width:100% !important;
  max-width:none !important;
}
@media(max-width:980px){
  .hero-photo-guard{width:82%;max-width:430px;justify-self:center;}
}
@media(max-width:700px){
  .hero-photo-guard{width:86%;max-width:390px;}
}

/* Static MioDottore certificate image */
.miodottore-certificate-static{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}
.miodottore-certificate-link{display:inline-block;}
.miodottore-certificate-link img{
  display:block;
  width:248px;
  max-width:100%;
  height:auto;
  border-radius:8px;
  box-shadow:0 10px 26px rgba(18,61,88,.10);
}

/* Footer gradient + wave like the top header */
footer{
  position:relative;
  overflow:hidden;
  background:linear-gradient(115deg,#1d6d89 0%,#2f89a4 58%,#53a9bd 100%) !important;
  padding:74px 0 34px !important;
}
footer::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:52px;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNDQwIDg0JyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSdub25lJz48cGF0aCBkPSdNMCAyOCBDMTAwIDcwIDIzMCAzIDM2NSAzNCBDNTAwIDY1IDYyMCA3OCA3NjAgMzggQzkwMCAtNCAxMDM1IDcyIDExODUgMzUgQzEzMTUgNCAxMzk1IDE4IDE0NDAgNDYgTDE0NDAgMCBMMCAwIFonIGZpbGw9J3doaXRlJy8+PC9zdmc+");
  background-repeat:no-repeat;
  background-size:100% 100%;
  z-index:0;
}
footer::after{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:42px;
  background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHZpZXdCb3g9JzAgMCAxNDQwIDg0JyBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSdub25lJz48cGF0aCBkPSdNMCA1MiBDMTM1IDUgMjcwIDgwIDQyMCA0MyBDNTYwIDEwIDcwMCA3NiA4NDUgNDAgQzk4NSA2IDExMjAgNzEgMTI1MCAzNCBDMTM1NSA3IDE0MTAgMTQgMTQ0MCAyNSBMMTQ0MCAwIEwwIDAgWicgZmlsbD0nI2E5ZGNlNycvPjwvc3ZnPg==");
  background-repeat:no-repeat;
  background-size:100% 100%;
  opacity:.92;
  z-index:1;
}
footer .container{position:relative;z-index:2;}
.copy{border-top:1px solid rgba(255,255,255,.20) !important;color:#e2f0f4 !important;}
footer p, footer a{color:#eaf5f7 !important;}
footer strong{color:#fff !important;}

/* Minor tightening of page cards images */
.cards .card img{background:#fff;}


/* =========================================================
   v0.19.1 — separators, header alignment, pathology, reviews,
              footer wave refinements
   ========================================================= */
/* All separators requested to match the 5px line under the hero */
.section-separator,
.professional-profile-section .profile-separator,
.reviews-v15 .section-separator{
  height:5px !important;
  background:linear-gradient(90deg,rgba(21,86,111,.95),rgba(47,137,164,.85),rgba(83,169,189,.55)) !important;
  border-radius:999px !important;
}

/* Keep the complete desktop navigation inside the same visual right margin as the hero */
@media(min-width:1181px){
  .navrow{overflow:visible !important;}
  .nav{margin-left:-105px !important;margin-right:0 !important;gap:9px !important;}
  .nav > a,.navitem > a{padding-left:13px !important;padding-right:13px !important;}
  .header-book{margin-left:4px !important;margin-right:0 !important;}
}
@media(min-width:981px) and (max-width:1180px){
  .nav{margin-left:-45px !important;gap:8px !important;}
  .nav > a,.navitem > a{padding-left:11px !important;padding-right:11px !important;}
}

/* Pathology band: a touch darker than v19, still aqua gradient; labels slightly larger */
#patologie.band{
  background:linear-gradient(125deg,#59afc3 0%,#3897b1 50%,#267c99 100%) !important;
  padding:35px 0 37px !important;
}
#patologie .pill{
  font-size:13.8px !important;
  min-height:29px !important;
  padding:5px 11px !important;
}

/* Reviews footer CTA: more compact visual balance */
.reviews-cta-v18{
  grid-template-columns:210px minmax(240px,430px) 220px !important;
  gap:24px !important;
  justify-content:center !important;
  align-items:center !important;
}
.review-qr-large{padding:12px !important;}
.review-qr-large img{width:158px !important;height:158px !important;margin-bottom:8px !important;}
.miodottore-certificate-link img{width:210px !important;}
.reviews-buttons-stack{justify-items:center !important;width:100% !important;}
.reviews-buttons-stack .review-wide-btn{width:min(100%,430px) !important;min-height:42px !important;}

/* Footer: same dark wave, lighter accent made more irregular/discontinuous like the top */
footer{
  padding-top:78px !important;
}
footer::before{
  height:60px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 29 C80 45 150 11 238 31 C330 52 392 18 482 34 C568 51 646 17 735 31 C828 46 910 16 1000 31 C1092 47 1168 6 1260 26 C1331 42 1389 22 1440 32 L1440 0 L0 0 Z' fill='%23ffffff'/%3E%3C/svg%3E") !important;
  background-size:100% 100% !important;
}
footer::after{
  height:49px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 22 C95 8 160 39 252 24 C340 9 420 42 510 25 C590 10 665 42 748 23 C837 2 903 40 1001 20 C1092 2 1168 38 1250 18 C1322 1 1386 14 1440 9 L1440 0 L0 0 Z' fill='%23a9dce7'/%3E%3C/svg%3E") !important;
  background-size:100% 100% !important;
  opacity:.92 !important;
}

@media(max-width:980px){
  .reviews-cta-v18{grid-template-columns:1fr 1fr !important;}
  .miodottore-certificate-static{grid-column:1 / -1 !important;}
}
@media(max-width:700px){
  .reviews-cta-v18{grid-template-columns:1fr !important;}
  .review-qr-large img{width:145px !important;height:145px !important;}
  .miodottore-certificate-static{grid-column:auto !important;}
}


/* =========================================================
   v0.19.2 — final graphic refinements
   ========================================================= */
/* Reviews CTA: tighter and centered */
.reviews-cta-v18{
  grid-template-columns:180px 330px 180px !important;
  gap:20px !important;
  max-width:820px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.review-qr-large{padding:10px !important;}
.review-qr-large img{width:132px !important;height:132px !important;margin:0 auto 6px !important;}
.review-qr-large span{font-size:11px !important;}
.miodottore-certificate-link img{width:180px !important;}
.reviews-buttons-stack .review-wide-btn{
  width:330px !important;
  max-width:100% !important;
  min-height:38px !important;
  padding:8px 15px !important;
}

/* Footer: make the light aqua accent broken/discontinuous, similar to header */
footer::after{
  height:52px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0 15 C82 5 129 28 205 19 C285 9 347 36 421 20 C485 6 541 12 590 20 L590 6 L720 6 L720 22 C790 35 850 8 924 18 C996 28 1038 9 1094 18 L1094 4 L1195 4 L1195 20 C1267 8 1345 29 1440 13 L1440 0 L0 0 Z' fill='%23a9dce7'/%3E%3C/svg%3E") !important;
  background-size:100% 100% !important;
  opacity:.95 !important;
}

/* Contact page: narrower left card and right edge aligned safely within container */
.contactgrid{
  grid-template-columns:340px minmax(0,1fr) !important;
  gap:28px !important;
  max-width:1120px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}
.contact-panel,.contact-form-wrap{min-width:0 !important;}
.contact-form-wrap{width:100% !important;}

/* Pathology anchor: offset for sticky header */
#patologie{scroll-margin-top:120px !important;}

@media(max-width:980px){
  .contactgrid{grid-template-columns:1fr !important;max-width:760px !important;}
  .reviews-cta-v18{grid-template-columns:180px 330px !important;max-width:560px !important;}
  .miodottore-certificate-static{grid-column:1 / -1 !important;}
}
@media(max-width:700px){
  .reviews-cta-v18{grid-template-columns:1fr !important;max-width:340px !important;}
  .review-qr-large img{width:128px !important;height:128px !important;}
  .miodottore-certificate-static{grid-column:auto !important;}
}


/* =========================================================
   v0.19.3 — footer light wave + floating WhatsApp button
   ========================================================= */
/* Footer: light aqua accent fragmented like the upper header ribbon */
footer::after{
  height:52px !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 84' preserveAspectRatio='none'%3E%3Cpath d='M0 14 C36 20 74 8 116 12 C151 16 175 10 197 13 L197 0 L0 0 Z' fill='%23a9dce7'/%3E%3Cpath d='M245 11 C294 19 340 6 393 10 C434 14 472 8 519 11 L519 0 L245 0 Z' fill='%23a9dce7'/%3E%3Cpath d='M574 13 C624 6 675 18 731 11 C773 6 818 16 866 11 L866 0 L574 0 Z' fill='%23a9dce7'/%3E%3Cpath d='M926 10 C973 16 1013 6 1060 11 C1108 16 1162 6 1213 10 L1213 0 L926 0 Z' fill='%23a9dce7'/%3E%3Cpath d='M1262 12 C1312 7 1364 5 1440 17 L1440 0 L1262 0 Z' fill='%23a9dce7'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-size:100% 100% !important;
  opacity:.96 !important;
}

/* Floating WhatsApp button: brighter green, official icon, embossed and larger */
.floatwa{
  right:22px !important;
  bottom:22px !important;
  width:78px !important;
  height:78px !important;
  border-radius:50% !important;
  background:linear-gradient(180deg,#31e071 0%,#25D366 100%) !important;
  border:1px solid rgba(255,255,255,.38) !important;
  color:#fff !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-shadow:0 14px 28px rgba(11,88,48,.28), inset 0 2px 0 rgba(255,255,255,.18) !important;
  z-index:150 !important;
  transition:transform .18s ease, box-shadow .18s ease, filter .18s ease !important;
}
.floatwa .wa-icon-svg{
  width:34px !important;
  height:34px !important;
  margin:0 !important;
}
.floatwa:hover{
  transform:translateY(-4px) scale(1.03) !important;
  box-shadow:0 18px 34px rgba(11,88,48,.34), inset 0 2px 0 rgba(255,255,255,.18) !important;
  filter:saturate(1.05) !important;
}
.floatwa:active{transform:translateY(-1px) scale(.99) !important;}
@media(max-width:700px){
  .floatwa{
    width:68px !important;
    height:68px !important;
    right:16px !important;
    bottom:16px !important;
  }
  .floatwa .wa-icon-svg{width:30px !important;height:30px !important;}
}


/* =========================================================
   v0.19.4 — contact form UX + floating WhatsApp + compact layout
   ========================================================= */
/* Contact page: reduce empty vertical space and keep message prominent */
.contact-page .pagehero{
  padding:34px 0 30px !important;
}
.contact-page .pagehero h1{margin-top:4px !important;margin-bottom:8px !important;}
.contact-page > section{padding:38px 0 48px !important;}
.contact-page .contactgrid{
  align-items:start !important;
}
.contact-page .contact-panel{padding:24px !important;}
.contact-page .contact-form-wrap{padding:24px 28px !important;}
.contact-page .contact-form-wrap h2{margin:0 0 14px !important;}
.contact-page .booking-stack{margin-top:15px !important;gap:9px !important;}
.contact-page .booking-card{padding:11px 13px !important;}
.contact-page .form{gap:11px !important;}
.contact-page .form textarea{min-height:130px !important;}
.contact-page .contact-delivery-note{margin:10px 0 0 !important;}
.contact-page #formStatus{scroll-margin-top:150px;}
.form-status{
  display:none;
  margin:1px 0 2px !important;
  min-height:0 !important;
  padding:14px 16px !important;
  border-radius:12px !important;
  font-size:18px !important;
  line-height:1.3 !important;
  font-weight:800 !important;
  text-align:center !important;
}
.form-status.is-success{
  display:block;
  color:#12643a !important;
  background:#eaf8ef !important;
  border:1px solid #a8dfbc !important;
}
.form-status.is-error{
  display:block;
  color:#8a2f2f !important;
  background:#fff1f1 !important;
  border:1px solid #e9b8b8 !important;
}

/* Floating WhatsApp: about 10% smaller than v19.3, but with a larger icon and speech-bubble tail */
.floatwa{
  width:70px !important;
  height:70px !important;
  right:22px !important;
  bottom:22px !important;
  overflow:visible !important;
}
.floatwa::after{
  content:"";
  position:absolute;
  left:5px;
  bottom:-3px;
  width:19px;
  height:19px;
  background:#25D366;
  clip-path:polygon(0 0,100% 0,0 100%);
  transform:rotate(-5deg);
  border-radius:2px;
  z-index:-1;
  filter:drop-shadow(0 5px 4px rgba(11,88,48,.13));
}
.floatwa .wa-icon-svg{
  width:39px !important;
  height:39px !important;
}
@media(max-width:700px){
  .contact-page .pagehero{padding:26px 0 24px !important;}
  .contact-page > section{padding:28px 0 38px !important;}
  .contact-page .contact-panel,.contact-page .contact-form-wrap{padding:20px !important;}
  .form-status{font-size:16px !important;padding:12px 13px !important;}
  .floatwa{width:64px !important;height:64px !important;right:15px !important;bottom:15px !important;}
  .floatwa .wa-icon-svg{width:36px !important;height:36px !important;}
}


/* =========================================================
   v0.19.5 — official-looking WhatsApp icon, refined footer accent, hero label
   ========================================================= */
/* Footer: fragmented light-aqua accents with varied wave shapes, clearly separated */
footer{
  padding-top:72px !important;
}
footer::after{
  top:0 !important;
  height:26px !important;
  opacity:1 !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0 10 C28 8 55 14 92 10 C124 6 154 13 190 10 L190 0 Z' fill='%23bfe8ef'/%3E%3Cpath d='M240 0 L240 8 C280 5 327 16 372 10 C410 5 447 16 514 9 L514 0 Z' fill='%23b8e2eb'/%3E%3Cpath d='M585 0 L585 7 C620 14 666 4 718 10 C762 15 806 6 863 10 L863 0 Z' fill='%23c7edf3'/%3E%3Cpath d='M965 0 L965 9 C1009 4 1048 15 1094 10 C1135 6 1180 14 1226 9 L1226 0 Z' fill='%23b4dde6'/%3E%3Cpath d='M1298 0 L1298 8 C1334 5 1377 10 1440 6 L1440 0 Z' fill='%23c2ebf1'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-size:100% 100% !important;
}

/* Floating WhatsApp button: use an official-looking logo silhouette instead of a custom imitation */
.floatwa{
  right:22px !important;
  bottom:22px !important;
  width:96px !important;
  height:96px !important;
  min-width:96px !important;
  min-height:96px !important;
  padding:0 !important;
  border:none !important;
  background:transparent !important;
  box-shadow:none !important;
  overflow:visible !important;
  border-radius:0 !important;
  color:transparent !important;
  font-size:0 !important;
  line-height:0 !important;
  text-indent:-9999px !important;
}
.floatwa > *{display:none !important;}
.floatwa::after{display:none !important;content:none !important;}
.floatwa::before{
  content:"";
  position:absolute;
  inset:0;
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
  filter:drop-shadow(0 14px 22px rgba(14,95,55,.28));
  transition:transform .18s ease, filter .18s ease;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='0' y1='0' y2='1'%3E%3Cstop offset='0' stop-color='%2337e57a'/%3E%3Cstop offset='1' stop-color='%2325D366'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M63.5 10C34.5 10 11 32.9 11 61.3c0 11 3.5 21.1 9.5 29.4L14 116l26.3-6.1a55.3 55.3 0 0 0 23.2 5.1c29 0 52.5-22.9 52.5-51.3C116 32.9 92.5 10 63.5 10Z' fill='url(%23g)'/%3E%3Cpath d='M63.5 17.3c-24.9 0-45.1 19.6-45.1 43.9 0 9.6 3.2 18.5 8.6 25.7l-4.5 17.4 18-4.2a47.7 47.7 0 0 0 23 5.8c24.9 0 45.1-19.6 45.1-43.9 0-24.2-20.2-43.9-45.1-43.9Z' fill='none' stroke='rgba(255,255,255,.32)' stroke-width='2.8'/%3E%3Cpath d='M90.2 74.2c-1.2-.6-7-3.5-8.1-3.8-1.1-.4-1.8-.6-2.6.6s-3.1 3.8-3.7 4.6c-.7.8-1.3.9-2.5.3-1.2-.6-5-1.8-9.5-5.8-3.5-3.1-5.9-6.8-6.6-8-.7-1.1-.1-1.8.5-2.4.5-.5 1.2-1.3 1.8-2 .6-.7.8-1.1 1.2-1.9.4-.8.2-1.5-.1-2.1-.3-.6-2.7-6.6-3.9-9-.9-2.2-1.9-2-2.6-2-.7 0-1.4 0-2.1 0s-1.9.3-2.9 1.4c-1 1.1-3.9 3.8-3.9 9.3s4 10.7 4.6 11.4c.6.8 7.8 12 19.3 16.3 11.5 4.3 11.5 2.9 13.6 2.7 2.1-.2 7-2.8 8-5.6 1-2.7 1-5.1.7-5.6-.3-.4-1.1-.7-2.3-1.3Z' fill='%23fff'/%3E%3C/svg%3E") !important;
}
.floatwa:hover::before{
  transform:translateY(-5px) scale(1.03) !important;
  filter:drop-shadow(0 18px 26px rgba(14,95,55,.34));
}
.floatwa:active::before{transform:translateY(-2px) scale(.99) !important;}
@media(max-width:700px){
  .floatwa{
    width:82px !important;
    height:82px !important;
    min-width:82px !important;
    min-height:82px !important;
    right:15px !important;
    bottom:15px !important;
  }
}


/* Footer top accent: use the two approved aqua elements (large once, small twice). */
footer{
  padding-top:66px !important;
}
footer::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  height:24px !important;
  background-image:
    url("images/footer-accent-small.png"),
    url("images/footer-accent-large.png"),
    url("images/footer-accent-small.png") !important;
  background-repeat:no-repeat,no-repeat,no-repeat !important;
  background-size:180px 14px, 510px 22px, 180px 14px !important;
  background-position:calc(50% - 245px) 2px, center 0, calc(50% + 290px) 3px !important;
  opacity:1 !important;
}
@media(max-width:1100px){
  footer::after{
    background-size:130px 10px, 360px 16px, 130px 10px !important;
    background-position:calc(50% - 175px) 2px, center 0, calc(50% + 205px) 2px !important;
  }
}
@media(max-width:700px){
  footer{padding-top:56px !important;}
  footer::after{
    height:18px !important;
    background-size:82px 7px, 235px 11px, 82px 7px !important;
    background-position:calc(50% - 116px) 1px, center 0, calc(50% + 132px) 1px !important;
  }
}

/* Contact page: make the form section a bit more compact and keep feedback clearly visible. */
.contact-page > section{padding:26px 0 40px !important;}
.contact-page .contactgrid{grid-template-columns:minmax(260px,.88fr) minmax(0,1.12fr) !important;gap:22px !important;align-items:start !important;}
.contact-page .contact-panel{padding:20px 20px 18px !important;}
.contact-page .contact-form-wrap{padding:20px 22px !important;}
.contact-page .contact-form-wrap h2{margin:0 0 10px !important;}
.contact-page .contact-delivery-note{margin:8px 0 0 !important;}
.form-status{font-size:20px !important;padding:15px 16px !important;margin:0 0 10px !important;}
@media(max-width:980px){
  .contact-page .contactgrid{grid-template-columns:1fr !important;}
}


/* =========================================================
   v20.1 — footer accent rebuilt from the two approved reference shapes
   ========================================================= */
/* Keep the dark footer wave exactly as before. Only the pale aqua accents change. */
footer{padding-top:78px !important;}
footer::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  top:0 !important;
  height:34px !important;
  z-index:1 !important;
  opacity:1 !important;
  background-color:transparent !important;
  background-image:
    url("images/footer-wave-small.png"),
    url("images/footer-wave-large.png"),
    url("images/footer-wave-small.png") !important;
  background-repeat:no-repeat,no-repeat,no-repeat !important;
  background-size:194px 10px,449px 29px,194px 10px !important;
  /* small-left close to large; small-right farther away -> intentionally asymmetric */
  background-position:
    calc(50% - 330px) 8px,
    50% 0,
    calc(50% + 455px) 6px !important;
  pointer-events:none !important;
}
@media(max-width:1100px){
  footer::after{
    height:28px !important;
    background-size:145px 8px,335px 22px,145px 8px !important;
    background-position:calc(50% - 245px) 7px,50% 0,calc(50% + 335px) 6px !important;
  }
}
@media(max-width:700px){
  footer{padding-top:68px !important;}
  footer::after{
    height:23px !important;
    background-size:92px 5px,230px 15px,92px 5px !important;
    background-position:calc(50% - 155px) 6px,50% 0,calc(50% + 185px) 5px !important;
  }
}


/* =========================================================
   v21 — contact without form + mobile optimization
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden;}

/* Contact page: email is intentionally an image, not a mailto/form. */
.contact-page > section{padding:30px 0 44px !important;}
.contact-page .contactgrid{
  grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr) !important;
  gap:24px !important;
  max-width:1120px !important;
  align-items:stretch !important;
}
.contact-email-panel{display:flex;flex-direction:column;justify-content:center;}
.contact-email-panel h2{margin:4px 0 8px !important;}
.contact-email-intro{margin:0 0 16px;color:#536d78;line-height:1.55;}
.email-image-shell{width:100%;max-width:760px;margin:0 auto;}
.email-image-shell img{display:block;width:100%;height:auto;user-select:none;-webkit-user-select:none;}
.contact-email-note{margin:10px 0 0;font-size:12.5px;color:#71858e;text-align:center;}
.studio-email-block{margin:16px 0 20px;max-width:560px;}
.studio-email-block>b{display:block;margin-bottom:8px;color:#174f67;}
.studio-email-block img{display:block;width:100%;height:auto;border-radius:14px;}

/* Mobile: simplify navigation and keep the important actions easy to tap. */
@media(max-width:980px){
  .header{position:relative;z-index:80;}
  .navrow{position:relative;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;}
  .mobile{display:flex!important;align-items:center;justify-content:center;width:46px;height:46px;border-radius:12px;background:#eef8fa!important;color:#174f67!important;font-size:25px!important;flex:0 0 auto;}
  .nav{z-index:1000!important;top:100%!important;left:0!important;right:0!important;padding:10px 14px 16px!important;border:1px solid #d4e6eb!important;border-top:0!important;border-radius:0 0 18px 18px!important;box-shadow:0 18px 34px rgba(18,61,88,.16)!important;}
  .nav>a,.navitem>a{padding:12px 14px!important;font-size:15px!important;border-radius:10px!important;}
  .navitem{padding-bottom:0!important;margin-bottom:0!important;}
  .navitem::after{display:none!important;}
  .navitem .dropdown{display:none!important;}
  .brand-logo{width:220px!important;min-width:0!important;height:auto!important;}
  .brand-logo img{max-height:58px!important;}
  .herogrid{grid-template-columns:1fr!important;gap:24px!important;}
  .hero:after{height:36%!important;}
  .hero-photo-guard{justify-self:center!important;}
  .quick-contact-grid{grid-template-columns:1fr 1fr!important;gap:10px!important;}
  .profile{grid-template-columns:1fr!important;}
  .contact-page .contactgrid{grid-template-columns:1fr!important;max-width:760px!important;}
  .contact-email-panel{min-height:0!important;}
}

@media(max-width:700px){
  .container,.header .container,.navrow,.hero .container,.quick-contact-shell{width:calc(100% - 24px)!important;}
  .contact-ribbon{margin-bottom:24px!important;}
  .ribbon-inner{padding:6px 0!important;}
  .ribbon-actions{width:100%!important;justify-content:space-between!important;gap:7px!important;}
  .ribbon-link{font-size:11.5px!important;padding:6px 8px!important;}
  .header{background:#fff;}
  .navrow{min-height:66px!important;}
  .brand-logo{width:190px!important;}
  .brand-logo img{max-height:52px!important;}
  .mobile{width:44px;height:44px;font-size:24px!important;}
  .hero{padding:34px 0 38px!important;}
  .hero h1{font-size:38px!important;line-height:1.02!important;letter-spacing:-1.2px!important;}
  .hero h2{font-size:21px!important;margin-top:7px!important;}
  .hero p{font-size:15.5px!important;line-height:1.55!important;}
  .booking-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;}
  .booking-actions .btn{width:100%!important;min-height:46px!important;}
  .hero-photo-guard{width:90%!important;max-width:360px!important;}
  .hero-photo-guard .portrait{height:auto!important;aspect-ratio:4/5;object-fit:cover!important;}
  .quick-contact-grid{grid-template-columns:1fr!important;}
  .quick-contact-item{min-height:70px!important;}
  section{padding:44px 0!important;}
  .sectiontitle h2{font-size:29px!important;line-height:1.12!important;}
  .profile>div:first-child h2{font-size:27px!important;}
  #patologie.band{padding:31px 0 34px!important;}
  #patologie .sectiontitle h2{font-size:29px!important;}
  #patologie .pills{gap:7px!important;}
  #patologie .pill{font-size:13.8px!important;line-height:1.25!important;padding:7px 11px!important;min-height:32px!important;}
  .studio-gallery{grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .gallery-item img{height:145px!important;}
  .reviews-cta-v18{max-width:320px!important;gap:14px!important;}
  .review-qr-large img{width:118px!important;height:118px!important;}
  .miodottore-certificate-link img{width:165px!important;}
  .reviews-buttons-stack .review-wide-btn{width:100%!important;}
  .pagehero{padding:30px 0 27px!important;}
  .pagehero h1{font-size:34px!important;line-height:1.08!important;}
  .article{padding:32px 12px 42px!important;}
  .contact-page > section{padding:24px 0 38px!important;}
  .contact-panel,.contact-form-wrap{padding:18px!important;border-radius:16px!important;}
  .contact-email-intro{font-size:14.5px!important;}
  .contact-email-note{font-size:11.5px!important;}
  .email-image-shell{max-width:100%!important;}
  footer{padding-bottom:28px!important;}
  .footergrid{grid-template-columns:1fr!important;gap:18px!important;}
  footer p,footer a{font-size:13px!important;line-height:1.55!important;}
  .copy{margin-top:18px!important;padding-top:13px!important;}
  .floatwa{width:70px!important;height:70px!important;min-width:70px!important;min-height:70px!important;right:14px!important;bottom:14px!important;}
}

@media(max-width:420px){
  .brand-logo{width:174px!important;}
  .hero h1{font-size:35px!important;}
  .hero-photo-guard{width:94%!important;}
  .studio-gallery{grid-template-columns:1fr!important;}
  .gallery-item img{height:205px!important;}
}


/* =========================================================
   v22 — MOBILE XL readability pass (smartphone only)
   Desktop/tablet unchanged. All overrides below are <=700px.
   ========================================================= */
@media(max-width:700px){
  html{font-size:18px!important;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important;}
  body{font-size:18px!important;line-height:1.58!important;}

  /* Global readable typography */
  p,li,dd,dt,.notice,.muted,.article p,.article li,.serviceblock p,.box p,.card p,.why-card p,.profile p,
  .contact-email-intro,.contact-privacy-note,.studio-gallery-title p{
    font-size:18px!important;line-height:1.58!important;
  }
  small,.card small,.booking-card small,.quick-contact-item small,.quick-contact-item em{
    font-size:15.5px!important;line-height:1.35!important;
  }
  .eyebrow{font-size:15.5px!important;letter-spacing:1.15px!important;line-height:1.25!important;}
  h1{font-size:38px!important;line-height:1.05!important;}
  h2{font-size:31px!important;line-height:1.12!important;}
  h3{font-size:23px!important;line-height:1.2!important;}

  /* Header and mobile navigation */
  .container,.header .container,.navrow,.hero .container,.quick-contact-shell{width:calc(100% - 20px)!important;}
  .contact-ribbon{margin-bottom:22px!important;}
  .ribbon-inner{padding:7px 0!important;}
  .ribbon-actions{gap:8px!important;}
  .ribbon-link{font-size:13.5px!important;padding:8px 10px!important;min-height:38px!important;}
  .ribbon-link svg{width:18px!important;height:18px!important;}
  .navrow{min-height:72px!important;}
  .brand-logo{width:200px!important;max-width:58vw!important;}
  .brand-logo img{max-height:58px!important;}
  .mobile{width:50px!important;height:50px!important;font-size:28px!important;border-radius:14px!important;}
  .nav{padding:12px 12px 18px!important;}
  .nav>a,.navitem>a{font-size:18px!important;line-height:1.2!important;padding:15px 16px!important;min-height:50px!important;}

  /* HERO: photo stays on the RIGHT, text on the LEFT on phones */
  .hero{padding:30px 0 34px!important;}
  .herogrid{
    display:grid!important;
    grid-template-columns:minmax(0,1.18fr) minmax(138px,.82fr)!important;
    gap:14px!important;
    align-items:start!important;
  }
  .herogrid>div:first-child{min-width:0!important;grid-column:1!important;grid-row:1!important;}
  .hero-photo-guard{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
    align-self:start!important;
    width:100%!important;
    max-width:210px!important;
    margin:0!important;
  }
  .hero-photo-guard .portrait{
    width:100%!important;
    height:auto!important;
    aspect-ratio:4/5!important;
    object-fit:cover!important;
    object-position:center top!important;
    border-radius:16px!important;
  }
  .hero .eyebrow{font-size:14px!important;margin-bottom:8px!important;}
  .hero h1{font-size:32px!important;line-height:1.00!important;letter-spacing:-1px!important;margin:0 0 8px!important;}
  .hero h2{font-size:21px!important;line-height:1.1!important;margin:0 0 12px!important;}
  .hero p{font-size:17px!important;line-height:1.48!important;margin:0 0 12px!important;}
  .booking-actions{display:grid!important;grid-template-columns:1fr!important;gap:9px!important;margin-top:15px!important;}
  .booking-actions .btn{width:100%!important;min-height:50px!important;font-size:15.5px!important;padding:10px 10px!important;line-height:1.2!important;}
  .booking-actions .wa-icon-svg{width:22px!important;height:22px!important;}
  .availability-note{font-size:15px!important;line-height:1.4!important;margin-top:11px!important;}
  .hero:after{height:100%!important;left:56%!important;right:0!important;top:0!important;border-radius:0!important;}

  /* Buttons globally */
  .btn,.review-wide-btn,.header-book .btn{font-size:17px!important;min-height:50px!important;padding:11px 16px!important;}

  /* Quick contacts */
  .quick-contact-grid{grid-template-columns:1fr!important;gap:10px!important;}
  .quick-contact-item{min-height:84px!important;padding:12px 14px!important;gap:14px!important;}
  .quick-contact-item strong{font-size:19px!important;line-height:1.25!important;}
  .quick-contact-item small{font-size:15.5px!important;}
  .quick-icon{width:52px!important;height:52px!important;min-width:52px!important;}
  .quick-icon svg{width:30px!important;height:30px!important;}
  .email-image{max-height:none!important;width:auto!important;max-width:250px!important;}

  /* Sections/cards/profile */
  section{padding:48px 0!important;}
  .sectiontitle{margin-bottom:24px!important;}
  .sectiontitle h2,.profile>div:first-child h2{font-size:31px!important;line-height:1.12!important;}
  .sectiontitle p{font-size:18px!important;line-height:1.55!important;}
  .why-grid,.cards,.profile,.studiogrid{gap:16px!important;}
  .why-card,.card,.credential,.serviceblock,.box,.contact-panel,.contact-email-panel{border-radius:18px!important;}
  .why-card,.credential,.box{padding:20px!important;}
  .why-card h3,.card h3,.credential b{font-size:22px!important;line-height:1.2!important;}
  .why-card p,.card p,.credential span{font-size:17.5px!important;line-height:1.5!important;}
  .why-icon{width:72px!important;height:72px!important;}
  .cardbody{padding:18px!important;}
  .cards .card img{height:190px!important;object-fit:cover!important;}
  .profile{grid-template-columns:1fr!important;}

  /* Pathologies */
  #patologie.band{padding:38px 0 42px!important;}
  #patologie .sectiontitle h2{font-size:32px!important;line-height:1.1!important;}
  #patologie .pills{gap:9px!important;}
  #patologie .pill{
    font-size:17px!important;
    line-height:1.28!important;
    padding:10px 14px!important;
    min-height:42px!important;
    border-radius:999px!important;
  }

  /* Studio/location/hours */
  .studio .box h2,.studiogrid .box h2{font-size:29px!important;line-height:1.14!important;}
  .studio .box p,.studiogrid .box p{font-size:18px!important;line-height:1.55!important;}
  .hours,.hours-allweek{max-width:none!important;gap:0!important;}
  .hours span,.hours b,.hours-allweek span,.hours-allweek b{
    font-size:18px!important;
    line-height:1.35!important;
    padding:10px 4px!important;
  }
  .map{min-height:320px!important;}
  .studio-gallery{grid-template-columns:1fr 1fr!important;gap:10px!important;}
  .gallery-item img{height:165px!important;}

  /* Reviews and review CTA */
  .reviews-head h2{font-size:31px!important;}
  .review-bubble-v15{min-height:310px!important;padding:24px 22px 82px!important;}
  .review-bubble-v15 p{font-size:18px!important;line-height:1.5!important;}
  .review-signature{font-size:16px!important;bottom:18px!important;}
  .review-stars{font-size:22px!important;}
  .reviews-cta-v18{max-width:360px!important;gap:18px!important;margin-left:auto!important;margin-right:auto!important;}
  .review-qr-large{padding:16px!important;}
  .review-qr-large img{width:180px!important;height:180px!important;}
  .review-qr-large span{font-size:14px!important;line-height:1.35!important;}
  .miodottore-certificate-link img{width:230px!important;}
  .reviews-buttons-stack .review-wide-btn{font-size:17px!important;min-height:52px!important;}

  /* Internal pages / articles */
  .pagehero{padding:34px 0 30px!important;}
  .pagehero h1{font-size:40px!important;line-height:1.06!important;margin-bottom:14px!important;}
  .pagehero p{font-size:18.5px!important;line-height:1.55!important;}
  .article{padding:34px 12px 48px!important;}
  .article h2{font-size:30px!important;line-height:1.15!important;margin-top:30px!important;}
  .article h3{font-size:24px!important;line-height:1.2!important;}
  .article p,.article li{font-size:18.5px!important;line-height:1.62!important;}
  .article ul,.article ol{padding-left:24px!important;}
  .serviceblock{padding:20px!important;}
  .serviceblock h2{font-size:28px!important;line-height:1.15!important;}
  .serviceblock p,.serviceblock li{font-size:18px!important;line-height:1.58!important;}
  .serviceblock img{max-height:none!important;}

  /* Contact page without form */
  .contact-page > section{padding:28px 0 44px!important;}
  .contact-page .contactgrid{grid-template-columns:1fr!important;gap:18px!important;}
  .contact-panel,.contact-email-panel{padding:22px!important;}
  .booking-card{padding:15px!important;min-height:72px!important;gap:14px!important;}
  .booking-icon{width:46px!important;height:46px!important;font-size:18px!important;}
  .booking-card strong{font-size:19px!important;}
  .booking-card small{font-size:15.5px!important;}
  .contact-email-intro{font-size:18px!important;}
  .contact-email-note{font-size:14px!important;}
  .email-image-shell{max-width:100%!important;}
  .email-image-shell img{width:100%!important;}

  /* Footer */
  footer{padding-bottom:34px!important;}
  .footergrid{grid-template-columns:1fr!important;gap:22px!important;}
  footer strong{font-size:18px!important;}
  footer p,footer a{font-size:16px!important;line-height:1.6!important;}
  .copy{font-size:14px!important;line-height:1.45!important;margin-top:20px!important;padding-top:15px!important;}
  .floatwa{width:78px!important;height:78px!important;min-width:78px!important;min-height:78px!important;right:12px!important;bottom:12px!important;}
}

@media(max-width:420px){
  /* Keep the hero side-by-side even on narrow phones. */
  .herogrid{grid-template-columns:minmax(0,1.22fr) minmax(124px,.78fr)!important;gap:10px!important;}
  .hero-photo-guard{max-width:160px!important;}
  .hero h1{font-size:29px!important;}
  .hero h2{font-size:20px!important;}
  .hero p{font-size:16.5px!important;line-height:1.45!important;}
  .hero .eyebrow{font-size:13.5px!important;}
  .booking-actions .btn{font-size:14.5px!important;min-height:48px!important;}
  .availability-note{font-size:14px!important;}
  .brand-logo{width:178px!important;}
  .studio-gallery{grid-template-columns:1fr!important;}
  .gallery-item img{height:220px!important;}
  .pagehero h1{font-size:36px!important;}
  #patologie .pill{font-size:16.5px!important;}
}

/* =========================================================
   v23 — smartphone refinement pass
   Hero wrap, larger logo/phone, compact contact modes,
   shorter pathology pills on mobile.
   ========================================================= */
.hero-mobile-inline{display:none;}
.pill-more{display:none;}
.ribbon-mini-wa{display:none;}

@media(max-width:700px){
  html{font-size:19px!important;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important;}
  body{font-size:19px!important;line-height:1.6!important;}

  /* top ribbon / header */
  .ribbon-inner{padding:8px 0!important;}
  .ribbon-left{min-width:0!important;}
  .ribbon-pill{font-size:13.5px!important;padding:9px 14px!important;}
  .ribbon-hours{font-size:14px!important;line-height:1.3!important;}
  .ribbon-actions{align-items:center!important;gap:8px!important;}
  .ribbon-link{font-size:14px!important;padding:8px 10px!important;min-height:40px!important;}
  .ribbon-link svg{width:18px!important;height:18px!important;}
  .ribbon-phone{font-size:16px!important;font-weight:780!important;letter-spacing:-.2px!important;}
  .ribbon-phone .phone-icon-svg{width:18px!important;height:18px!important;}
  .ribbon-mini-wa{display:inline-flex!important;align-items:center;justify-content:center;width:17px;height:17px;margin:0 2px 0 3px;color:#fff;vertical-align:middle;transform:translateY(-1px);}
  .ribbon-mini-wa svg{width:17px!important;height:17px!important;display:block;}

  .navrow{min-height:76px!important;}
  .brand-logo{width:232px!important;max-width:64vw!important;}
  .brand-logo img{max-height:66px!important;}
  .header-book .btn{font-size:17px!important;padding:11px 14px!important;min-height:50px!important;}
  .header-book .wa-icon-svg{width:23px!important;height:23px!important;}

  /* HERO: float photo inside text so copy wraps below it */
  .hero{padding:28px 0 34px!important;}
  .herogrid{display:block!important;}
  .hero-copy{display:block!important;min-width:0!important;}
  .hero-copy::after{content:"";display:block;clear:both;}
  .hero-mobile-inline{
    display:block!important;
    float:right!important;
    width:47.5vw!important;
    max-width:215px!important;
    margin:4px 0 10px 14px!important;
    border-radius:18px!important;
    overflow:hidden!important;
    box-shadow:0 10px 26px rgba(22,86,111,.16)!important;
  }
  .hero-mobile-inline .portrait{
    width:100%!important;
    height:auto!important;
    aspect-ratio:4/5!important;
    object-fit:cover!important;
    object-position:center top!important;
    display:block!important;
  }
  .hero > .container > .hero-photo-guard,
  .herogrid > .hero-photo-guard{display:none!important;}
  .hero .eyebrow{font-size:14.5px!important;margin-bottom:8px!important;line-height:1.25!important;}
  .hero h1{font-size:34px!important;line-height:1.01!important;letter-spacing:-1.05px!important;margin:0 0 8px!important;}
  .hero h2{font-size:22px!important;line-height:1.1!important;margin:0 0 12px!important;}
  .hero p{font-size:17.6px!important;line-height:1.52!important;margin:0 0 12px!important;}
  .booking-actions{clear:both!important;margin-top:14px!important;display:grid!important;grid-template-columns:1fr!important;gap:9px!important;}
  .booking-actions .btn{width:100%!important;min-height:52px!important;font-size:16px!important;line-height:1.2!important;padding:11px 10px!important;}
  .availability-note{font-size:15.5px!important;line-height:1.4!important;margin-top:11px!important;}

  /* quick contacts on home: 4 cards more compact but clearer */
  .quick-contact-band{padding:20px 0 22px!important;}
  .quick-contact-grid{grid-template-columns:1fr 1fr!important;gap:9px!important;}
  .quick-contact-item{min-height:74px!important;padding:12px 10px!important;gap:10px!important;border-radius:14px!important;}
  .quick-icon{width:48px!important;height:48px!important;min-width:48px!important;}
  .quick-icon svg{width:28px!important;height:28px!important;}
  .quick-contact-item strong{font-size:17px!important;line-height:1.18!important;}
  .quick-contact-item small{font-size:13.8px!important;line-height:1.22!important;margin-bottom:3px!important;}
  .quick-contact-item em{font-size:13.2px!important;line-height:1.2!important;margin-top:2px!important;}
  .email-image{height:24px!important;max-width:100%!important;}

  /* pathology strip on home: shorter and less sprawling */
  #patologie.band{padding:34px 0 38px!important;}
  #patologie .sectiontitle h2{font-size:29px!important;line-height:1.1!important;}
  #patologie .pills{gap:8px!important;}
  #patologie .pill{
    font-size:14.4px!important;
    line-height:1.24!important;
    padding:8px 12px!important;
    min-height:36px!important;
    border-radius:999px!important;
  }
  #patologie .pills > .pill:nth-child(n+9):not(.pill-more){display:none!important;}
  .pill-more{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    background:#eef7fb!important;
    border:1px solid #9ac8d5!important;
    color:#145a73!important;
    font-weight:750!important;
  }

  /* contact page cards */
  .contact-page .contactgrid{gap:16px!important;}
  .contact-page .contact-panel,.contact-page .contact-email-panel{padding:20px!important;border-radius:18px!important;}
  .contact-page .booking-stack{display:grid!important;gap:10px!important;}
  .contact-page .booking-card{padding:13px 14px!important;min-height:68px!important;gap:12px!important;border-radius:16px!important;}
  .contact-page .booking-icon{width:50px!important;height:50px!important;font-size:21px!important;}
  .contact-page .booking-card strong{font-size:18px!important;line-height:1.16!important;}
  .contact-page .booking-card small{font-size:14.5px!important;line-height:1.25!important;}
  .contact-page .contact-privacy-note{font-size:16px!important;line-height:1.48!important;}
  .contact-page h2{font-size:29px!important;line-height:1.13!important;}
  .contact-email-intro{font-size:18px!important;line-height:1.55!important;}
  .contact-email-note{font-size:14px!important;line-height:1.4!important;}
}

@media(max-width:420px){
  .brand-logo{width:212px!important;max-width:66vw!important;}
  .ribbon-link{font-size:13px!important;padding:7px 9px!important;}
  .ribbon-phone{font-size:15px!important;}
  .hero-mobile-inline{width:49vw!important;max-width:198px!important;margin-left:12px!important;}
  .hero h1{font-size:31px!important;}
  .hero h2{font-size:20px!important;}
  .hero p{font-size:16.8px!important;line-height:1.48!important;}
  .quick-contact-grid{grid-template-columns:1fr!important;}
  #patologie .pills > .pill:nth-child(n+7):not(.pill-more){display:none!important;}
  #patologie .pill{font-size:13.8px!important;padding:7px 11px!important;}
}

/* =========================================================
   v24 — mobile-only refinement + mobile-first visible context
   ========================================================= */
.mobile-seo-kicker{display:none;}
.studio-phone-actions{display:inline-flex;gap:6px;margin-left:8px;vertical-align:middle;}
.studio-mini-action{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#eef7fa;color:#1d6d89;border:1px solid #c6e1e8;}
.studio-mini-action svg{width:15px;height:15px;}
.studio-mini-action.wa{background:#25D366;color:#fff;border-color:#25D366;}

@media(max-width:700px){
  /* First visible line: useful local context, not keyword stuffing. */
  .contact-ribbon{padding-top:4px!important;}
  .ribbon-inner{display:block!important;padding:6px 0 7px!important;}
  .ribbon-actions{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-areas:"seo seo" "phone wa";gap:5px 8px!important;width:100%!important;align-items:center!important;}
  .mobile-seo-kicker{grid-area:seo;display:flex!important;align-items:baseline;justify-content:flex-start;gap:7px;color:#fff;white-space:nowrap;overflow:hidden;}
  .mobile-seo-kicker strong{font-size:16px!important;line-height:1.15!important;letter-spacing:.1px;}
  .mobile-seo-kicker span{font-size:12.5px!important;line-height:1.15!important;opacity:.88;overflow:hidden;text-overflow:ellipsis;}
  .ribbon-phone{grid-area:phone;justify-self:start!important;}
  .ribbon-wa{grid-area:wa;justify-self:end!important;}

  /* Logo +10% from v23 mobile */
  .brand-logo{width:255px!important;max-width:70vw!important;}
  .brand-logo img{max-height:72px!important;}

  /* Hero portrait ~12% larger than v23, still floated so copy wraps below. */
  .hero-mobile-inline{width:53vw!important;max-width:240px!important;margin:4px 0 10px 14px!important;}

  /* Home contact icons: much larger, spacing remains compact. */
  .quick-contact-band{padding:18px 0 20px!important;}
  .quick-contact-grid{grid-template-columns:1fr 1fr!important;gap:8px!important;}
  .quick-contact-item{min-height:92px!important;padding:10px 10px!important;gap:10px!important;}
  .quick-icon{width:82px!important;height:82px!important;min-width:82px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
  .quick-icon svg{width:60px!important;height:60px!important;}
  .quick-contact-item strong{font-size:17.2px!important;line-height:1.16!important;}
  .quick-contact-item small{font-size:13.8px!important;line-height:1.2!important;}
  .quick-contact-item em{font-size:13px!important;}

  /* Pathologies: about 20 visible items, slightly smaller type, mix of short and long labels packs better. */
  #patologie .pills{gap:6px 7px!important;align-items:flex-start!important;}
  #patologie .pill{font-size:12.8px!important;line-height:1.18!important;padding:6px 9px!important;min-height:31px!important;}
  #patologie .pills > .pill:nth-child(n+21):not(.pill-more){display:none!important;}
  #patologie .pills > .pill:nth-child(-n+20){display:inline-flex!important;}
  .pill-more{font-size:13.2px!important;padding-left:14px!important;padding-right:14px!important;}

  /* Direct call / WhatsApp icons beside the studio number. */
  .studio-phone-row{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:5px 7px!important;}
  .studio-phone-row>b{flex-basis:auto;}
  .studio-phone-actions{display:inline-flex!important;gap:7px!important;margin-left:2px!important;}
  .studio-mini-action{width:38px!important;height:38px!important;min-width:38px!important;border-radius:50%!important;box-shadow:0 4px 10px rgba(18,61,88,.10)!important;}
  .studio-mini-action svg{width:21px!important;height:21px!important;}
}

@media(max-width:420px){
  .brand-logo{width:235px!important;max-width:72vw!important;}
  .hero-mobile-inline{width:54vw!important;max-width:220px!important;margin-left:11px!important;}
  .quick-contact-grid{grid-template-columns:1fr!important;}
  .quick-contact-item{min-height:86px!important;}
  .quick-icon{width:74px!important;height:74px!important;min-width:74px!important;}
  .quick-icon svg{width:54px!important;height:54px!important;}
  #patologie .pill{font-size:12.3px!important;padding:6px 8px!important;}
}
