
:root{
  --bg:#f3f5f3;
  --paper:#fff;
  --ink:#131819;
  --ink2:#0c1113;
  --muted:#687173;
  --line:#d7dedb;
  --teal:#08b3a5;
  --teal2:#72e2d7;
  --violet:#563079;
  --max:1180px;
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit}
.shell{width:min(var(--max),calc(100% - 44px));margin-inline:auto}
.skip{position:fixed;left:-9999px;top:10px;z-index:999;background:#fff;padding:10px 14px;border-radius:12px}
.skip:focus{left:10px}

.header{
  position:fixed;inset:0 0 auto;z-index:50;
  background:rgba(12,17,19,.72);
  border-bottom:1px solid rgba(255,255,255,.08);
  backdrop-filter:blur(18px);
}
.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.brand{display:flex;align-items:center;gap:11px;color:#fff}
.brand img{object-fit:contain}.brand .brand-full-logo{width:210px;height:52px;object-fit:contain;object-position:left center}
.brand-copy{display:grid;line-height:1.05}
.brand strong{font-size:14px;letter-spacing:-.01em}
.brand small{font-size:10px;color:#aebbbb;margin-top:5px;letter-spacing:.08em;text-transform:uppercase}
.nav{display:flex;align-items:center;gap:26px;color:#cad2d2;font-size:13px;font-weight:650}
.nav a:hover{color:white}
.nav-contact{border:1px solid rgba(255,255,255,.24);border-radius:999px;padding:10px 15px;color:#fff}
.menu-button{display:none;background:none;border:0;width:42px;height:42px;position:relative}
.menu-button span{position:absolute;width:20px;height:1.5px;background:#fff;left:11px;transition:.2s}
.menu-button span:first-child{top:16px}.menu-button span:last-child{top:24px}
.menu-button[aria-expanded="true"] span:first-child{transform:translateY(4px) rotate(45deg)}
.menu-button[aria-expanded="true"] span:last-child{transform:translateY(-4px) rotate(-45deg)}

.hero{
  min-height:100svh;
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 80% 12%, rgba(8,179,165,.11), transparent 28%),
    radial-gradient(circle at 20% 80%, rgba(86,48,121,.14), transparent 27%),
    var(--ink2);
  color:#fff;
  padding:132px 0 70px;
  display:flex;align-items:center;
}
.hero-glow{position:absolute;border-radius:50%;filter:blur(70px);pointer-events:none}
.hero-glow-one{width:300px;height:300px;background:rgba(8,179,165,.12);right:10%;top:20%}
.hero-glow-two{width:260px;height:260px;background:rgba(86,48,121,.18);left:10%;bottom:8%}
.hero-grid{display:grid;grid-template-columns:1.04fr .96fr;gap:64px;align-items:center;position:relative}
.kicker{font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:#b8c5c4;display:flex;align-items:center;gap:9px;margin-bottom:25px}
.kicker span{width:28px;height:1px;background:var(--teal2)}
.hero h1{
  margin:0;
  font-size:clamp(62px,7.3vw,108px);
  line-height:.88;
  letter-spacing:-.065em;
  font-weight:720;
  max-width:760px;
}
.hero h1 em{font-style:normal;color:var(--teal2);font-weight:500}
.hero-text{max-width:620px;color:#aebbbb;font-size:18px;line-height:1.72;margin:31px 0 0}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:34px}
.btn{
  min-height:50px;
  padding:0 20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:13px;
  font-weight:750;
  transition:.2s ease;
}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:#fff;color:#111}
.btn-secondary{border:1px solid rgba(255,255,255,.17);color:#fff}
.microfacts{display:flex;gap:35px;border-top:1px solid rgba(255,255,255,.12);margin-top:44px;padding-top:24px}
.microfacts div{display:grid;gap:4px}
.microfacts strong{font-size:16px}
.microfacts span{font-size:10px;color:#8e9b9b}
.portrait-wrap{position:relative}
.portrait-card{
  min-height:620px;
  overflow:hidden;
  border-radius:34px;
  position:relative;
  background:#182022;
  box-shadow:0 35px 90px rgba(0,0,0,.35);
}
.portrait-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:72% 50%}
.portrait-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 52%,rgba(8,12,13,.84))}
.portrait-caption{position:absolute;left:24px;right:24px;bottom:23px;display:grid;gap:5px}
.portrait-caption span{font-size:18px;font-weight:700}
.portrait-caption small{color:#bdc7c6;font-size:11px}
.accent-pill{
  position:absolute;left:-25px;top:34px;background:#fff;color:#171c1d;padding:12px 15px;border-radius:999px;
  font-size:11px;font-weight:800;box-shadow:0 15px 40px rgba(0,0,0,.22);display:flex;align-items:center;gap:9px
}
.accent-pill i{width:8px;height:8px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 5px rgba(8,179,165,.12)}

.section{padding:108px 0}
.section-label{font-size:10px;text-transform:uppercase;letter-spacing:.18em;font-weight:800;color:var(--teal);margin-bottom:32px}
.section-label.light{color:var(--teal2)}
.intro-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:95px}
.intro h2,.method h2,.cases h2,.education h2,.contact h2{
  margin:0;
  letter-spacing:-.055em;
  line-height:.98;
  font-size:clamp(46px,6vw,76px);
}
.intro-body{padding-top:9px}
.intro-body p{color:var(--muted);font-size:16px;line-height:1.75;margin:0 0 18px}
.intro-body .lead{color:var(--ink);font-size:22px;line-height:1.55}

.method{background:#111719;color:#fff}
.method-head{display:grid;grid-template-columns:1.15fr .85fr;gap:80px;align-items:end}
.method-head p{color:#9da9a8;line-height:1.72;font-size:16px;margin:0 0 5px}
.method-list{margin-top:70px;border-top:1px solid rgba(255,255,255,.13)}
.method-row{
  display:grid;grid-template-columns:120px 1fr;
  padding:30px 0;border-bottom:1px solid rgba(255,255,255,.13);
}
.method-num{font-size:11px;color:var(--teal2);letter-spacing:.1em}
.method-row h3{font-size:26px;margin:0 0 9px;letter-spacing:-.025em}
.method-row p{margin:0;color:#909c9b;line-height:1.65;max-width:720px;font-size:14px}

.cases{background:#eaf0ed}
.cases-heading{display:flex;align-items:end;justify-content:space-between;gap:60px;margin-bottom:45px}
.cases-heading p{max-width:360px;color:var(--muted);line-height:1.6;font-size:13px;margin:0}
.case-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.case{border:0;padding:0;border-radius:24px;overflow:hidden;background:#0b0e0f;position:relative;cursor:zoom-in;aspect-ratio:1.2/1}
.case img{width:100%;height:100%;object-fit:cover;filter:grayscale(1);transition:transform .45s ease,filter .35s ease}
.case:hover img{transform:scale(1.025);filter:grayscale(.25)}
.case-info{
  position:absolute;inset:auto 0 0;
  padding:45px 20px 18px;
  background:linear-gradient(transparent,rgba(0,0,0,.78));
  color:#fff;display:flex;justify-content:space-between;align-items:end;text-align:left
}
.case-info strong{font-size:13px}
.case-info em{font-style:normal;font-size:11px;color:#c0c8c7}
.disclaimer{margin:20px 0 0;max-width:900px;color:#747f7c;font-size:10px;line-height:1.65}

.education{background:#fff}
.education-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:110px}
.education-title{position:sticky;top:112px;align-self:start}
.timeline{border-top:1px solid var(--line)}
.timeline-item{padding:28px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:150px 1fr;column-gap:25px}
.timeline-item time{color:var(--teal);font-size:10px;font-weight:800;letter-spacing:.07em;text-transform:uppercase}
.timeline-item h3{margin:0 0 8px;font-size:21px;letter-spacing:-.025em}
.timeline-item p{grid-column:2;margin:0;color:var(--muted);font-size:14px;line-height:1.65}

.contact{background:#fff;padding-top:20px}
.contact-panel{
  min-height:360px;
  border-radius:34px;
  padding:48px;
  background:
    radial-gradient(circle at 85% 18%, rgba(114,226,215,.12), transparent 30%),
    linear-gradient(135deg,#4a2868,#2f1c45);
  color:#fff;
  display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:34px;
  box-shadow:0 30px 80px rgba(71,40,97,.18)
}
.contact-logo{width:70px;height:70px;object-fit:contain;filter:drop-shadow(0 8px 20px rgba(0,0,0,.2))}
.contact-kicker{display:block;color:#c6d2d1;font-size:10px;letter-spacing:.17em;text-transform:uppercase;font-weight:800;margin-bottom:14px}
.contact h2{font-size:clamp(44px,5vw,70px)}
.contact p{color:#c7c1ce;margin:14px 0 0}
.contact-btn{background:#fff;color:#37224c;min-width:130px}

.footer{padding:28px 0 38px;background:#fff;border-top:1px solid var(--line)}
.footer-inner{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:30px;color:#6b7473;font-size:10px}
.footer-inner>p{margin:0}
.footer-inner>a{text-align:right;font-weight:700}
.footer-brand{display:flex;align-items:center;gap:9px;color:#1b2021;font-weight:700}
.footer-brand img{width:34px;height:34px;object-fit:contain}

.lightbox{border:0;padding:0;border-radius:18px;background:#060809;max-width:min(1160px,95vw);box-shadow:0 30px 100px rgba(0,0,0,.7)}
.lightbox::backdrop{background:rgba(0,0,0,.86);backdrop-filter:blur(7px)}
.lightbox img{max-width:95vw;max-height:90vh}
.lightbox-close{position:absolute;right:10px;top:10px;width:38px;height:38px;border:0;border-radius:50%;background:#fff;color:#111;font-size:25px;line-height:1;cursor:pointer}

.mobile-cta{display:none}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .72s ease,transform .72s ease}
.reveal.visible{opacity:1;transform:none}

@media(max-width:900px){
  .shell{width:min(var(--max),calc(100% - 28px))}
  .header-inner{height:67px}
  .menu-button{display:block;z-index:60}
  .nav{
    position:fixed;top:76px;left:14px;right:14px;
    display:grid;gap:4px;padding:14px;
    background:rgba(18,24,25,.98);
    border:1px solid rgba(255,255,255,.1);
    border-radius:20px;
    box-shadow:0 22px 70px rgba(0,0,0,.35);
    opacity:0;transform:translateY(-10px);pointer-events:none;transition:.2s
  }
  .nav.open{opacity:1;transform:none;pointer-events:auto}
  .nav a{padding:13px;border-radius:12px}
  .nav-contact{border:0;background:#fff;color:#111!important}

  .hero{padding:102px 0 54px;min-height:auto}
  .hero-grid{grid-template-columns:1fr;gap:35px}
  .hero-copy{order:2}
  .portrait-wrap{order:1}
  .portrait-card{min-height:0;aspect-ratio:1.05/1;border-radius:25px}
  .portrait-card>img{object-position:84% 50%}
  .accent-pill{left:14px;top:14px}
  .hero h1{font-size:clamp(58px,16vw,82px)}
  .hero-text{font-size:16px}
  .microfacts{gap:18px;overflow:auto;padding-bottom:3px}
  .microfacts>div{min-width:104px}
  .section{padding:82px 0}
  .intro-grid,.method-head,.education-grid{grid-template-columns:1fr;gap:38px}
  .intro-body .lead{font-size:20px}
  .method-list{margin-top:48px}
  .method-row{grid-template-columns:55px 1fr}
  .cases-heading{display:block}
  .cases-heading p{margin-top:22px}
  .case-grid{grid-template-columns:1fr}
  .education-title{position:static}
  .timeline-item{grid-template-columns:1fr;gap:8px}
  .timeline-item p{grid-column:1}
  .contact-panel{grid-template-columns:1fr;padding:32px 25px;gap:22px}
  .contact-logo{width:56px;height:56px}
  .contact-btn{width:100%}
  .footer-inner{grid-template-columns:1fr;justify-items:start}
  .footer-inner>a{text-align:left}
  .mobile-cta{
    display:flex;position:fixed;z-index:45;left:14px;right:14px;bottom:max(14px,env(safe-area-inset-bottom));
    min-height:49px;align-items:center;justify-content:center;border-radius:999px;background:#fff;color:#111;
    box-shadow:0 12px 35px rgba(0,0,0,.22);font-size:12px;font-weight:800;border:1px solid rgba(17,24,25,.1)
  }
  .footer{padding-bottom:96px}
}

@media(max-width:520px){
  .brand strong{font-size:13px}.brand small{font-size:9px}
  .hero-actions{display:grid}.btn{width:100%}
  .portrait-card{aspect-ratio:.94/1}
  .intro h2,.method h2,.cases h2,.education h2,.contact h2{font-size:42px}
  .method-row h3{font-size:23px}
  .case{border-radius:18px}
  .contact-panel{border-radius:24px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .reveal{opacity:1;transform:none;transition:none}
  *{transition:none!important}
}


/* Fade/slide delle schede durante lo scroll */
.reveal-card{
  opacity:0;
  transform:translateY(34px) scale(.985);
  filter:blur(2px);
  transition:
    opacity .78s cubic-bezier(.2,.75,.2,1),
    transform .78s cubic-bezier(.2,.75,.2,1),
    filter .78s cubic-bezier(.2,.75,.2,1);
  transition-delay:var(--reveal-delay, 0ms);
}
.reveal-card.visible{
  opacity:1;
  transform:translateY(0) scale(1);
  filter:blur(0);
}

/* Fuori dallo studio / Formula 1 */
.curiosity{
  background:
    radial-gradient(circle at 86% 18%, rgba(8,179,165,.12), transparent 26%),
    radial-gradient(circle at 15% 88%, rgba(86,48,121,.17), transparent 28%),
    #0e1416;
  color:#fff;
  overflow:hidden;
}
.curiosity .section-label{color:var(--teal2)}
.curiosity-head{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:80px;
  align-items:end;
  margin-bottom:50px;
}
.curiosity h2{
  margin:0;
  font-size:clamp(46px,6vw,76px);
  line-height:.98;
  letter-spacing:-.055em;
}
.curiosity-head>p{
  margin:0 0 5px;
  max-width:500px;
  color:#9ca8a8;
  font-size:16px;
  line-height:1.72;
}
.curiosity-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}
.curiosity-card{
  min-height:330px;
  padding:30px;
  border:1px solid rgba(255,255,255,.11);
  border-radius:25px;
  background:linear-gradient(145deg,rgba(255,255,255,.075),rgba(255,255,255,.025));
  backdrop-filter:blur(10px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  box-shadow:0 25px 60px rgba(0,0,0,.15);
}
.curiosity-card-featured{
  grid-column:1 / -1;
  min-height:290px;
  background:
    linear-gradient(120deg,rgba(8,179,165,.11),rgba(86,48,121,.16)),
    rgba(255,255,255,.035);
}
.curiosity-index{
  display:inline-flex;
  min-height:29px;
  padding:0 11px;
  align-items:center;
  border:1px solid rgba(114,226,215,.25);
  border-radius:999px;
  color:var(--teal2);
  font-size:10px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.curiosity-card h3{
  margin:28px 0 12px;
  max-width:760px;
  font-size:clamp(25px,3vw,37px);
  line-height:1.06;
  letter-spacing:-.04em;
}
.curiosity-card p{
  margin:0 0 28px;
  max-width:760px;
  color:#aeb8b7;
  font-size:14px;
  line-height:1.72;
}
.curiosity-card strong{color:#fff}
.curiosity-links{
  display:flex;
  gap:10px 18px;
  flex-wrap:wrap;
  margin-top:auto;
}
.curiosity-links a{
  color:#fff;
  font-size:11px;
  font-weight:800;
  padding-bottom:3px;
  border-bottom:1px solid rgba(255,255,255,.3);
  transition:color .2s ease,border-color .2s ease;
}
.curiosity-links a:hover{
  color:var(--teal2);
  border-color:var(--teal2);
}
.curiosity-footnote{
  margin:21px 0 0;
  max-width:800px;
  color:#71807f;
  font-size:10px;
  line-height:1.65;
}

@media(max-width:900px){
  .curiosity-head{grid-template-columns:1fr;gap:24px}
  .curiosity-grid{grid-template-columns:1fr}
  .curiosity-card-featured{grid-column:auto}
  .curiosity-card{min-height:auto;padding:26px 22px}
}


/* MioDottore booking widget */
.booking-widget-wrap{
  margin-top:22px;
  border:1px solid var(--line);
  border-radius:28px;
  background:#fff;
  padding:28px;
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:28px;
  align-items:start;
}
.booking-widget-copy{
  padding:8px 4px;
}
.booking-label{
  display:block;
  margin-bottom:10px;
  color:var(--teal);
  font-size:10px;
  line-height:1;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.16em;
}
.booking-widget-copy h3{
  margin:0 0 10px;
  font-size:clamp(28px,3vw,40px);
  line-height:1.05;
  letter-spacing:-.04em;
}
.booking-widget-copy p{
  margin:0;
  max-width:390px;
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
}
.booking-widget{
  width:100%;
  min-width:0;
}
.booking-widget .zl-url{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 20px;
  border-radius:999px;
  background:var(--ink);
  color:#fff;
  font-size:13px;
  font-weight:800;
}

/* The embedded widget can be wider than its container; keep it responsive. */
.booking-widget iframe{
  max-width:100%!important;
  width:100%!important;
}

@media(max-width:900px){
  .booking-widget-wrap{
    grid-template-columns:1fr;
    padding:22px;
    border-radius:22px;
  }
}

/* Clinical cases v2.4 */
.brand img,.contact-logo,.footer-brand img{box-sizing:border-box}.contact-logo-full{width:min(420px,80vw)!important;height:auto!important;max-height:118px;object-fit:contain;object-position:left center}.footer-full-logo{width:210px!important;height:auto!important;max-height:62px;object-fit:contain;object-position:left center}
.case-explainer{display:grid;grid-template-columns:1fr 1fr;gap:1px;background:#d2dcda;border:1px solid #d2dcda;border-radius:22px;overflow:hidden;margin:0 0 28px}
.case-explainer>div{background:rgba(255,255,255,.72);padding:22px 24px}
.case-explainer span{display:block;color:var(--teal);font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px}
.case-explainer p{margin:0;color:#566160;font-size:13px;line-height:1.65}
.case-tabs{display:flex;gap:8px;margin:0 0 20px}
.case-tab{border:1px solid #cbd5d2;background:transparent;color:#4f5b59;border-radius:999px;padding:11px 16px;cursor:pointer;font-weight:750;font-size:12px}
.case-tab b{font-size:9px;margin-left:5px;opacity:.6}.case-tab.active{background:#101719;color:#fff;border-color:#101719}
.clinical-cases{display:grid;gap:22px}.clinical-case{background:#fff;border-radius:28px;padding:22px;box-shadow:0 18px 45px rgba(24,45,42,.06)}
.clinical-case-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:17px}.clinical-case-head h3{font-size:28px;letter-spacing:-.035em;margin:4px 0 0}.case-type{color:var(--teal);font-size:9px;text-transform:uppercase;letter-spacing:.14em;font-weight:850}.sequence-count{font-size:10px;color:#7b8684}
.sequence-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.sequence-grid.sequence-three{grid-template-columns:repeat(3,1fr)}
.sequence-image{position:relative;border:0;padding:0;background:#0b0e0f;border-radius:17px;overflow:hidden;cursor:zoom-in;aspect-ratio:1.34/1}.sequence-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.sequence-image:hover img{transform:scale(1.025)}.sequence-image span{position:absolute;left:0;right:0;bottom:0;padding:28px 12px 10px;background:linear-gradient(transparent,rgba(0,0,0,.78));color:#fff;text-align:left;font-size:9px;font-weight:750;letter-spacing:.05em;text-transform:uppercase}
.empty-cases{border:1px dashed #b7c4c0;border-radius:22px;padding:30px;color:#66716f;background:rgba(255,255,255,.4)}.empty-cases p{margin:0;line-height:1.65;font-size:13px}
.lightbox{overflow:visible}.lightbox figure{margin:0}.lightbox figcaption{color:#fff;text-align:center;padding:10px 55px 12px;font-size:11px}.lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#111;font-size:30px;cursor:pointer;z-index:2}.lightbox-prev{left:12px}.lightbox-next{right:12px}
@media(max-width:700px){.case-explainer{grid-template-columns:1fr}.sequence-grid,.sequence-grid.sequence-three{grid-template-columns:1fr}.clinical-case{padding:14px;border-radius:20px}.clinical-case-head{align-items:start;flex-direction:column;gap:5px}.sequence-image{aspect-ratio:1.5/1}.lightbox-nav{width:38px;height:38px}.lightbox-prev{left:7px}.lightbox-next{right:7px}}

/* v2.5 — sticky section titles */
@media (min-width: 901px){
  .intro-grid>h2,.method-head>h2,.cases-heading>div,.education-title,.curiosity-head>div,.contact-panel>div{position:sticky;top:112px;align-self:start}
}
/* v2.5 — AzzurraGP + racing */
.azzurragp-hero{display:grid;grid-template-columns:.9fr 1.45fr .8fr;gap:28px;align-items:center;padding:34px;margin:8px 0 34px;border:1px solid rgba(255,255,255,.13);border-radius:28px;background:linear-gradient(135deg,rgba(17,92,120,.24),rgba(255,255,255,.035));overflow:hidden}
.azzurragp-brand{display:flex;align-items:center;justify-content:center;padding:12px}.azzurragp-brand img{width:min(100%,360px);height:auto;filter:drop-shadow(0 14px 30px rgba(0,0,0,.3))}.azzurragp-copy h3{font-size:34px;margin:7px 0 10px}.azzurragp-copy p{color:rgba(255,255,255,.72);line-height:1.65;margin:0 0 18px}.spotify-link{border-color:#1ed760!important}.podcast-widget{display:flex;gap:14px;align-items:center;padding:18px;border-radius:18px;background:#111;color:#fff;text-decoration:none;border:1px solid rgba(255,255,255,.12);transition:.25s}.podcast-widget:hover{transform:translateY(-3px);border-color:#1ed760}.podcast-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#1ed760;color:#050505;font-size:24px}.podcast-widget div{display:flex;flex-direction:column}.podcast-widget small{font-size:9px;letter-spacing:.18em;color:#1ed760}.podcast-widget strong{font-size:16px;margin:2px 0}.podcast-widget em{font-style:normal;font-size:10px;color:#aaa}
.racing-gallery{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:180px;gap:12px;margin:0 0 34px}.racing-photo{border:0;padding:0;background:#111;overflow:hidden;border-radius:18px;cursor:zoom-in;grid-column:span 4;grid-row:span 2}.racing-photo.racing-wide{grid-column:span 8}.racing-photo.racing-tall{grid-row:span 3}.racing-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .45s ease,filter .3s}.racing-photo:hover img{transform:scale(1.025);filter:brightness(1.06)}.racing-notes{margin-top:0}
@media(max-width:900px){.azzurragp-hero{grid-template-columns:1fr}.racing-gallery{grid-template-columns:1fr 1fr;grid-auto-rows:190px}.racing-photo,.racing-photo.racing-wide{grid-column:span 1}.racing-photo.racing-tall{grid-row:span 2}}
@media(max-width:600px){.racing-gallery{grid-template-columns:1fr}.racing-photo,.racing-photo.racing-wide{grid-column:1}.racing-photo.racing-tall{grid-row:span 2}.azzurragp-hero{padding:24px}}

/* v2.6 — specialties, workplaces, Instagram */
.specialties-head,.workplaces-head{display:grid;grid-template-columns:1.1fr .7fr;gap:70px;align-items:start;margin-bottom:34px}.specialties-head>p,.workplaces-head>p{color:var(--muted);line-height:1.7;margin:28px 0 0}.specialty-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.specialty-card,.workplace-card{padding:30px;border-radius:26px;background:#fff;box-shadow:0 18px 45px rgba(24,45,42,.06)}.specialty-card>span,.workplace-card>span{display:block;color:var(--teal);font-size:9px;font-weight:850;letter-spacing:.14em;text-transform:uppercase;margin-bottom:12px}.specialty-card h3,.workplace-card h3{margin:0 0 12px;font-size:clamp(26px,3vw,38px);letter-spacing:-.04em}.specialty-card p,.workplace-card p{color:#596462;line-height:1.7;margin:0}.specialty-card small{display:block;border-top:1px solid #e4e9e7;margin-top:22px;padding-top:15px;color:#87918f;line-height:1.55}.workplace-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.workplace-card h3{font-size:25px}.workplace-card a{display:inline-block;margin-top:18px;color:var(--teal);font-size:11px;font-weight:800;text-decoration:none}.instagram-widget{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:22px 24px;margin:22px 0;border:1px solid #d7dfdd;border-radius:22px;background:linear-gradient(135deg,#fff,#f4f7f6);color:var(--ink);text-decoration:none}.instagram-mark{display:grid;place-items:center;width:50px;height:50px;border-radius:15px;background:#101719;color:#fff;font-size:28px}.instagram-widget span{display:block;color:var(--teal);font-size:9px;font-weight:850;letter-spacing:.14em}.instagram-widget strong{display:block;font-size:22px;margin:2px 0}.instagram-widget p{margin:0;color:var(--muted);font-size:12px}.instagram-widget b{font-size:11px}.instagram-widget:hover{transform:translateY(-2px)}
@media(min-width:901px){.specialties-head>div,.workplaces-head>div{position:sticky;top:112px;align-self:start}}
@media(max-width:800px){.specialties-head,.workplaces-head{grid-template-columns:1fr;gap:12px}.specialty-grid,.workplace-grid{grid-template-columns:1fr}.instagram-widget{grid-template-columns:auto 1fr}.instagram-widget>b{grid-column:2}.specialties-head>p,.workplaces-head>p{margin-top:0}}

@media(max-width:700px){.brand .brand-full-logo{width:165px;height:46px}.footer-full-logo{width:180px!important}.contact-logo-full{width:min(330px,82vw)!important}.azzurragp-brand{justify-content:flex-start;padding:4px 0}.azzurragp-brand img{width:min(100%,300px)}}

/* v2.8 — micro refinements */
.brand .brand-mark-logo{width:48px;height:48px;object-fit:contain;display:block}
.footer-brand .footer-mark-logo{width:44px;height:44px;object-fit:contain;display:block}
.workplaces-title{max-width:720px;white-space:normal;text-wrap:balance}
.contact-logo-full{width:min(560px,88vw)!important;max-height:170px!important}
@media(max-width:700px){
  .brand .brand-mark-logo{width:42px;height:42px}
  .footer-brand .footer-mark-logo{width:40px;height:40px}
  .workplaces-title{font-size:clamp(38px,12vw,56px)!important;line-height:.96}
  .contact-logo-full{width:min(440px,92vw)!important;max-height:145px!important}
}

/* v2.9 — requested layout refinements */
.specialties h2{
  margin:0;
  letter-spacing:-.055em;
  line-height:.98;
  font-size:clamp(46px,6vw,76px);
}
.contact-logo-full{
  width:min(390px,34vw)!important;
  max-height:150px!important;
  object-fit:contain;
  object-position:center center!important;
}
.racing-notes{
  grid-template-columns:repeat(2,minmax(0,1fr));
  align-items:stretch;
}
.racing-notes .curiosity-card{
  grid-column:auto;
  min-height:330px;
}
@media(max-width:900px){
  .contact-logo-full{width:min(360px,82vw)!important;max-height:135px!important}
}
@media(max-width:700px){
  .specialties h2{font-size:42px}
  .racing-notes{grid-template-columns:1fr}
  .racing-notes .curiosity-card{min-height:auto}
}

/* MioDottore certificate — compact trust signal in the opening section */
.hero-certificate{
  margin-top:22px;
  display:flex;
  align-items:center;
  gap:16px;
  width:max-content;
  max-width:100%;
  padding:11px 14px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  background:rgba(255,255,255,.045);
  backdrop-filter:blur(10px);
}
.hero-certificate-label{
  color:#aebbbb;
  font-size:10px;
  line-height:1.25;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.12em;
  max-width:95px;
}
.hero-certificate-widget{min-width:0}
.hero-certificate-widget .zl-url{
  color:#fff;
  font-size:12px;
  font-weight:800;
}
.hero-certificate-widget iframe{max-width:100%!important}
@media(max-width:620px){
  .hero-certificate{width:100%;align-items:flex-start;flex-direction:column;gap:9px}
  .hero-certificate-label{max-width:none}
}
/* Sezione scuole — inserire in fondo a styles.css */
.schools{
  background:#f4f8f6;
  padding:78px 0;
}
.schools-card{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(240px,.65fr);
  gap:46px;
  align-items:center;
  padding:42px;
  border:1px solid #dce6e2;
  border-radius:30px;
  background:linear-gradient(135deg,#fff,#eef5f2);
  box-shadow:0 22px 55px rgba(24,45,42,.06);
}
.schools-copy .section-label{margin-bottom:18px}
.schools-badge{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:#101719;
  color:#fff;
  font-size:9px;
  font-weight:850;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.schools h2{
  margin:22px 0 20px;
  font-size:clamp(42px,5.2vw,68px);
  line-height:.96;
  letter-spacing:-.055em;
}
.schools-copy p{
  max-width:680px;
  margin:0 0 14px;
  color:var(--muted);
  font-size:14px;
  line-height:1.72;
}
.schools-copy .schools-lead{
  color:var(--ink);
  font-size:18px;
  line-height:1.6;
}
.schools-topics{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:23px;
}
.schools-topics span{
  padding:9px 12px;
  border:1px solid #cddbd6;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  color:#465351;
  font-size:10px;
  font-weight:750;
}
.schools-poster{
  margin:0;
  justify-self:end;
  width:min(100%,310px);
}
.schools-poster img{
  width:100%;
  height:auto;
  border-radius:18px;
  box-shadow:0 18px 42px rgba(20,34,31,.14);
}
.schools-poster figcaption{
  margin-top:10px;
  color:#7b8784;
  font-size:9px;
  line-height:1.5;
  text-align:center;
}
@media(max-width:800px){
  .schools{padding:62px 0}
  .schools-card{grid-template-columns:1fr;padding:26px;gap:28px}
  .schools-poster{justify-self:start;width:min(100%,300px)}
}
.mobile-scroll-tracker{
  display:none;
}

@media (max-width:900px){
  .mobile-scroll-tracker{
    position:fixed;
    top:67px; /* stessa altezza dell'header mobile del sito */
    left:0;
    right:0;
    z-index:49; /* sotto al menu/header (z-index 50), sopra ai contenuti */
    height:30px;
    padding:0 14px 2px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;

    color:rgba(255,255,255,.88);
    background:rgba(12,17,19,.72);
    border-bottom:1px solid rgba(255,255,255,.07);
    backdrop-filter:blur(16px);
    -webkit-backdrop-filter:blur(16px);

    pointer-events:none;
  }

  .mobile-scroll-tracker__section{
    min-width:0;
    max-width:78vw;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;

    font-size:9px;
    line-height:1;
    font-weight:800;
    letter-spacing:.16em;
    text-transform:uppercase;
  }

  .mobile-scroll-tracker__percent{
    flex:0 0 auto;
    font-size:9px;
    line-height:1;
    font-weight:700;
    color:#aebbbb;
    font-variant-numeric:tabular-nums;
  }

  .mobile-scroll-tracker__track{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:2px;
    overflow:hidden;
    background:rgba(255,255,255,.08);
  }

  .mobile-scroll-tracker__bar{
    width:100%;
    height:100%;
    background:var(--teal2, #72e2d7);
    transform:scaleX(0);
    transform-origin:left center;
    will-change:transform;
  }
}

@media (prefers-reduced-motion:reduce){
  .mobile-scroll-tracker__bar{
    transition:none;
  }
}
@media (max-width: 900px) {
  .mobile-scroll-tracker {
    justify-content: flex-start;
  }

  .mobile-scroll-tracker__percent {
    display: none !important;
  }

  .mobile-scroll-tracker__track {
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    overflow: hidden;
    background: rgba(255,255,255,.10);
  }

  .mobile-scroll-tracker__bar {
    display: block;
    width: 100%;
    height: 100%;
    background: #72e2d7;
    transform: scaleX(0);
    transform-origin: left center;
    will-change: transform;
  }
}
#prenota{
  scroll-margin-top:112px;
}

@media (max-width:900px){
  .mobile-cta.mobile-booking-cta{
    min-height:56px;
    padding:8px 20px;
    display:grid;
    align-content:center;
    justify-items:center;
    gap:2px;

    background:rgba(255,255,255,.96);
    color:var(--ink2,#0c1113);
    border:1px solid rgba(8,179,165,.28);
    box-shadow:
      0 12px 35px rgba(0,0,0,.22),
      inset 0 -2px 0 rgba(8,179,165,.13);

    -webkit-backdrop-filter:blur(16px);
    backdrop-filter:blur(16px);

    transition:
      opacity .22s ease,
      transform .22s ease,
      box-shadow .22s ease;
  }

  .mobile-cta.mobile-booking-cta::before{
    content:"";
    position:absolute;
    left:18px;
    width:8px;
    height:8px;
    border-radius:50%;
    background:var(--teal,#08b3a5);
    box-shadow:0 0 0 5px rgba(8,179,165,.10);
  }

  .mobile-booking-cta span{
    font-size:12px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:.015em;
  }

  .mobile-booking-cta small{
    font-size:8px;
    line-height:1;
    font-weight:750;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#687173;
  }

  .mobile-booking-cta:active{
    transform:scale(.985);
  }

  .mobile-booking-cta.is-hidden{
    opacity:0;
    transform:translateY(18px);
    pointer-events:none;
  }
}
html.hero-motion {
  --hero-card-shift: 0px;
  --hero-glow-one-x: 0px;
  --hero-glow-one-y: 0px;
  --hero-glow-two-x: 0px;
  --hero-glow-two-y: 0px;
}

/* La hero usa una sua entrata più precisa invece del reveal generico */
html.hero-motion .hero-copy.reveal,
html.hero-motion .portrait-wrap.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Stato iniziale: viene applicato solo se JS ha attivato hero-motion */
html.hero-motion:not(.hero-motion-ready) .brand {
  opacity: 0;
  transform: translateY(-6px);
}

html.hero-motion:not(.hero-motion-ready) .hero-copy .kicker,
html.hero-motion:not(.hero-motion-ready) .hero-copy h1,
html.hero-motion:not(.hero-motion-ready) .hero-text,
html.hero-motion:not(.hero-motion-ready) .hero-actions,
html.hero-motion:not(.hero-motion-ready) .hero-certificate,
html.hero-motion:not(.hero-motion-ready) .microfacts {
  opacity: 0;
  transform: translateY(10px);
}

html.hero-motion:not(.hero-motion-ready) .portrait-wrap {
  opacity: 0;
  transform: translateY(14px) scale(.992);
}

/* Ingresso */
html.hero-motion-ready .brand {
  animation: fcBrandIn .38s cubic-bezier(.2,.75,.2,1) both;
}

html.hero-motion-ready .hero-copy .kicker {
  animation: fcHeroIn .34s .04s cubic-bezier(.2,.75,.2,1) both;
}

html.hero-motion-ready .hero-copy h1 {
  animation: fcHeroIn .46s .09s cubic-bezier(.2,.75,.2,1) both;
}

html.hero-motion-ready .hero-text {
  animation: fcHeroIn .42s .15s cubic-bezier(.2,.75,.2,1) both;
}

html.hero-motion-ready .hero-actions {
  animation: fcHeroIn .40s .20s cubic-bezier(.2,.75,.2,1) both;
}

html.hero-motion-ready .hero-certificate {
  animation: fcHeroIn .40s .24s cubic-bezier(.2,.75,.2,1) both;
}

html.hero-motion-ready .microfacts {
  animation: fcHeroIn .40s .28s cubic-bezier(.2,.75,.2,1) both;
}

html.hero-motion-ready .portrait-wrap {
  animation: fcPortraitIn .54s .10s cubic-bezier(.2,.75,.2,1) both;
}

/* Il leggero movimento durante lo scroll avviene sulla card, non sull'intero wrapper */
html.hero-motion .portrait-card {
  transform: translate3d(0, var(--hero-card-shift), 0);
  will-change: transform;
}

html.hero-motion .hero-glow-one {
  transform: translate3d(var(--hero-glow-one-x), var(--hero-glow-one-y), 0);
  will-change: transform;
}

html.hero-motion .hero-glow-two {
  transform: translate3d(var(--hero-glow-two-x), var(--hero-glow-two-y), 0);
  will-change: transform;
}

@keyframes fcHeroIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fcBrandIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fcPortraitIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.992);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile: stessa idea, ma ancora più contenuta */
@media (max-width: 900px) {
  html.hero-motion:not(.hero-motion-ready) .portrait-wrap {
    transform: translateY(9px) scale(.995);
  }

  html.hero-motion-ready .portrait-wrap {
    animation-duration: .46s;
  }
}

/* Accessibilità: nessun movimento se il sistema lo richiede */
@media (prefers-reduced-motion: reduce) {
  html.hero-motion .brand,
  html.hero-motion .hero-copy .kicker,
  html.hero-motion .hero-copy h1,
  html.hero-motion .hero-text,
  html.hero-motion .hero-actions,
  html.hero-motion .hero-certificate,
  html.hero-motion .microfacts,
  html.hero-motion .portrait-wrap,
  html.hero-motion .portrait-card,
  html.hero-motion .hero-glow-one,
  html.hero-motion .hero-glow-two {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
.hero-certificate{
  display:none !important;
}

.booking-certificate{
  margin-top:20px;
  width:min(100%, 300px);
  padding:13px 14px 12px;

  border:1px solid rgba(12,17,19,.10);
  border-radius:16px;
  background:rgba(12,17,19,.035);

  /* niente motion autonoma: deve sembrare parte stabile del blocco */
  animation:none !important;
  transition:none !important;
  transform:none !important;
}

.booking-certificate-label{
  display:block;
  margin-bottom:8px;

  color:var(--muted, #687173);
  font-size:9px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* Spazio riservato mentre il widget esterno si carica:
   evita il "salto" visivo disarmonico. */
.booking-certificate-widget{
  min-height:48px;
  min-width:0;
  display:flex;
  align-items:center;

  animation:none !important;
  transition:none !important;
  transform:none !important;
}

.booking-certificate-widget .zl-url{
  font-size:12px;
  font-weight:800;
}

.booking-certificate-widget iframe{
  display:block;
  max-width:100% !important;

  animation:none !important;
  transition:none !important;
  transform:none !important;
}

@media(max-width:900px){
  .booking-certificate{
    width:100%;
    max-width:340px;
  }
}
@media (min-width: 901px){
  .contact-panel > div{
    position: static !important;
    top: auto !important;
    align-self: center !important;
  }
}

/* Lancio pubblico: casi clinici in preparazione */
.cases-coming-soon{position:relative;overflow:hidden;max-width:850px;margin:48px auto 0;padding:clamp(32px,6vw,72px);border:1px solid rgba(255,255,255,.16);border-radius:26px;background:linear-gradient(135deg,#152024,#0b1113);color:#fff}
.cases-coming-soon:before{content:"";position:absolute;width:250px;height:250px;right:-80px;top:-100px;border-radius:50%;background:rgba(157,119,255,.12);filter:blur(12px);pointer-events:none}
.coming-soon-eyebrow{display:block;color:#b8a2f5;font-size:.85rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
.cases-coming-soon h3{position:relative;font-size:clamp(2rem,4vw,3.4rem);line-height:1.13;margin:20px 0}
.cases-coming-soon p{position:relative;max-width:600px;color:#d5dcde;font-size:1rem;line-height:1.65}
.cases-coming-soon a{position:relative;display:inline-block;margin-top:20px;color:#d5c5ff;text-decoration:underline;text-underline-offset:5px}
.booking-external-link{display:inline-block;margin-top:14px;padding:14px 18px;border-radius:12px;background:#191f22;color:#fff;font-weight:700;text-decoration:none}
.booking-certificate{margin-top:20px;padding:16px;border:1px solid rgba(12,17,19,.1);border-radius:14px;background:rgba(12,17,19,.035);width:min(100%,340px)}
.booking-certificate-label{display:block;margin-bottom:8px;font-size:.85rem;font-weight:700}
.booking-certificate a{color:inherit;text-underline-offset:4px}
.footer-inner{grid-template-columns:auto minmax(0,1fr) auto;align-items:start;font-size:.85rem;gap:24px}
.footer-credentials{display:grid;gap:5px;line-height:1.45}
.footer-credentials strong{color:#1b2021}
.footer-credentials small{font-size:.8rem}
.footer-links{display:flex;align-items:flex-end;flex-direction:column;gap:12px}
.footer-links a{font-weight:700}
@media(max-width:900px){.footer-inner{grid-template-columns:1fr}.footer-links{align-items:flex-start}}

/* MioDottore: rating in the booking block, with reserved space after activation. */

.booking-certificate{
  margin-top:20px;
  width:min(100%, 300px);
  padding:13px 14px 12px;

  border:1px solid rgba(12,17,19,.10);
  border-radius:16px;
  background:rgba(12,17,19,.035);

  /* niente motion autonoma: deve sembrare parte stabile del blocco */
  animation:none !important;
  transition:none !important;
  transform:none !important;
}

.booking-certificate-label{
  display:block;
  margin-bottom:8px;

  color:var(--muted, #687173);
  font-size:9px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}

/* Spazio riservato mentre il widget esterno si carica:
   evita il "salto" visivo disarmonico. */
.booking-certificate-widget{
  min-height:48px;
  min-width:0;
  display:flex;
  align-items:center;

  animation:none !important;
  transition:none !important;
  transform:none !important;
}

.booking-certificate-widget .zl-url{
  font-size:12px;
  font-weight:800;
}

.booking-certificate-widget iframe{
  display:block;
  max-width:100% !important;

  animation:none !important;
  transition:none !important;
  transform:none !important;
}

@media(max-width:900px){
  .booking-certificate{
    width:100%;
    max-width:340px;
  }
}

.miodottore-consent{margin-top:18px;padding:18px;border:1px solid #d7dedb;border-radius:16px;background:#f4f7f6}
.miodottore-consent p{margin:0 0 12px;color:#4c5856;font-size:12px;line-height:1.6}
.miodottore-consent-button{padding:12px 16px;border:0;border-radius:999px;background:#101719;color:#fff;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.miodottore-consent-button:focus-visible{outline:3px solid var(--teal);outline-offset:3px}

/* Compact booking preview; the original two-column widgets appear after activation. */
.booking-widget-wrap:not(.is-active){display:flex;justify-content:center;align-items:center;padding:22px;min-height:100px}
.booking-widget-wrap:not(.is-active) .booking-widget-copy,.booking-widget-wrap:not(.is-active) .booking-widget>.zl-url{display:none}
.booking-widget-wrap:not(.is-active) .booking-widget{width:auto}
.booking-widget-wrap:not(.is-active) .miodottore-consent{margin:0;padding:0;border:0;background:none}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
