:root{--ivory:#f2f2f0;--ivory-soft:rgba(242,242,240,.80);--line:rgba(242,242,240,.22);--button:rgba(232,232,229,.16);--button-hover:rgba(232,232,229,.24)}*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:#202122}body{overflow-x:hidden;overflow-x:clip;color:var(--ivory);font-family:"Instrument Sans","Helvetica Neue",Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.hero{position:relative;min-height:86svh;overflow:hidden;isolation:isolate;background:#232425}.hero::before{content:"";position:absolute;inset:0;z-index:-3;background:url('./assets/imagem-hero.webp') center 64% / cover no-repeat;transform:scale(1.008)}.hero::after{content:"";position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(25,27,29,.80) 0%,rgba(25,27,29,.67) 34%,rgba(25,27,29,.38) 62%,rgba(25,27,29,.18) 100%),linear-gradient(180deg,rgba(18,19,20,.22) 0%,rgba(18,19,20,.04) 52%,rgba(18,19,20,.20) 100%)}.shell{width:min(91vw,1480px);min-height:86svh;margin:0 auto;display:flex;flex-direction:column}header{height:118px;display:grid;grid-template-columns:230px 1fr auto;align-items:center;gap:48px;border-bottom:1px solid var(--line)}.logo{display:inline-flex;align-items:center;width:max-content}.logo img{display:block;width:178px;height:auto;max-height:82px;object-fit:contain;object-position:left center;filter:drop-shadow(0 4px 16px rgba(0,0,0,.15))}nav{display:flex;justify-content:flex-end;gap:34px;align-items:center}nav a{color:var(--ivory);text-decoration:none;font-size:14px;font-weight:400;letter-spacing:.035em;opacity:.88;white-space:nowrap;transition:opacity .2s ease}nav a:hover{opacity:1}.nav-cta{display:inline-flex;align-items:center;justify-content:center;margin-left:10px;min-height:44px;padding:0 19px;border:1px solid rgba(242,242,240,.44);border-radius:999px;background:rgba(36,38,40,.16);color:var(--ivory);text-decoration:none;font-size:13px;font-weight:400;letter-spacing:.035em;white-space:nowrap;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:background .2s ease,border-color .2s ease}.nav-cta:hover{background:rgba(242,242,240,.10);border-color:rgba(242,242,240,.66)}.content{flex:1;display:flex;align-items:flex-end;padding:110px 0 86px}.copy{width:min(980px,82vw)}.hero-eyebrow{margin:0 0 24px;font-size:12px;line-height:1.4;font-weight:500;letter-spacing:.105em;text-transform:uppercase;color:rgba(242,242,240,.72)}.hero-eyebrow span{display:inline-block;margin:0 8px;color:rgba(242,242,240,.34)}h1{margin:0;max-width:none;font-size:clamp(46px,4vw,64px);line-height:1.075;font-weight:400;letter-spacing:.018em;text-shadow:0 8px 28px rgba(0,0,0,.17)}.headline>span>span{display:block;white-space:nowrap}.headline>.headline-desktop{display:block}.headline>.headline-compact{display:none}.headline-emphasis{font-weight:600}@media (max-width:1050px){.shell{width:min(90vw,900px)}header{grid-template-columns:180px 1fr auto;height:102px;gap:26px}.logo img{width:150px}nav{gap:22px}nav a{font-size:12px;letter-spacing:.025em}.nav-cta{margin-left:4px;min-height:42px;padding:0 16px;font-size:12px;letter-spacing:.025em}.copy{width:min(760px,88vw)}.hero-eyebrow{margin-bottom:20px;font-size:11px;letter-spacing:.085em}.headline>.headline-desktop{display:none}.headline>.headline-compact{display:block}h1{font-size:clamp(38px,4.9vw,50px);letter-spacing:.014em}.content{padding:76px 0 60px}}@media (max-width:820px){header{display:flex;justify-content:space-between;height:92px;min-height:92px;gap:18px}nav{display:none}.nav-cta{margin-left:0;min-height:42px;padding:0 15px;font-size:11px;letter-spacing:.02em}.content{padding:64px 0 48px}.copy{width:100%}.hero-eyebrow{margin-bottom:18px;font-size:10px;letter-spacing:.07em}h1{font-size:clamp(29px,5.7vw,44px);letter-spacing:.01em}.hero::before{background-position:58% 63%}.hero::after{background:linear-gradient(90deg,rgba(25,27,29,.80) 0%,rgba(25,27,29,.58) 70%,rgba(25,27,29,.24) 100%),linear-gradient(180deg,rgba(18,19,20,.20) 0%,rgba(18,19,20,.04) 46%,rgba(18,19,20,.24) 100%)}}@media (max-width:560px){header{height:84px;min-height:84px}.logo img{width:136px}.nav-cta{min-height:40px;padding:0 13px;font-size:10px;letter-spacing:.018em}.content{padding:48px 0 34px}.hero-eyebrow{margin-bottom:15px;font-size:9px;line-height:1.45;letter-spacing:.055em}.hero-eyebrow span{margin:0 5px}h1{font-size:clamp(19px,5.6vw,31px);line-height:1.08;letter-spacing:.004em}}.paths-section{background:#ececea;color:#2b2d2f;padding:156px 0 148px}.paths-shell{width:min(91vw,1480px);margin:0 auto}.paths-intro{max-width:900px;margin:0;text-align:left}.paths-title{margin:0;font-size:clamp(38px,3.7vw,56px);line-height:1.12;font-weight:500;letter-spacing:.012em}.paths-title span{display:block;white-space:nowrap}.paths-lead{margin:0;max-width:720px;font-size:16px;line-height:1.72;letter-spacing:.012em;color:rgba(43,45,47,.66)}.paths-stack{margin-top:96px;display:grid;gap:18px}.path-item{position:relative;padding:52px 54px 56px;border-radius:28px;background:#f5f5f3;border:1px solid rgba(43,45,47,.07)}.path-item h3{margin:0;max-width:920px;font-size:clamp(28px,2.55vw,40px);line-height:1.14;font-weight:500;letter-spacing:.012em}.path-item p{margin:26px 0 0;max-width:760px;font-size:16px;line-height:1.72;letter-spacing:.008em;color:rgba(43,45,47,.66)}.service-list{margin-top:34px;display:flex;flex-wrap:wrap;gap:10px 0;max-width:1000px;color:rgba(43,45,47,.58);font-size:14px;line-height:1.4;letter-spacing:.055em;text-transform:uppercase}.service-list span{display:inline-flex;align-items:center;white-space:nowrap}.service-list span:not(:last-child)::after{content:"";width:4px;height:4px;margin:0 16px;border-radius:50%;background:rgba(43,45,47,.22)}@media (max-width:1050px){.paths-section{padding:118px 0 112px}.paths-shell{width:min(90vw,900px)}.paths-title{font-size:clamp(36px,4.8vw,50px)}.paths-lead{margin-top:0;max-width:680px}.paths-stack{margin-top:88px;gap:16px}.path-item{padding:44px 42px 48px;border-radius:24px}.path-item h3{max-width:760px}.path-item p{max-width:680px}}@media (max-width:820px){.paths-section{padding:92px 0 86px}.paths-intro{text-align:left}.paths-title{font-size:clamp(27px,5.0vw,40px)}.paths-lead{margin:0;max-width:620px;font-size:16px;line-height:1.66}.paths-stack{margin-top:68px;gap:14px}.path-item{padding:38px 34px 42px;border-radius:22px}.path-item h3{font-size:clamp(26px,4.8vw,34px)}.path-item p{margin-top:22px;font-size:15px}.service-list{margin-top:28px;font-size:12px;letter-spacing:.045em}.service-list span:not(:last-child)::after{margin:0 12px}}@media (max-width:560px){.paths-section{padding:72px 0 68px}.paths-title{font-size:5.35vw;line-height:1.16;letter-spacing:.006em}.paths-lead{font-size:15px}.paths-stack{margin-top:54px;gap:12px}.path-item{padding:30px 24px 34px;border-radius:20px}.path-item h3{font-size:24px;line-height:1.16}.path-item p{font-size:14px;line-height:1.66}.service-list{display:block;margin-top:24px;line-height:1.8}.service-list span{white-space:normal}.service-list span:not(:last-child)::after{display:none}.service-list span:not(:last-child)::before{content:""}.service-list span{display:block}}.leonardo-section{background:#2b2d2f;color:#f2f2f0;padding:138px 0 146px}.leonardo-shell{width:min(91vw,1480px);margin:0 auto;display:grid;grid-template-columns:minmax(350px,.78fr) minmax(0,1.08fr);gap:clamp(76px,8vw,142px);align-items:center}.leonardo-portrait{position:relative;min-height:650px;border-radius:32px;overflow:hidden;background:#35383a;border:1px solid rgba(242,242,240,.10)}.leonardo-portrait img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 38%;display:block}.leonardo-portrait::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,22,24,.02),rgba(20,22,24,.10));pointer-events:none}.leonardo-copy{max-width:760px;padding:12px 0}.leonardo-copy h2{margin:0;font-size:clamp(42px,3.8vw,58px);line-height:1.06;font-weight:500;letter-spacing:.008em}.leonardo-intro{margin:34px 0 0;max-width:700px;font-size:20px;line-height:1.58;letter-spacing:.004em;color:rgba(242,242,240,.88)}.leonardo-body{margin:24px 0 0;max-width:680px;font-size:16px;line-height:1.74;letter-spacing:.004em;color:rgba(242,242,240,.62)}.leonardo-meta{margin-top:46px;padding-top:28px;border-top:1px solid rgba(242,242,240,.14);display:grid;grid-template-columns:170px minmax(0,1fr);gap:54px;align-items:baseline;max-width:760px}.leonardo-meta strong{font-size:24px;line-height:1.18;font-weight:500;letter-spacing:.008em;color:#f2f2f0}.leonardo-meta p{margin:0;max-width:560px;font-size:16px;line-height:1.62;color:rgba(242,242,240,.52)}@media (max-width:1050px){.leonardo-section{padding:112px 0}.leonardo-shell{width:min(90vw,900px);grid-template-columns:1fr;gap:62px}.leonardo-portrait{min-height:560px;max-width:660px}}@media (max-width:820px){.leonardo-section{padding:92px 0}.leonardo-copy h2{font-size:clamp(38px,6vw,50px)}.leonardo-intro{font-size:18px;margin-top:30px}.leonardo-meta{grid-template-columns:170px minmax(0,1fr);gap:36px;align-items:baseline}.leonardo-portrait{min-height:500px;border-radius:28px}}@media (max-width:560px){.leonardo-section{padding:76px 0}.leonardo-shell{gap:46px}.leonardo-portrait{min-height:430px;border-radius:22px}.leonardo-copy h2{font-size:34px}.leonardo-intro{font-size:17px;line-height:1.58}.leonardo-body{font-size:15px;line-height:1.68}.leonardo-meta{margin-top:36px;padding-top:24px;grid-template-columns:1fr;gap:10px}.leonardo-meta strong{font-size:22px}}.procedures-section{background:#f1f1ef;color:#2b2d2f;padding:144px 0 150px}.procedures-shell{width:min(91vw,1480px);margin:0 auto}.procedures-head{max-width:900px}.procedures-head h2{margin:0;max-width:840px;font-size:clamp(38px,3.65vw,56px);line-height:1.1;font-weight:500;letter-spacing:.008em}.procedures-head p{margin:28px 0 0;max-width:690px;font-size:16px;line-height:1.68;color:rgba(43,45,47,.64)}.procedures-grid{margin-top:72px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.procedure-card{min-height:142px;padding:26px 30px 24px;border-radius:24px;background:#fff;border:1px solid rgba(43,45,47,.07);display:flex;flex-direction:column;justify-content:flex-start}.procedure-card h3{margin:0;min-height:auto;font-size:20px;line-height:1.2;font-weight:500;letter-spacing:.002em;max-width:none;white-space:nowrap}.procedure-card p{margin:16px 0 0;width:60ch;max-width:100%;min-height:45px;font-size:14px;line-height:1.6;color:rgba(43,45,47,.60);}.institute-section{position:relative;color:#f2f2f0;background:linear-gradient(90deg,rgba(25,27,29,.82) 0%,rgba(25,27,29,.72) 34%,rgba(25,27,29,.42) 62%,rgba(25,27,29,.16) 100%),linear-gradient(180deg,rgba(18,19,20,.22) 0%,rgba(18,19,20,.06) 54%,rgba(18,19,20,.22) 100%),url('./assets/institutoleonardojunqueira.webp') center 32% / cover no-repeat;padding:110px 0 99px;overflow:hidden}.institute-shell{width:min(91vw,1480px);margin:0 auto;position:relative}.institute-grid{min-height:560px;display:grid;grid-template-columns:minmax(0,560px) minmax(360px,500px);grid-template-rows:auto auto;justify-content:space-between;column-gap:72px;align-content:center;position:relative}.institute-copy{grid-column:1;grid-row:1;max-width:560px;padding-top:18px;position:relative;z-index:2}.institute-copy h2{margin:0;max-width:560px;font-size:clamp(38px,3.65vw,56px);line-height:1.08;font-weight:500;letter-spacing:.008em;color:#f2f2f0}.institute-copy>p{margin:28px 0 0;max-width:560px;font-size:16px;line-height:1.72;color:rgba(242,242,240,.74);}.institute-details{grid-column:1;grid-row:2;margin-top:42px;padding-top:24px;border-top:1px solid rgba(242,242,240,.16);display:grid;gap:14px;max-width:520px;position:relative;z-index:2}.detail-block{display:flex;align-items:baseline;gap:18px}.detail-block span{flex:0 0 88px;font-size:11px;line-height:1;letter-spacing:.10em;text-transform:uppercase;color:rgba(242,242,240,.44)}.detail-block p,.detail-block a{margin:0;color:#f2f2f0;text-decoration:none;font-size:14px;line-height:1.6}.map-wrap{grid-column:2;grid-row:1 / span 2;align-self:center;justify-self:end;width:min(100%,480px);height:auto;aspect-ratio:1 / 1;margin-top:0;transform:none;border-radius:22px;overflow:hidden;border:1px solid rgba(242,242,240,.18);background:#d0d0cd;box-shadow:0 22px 54px rgba(0,0,0,.22);z-index:3}.map-wrap iframe{width:100%;height:100%;border:0;display:block}@media (max-width:1050px){.institute-section{padding:92px 0 82px}.institute-grid{min-height:620px;grid-template-columns:minmax(0,520px) minmax(320px,430px);column-gap:48px}.map-wrap{width:min(100%,430px);max-width:430px;height:auto;aspect-ratio:1 / 1;transform:none}}@media (max-width:820px){.institute-section{padding:78px 0 67px;background-position:58% 28%}.institute-grid{min-height:0;display:block}.institute-copy{max-width:620px;padding-top:0}.institute-copy h2{font-size:clamp(34px,6vw,48px)}.map-wrap{width:100%;max-width:none;height:auto;aspect-ratio:1.55 / 1;margin-top:44px;transform:none}}@media (max-width:560px){.institute-section{padding:71px 0 58px;background-position:60% 26%}.institute-copy h2{font-size:32px;line-height:1.12}.institute-copy>p{font-size:15px}.detail-block{display:block}.detail-block span{display:block;margin-bottom:7px}.map-wrap{height:auto;aspect-ratio:1.45 / 1;border-radius:18px;margin-top:44px;transform:none}}.final-cta{background:#2b2d2f;color:#f2f2f0;padding:123px 0 110px}.final-cta-inner{width:min(91vw,1120px);margin:0 auto;text-align:center}.final-cta h2{margin:0 auto;max-width:980px;font-size:clamp(40px,4.5vw,64px);line-height:1.08;font-weight:500;letter-spacing:.006em}.final-cta p{margin:28px auto 0;max-width:620px;font-size:16px;line-height:1.68;color:rgba(242,242,240,.62)}.final-cta .cta-button{display:inline-flex;align-items:center;justify-content:center;margin-top:38px;min-height:48px;padding:0 26px;border-radius:999px;background:#f1f1ef;color:#2b2d2f;text-decoration:none;font-size:13px;font-weight:500;letter-spacing:.025em}.site-footer{background:#222426;color:#f2f2f0;border-top:1px solid rgba(242,242,240,.08);padding:26px 0 30px}.footer-shell{width:min(91vw,1480px);margin:0 auto;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap}.site-footer span,.site-footer a{color:rgba(242,242,240,.45);text-decoration:none;font-size:12px;line-height:1.5}@media (max-width:1050px){.procedures-section{padding:116px 0 122px}.procedures-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:68px}.final-cta{padding:101px 0 91px}}@media (max-width:820px){.procedures-section{padding:92px 0 98px}.procedures-head h2{font-size:clamp(34px,6vw,48px)}.procedures-grid{margin-top:56px}.procedure-card{min-height:0}.final-cta{padding:88px 0 80px}.final-cta h2{font-size:clamp(36px,6.4vw,50px)}}@media (max-width:700px){.procedures-grid{grid-template-columns:1fr}.procedure-card h3{white-space:normal}}@media (max-width:560px){.procedures-section{padding:76px 0 80px}.procedures-head h2{font-size:32px;line-height:1.12}.procedures-head p{font-size:15px}.procedures-grid{grid-template-columns:1fr;margin-top:44px}.procedure-card{min-height:0;padding:24px 22px 24px;border-radius:20px}.procedure-card h3{min-height:0;font-size:21px;max-width:none;white-space:normal}.procedure-card p{width:auto;min-height:0;max-width:36ch}.final-cta{padding:74px 0 69px}.final-cta-inner{text-align:left;width:min(90vw,520px)}.final-cta h2{font-size:34px}.final-cta p{margin-left:0}.site-footer{padding:24px 0 28px}.footer-shell{display:block}.footer-shell>* + *{display:block;margin-top:8px}}
html{scroll-behavior:smooth}

.motion-intro{
  opacity:0;
  transform:translate3d(0,16px,0);
  transition:
    opacity .72s cubic-bezier(.2,.7,.2,1),
    transform .84s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--motion-delay,0ms);
  will-change:opacity,transform;
}

.intro-visible .motion-intro{
  opacity:1;
  transform:translate3d(0,0,0);
}

.motion-item{
  opacity:0;
  transform:translate3d(0,22px,0);
  transition:
    opacity .68s cubic-bezier(.2,.7,.2,1),
    transform .80s cubic-bezier(.2,.7,.2,1);
  transition-delay:var(--motion-delay,0ms);
  will-change:opacity,transform;
}

.motion-item.motion-visual{
  transform:translate3d(0,18px,0) scale(.985);
}

.motion-item.is-visible{
  opacity:1;
  transform:translate3d(0,0,0) scale(1);
}

.hero::before{
  transition:transform 1.65s cubic-bezier(.2,.7,.2,1);
}

html:not(.intro-visible) .hero::before{
  transform:scale(1.026);
}

.procedure-card{
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

@media (hover:hover) and (pointer:fine){
  .procedure-card:hover{
    transform:translateY(-3px);
    border-color:rgba(43,45,47,.11);
    box-shadow:0 12px 28px rgba(43,45,47,.055);
  }

  .cta-button,
  .nav-cta{
    transition:
      transform .22s ease,
      background-color .22s ease,
      border-color .22s ease;
  }

  .cta-button:hover,
  .nav-cta:hover{
    transform:translateY(-2px);
  }
}

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

  .motion-intro,
  .motion-item,
  .motion-item.motion-visual{
    opacity:1!important;
    transform:none!important;
    transition:none!important;
  }

  .hero::before{
    transition:none!important;
    transform:scale(1.008)!important;
  }

  .procedure-card,
  .cta-button,
  .nav-cta{
    transition:none!important;
  }
}


/* Responsive hardening */
:root{
  --page-max:1480px;
  --page-inline:clamp(24px,4.5vw,72px);
  --section-y:clamp(82px,7.4vw,140px);
}

.shell,
.paths-shell,
.leonardo-shell,
.procedures-shell,
.institute-shell,
.footer-shell{
  width:min(calc(100% - (var(--page-inline) * 2)),var(--page-max));
}

.hero .copy{
  width:min(70vw,980px);
}

.paths-section,
.leonardo-section,
.procedures-section{
  padding-top:var(--section-y);
  padding-bottom:var(--section-y);
}

.paths-stack,
.procedures-grid{
  gap:clamp(14px,1.15vw,20px);
}

.path-item{
  padding:clamp(34px,3vw,54px);
}

.procedure-card{
  padding:clamp(22px,1.8vw,28px);
}

.leonardo-shell{
  grid-template-columns:minmax(320px,.82fr) minmax(0,1.08fr);
  gap:clamp(56px,7vw,132px);
}

.institute-grid{
  grid-template-columns:minmax(0,560px) minmax(340px,480px);
  column-gap:clamp(48px,6vw,96px);
  row-gap:0;
}

@media (min-width:1700px){
  :root{
    --page-max:1660px;
    --page-inline:clamp(56px,5vw,96px);
  }

  header{height:126px}
  .logo img{width:186px}
  nav{gap:38px}

  .hero .copy{width:min(64vw,1060px)}
  h1{font-size:clamp(58px,3.5vw,70px)}

  .paths-intro,
  .procedures-head{max-width:960px}

  .leonardo-portrait{min-height:700px}
  .institute-grid{grid-template-columns:minmax(0,610px) minmax(420px,520px)}
  .map-wrap{width:min(100%,520px)}
}

@media (max-width:1320px){
  :root{
    --page-inline:clamp(28px,4vw,52px);
  }

  header{
    grid-template-columns:190px 1fr auto;
    gap:clamp(22px,3vw,40px);
  }

  .logo img{width:156px}
  nav{gap:clamp(16px,1.8vw,26px)}
  nav a{font-size:12px}
  .nav-cta{font-size:12px;padding-inline:16px}

  .hero .copy{width:min(78vw,900px)}
  h1{font-size:clamp(44px,4.1vw,58px)}

  .leonardo-shell{
    grid-template-columns:minmax(310px,.86fr) minmax(0,1fr);
    gap:clamp(48px,5vw,76px);
  }

  .leonardo-portrait{min-height:580px}

  .procedure-card h3{
    font-size:clamp(17px,1.5vw,20px);
  }

  .procedure-card p{
    width:auto;
    max-width:100%;
  }

  .institute-grid{
    grid-template-columns:minmax(0,1fr) minmax(330px,420px);
    gap:clamp(36px,4vw,60px);
  }

  .map-wrap{width:100%}
}

@media (max-width:1120px){
  header{
    grid-template-columns:160px 1fr auto;
    gap:20px;
    height:100px;
  }

  .logo img{width:142px}
  nav{gap:16px}
  nav a{font-size:11px;letter-spacing:.015em}
  .nav-cta{margin-left:0;font-size:11px;padding-inline:14px}

  .hero .copy{width:min(82vw,800px)}
  h1{font-size:clamp(38px,4.5vw,50px)}

  .paths-title span{white-space:normal}

  .leonardo-shell{
    grid-template-columns:minmax(300px,.88fr) minmax(0,1fr);
    gap:42px;
  }

  .leonardo-portrait{min-height:520px}

  .institute-grid{
    grid-template-columns:minmax(0,1fr) minmax(300px,380px);
    gap:36px;
  }
}

@media (max-width:1120px){
  :root{
    --page-inline:clamp(24px,5vw,42px);
    --section-y:clamp(73px,9.3vw,104px);
  }

  header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:92px;
    height:92px;
  }

  nav{display:none}
  .logo img{width:146px}
  .nav-cta{
    min-height:42px;
    padding-inline:16px;
    font-size:11px;
  }

  .hero .copy{width:min(88vw,760px)}
  .headline>.headline-desktop{display:none}
  .headline>.headline-compact{display:block}
  h1{font-size:clamp(34px,5.4vw,48px)}
  .hero-eyebrow{font-size:10px;letter-spacing:.075em}

  .paths-title{font-size:clamp(34px,5.2vw,48px)}
  .paths-lead{max-width:680px}
  .path-item{padding:clamp(32px,4vw,42px)}

  .leonardo-shell{
    grid-template-columns:1fr;
    gap:52px;
  }

  .leonardo-portrait{
    width:min(100%,720px);
    min-height:560px;
  }

  .leonardo-copy{max-width:760px}

  .procedures-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .procedure-card p{
    width:auto;
    min-height:68px;
  }

  .procedure-card h3{
    font-size:19px;
    white-space:normal;
  }

  .institute-grid{
    min-height:0;
    grid-template-columns:1fr;
    grid-template-rows:auto;
    gap:44px;
  }

  .institute-copy,
  .institute-details,
  .map-wrap{
    grid-column:1;
    grid-row:auto;
  }

  .institute-copy{padding-top:0}
  .institute-details{margin-top:0}
  .map-wrap{
    width:min(100%,620px);
    justify-self:start;
    aspect-ratio:1.35/1;
  }
}

@media (max-width:700px){
  :root{
    --page-inline:clamp(20px,5vw,28px);
    --section-y:clamp(60px,11.2vw,76px);
  }

  header{height:82px;min-height:82px}
  .logo img{width:128px}
  .nav-cta{
    min-height:38px;
    padding-inline:12px;
    font-size:10px;
  }

  .content{padding:52px 0 38px}
  .hero .copy{width:100%}
  .hero-eyebrow{
    max-width:34ch;
    margin-bottom:14px;
    font-size:9px;
    line-height:1.45;
    letter-spacing:.05em;
  }

  h1{
    font-size:clamp(27px,7.1vw,38px);
    line-height:1.08;
  }

  .headline>span>span{
    white-space:normal;
  }

  .paths-title{
    font-size:clamp(28px,7vw,36px);
    line-height:1.13;
  }

  .paths-lead,
  .path-item p,
  .procedures-head p,
  .institute-copy>p{
    font-size:15px;
  }

  .path-item{
    padding:28px 24px 32px;
    border-radius:20px;
  }

  .service-list{
    display:block;
    margin-top:24px;
  }

  .service-list span{
    display:block;
    white-space:normal;
  }

  .service-list span:not(:last-child)::after{display:none}

  .leonardo-portrait{
    min-height:auto;
    aspect-ratio:4/5;
    border-radius:22px;
  }

  .leonardo-copy h2{
    font-size:clamp(30px,8vw,38px);
  }

  .leonardo-intro{font-size:17px}
  .leonardo-body{font-size:15px}

  .leonardo-meta{
    grid-template-columns:1fr;
    gap:12px;
  }

  .procedures-grid{
    grid-template-columns:1fr;
    margin-top:44px;
  }

  .procedure-card{
    padding:24px 22px;
    border-radius:20px;
  }

  .procedure-card h3{
    font-size:20px;
  }

  .procedure-card p{
    min-height:0;
    font-size:14px;
  }

  .institute-copy h2,
  .procedures-head h2,
  .final-cta h2{
    font-size:clamp(30px,8vw,38px);
  }

  .institute-details{
    gap:18px;
  }

  .detail-block{
    display:block;
  }

  .detail-block span{
    display:block;
    margin-bottom:7px;
  }

  .map-wrap{
    width:100%;
    aspect-ratio:1.25/1;
    border-radius:18px;
  }

  .final-cta{
    padding:67px 0 63px;
  }

  .final-cta-inner{
    width:min(calc(100% - (var(--page-inline) * 2)),620px);
    text-align:left;
  }

  .footer-shell{
    display:block;
  }

  .footer-shell>* + *{
    display:block;
    margin-top:8px;
  }
}

@media (max-width:420px){
  .logo img{width:116px}
  .nav-cta{
    max-width:142px;
    text-align:center;
    line-height:1.15;
  }

  .hero-eyebrow{max-width:30ch}
  h1{font-size:clamp(25px,7.8vw,32px)}

  .path-item h3{font-size:23px}
  .leonardo-intro{font-size:16px}
  .map-wrap{aspect-ratio:1.12/1}
}


/* Mobile headline + CTA refinements */
.mobile-section-cta{
  display:none;
}

@media (max-width:700px){
  .nav-cta{
    min-height:44px;
    padding-inline:16px;
    font-size:11px;
    font-weight:500;
    letter-spacing:.018em;
  }

  .hero .copy{
    width:100%;
  }

  .headline>.headline-compact>span{
    white-space:nowrap;
  }

  h1{
    font-size:clamp(24px,6.55vw,31px);
    line-height:1.09;
    letter-spacing:.002em;
  }

  .paths-title{
    font-size:clamp(26px,6.45vw,32px);
    line-height:1.14;
    max-width:100%;
  }

  .paths-title span{
    white-space:normal;
  }

  .leonardo-copy h2,
  .procedures-head h2,
  .institute-copy h2,
  .final-cta h2{
    font-size:clamp(22px,5.9vw,28px);
    line-height:1.12;
  }

  .procedures-head h2,
  .institute-copy h2{
    max-width:100%;
  }

  .institute-copy>p{
    width:90%;
    max-width:90%;
  }

  .mobile-section-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    margin-top:32px;
    padding:0 22px;
    border-radius:999px;
    background:#2b2d2f;
    color:#f2f2f0;
    text-decoration:none;
    font-size:13px;
    font-weight:500;
    letter-spacing:.02em;
  }

  .paths-shell>.mobile-section-cta,
  .procedures-shell>.mobile-section-cta{
    width:100%;
  }
}

@media (max-width:420px){
  .nav-cta{
    max-width:none;
    min-height:44px;
    padding-inline:14px;
    font-size:10.5px;
    white-space:nowrap;
  }

  .headline>.headline-compact>span{
    white-space:nowrap;
  }

  h1{
    font-size:clamp(22px,6.35vw,27px);
  }

  .paths-title{
    font-size:clamp(25px,6.3vw,29px);
  }

  .leonardo-copy h2,
  .procedures-head h2,
  .institute-copy h2,
  .final-cta h2{
    font-size:clamp(22px,5.8vw,25px);
  }
}

@media (max-width:700px){
  .hero,
  .shell{
    min-height:88svh;
  }
}

@media (min-width:1121px){
  .procedure-card{
    min-height:142px;
    padding:26px 30px 24px;
  }

  .procedure-card p{
    width:60ch;
    max-width:100%;
    min-height:45px;
    font-size:14px;
    line-height:1.6;
  }
}

@media (max-width:700px){
  .paths-intro{
    max-width:100%;
  }

  .paths-lead{
    width:min(100%,38ch);
    max-width:38ch;
    
    hyphens:none;
  }
}

@media (max-width:420px){
  .paths-lead{
    width:min(100%,36ch);
    max-width:36ch;
  }
}


/* Final mobile text refinements */
.paths-lead-first,
.paths-lead-second{
  display:inline;
}

@media (max-width:700px){
  .hero-eyebrow{
    max-width:none;
    width:max-content;
    white-space:nowrap;
    font-size:10.5px;
    letter-spacing:.04em;
  }

  .paths-intro{
    width:100%;
    max-width:100%;
  }

  .paths-lead{
    width:100%;
    max-width:none;
    font-size:15px;
    line-height:1.62;
    letter-spacing:0;
    
  }

  .paths-lead-first,
  .paths-lead-second{
    display:block;
    max-width:none;
  }

  .paths-lead-second{
    margin-top:24px;
  }
}

@media (max-width:420px){
  .hero-eyebrow{
    max-width:none;
    width:max-content;
    white-space:nowrap;
    font-size:10px;
    letter-spacing:.035em;
  }

  .paths-lead{
    width:100%;
    max-width:none;
    font-size:14.5px;
    line-height:1.6;
  }

  .paths-lead-second{
    margin-top:22px;
  }
}


/* Mobile widow + button refinements */
.no-break{
  white-space:nowrap;
}

@media (max-width:700px){
  .nav-cta{
    min-height:48px;
    padding-inline:18px;
  }

  .mobile-section-cta{
    min-height:54px;
    padding-inline:24px;
  }

  .final-cta .cta-button{
    min-height:54px;
    padding-inline:28px;
  }
}

@media (max-width:420px){
  .nav-cta{
    min-height:47px;
    padding-inline:15px;
  }

  .mobile-section-cta,
  .final-cta .cta-button{
    min-height:52px;
  }
}


/* Approved horizontal card layouts */
@media (min-width:1121px){
  .path-item{
    display:grid;
    grid-template-columns:minmax(500px,.88fr) minmax(0,1.12fr);
    gap:clamp(40px,4.5vw,68px);
    align-items:center;
    min-height:164px;
    padding:34px 38px;
  }

  .path-main{
    min-width:0;
  }

  .path-item h3{
    margin:0;
    max-width:none;
    font-size:clamp(24px,1.72vw,29px);
    line-height:1.12;
    letter-spacing:.004em;
    white-space:nowrap;
  }

  .path-item>p{
    margin:0;
    width:68ch;
    max-width:100%;
    font-size:15px;
    line-height:1.68;
  }

  .path-main .service-list{
    margin-top:24px;
    max-width:none;
  }

  .procedure-card{
    display:grid;
    grid-template-columns:minmax(190px,.44fr) minmax(0,1fr);
    gap:30px;
    align-items:center;
    min-height:132px;
    padding:26px 30px;
  }

  .procedure-card h3{
    margin:0;
    white-space:nowrap;
  }

  .procedure-card p{
    margin:0;
    width:auto;
    max-width:100%;
    min-height:0;
    padding:0;
    border:0;
    font-size:14px;
    line-height:1.62;
  }
}



@media (max-width:1120px){
  .path-main{
    min-width:0;
  }

  .path-item{
    display:block;
  }

  .path-main .service-list{
    margin-top:24px;
  }

  .path-item>p{
    margin-top:22px;
  }

  .procedure-card{
    display:block;
  }

  .procedure-card p{
    margin-top:18px;
    padding:0;
    border:0;
  }
}

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


/* Desktop line-balance refinements */
.balanced-card-break{
  display:none;
}

@media (min-width:1121px){
  .path-item{
    grid-template-columns:minmax(500px,.88fr) minmax(0,1.12fr);
    gap:clamp(40px,4.5vw,68px);
  }

  .path-item>p{
    width:68ch;
    max-width:100%;
    font-size:15px;
    line-height:1.68;
  }

  .procedure-card{
    grid-template-columns:minmax(190px,.44fr) minmax(0,1fr);
    gap:30px;
  }

  .procedure-card p{
    width:auto;
    max-width:100%;
    font-size:14px;
    line-height:1.62;
  }

  .balanced-card-break{
    display:block;
  }

  .procedure-title-two-lines{
    white-space:normal;
  }

  .procedure-title-two-lines span{
    display:block;
  }
}



@media (max-width:1120px){
  .procedure-title-two-lines span{
    display:inline;
  }

  .procedure-title-two-lines span + span::before{
    content:" ";
  }
}



/* Second section natural line balance */
@media (min-width:1121px){
  .path-item{
    grid-template-columns:minmax(500px,.88fr) minmax(0,1.12fr);
    gap:clamp(40px,4.5vw,68px);
  }

  .path-item>p{
    width:68ch;
    max-width:100%;
    font-size:15px;
    line-height:1.68;
    
  }
}



/* Third path card line balance */
@media (min-width:1121px){
  .path-item:nth-child(3)>p{
    width:80ch;
    max-width:100%;
  }
}


/* Institute definitive layout fix */
.institute-no-break{
  white-space:nowrap;
}

@media (min-width:1121px){
  .institute-grid{
    min-height:560px;
    display:grid;
    grid-template-columns:minmax(0,600px) minmax(440px,560px);
    grid-template-rows:1fr;
    align-items:center;
    align-content:initial;
    justify-content:space-between;
    column-gap:clamp(56px,6vw,96px);
    row-gap:0;
  }

  .institute-left{
    grid-column:1;
    grid-row:1;
    min-width:0;
    align-self:center;
  }

  .institute-copy{
    grid-column:auto;
    grid-row:auto;
    max-width:600px;
    padding-top:0;
  }

  .institute-copy>p{
    max-width:600px;
    
  }

  .institute-details{
    grid-column:auto;
    grid-row:auto;
    max-width:600px;
    margin-top:30px;
    padding-top:22px;
  }

  .map-wrap{
    grid-column:2;
    grid-row:1;
    align-self:center;
    justify-self:end;
    width:min(100%,560px);
    max-width:560px;
    height:auto;
    aspect-ratio:1.16 / 1;
    transform:none;
  }
}

@media (min-width:1700px){
  .institute-grid{
    grid-template-columns:minmax(0,620px) minmax(480px,600px);
  }

  .institute-copy,
  .institute-copy>p,
  .institute-details{
    max-width:620px;
  }

  .map-wrap{
    width:min(100%,600px);
    max-width:600px;
    aspect-ratio:1.18 / 1;
  }
}

@media (min-width:1121px) and (max-width:1320px){
  .institute-grid{
    grid-template-columns:minmax(0,1fr) minmax(360px,460px);
    column-gap:clamp(36px,4vw,54px);
  }

  .map-wrap{
    width:100%;
    max-width:460px;
    aspect-ratio:1.16 / 1;
  }
}

@media (max-width:1120px){
  .institute-grid{
    min-height:0;
    display:block;
  }

  .institute-left{
    display:block;
  }

  .institute-copy{
    max-width:620px;
    padding-top:0;
  }

  .institute-details{
    margin-top:30px;
    padding-top:22px;
  }

  .map-wrap{
    width:100%;
    max-width:none;
    margin-top:40px;
    aspect-ratio:1.35 / 1;
    transform:none;
  }
}

@media (max-width:560px){
  .institute-details{
    margin-top:26px;
    padding-top:20px;
  }

  .map-wrap{
    margin-top:36px;
    aspect-ratio:1.28 / 1;
  }
}


/* Concept V2: hero, treatment paths and procedures carousel */
.hero .content.hero-content{
  flex:1;
  display:flex;
  align-items:stretch;
  padding:64px 0 76px;
}

.hero-layout{
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.62fr);
  gap:clamp(70px,9vw,160px);
  align-items:stretch;
}

.hero .copy.hero-copy{
  width:auto;
  max-width:860px;
  align-self:start;
}

.hero-headline{
  max-width:860px;
  font-size:clamp(52px,5.2vw,82px);
  line-height:1.02;
  letter-spacing:-.018em;
}

.hero-headline>span{
  display:block;
  white-space:nowrap;
}

.hero-description{
  margin:26px 0 0;
  max-width:560px;
  font-size:17px;
  line-height:1.65;
  letter-spacing:0;
  color:rgba(242,242,240,.73);
}

.hero-services{
  align-self:end;
  border-top:1px solid rgba(242,242,240,.17);
}

.hero-service{
  min-height:66px;
  display:flex;
  align-items:center;
  gap:15px;
  border-bottom:1px solid rgba(242,242,240,.17);
  color:rgba(242,242,240,.82);
  font-size:14px;
  line-height:1.3;
}

.hero-service-icon{
  width:31px;
  height:31px;
  flex:0 0 31px;
  display:grid;
  place-items:center;
  border:1px solid rgba(242,242,240,.24);
  border-radius:50%;
}

.hero-service-icon svg{
  width:14px;
  height:14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.45;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.paths-stack{
  margin-top:72px;
  gap:20px;
}

.path-item.path-card{
  min-height:403px;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(370px,.68fr)!important;
  gap:0!important;
  align-items:stretch!important;
  overflow:hidden;
  border-radius:30px;
}

.path-content{
  min-width:0;
  align-self:center;
  padding:44px 52px;
}

.path-item.path-card .path-content h3{
  margin:0;
  max-width:none;
  font-size:clamp(30px,2.45vw,40px);
  line-height:1.1;
  font-weight:500;
  letter-spacing:.004em;
  white-space:normal;
}

.path-item.path-card .path-content>p{
  margin:24px 0 0;
  width:auto;
  max-width:690px;
  font-size:16px;
  line-height:1.68;
  letter-spacing:.008em;
  color:rgba(43,45,47,.66);
}

.path-item.path-card .service-list{
  margin-top:28px;
  max-width:none;
}

.path-image{
  position:relative;
  min-height:403px;
  overflow:hidden;
  background:#dededb;
}

.path-image img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

.path-card:nth-child(1) .path-image img{object-position:68% 46%}
.path-card:nth-child(2) .path-image img{object-position:50% 31%}
.path-card:nth-child(3) .path-image img{object-position:55% 42%}

.procedures-carousel-wrap{
  margin-top:68px;
  position:relative;
}

.procedures-carousel{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 54px)/4);
  gap:18px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  overscroll-behavior-inline:contain;
  padding-bottom:4px;
}

.procedures-carousel::-webkit-scrollbar{display:none}

.procedures-carousel .procedure-card{
  scroll-snap-align:start;
  display:block!important;
  min-width:0;
  min-height:0!important;
  padding:0!important;
  overflow:hidden;
  border:1px solid rgba(43,45,47,.08);
  border-radius:22px;
  background:#fff;
}

.procedure-media{
  aspect-ratio:1 / 1.02;
  overflow:hidden;
  background:#dededb;
}

.procedure-media img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}

.procedures-carousel .procedure-card:nth-child(3n+1) .procedure-media img{object-position:65% 45%}
.procedures-carousel .procedure-card:nth-child(3n+2) .procedure-media img{object-position:50% 30%}
.procedures-carousel .procedure-card:nth-child(3n+3) .procedure-media img{object-position:55% 42%}

.procedure-copy{
  padding:20px 20px 24px;
}

.procedures-carousel .procedure-card h3{
  margin:0;
  min-height:0;
  max-width:none;
  font-size:19px;
  line-height:1.22;
  font-weight:500;
  letter-spacing:0;
  white-space:normal;
}

.procedures-carousel .procedure-card p{
  margin:12px 0 0;
  width:auto;
  min-height:0;
  max-width:none;
  padding:0;
  border:0;
  font-size:13.5px;
  line-height:1.55;
  color:rgba(43,45,47,.62);
}

.procedures-carousel-controls{
  display:flex;
  justify-content:flex-end;
  gap:9px;
  margin-top:22px;
}

.procedures-carousel-btn{
  width:42px;
  height:42px;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid rgba(43,45,47,.16);
  border-radius:50%;
  background:transparent;
  color:#2b2d2f;
  cursor:pointer;
}

.procedures-carousel-btn svg{
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media (hover:hover) and (pointer:fine){
  .procedures-carousel .procedure-card:hover .procedure-media img{
    transform:scale(1.025);
  }
}

@media (max-width:1120px){
  .hero-layout{
    grid-template-columns:minmax(0,1fr) minmax(280px,.55fr);
    gap:50px;
  }

  .hero-headline{
    font-size:clamp(43px,5vw,60px);
  }

  .path-item.path-card{
    grid-template-columns:minmax(0,1fr) 36%!important;
  }

  .path-content{
    padding:40px 42px;
  }

  .procedures-carousel{
    grid-auto-columns:calc((100% - 36px)/3);
  }
}

@media (max-width:1120px){
  .hero .content.hero-content{
    padding:48px 0 54px;
  }

  .hero-layout{
    grid-template-columns:1fr;
    gap:48px;
  }

  .hero-services{
    width:min(100%,620px);
  }

  .path-item.path-card{
    display:flex!important;
    flex-direction:column;
    min-height:0;
  }

  .path-image{
    order:-1;
    min-height:250px;
  }

  .path-content{
    padding:36px 34px 40px;
  }

  .procedures-carousel{
    grid-auto-columns:calc((100% - 18px)/2);
  }
}

@media (max-width:700px){
  .hero .content.hero-content{
    padding:38px 0 40px;
  }

  .hero-headline{
    font-size:clamp(34px,9vw,46px);
    line-height:1.04;
  }

  .hero-headline>span{
    white-space:normal;
  }

  .hero-description{
    margin-top:20px;
    font-size:15px;
  }

  .hero-services{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    border-top:0;
  }

  .hero-service{
    min-height:58px;
    padding:0 12px;
    border:1px solid rgba(242,242,240,.16);
    border-radius:16px;
    background:rgba(32,34,36,.16);
    font-size:12px;
  }

  .path-image{
    min-height:220px;
  }

  .path-content{
    padding:30px 24px 34px;
  }

  .path-item.path-card .path-content h3{
    font-size:27px;
  }

  .path-item.path-card .path-content>p{
    margin-top:20px;
    font-size:14px;
  }

  .path-item.path-card .service-list{
    margin-top:24px;
  }

  .procedures-carousel-wrap{
    margin-top:46px;
  }

  .procedures-carousel{
    grid-auto-columns:82%;
  }

  .procedure-copy{
    padding:18px 18px 22px;
  }
}


/* Hero full viewport height */
.hero,
.hero .shell{
  min-height:100vh;
}

@supports (height:100svh){
  @media (max-width:1120px){
    .hero,
    .hero .shell{
      min-height:100svh;
    }
  }
}


/* Refined institutional footer */
.site-footer{
  background:#1f2123;
  color:#f2f2f0;
  border-top:1px solid rgba(242,242,240,.08);
  padding:0;
}

.footer-shell{
  width:min(calc(100% - (var(--page-inline) * 2)),var(--page-max));
  margin:0 auto;
  display:block;
}

.footer-main{
  display:grid;
  grid-template-columns:minmax(280px,1.05fr) minmax(520px,1.55fr);
  gap:clamp(70px,8vw,140px);
  padding:82px 0 74px;
  align-items:start;
}

.footer-brand{
  max-width:410px;
}

.footer-logo{
  display:inline-flex;
  width:150px;
  text-decoration:none;
}

.footer-logo img{
  display:block;
  width:100%;
  height:auto;
  filter:brightness(2.25) grayscale(1);
  opacity:.94;
}

.footer-brand>p{
  margin:24px 0 0;
  max-width:520px;
  font-size:15px;
  line-height:1.72;
  color:rgba(242,242,240,.54);
}

.footer-brand>p span{
  display:block;
  white-space:nowrap;
}

.footer-columns{
  display:grid;
  grid-template-columns:.8fr .9fr 1.15fr;
  gap:clamp(34px,4vw,74px);
}

.footer-column{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:13px;
}

.footer-label{
  margin-bottom:8px;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:500;
  letter-spacing:.10em;
  text-transform:uppercase;
  color:rgba(242,242,240,.38)!important;
}

.site-footer .footer-column>a{
  position:relative;
  display:inline-flex;
  width:max-content;
  max-width:100%;
  color:rgba(242,242,240,.76);
  text-decoration:none;
  font-size:14px;
  line-height:1.45;
  transition:color .2s ease;
}

.site-footer .footer-column>a:not(.footer-cta)::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-3px;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .24s ease;
}

.site-footer .footer-column>a:not(.footer-cta):hover{
  color:#f2f2f0;
}

.site-footer .footer-column>a:not(.footer-cta):hover::after{
  transform:scaleX(1);
  transform-origin:left;
}

.footer-column>p{
  margin:0;
  font-size:14px;
  line-height:1.72;
  color:rgba(242,242,240,.66);
}

.footer-bottom{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
  border-top:1px solid rgba(242,242,240,.10);
}

.site-footer .footer-bottom span{
  color:rgba(242,242,240,.52);
  font-size:12px;
  line-height:1.5;
  letter-spacing:.01em;
}

@media (max-width:1050px){
  .footer-main{
    grid-template-columns:1fr;
    gap:58px;
    padding:72px 0 64px;
  }

  .footer-brand{
    max-width:520px;
  }

  .footer-columns{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:42px;
  }
}

@media (max-width:700px){
  .footer-main{
    gap:48px;
    padding:58px 0 50px;
  }

  .footer-logo{
    width:132px;
  }

  .footer-brand>p{
    margin-top:22px;
    font-size:14px;
  }

  .footer-columns{
    grid-template-columns:1fr 1fr;
    gap:42px 28px;
  }

  .footer-location{
    grid-column:1 / -1;
  }

  .footer-bottom{
    min-height:0;
    padding:24px 0 28px;
    display:block;
  }

  .footer-bottom span{
    display:block;
  }

  .footer-bottom span + span{
    margin-top:7px;
  }
}

@media (max-width:420px){
  .footer-columns{
    grid-template-columns:1fr;
    gap:36px;
  }

  .footer-location{
    grid-column:auto;
  }

  .site-footer .footer-cta{
    min-height:44px;
  }
}


@media (max-width:700px){
  .footer-brand>p span{
    white-space:normal;
  }
}




/* Footer definitive */
.site-footer{
  background:#1f2123;
  color:#f2f2f0;
  border-top:1px solid rgba(242,242,240,.08);
  padding:0;
}

.footer-shell{
  width:min(calc(100% - (var(--page-inline) * 2)),var(--page-max));
  margin:0 auto;
  display:block;
}

.footer-logo{
  display:inline-flex!important;
  width:96px!important;
  max-width:96px!important;
}

.footer-logo img{
  display:block!important;
  width:96px!important;
  max-width:96px!important;
  height:auto!important;
}

.footer-bottom{
  min-height:82px!important;
  padding:24px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:28px!important;
  border-top:1px solid rgba(242,242,240,.18)!important;
}

.site-footer .footer-bottom span{
  display:block!important;
  margin:0!important;
  color:rgba(242,242,240,.78)!important;
  font-size:12px!important;
  line-height:1.5!important;
  opacity:1!important;
  visibility:visible!important;
}

.site-footer .footer-bottom .footer-credit{
  color:#f2f2f0!important;
}

@media (max-width:700px){
  .footer-logo,
  .footer-logo img{
    width:88px!important;
    max-width:88px!important;
  }

  .footer-bottom{
    display:block!important;
    min-height:0!important;
  }

  .footer-bottom span + span{
    margin-top:7px!important;
  }
}



/* Hero content vertical centering */
.hero .content.hero-content{
  display:flex;
  align-items:center;
}

.hero-layout{
  align-items:center;
}

.hero .copy.hero-copy{
  align-self:center;
}


/* Global logo size refinement */
.logo img{
  width:150px!important;
  max-width:150px!important;
}

.footer-logo,
.footer-logo img{
  width:82px!important;
  max-width:82px!important;
}

@media (min-width:1700px){
  .logo img{
    width:158px!important;
    max-width:158px!important;
  }
}

@media (max-width:1320px){
  .logo img{
    width:132px!important;
    max-width:132px!important;
  }
}

@media (max-width:1120px){
  .logo img{
    width:120px!important;
    max-width:120px!important;
  }
}

@media (max-width:1120px){
  .logo img{
    width:124px!important;
    max-width:124px!important;
  }
}

@media (max-width:700px){
  .logo img{
    width:108px!important;
    max-width:108px!important;
  }

  .footer-logo,
  .footer-logo img{
    width:72px!important;
    max-width:72px!important;
  }
}

@media (max-width:420px){
  .logo img{
    width:100px!important;
    max-width:100px!important;
  }
}


/* Hero copy centered, services keep original lower position */
.hero .content.hero-content{
  display:flex;
  align-items:stretch;
}

.hero-layout{
  align-items:stretch;
}

.hero .copy.hero-copy{
  align-self:center;
}

.hero-services{
  align-self:end;
}


/* Final navbar logo + footer legal row */
.logo{
  width:120px!important;
  max-width:120px!important;
}

.logo img{
  width:120px!important;
  max-width:120px!important;
  height:auto!important;
  max-height:none!important;
}

.footer-bottom,
.footer-bottom.motion-item,
.footer-bottom.is-visible{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}

.footer-bottom{
  min-height:82px!important;
  padding:24px 0!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:28px!important;
  border-top:1px solid rgba(242,242,240,.18)!important;
}

.site-footer .footer-legal,
.site-footer .footer-credit{
  display:block!important;
  margin:0!important;
  opacity:1!important;
  visibility:visible!important;
  color:rgba(242,242,240,.76)!important;
  font-size:12px!important;
  line-height:1.5!important;
}

.site-footer .footer-credit{
  color:#f2f2f0!important;
}

@media (min-width:1700px){
  .logo,
  .logo img{
    width:126px!important;
    max-width:126px!important;
  }
}

@media (max-width:1320px){
  .logo,
  .logo img{
    width:106px!important;
    max-width:106px!important;
  }
}

@media (max-width:1120px){
  .logo,
  .logo img{
    width:96px!important;
    max-width:96px!important;
  }
}

@media (max-width:1120px){
  .logo,
  .logo img{
    width:99px!important;
    max-width:99px!important;
  }
}

@media (max-width:700px){
  .logo,
  .logo img{
    width:86px!important;
    max-width:86px!important;
  }

  .footer-bottom{
    display:block!important;
    min-height:0!important;
  }

  .footer-credit{
    margin-top:7px!important;
  }
}

@media (max-width:420px){
  .logo,
  .logo img{
    width:80px!important;
    max-width:80px!important;
  }
}


/* Mobile hero services + footer legal alignment */
@media (max-width:700px){
  .hero-services{
    display:block!important;
    width:100%;
    border-top:1px solid rgba(242,242,240,.17)!important;
  }

  .hero-service{
    min-height:58px;
    padding:0!important;
    border:0!important;
    border-bottom:1px solid rgba(242,242,240,.17)!important;
    border-radius:0!important;
    background:transparent!important;
  }

  .footer-bottom{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:18px!important;
    text-align:center!important;
  }

  .site-footer .footer-legal,
  .site-footer .footer-credit{
    width:100%;
    text-align:center!important;
    margin:0!important;
  }

  .footer-credit{
    margin-top:0!important;
  }
}

/* Institute details removed */
.institute-details{
  display:none!important;
}




/* Final hero background + footer alignment + nav logo */
@media (min-width:1121px){
  .hero::after{
    background:
      linear-gradient(
        180deg,
        rgba(15,17,19,.68) 0%,
        rgba(15,17,19,.42) 14%,
        rgba(15,17,19,.16) 30%,
        rgba(15,17,19,0) 48%
      ),
      linear-gradient(
        90deg,
        rgba(25,27,29,.80) 0%,
        rgba(25,27,29,.67) 34%,
        rgba(25,27,29,.38) 62%,
        rgba(25,27,29,.18) 100%
      ),
      linear-gradient(
        180deg,
        rgba(18,19,20,.10) 0%,
        rgba(18,19,20,.03) 58%,
        rgba(18,19,20,.20) 100%
      );
  }

  .footer-columns{
    justify-self:end;
    width:min(100%,760px);
    justify-items:end;
    text-align:right;
  }

  .footer-column{
    align-items:flex-end;
    text-align:right;
  }
}

.logo,
.logo img{
  width:60px!important;
  max-width:60px!important;
}

@media (min-width:1700px){
  .logo,
  .logo img{
    width:63px!important;
    max-width:63px!important;
  }
}

@media (max-width:1320px){
  .logo,
  .logo img{
    width:53px!important;
    max-width:53px!important;
  }
}

@media (max-width:1120px){
  .logo,
  .logo img{
    width:48px!important;
    max-width:48px!important;
  }
}

@media (max-width:1120px){
  .logo,
  .logo img{
    width:50px!important;
    max-width:50px!important;
  }
}

@media (max-width:700px){
  .logo,
  .logo img{
    width:43px!important;
    max-width:43px!important;
  }

  .footer-columns{
    justify-self:stretch;
    width:100%;
    justify-items:start;
    text-align:left;
  }

  .footer-column{
    align-items:flex-start;
    text-align:left;
  }
}

@media (max-width:420px){
  .logo,
  .logo img{
    width:40px!important;
    max-width:40px!important;
  }
}


/* Navbar logo size correction */
.logo,
.logo img{
  width:78px!important;
  max-width:78px!important;
}

@media (min-width:1700px){
  .logo,
  .logo img{
    width:82px!important;
    max-width:82px!important;
  }
}

@media (max-width:1320px){
  .logo,
  .logo img{
    width:69px!important;
    max-width:69px!important;
  }
}

@media (max-width:1120px){
  .logo,
  .logo img{
    width:62px!important;
    max-width:62px!important;
  }
}

@media (max-width:1120px){
  .logo,
  .logo img{
    width:65px!important;
    max-width:65px!important;
  }
}

@media (max-width:700px){
  .logo,
  .logo img{
    width:56px!important;
    max-width:56px!important;
  }
}

@media (max-width:420px){
  .logo,
  .logo img{
    width:52px!important;
    max-width:52px!important;
  }
}


/* Footer description refinement */
.footer-brand>p{
  margin:24px 0 0;
  max-width:520px;
  font-size:14px!important;
  line-height:1.65!important;
  color:rgba(242,242,240,.62);
}

.footer-brand>p span{
  display:block;
  white-space:nowrap;
}

@media (max-width:700px){
  .footer-brand>p{
    font-size:14px!important;
    line-height:1.62!important;
  }

  .footer-brand>p span{
    white-space:normal;
  }
}

/* Match footer body copy and location to navigation typography. */
.site-footer .footer-brand>p,
.site-footer .footer-brand>p span,
.site-footer .footer-location>p,
.site-footer .footer-location>p>a{
  color:rgba(242,242,240,.76);
  font-size:14px!important;
  font-weight:400;
  line-height:1.45!important;
  opacity:1;
}
.site-footer .footer-location>p>a{
  display:inline-block;
  text-decoration:none;
  transition:color .2s ease;
}
.site-footer .footer-location>p>a:hover,
.site-footer .footer-location>p>a:focus-visible{
  color:#f2f2f0;
}

/* Strengthen the existing scroll reveal for the three treatment paths. */
@media (prefers-reduced-motion:no-preference){
  .path-item.path-card.motion-item{
    transform:translate3d(0,32px,0);
  }
  .path-item.path-card.motion-item.is-visible{
    transform:translate3d(0,0,0);
  }
  .path-card.motion-item .path-content{
    opacity:0;
    transform:translate3d(0,14px,0);
    transition:opacity .65s ease,transform .75s cubic-bezier(.2,.7,.2,1);
    transition-delay:calc(var(--motion-delay,0ms) + 100ms);
  }
  .path-card.motion-item.is-visible .path-content{
    opacity:1;
    transform:none;
  }
  .path-card.motion-item .path-image img{
    transform:scale(1.045);
    transition:transform 1s cubic-bezier(.2,.7,.2,1);
    transition-delay:var(--motion-delay,0ms);
  }
  .path-card.motion-item.is-visible .path-image img{
    transform:scale(1);
  }
}

/* About: align both columns with the shared page margins. */
.leonardo-shell{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:clamp(40px,5vw,88px);
  align-items:center;
}
.leonardo-portrait{
  width:100%;
  max-width:none;
  min-width:0;
}
.leonardo-copy{
  width:100%;
  min-width:0;
  max-width:none;
  text-align:left;
}
.leonardo-copy .leonardo-intro,
.leonardo-copy .leonardo-body,
.leonardo-copy .leonardo-meta{
  max-width:none;
}
@media (min-width:1121px){
  .leonardo-portrait{
    min-height:0;
    aspect-ratio: .92;
    align-self:center;
  }
  .leonardo-meta{
    grid-template-columns:minmax(125px,.36fr) minmax(0,1fr);
    gap:clamp(20px,2.8vw,48px);
  }
}
@media (max-width:1120px){
  .leonardo-shell{
    grid-template-columns:minmax(0,1fr);
    gap:52px;
  }
  .leonardo-portrait{
    min-height:0;
    aspect-ratio: 5 / 4;
  }
}
@media (max-width:560px){
  .leonardo-shell{gap:46px}
  .leonardo-portrait{aspect-ratio:4 / 5}
}

/* About: put the existing heading above the portrait on tablet and mobile. */
@media (max-width:1120px){
  .leonardo-shell{
    row-gap:0;
  }
  .leonardo-copy{
    display:contents;
  }
  .leonardo-copy>h2{
    grid-column:1;
    grid-row:1;
    margin:0 0 clamp(24px,3.5vw,36px);
    text-align:left;
  }
  .leonardo-portrait{
    grid-column:1;
    grid-row:2;
    margin-bottom:clamp(32px,4.5vw,48px);
  }
  .leonardo-copy>.leonardo-intro{
    grid-column:1;
    grid-row:3;
    margin-top:0;
  }
  .leonardo-copy>.leonardo-body,
  .leonardo-copy>.leonardo-meta{
    grid-column:1;
  }
}

/* Shared typography for primary section headlines (hero excluded). */
:root{
  --section-headline-size:56px;
}
.leonardo-copy h2,
.procedures-head h2,
.institute-copy h2,
.final-cta h2{
  font-size:var(--section-headline-size);
  line-height:1.1;
  font-weight:500;
  letter-spacing:.008em;
}
@media (max-width:1120px){
  :root{--section-headline-size:42px}
}
@media (max-width:560px){
  :root{--section-headline-size:clamp(28px,7vw,36px)}
}

/* Match procedure-card hover motion without interrupting the scroll reveal. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .path-card .path-image img{
    scale:1;
    transition:scale .35s ease;
  }
  .path-card.motion-item .path-image img{
    transition:transform 1s cubic-bezier(.2,.7,.2,1),scale .35s ease;
    transition-delay:var(--motion-delay,0ms),0ms;
  }
  .path-card:hover .path-image img{
    scale:1.025;
  }
  .path-item.path-card{
    translate:0 0;
    transition:translate .28s ease,box-shadow .28s ease,border-color .28s ease;
  }
  .path-item.path-card.motion-item{
    transition:opacity .68s cubic-bezier(.2,.7,.2,1),transform .80s cubic-bezier(.2,.7,.2,1),translate .28s ease,box-shadow .28s ease,border-color .28s ease;
    transition-delay:var(--motion-delay,0ms),var(--motion-delay,0ms),0ms,0ms,0ms;
  }
  .path-item.path-card:hover{
    translate:0 -3px;
    border-color:rgba(43,45,47,.11);
    box-shadow:0 12px 28px rgba(43,45,47,.055);
  }
}

/* Final CTA: balanced two-line heading and wider supporting copy. */
@media (min-width:1121px){
  .final-cta h2{max-width:1050px}
  .final-cta .cta-headline-continuation{display:block}
  .final-cta p{max-width:920px;margin-top:38px;}
}

/* Hero composition: brand belongs to the content, not the navigation. */
.hero header{
  grid-template-columns:minmax(0,1fr) auto;
  flex-shrink:0;
}
.hero header nav{
  justify-content:flex-start;
}
.hero-brand{
  display:block;
  width:clamp(150px,16vw,250px);
  max-width:100%;
  margin:0 0 clamp(28px,3vw,46px);
  text-decoration:none;
}
.hero-brand img{
  display:block;
  width:100%;
  height:auto;
}
@media (min-width:1121px){
  .hero .content.hero-content{
    align-items:center;
  }
  .hero-layout{
    align-items:end;
  }
  .hero .copy.hero-copy,
  .hero-services{
    align-self:end;
  }
}
@media (max-width:1120px){
  .hero header{
    justify-content:flex-end;
  }
  .hero-brand{
    width:clamp(130px,22vw,190px);
    margin-bottom:32px;
  }
  .hero .copy.hero-copy{
    align-self:start;
  }
  .hero-services{
    align-self:start;
  }
}
@media (max-width:700px){
  .hero-brand{
    width:clamp(108px,31vw,145px);
    margin-bottom:26px;
  }
  .hero-eyebrow{
    white-space:normal;
    width:auto;
  }
}

/* Institute: compact map and a dedicated, responsive photo gallery. */
.institute-section .institute-grid{
  display:grid;
  grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr);
  grid-template-rows:auto;
  gap:clamp(48px,8vw,160px);
  min-height:0;
  align-items:center;
}
.institute-left{min-width:0}
.institute-section .institute-copy,
.institute-section .institute-copy h2,
.institute-section .institute-copy>p{
  width:100%;
  max-width:none;
}
.institute-section .map-wrap{
  width:100%;
  max-width:none;
  aspect-ratio:3 / 1;
  min-height:170px;
  margin-top:clamp(32px,4vw,60px);
  border-radius:22px;
}
.clinic-gallery{
  min-width:0;
  display:grid;
  gap:clamp(12px,1.5vw,24px);
}
.clinic-gallery-main,
.clinic-thumb{
  position:relative;
  overflow:hidden;
  background:#91806f;
  color:#fff;
}
.clinic-gallery-main{
  aspect-ratio:5 / 4;
  border-radius:28px;
  display:grid;
  place-items:center;
}
.clinic-gallery-placeholder,
.clinic-thumb>span{
  font-size:clamp(11px,1vw,14px);
  font-weight:500;
  line-height:1.5;
  text-align:center;
  text-transform:uppercase;
}
.clinic-gallery-image,
.clinic-thumb img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.clinic-gallery-image[hidden]{display:none}
.clinic-gallery-thumbs{
  min-width:0;
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 3 * clamp(12px,1.5vw,24px)) / 3.35);
  gap:clamp(12px,1.5vw,24px);
  overflow-x:auto;
  scrollbar-width:none;
  scroll-snap-type:x mandatory;
  overscroll-behavior-inline:contain;
}
.clinic-gallery-thumbs::-webkit-scrollbar{display:none}
.clinic-thumb{
  aspect-ratio:5 / 6;
  border:0;
  border-radius:16px;
  padding:10px;
  display:grid;
  place-items:center;
  cursor:pointer;
  scroll-snap-align:start;
}
.clinic-thumb.is-active::after{
  content:"";
  position:absolute;
  inset:0;
  border:2px solid rgba(242,242,240,.78);
  border-radius:inherit;
  pointer-events:none;
}
.clinic-gallery-controls{
  display:flex;
  justify-content:flex-end;
  gap:9px;
}
.clinic-gallery-arrow{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  padding:0;
  border:1px solid rgba(242,242,240,.3);
  border-radius:50%;
  background:transparent;
  color:#f2f2f0;
  cursor:pointer;
}
.clinic-gallery-arrow svg{
  width:18px;height:18px;
  fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;
}
.clinic-thumb:focus-visible,
.clinic-gallery-arrow:focus-visible{
  outline:2px solid #f2f2f0;
  outline-offset:-3px;
}
@media (hover:hover) and (pointer:fine){
  .clinic-gallery-arrow:hover{background:rgba(242,242,240,.12)}
  .clinic-thumb img{transition:transform .35s ease}
  .clinic-thumb:hover img{transform:scale(1.025)}
}
@media (max-width:1120px){
  .institute-section .institute-grid{
    grid-template-columns:minmax(0,1fr);
    gap:44px;
  }
  .institute-section .map-wrap{
    aspect-ratio:3 / 1;
    margin-top:32px;
  }
  .clinic-gallery-main{aspect-ratio:5 / 3}
}
@media (max-width:560px){
  .institute-section .institute-grid{gap:36px}
  .institute-section .map-wrap{
    aspect-ratio:2.25 / 1;
    min-height:150px;
    border-radius:18px;
  }
  .clinic-gallery-main{
    aspect-ratio:5 / 4;
    border-radius:20px;
  }
  .clinic-gallery-thumbs{
    grid-auto-columns:calc((100% - 24px) / 2.7);
  }
  .clinic-thumb{border-radius:12px}
}
@media (prefers-reduced-motion:reduce){
  .clinic-thumb img{transition:none!important;transform:none!important}
}

/* Testimonials: the shared section typography and page spacing. */
.testimonials-section{
  padding:var(--section-y) 0;
  background:#f1f1ef;
  color:#2b2d2f;
}
.testimonials-shell{
  width:min(calc(100% - (var(--page-inline) * 2)),var(--page-max));
  margin:0 auto;
}
.testimonials-head h2{
  margin:0;
  max-width:560px;
  font-size:var(--section-headline-size);
  line-height:1.1;
  font-weight:500;
  letter-spacing:.008em;
  
}
.testimonials-head p{
  margin:28px 0 0;
  max-width:690px;
  color:rgba(43,45,47,.64);
  font-size:16px;
  line-height:1.68;
  
}
.testimonials-carousel-wrap{margin-top:68px;min-width:0}
.testimonials-carousel{
  --testimonial-gap:clamp(18px,2.4vw,40px);
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:calc((100% - 2 * var(--testimonial-gap)) / 3);
  gap:var(--testimonial-gap);
  align-items:stretch;
  overflow-x:auto;
  scrollbar-width:none;
  scroll-snap-type:x mandatory;
  overscroll-behavior-inline:contain;
}
.testimonials-carousel::-webkit-scrollbar{display:none}
.testimonial-card{
  min-width:0;
  scroll-snap-align:start;
  background:#2b2d2f;
  color:#f2f2f0;
  border-radius:22px;
  padding:clamp(24px,2.5vw,36px);
  min-height:290px;
  display:flex;
  flex-direction:column;
  gap:30px;
}
.testimonial-person{
  display:flex;
  gap:clamp(14px,1.7vw,28px);
  align-items:center;
}
.testimonial-avatar{
  flex:0 0 76px;
  width:76px;
  height:76px;
  border-radius:12px;
  background:#d8d8d6;
  overflow:hidden;
}
.testimonial-avatar img{display:block;width:100%;height:100%;object-fit:cover}
.testimonial-person-info{min-width:0}
.testimonial-person-info h3{
  margin:0;
  font-size:clamp(18px,1.6vw,24px);
  font-weight:500;
  line-height:1.25;
}
.testimonial-stars{
  margin-top:8px;
  color:#e7c4aa;
  display:flex;
  gap:5px;
}
.testimonial-stars svg{
  width:18px;
  height:18px;
  fill:currentColor;
  stroke:currentColor;
  stroke-width:1.4;
}
.testimonial-placeholder .testimonial-stars svg{fill:none;opacity:.75}
.testimonial-card>p{
  margin:0;
  color:rgba(242,242,240,.88);
  font-size:16px;
  line-height:1.6;
}
.testimonials-controls{
  display:flex;
  justify-content:flex-end;
  gap:9px;
  margin-top:22px;
}
.testimonials-arrow{
  width:42px;
  height:42px;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid rgba(43,45,47,.16);
  border-radius:50%;
  background:transparent;
  color:#2b2d2f;
  cursor:pointer;
}
.testimonials-arrow svg{
  width:16px;height:16px;
  fill:none;stroke:currentColor;stroke-width:1.7;
  stroke-linecap:round;stroke-linejoin:round;
}
.testimonials-arrow:disabled{opacity:.35;cursor:default}
.testimonials-arrow:focus-visible,.testimonials-carousel:focus-visible{
  outline:2px solid #2b2d2f;
  outline-offset:-2px;
}
@media (hover:hover) and (pointer:fine){
  .testimonials-arrow:not(:disabled):hover{background:rgba(43,45,47,.06)}
}
@media (max-width:1120px){
  .testimonials-carousel{
    grid-auto-columns:calc((100% - var(--testimonial-gap)) / 2);
  }
  .testimonials-carousel-wrap{margin-top:48px}
}
@media (max-width:700px){
  .testimonials-carousel{
    --testimonial-gap:14px;
    grid-auto-columns:calc(100% - 28px);
  }
  .testimonials-head p{font-size:15px;margin-top:22px}
  .testimonials-carousel-wrap{margin-top:36px}
  .testimonial-card{min-height:260px;padding:24px;gap:24px;border-radius:20px}
  .testimonial-avatar{width:60px;height:60px;flex-basis:60px}
  .testimonial-card>p{font-size:15px}
}

/* Compact institute composition, preserving the shared page margins. */
.institute-section{
  padding-block:clamp(64px,5.2vw,92px);
}
.institute-section .institute-grid{
  grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
  gap:clamp(36px,5vw,88px);
}
.institute-section .map-wrap{
  aspect-ratio:3.2 / 1;
  min-height:170px;
  margin-top:clamp(24px,2.6vw,40px);
}
.clinic-gallery{
  --clinic-gap:clamp(8px,.85vw,14px);
  gap:var(--clinic-gap);
}
.clinic-gallery-main{
  aspect-ratio: 1.65;
}
.clinic-gallery-thumbs{
  gap:var(--clinic-gap);
  grid-auto-columns:calc((100% - 3 * var(--clinic-gap)) / 3.65);
}
.clinic-thumb{
  aspect-ratio: 1.2;
}
@media (max-width:1120px){
  .institute-section .institute-grid{
    grid-template-columns:minmax(0,1fr);
    gap:32px;
  }
  .institute-section .map-wrap{
    margin-top:26px;
  }
  .clinic-gallery-main{aspect-ratio:16 / 9}
  .clinic-gallery-thumbs{
    grid-auto-columns:calc((100% - 4 * var(--clinic-gap)) / 4.35);
  }
}
@media (max-width:560px){
  .institute-section{padding-block:58px}
  .institute-section .institute-grid{gap:26px}
  .institute-section .map-wrap{
    aspect-ratio:2.25 / 1;
    min-height:150px;
    margin-top:24px;
  }
  .clinic-gallery-main{aspect-ratio:3 / 2}
  .clinic-gallery-thumbs{
    grid-auto-columns:calc((100% - 2 * var(--clinic-gap)) / 2.85);
  }
}

/* Mobile/tablet: move the scheduling action into the hero copy. */
.hero .hero-mobile-cta{
  display:none;
}
@media (max-width:1120px){
  .hero header{
    display:none;
  }
  .hero .hero-mobile-cta{
    display:inline-flex;
    margin:26px 0 0;
    min-height:48px;
    padding-inline:24px;
    max-width:100%;
    font-size:13px;
  }
  .hero .content.hero-content{
    padding-top:140px;
  }
}

/* Restore the former header clearance without rendering a navigation bar. */
@media (max-width:700px){
  .hero .content.hero-content{padding-top:130px}
}
@media (max-width:560px){
  .hero .content.hero-content{padding-top:120px}
}

/* Display only photographs that have been successfully loaded. */
.clinic-thumb[hidden],
.clinic-gallery-controls[hidden],
.clinic-gallery-placeholder[hidden]{display:none}

/* Gallery: 20% taller main frame at unchanged width, with autoplay control. */
.clinic-gallery-main{aspect-ratio:1.375}
@media (max-width:1120px){
  .clinic-gallery-main{aspect-ratio:40 / 27}
}
@media (max-width:560px){
  .clinic-gallery-main{aspect-ratio:5 / 4}
}
.clinic-gallery-toggle [hidden]{display:none}


/* Tablet/mobile: show institute introduction, gallery, then map. */
@media (max-width:1120px){
  .institute-section .institute-left{display:contents}
  .institute-section .institute-copy{grid-column:1;grid-row:1}
  .institute-section .clinic-gallery{grid-column:1;grid-row:2}
  .institute-section .map-wrap{grid-column:1;grid-row:3;margin-top:0}
}

/* Institute refinement: portrait-led gallery, quieter background and tight rhythm. */
.institute-section{
  background-image:linear-gradient(90deg,rgba(37,39,41,.91) 0%,rgba(37,39,41,.86) 50%,rgba(37,39,41,.79) 100%),url('./assets/institutoleonardojunqueira.webp');
  background-size:cover;
  background-repeat:no-repeat;
}
.clinic-gallery{
  --clinic-gap:6px;
  width:100%;
  gap:var(--clinic-gap);
}
.clinic-gallery-main{
  aspect-ratio:4 / 5;
  border-radius:22px;
  background:#353535;
}
.clinic-gallery-thumbs{
  grid-auto-columns:calc((100% - 4 * var(--clinic-gap)) / 4.25);
  gap:var(--clinic-gap);
}
.clinic-thumb{
  aspect-ratio: 1.12;
  border-radius:9px;
  background:#353535;
}
.clinic-gallery-controls{
  margin-top:4px;
}
@media (min-width:1121px){
  .institute-section .institute-grid{
    grid-template-columns:minmax(0,1fr) minmax(0, .78fr);
    gap:clamp(32px,5vw,84px);
    align-items:center;
  }
  .institute-section .institute-copy h2{
    max-width:570px;
    
  }
  .institute-section .institute-copy>p{
    max-width:600px;
    
  }
  .institute-section .map-wrap{
    max-width:600px;
    margin-top:36px;
  }
  .institute-section .clinic-gallery{
    max-width:460px;
    justify-self:end;
  }
}
@media (min-width:1121px){
  .institute-section .institute-copy h2>span{
    display:block;
  }
}
@media (max-width:1120px){
  .institute-section .clinic-gallery{
    max-width:500px;
    justify-self:center;
  }
  .clinic-gallery-main{aspect-ratio:4 / 5}
}
@media (max-width:560px){
  .clinic-gallery-main{border-radius:18px}
  .clinic-gallery-thumbs{
    grid-auto-columns:calc((100% - 3 * var(--clinic-gap)) / 3.65);
  }
}

/* Align the map with the copy and restore visual weight to the gallery. */
@media (min-width:1121px){
  .institute-section .institute-grid{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:clamp(40px,5vw,80px);
    align-items:center;
  }
  .institute-section .institute-left{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-self:start;
    width:100%;
  }
  .institute-section .institute-copy{
    width:100%;
    max-width:600px;
  }
  .institute-section .map-wrap{
    align-self:flex-start;
    justify-self:start;
    width:100%;
    max-width:600px;
    margin:36px 0 0;
  }
  .institute-section .clinic-gallery{
    width:100%;
    max-width:640px;
    justify-self:end;
  }
  .institute-section .clinic-gallery-main{
    aspect-ratio:6 / 7;
  }
}

/* Footer location: single address line and compact embedded map. */
.site-footer .footer-main{
  grid-template-columns:minmax(0,.72fr) minmax(0,1.75fr);
  gap:clamp(30px,3vw,52px);
}
.site-footer .footer-columns{
  width:100%;
  grid-template-columns:max-content max-content minmax(0,1fr);
  gap:clamp(22px,2vw,36px);
  align-items:start;
  justify-items:stretch;
}
.site-footer .footer-column{
  min-width:0;
}
.site-footer .footer-location{
  width:100%;
}
.site-footer .footer-location>p{
  width:100%;
}
.site-footer .footer-location>p>a{
  white-space:normal;
  overflow-wrap:break-word;
}
.footer-map{
  width:100%;
  max-width:420px;
  aspect-ratio:3 / 1;
  min-height:118px;
  overflow:hidden;
  border-radius:14px;
  background:#d0d0cd;
}
.footer-map iframe{
  display:block;
  width:100%;
  height:100%;
  border:0;
}
@media (min-width:1280px){
  .site-footer .footer-location>p>a{white-space:nowrap}
}
@media (max-width:1279px){
  .site-footer .footer-main{
    grid-template-columns:minmax(0,1fr);
    gap:44px;
  }
}
@media (max-width:1120px){
  .site-footer .footer-columns{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:32px;
    justify-items:start;
  }
  .site-footer .footer-column{
    align-items:flex-start;
    text-align:left;
  }
  .site-footer .footer-location{grid-column:1 / -1}
  .institute-section .institute-grid{grid-template-rows:auto auto}
}
@media (max-width:420px){
  .site-footer .footer-columns{
    grid-template-columns:minmax(0,1fr);
    gap:32px;
  }
  .site-footer .footer-location{grid-column:auto}
}

/* Institute gallery: four vertically scrolling thumbnails beside the featured photo. */
.institute-section .clinic-gallery{
  --clinic-gap:8px;
  display:grid;
  grid-template-columns:minmax(0,3.12fr) minmax(0,1fr);
  grid-template-rows:auto;
  align-items:stretch;
  gap:var(--clinic-gap);
  width:100%;
  max-width:740px;
}
.institute-section .clinic-gallery-main{
  grid-column:1;
  grid-row:1;
  aspect-ratio:4 / 5;
  min-width:0;
  border-radius:22px;
}
.institute-section .clinic-gallery-thumbs{
  grid-column:2;
  grid-row:1;
  display:grid;
  grid-template-columns:minmax(0,1fr);
  grid-auto-flow:row;
  grid-auto-columns:auto;
  grid-auto-rows:calc((100% - 3 * var(--clinic-gap)) / 4);
  align-content:start;
  min-height:0;
  contain:size;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior-x:auto;
  overscroll-behavior-y:contain;
  scroll-snap-type:y mandatory;
  gap:var(--clinic-gap);
}
.institute-section .clinic-thumb{
  width:100%;
  height:100%;
  min-height:0;
  aspect-ratio:auto;
  border-radius:13px;
}
@media (min-width:1121px){
  .institute-section .institute-grid{
    grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);
    gap:clamp(32px,4vw,70px);
    align-items:center;
  }
}
@media (max-width:1120px){
  .institute-section .clinic-gallery{
    max-width:660px;
    justify-self:center;
  }
}
@media (max-width:560px){
  .institute-section .clinic-gallery{
    --clinic-gap:6px;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto;
  }
  .institute-section .clinic-gallery-main{
    aspect-ratio:4 / 5;
    border-radius:18px;
  }
  .institute-section .clinic-gallery-thumbs{
    grid-column:1;
    grid-row:2;
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:calc((100% - 3 * var(--clinic-gap)) / 4);
    grid-auto-rows:auto;
    contain:none;
    overflow-x:auto;
    overflow-y:hidden;
    overscroll-behavior-x:contain;
    overscroll-behavior-y:auto;
    scroll-snap-type:x mandatory;
  }
  .institute-section .clinic-thumb{
    aspect-ratio:1;
    height:auto;
    border-radius:9px;
  }
}

/* Keep the navigation, contact and location groups together at the right. */
@media (min-width:1121px){
  .site-footer .footer-columns{
    grid-template-columns:max-content max-content minmax(0,420px);
    justify-content:end;
    column-gap:clamp(28px,3vw,52px);
  }
}

/* Treatment card headings: match the animated footer-link underline. */
.path-item.path-card .path-content h3{
  text-decoration:none;
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .path-item.path-card .path-content h3{
    width:fit-content;
    max-width:100%;
    position:relative;
  }
  .path-item.path-card .path-content h3::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:-3px;
    height:1px;
    background:currentColor;
    transform:scaleX(0);
    transform-origin:right;
    transition:transform .24s ease;
    pointer-events:none;
  }
  .path-item.path-card:hover .path-content h3::after{
    transform:scaleX(1);
    transform-origin:left;
  }
}

/* About: keep the experience credential with the heading on smaller screens. */
@media (max-width:1120px){
  .leonardo-copy>h2{
    grid-row:1;
    margin-bottom:clamp(16px,2.5vw,24px);
  }
  .leonardo-copy>.leonardo-meta{
    grid-column:1;
    grid-row:2;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    margin:0 0 clamp(24px,3.5vw,36px);
    padding-top:clamp(20px,2.8vw,28px);
    border-top:1px solid rgba(242,242,240,.14);
    align-items:start;
  }
  .leonardo-portrait{
    grid-row:3;
  }
  .leonardo-copy>.leonardo-intro{
    grid-row:4;
  }
  .leonardo-copy>.leonardo-meta p br{
    display:none;
  }
}

/* One shared vertical rhythm across tablet and mobile sections. */
@media (max-width:1120px){
  :root{--section-y:84px}
  .paths-section,
  .leonardo-section,
  .procedures-section,
  .institute-section,
  .testimonials-section,
  .final-cta{
    padding-block:var(--section-y);
  }
  .hero .content.hero-content{
    padding-bottom:var(--section-y);
  }
  .site-footer .footer-main{
    padding-block:var(--section-y);
  }
}
@media (max-width:700px){
  :root{--section-y:64px}
}

/* Cross-browser layout: stable tracks, intrinsic sizing, and progressive enhancement. */
html{
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
body{min-width:0}
img,svg,iframe{max-width:100%}
button,input{font:inherit}
button{-webkit-appearance:none;appearance:none}
[hidden]{display:none!important}
.hero .shell,.hero-layout,.hero .copy.hero-copy,.hero-services,
.paths-shell,.leonardo-shell,.procedures-shell,.institute-shell,
.testimonials-shell,.footer-shell,.footer-main,.footer-columns{min-width:0}
.hero .copy.hero-copy{width:100%}
.hero .content.hero-content{min-width:0}
.institute-no-break{white-space:normal}
.site-footer .footer-brand>p span{white-space:normal}
.site-footer .footer-location>p>a{white-space:normal;overflow-wrap:anywhere}
.site-footer .footer-column>a{white-space:normal;overflow-wrap:anywhere}
.site-footer .footer-location{min-width:0}
@media (min-width:1280px){
  .site-footer .footer-columns{
    grid-template-columns:max-content minmax(0,max-content) minmax(0,420px);
  }
}
@media (max-width:1120px){
  .institute-section .institute-left{display:block;grid-column:1;grid-row:1}
  .institute-section .institute-grid{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}
  .hero .shell{height:auto}
}
/* The About section uses actual grid children instead of display:contents. */
.leonardo-shell>h2{
  margin:0;
  font-size:var(--section-headline-size);
  line-height:1.1;
  font-weight:500;
  letter-spacing:.008em;
  color:#f2f2f0;
  min-width:0;
}
.leonardo-shell>.leonardo-meta{max-width:none;min-width:0;width:100%}
.leonardo-shell>.leonardo-copy{display:block;padding:0;min-width:0}
@media (min-width:1121px){
  .leonardo-shell{grid-template-rows:minmax(min-content,1fr) auto minmax(min-content,1fr);row-gap:0}
  .leonardo-shell>.leonardo-portrait{grid-column:1;grid-row:1 / span 3;align-self:center}
  .leonardo-shell>h2{grid-column:2;grid-row:1;align-self:end}
  .leonardo-shell>.leonardo-copy{grid-column:2;grid-row:2;align-self:start}
  .leonardo-shell>.leonardo-meta{grid-column:2;grid-row:3;align-self:start}
}
@media (max-width:1120px){
  .leonardo-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;row-gap:0}
  .leonardo-shell>h2{grid-column:1;grid-row:1;margin:0 0 clamp(16px,2.5vw,24px)}
  .leonardo-shell>.leonardo-meta{
    grid-column:1;grid-row:2;grid-template-columns:minmax(0,1fr);
    gap:10px;margin:0 0 clamp(24px,3.5vw,36px);
    padding-top:clamp(20px,2.8vw,28px);
    border-top:1px solid rgba(242,242,240,.14);align-items:start;
  }
  .leonardo-shell>.leonardo-meta p br{display:none}
  .leonardo-shell>.leonardo-portrait{grid-column:1;grid-row:3}
  .leonardo-shell>.leonardo-copy{grid-column:1;grid-row:4}
  .leonardo-shell>.leonardo-copy>.leonardo-intro{margin-top:0}
}
/* Percentage padding provides definite image heights across layout engines. */
.leonardo-shell>.leonardo-portrait,
.institute-section .clinic-gallery-main,
.procedures-carousel .procedure-media{
  position:relative;
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:auto;
}
.leonardo-shell>.leonardo-portrait::before,
.institute-section .clinic-gallery-main::before,
.procedures-carousel .procedure-media::before{
  content:"";display:block;width:100%;
}
.leonardo-shell>.leonardo-portrait::before{padding-top:108.6957%}
.institute-section .clinic-gallery-main::before{padding-top:125%}
.procedures-carousel .procedure-media::before{padding-top:102%}
.procedures-carousel .procedure-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.institute-section .clinic-gallery-main{display:block}
.clinic-gallery-placeholder{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
@media (max-width:1120px){
  .leonardo-shell>.leonardo-portrait::before{padding-top:80%}
}
@media (max-width:560px){
  .leonardo-shell>.leonardo-portrait::before{padding-top:125%}
}
/* Keep the vertical rail constrained by the featured image, not intrinsic grid sizing. */
.institute-section .clinic-gallery{
  position:relative;display:block;
}
.institute-section .clinic-gallery-main{
  width:calc((100% - var(--clinic-gap)) * .7572815534);
}
.institute-section .clinic-gallery-thumbs{
  position:absolute;top:0;bottom:0;right:0;
  width:calc((100% - var(--clinic-gap)) * .2427184466);
  height:100%;min-height:0;contain:none;
  display:flex;flex-direction:column;gap:0;
  overflow-x:hidden;overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.institute-section .clinic-thumb{
  flex:0 0 calc((100% - 3 * var(--clinic-gap)) / 4);
  height:calc((100% - 3 * var(--clinic-gap)) / 4);
  margin:0 0 var(--clinic-gap);
  width:100%;min-height:0;
}
.institute-section .clinic-thumb:last-child{margin-bottom:0}
@media (max-width:560px){
  .institute-section .clinic-gallery-main{width:100%}
  .institute-section .clinic-gallery-thumbs{
    position:relative;top:auto;bottom:auto;right:auto;
    width:100%;height:auto;margin-top:var(--clinic-gap);
    flex-direction:row;overflow-x:auto;overflow-y:hidden;
  }
  .institute-section .clinic-thumb{
    flex:0 0 calc((100% - 3 * var(--clinic-gap)) / 4);
    height:auto;aspect-ratio:auto;margin:0 var(--clinic-gap) 0 0;
  }
  .institute-section .clinic-thumb:last-child{margin-right:0}
  .institute-section .clinic-thumb::before{content:"";display:block;width:100%;padding-top:100%}
}
/* Scroll tracks use flex sizing to avoid implicit-grid percentage differences. */
.procedures-carousel,.testimonials-carousel{
  display:flex;align-items:stretch;gap:0;
  -webkit-overflow-scrolling:touch;
}
.procedures-carousel{--track-gap:18px;--track-size:calc((100% - 54px) / 4)}
.procedures-carousel .procedure-card{
  flex:0 0 var(--track-size);width:var(--track-size);margin-right:var(--track-gap);
}
.testimonials-carousel{--track-size:calc((100% - 2 * var(--testimonial-gap)) / 3)}
.testimonials-carousel .testimonial-card{
  flex:0 0 var(--track-size);width:var(--track-size);margin-right:var(--testimonial-gap);
}
.procedures-carousel .procedure-card:last-child,.testimonials-carousel .testimonial-card:last-child{margin-right:0}
@media (max-width:1120px){.procedures-carousel{--track-size:calc((100% - 36px) / 3)}}
@media (max-width:1120px){
  .procedures-carousel{--track-size:calc((100% - 18px) / 2)}
  .testimonials-carousel{--track-size:calc((100% - var(--testimonial-gap)) / 2)}
}
@media (max-width:700px){
  .procedures-carousel{--track-size:82%}
  .testimonials-carousel{--track-size:calc(100% - 28px)}
}
.footer-map{position:relative;height:auto;aspect-ratio:auto}
.footer-map::before{content:"";display:block;padding-top:33.3333%}
.footer-map iframe{position:absolute;inset:0;width:100%;height:100%}
/* Older Safari supports combined transforms even without individual transform properties. */
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
  .path-card .path-image img{scale:none;transition:transform .35s ease}
  .path-card.motion-item .path-image img{transition:transform .65s ease}
  .path-card.motion-item.is-visible:hover .path-image img,
  .path-card:not(.motion-item):hover .path-image img{transform:scale(1.025)}
  .path-item.path-card{translate:none}
  .path-item.path-card.motion-item{transition:opacity .68s ease,transform .80s ease,box-shadow .28s ease,border-color .28s ease}
  .path-item.path-card.is-visible:hover,.path-item.path-card:not(.motion-item):hover{transform:translate3d(0,-3px,0)}
}
/* Stable text wrapping on browsers without the same text-wrap algorithms. */
@supports (text-wrap:balance){
  .final-cta h2,.testimonials-head h2{text-wrap:balance}
}

/* Institute amenities: the same icon-and-divider language as the hero. */
.institute-section .institute-attributes{
  display:block;
  align-self:flex-start;
  width:100%;
  max-width:420px;
  margin:clamp(32px,3.8vw,56px) 0 0;
  border-top:1px solid rgba(242,242,240,.17);
}
.institute-section .institute-attribute{
  display:flex;
  align-items:center;
  min-height:66px;
  padding:10px 10px 10px 0;
  background:transparent;
  border:0;
  border-bottom:1px solid rgba(242,242,240,.17);
  border-radius:0;
  font-size:14px;
  line-height:1.4;
}
.institute-section .institute-attribute>span:last-child{min-width:0}
@media (max-width:1120px){
  .institute-section .institute-attributes{max-width:100%;margin-top:32px}
}
@media (max-width:700px){
  .institute-section .institute-attributes{margin-top:26px}
  .institute-section .institute-attribute{min-height:58px;font-size:14px}
}

/* Crossfade: retain the fully opaque previous photograph behind the incoming one. */
.clinic-gallery-main .clinic-gallery-image{
  display:block;
  opacity:1;
  z-index:1;
  pointer-events:none;
}
.clinic-gallery-main .clinic-gallery-image.is-entering{
  z-index:2;
}
@media (prefers-reduced-motion:no-preference){
  .clinic-gallery-main .clinic-gallery-image.is-entering{
    animation:clinic-crossfade 900ms cubic-bezier(.4,0,.2,1) both;
  }
  @keyframes clinic-crossfade{
    from{opacity:0}
    to{opacity:1}
  }
}

/* Responsive layout: size components to available space, including narrow desktop windows. */
.hero-headline>span{white-space:normal}
.hero-eyebrow{width:auto;max-width:100%;white-space:normal}
.hero-layout>*,
.leonardo-shell>*,
.institute-grid>*,
.path-content,
.path-image,
.footer-main>*,
.footer-columns>*{min-width:0}
.path-item.path-card .service-list span{white-space:normal}
.hero-service>span:last-child{min-width:0}
@media (max-width:1320px){
  .hero-layout{gap:clamp(24px,4vw,52px)}
  .hero-headline{font-size:clamp(40px,4.6vw,60px)}
  .hero .copy.hero-copy{max-width:100%}
  .institute-section .institute-grid{gap:clamp(28px,3.5vw,48px)}
  .institute-section .clinic-gallery{max-width:100%;justify-self:stretch}
  .institute-section .institute-copy h2>span{display:inline}
  .institute-section .institute-copy h2{max-width:100%}
  .site-footer .footer-main{grid-template-columns:minmax(0,1fr);gap:36px}
  .site-footer .footer-columns{
    grid-template-columns:minmax(0,.75fr) minmax(0,1.05fr) minmax(0,1.3fr);
    justify-content:stretch;justify-items:stretch;gap:clamp(18px,3vw,36px)
  }
  .site-footer .footer-column{align-items:flex-start;text-align:left}
  .site-footer .footer-location{grid-column:auto}
}
@media (min-width:1121px) and (max-width:1320px){
  :root{--section-headline-size:clamp(38px,4.15vw,54px)}
  .hero-layout{grid-template-columns:minmax(0,1.55fr) minmax(0,.8fr)}
  .institute-section .institute-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr)}
  .institute-section .institute-attributes{margin-top:clamp(28px,3vw,42px)}
  .institute-section .institute-attribute{min-height:58px}
  .leonardo-shell{column-gap:clamp(28px,4vw,60px)}
  .leonardo-shell>.leonardo-meta{grid-template-columns:minmax(0,1fr);gap:10px}
  .leonardo-shell>.leonardo-meta p br{display:none}
}
@media (max-width:1120px){
  :root{
    --section-headline-size:clamp(30px,4.4vw,42px);
    --page-inline:clamp(24px,4vw,42px);
  }
  .hero-headline{font-size:clamp(38px,5.8vw,54px)}
  .institute-section .clinic-gallery{max-width:none;width:100%;justify-self:stretch}
  .institute-section .institute-copy>p{width:100%;max-width:100%}
  .institute-section .institute-grid{gap:32px}
  .institute-section .institute-attributes{max-width:none}
  .paths-stack{margin-top:44px}
  .procedures-carousel-wrap,.testimonials-carousel-wrap{margin-top:40px}
  .final-cta-inner{width:min(calc(100% - 2 * var(--page-inline)),1120px)}
}
@media (max-width:779px){
  .site-footer .footer-columns{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:28px}
  .site-footer .footer-location{grid-column:1 / -1}
}
@media (max-width:700px){
  :root{--section-headline-size:clamp(28px,6.4vw,36px);--page-inline:clamp(20px,5vw,28px)}
  .hero-headline{font-size:clamp(32px,8vw,46px)}
  .paths-stack,.procedures-carousel-wrap,.testimonials-carousel-wrap{margin-top:32px}
  .institute-section .institute-grid{gap:26px}
  .institute-section .institute-attribute{min-height:58px}
}
@media (max-width:420px){
  .site-footer .footer-columns{grid-template-columns:minmax(0,1fr);gap:30px}
  .site-footer .footer-location{grid-column:1}
  .hero .hero-mobile-cta{max-width:100%}
}

/* Tablet layout is selected solely by viewport width, not input device. */
@media (min-width:701px) and (max-width:1120px){
  .site-footer .footer-columns{
    grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);
    justify-content:start;gap:28px;
  }
  .site-footer .footer-location{grid-column:1 / -1}
}

/* Footer information typography and two-line institutional description. */
.site-footer .footer-brand>p,
.site-footer .footer-brand>p span,
.site-footer .footer-column>a,
.site-footer .footer-location>p,
.site-footer .footer-location>p>a{
  font-size:16px!important;
}
.site-footer .footer-brand{
  width:100%;
  max-width:540px;
}
.site-footer .footer-brand>p{
  max-width:100%;
}
.site-footer .footer-brand>p span{
  display:block;
  white-space:normal;
}
@media (min-width:1321px){
  .site-footer .footer-main{
    grid-template-columns:minmax(440px,1fr) minmax(0,1.65fr);
    gap:clamp(28px,2.7vw,44px);
  }
  .site-footer .footer-columns{
    grid-template-columns:max-content max-content minmax(0,440px);
    column-gap:clamp(22px,2vw,34px);
  }
}
@media (min-width:561px) and (max-width:1320px){
  .site-footer .footer-brand{max-width:540px}
}
@media (max-width:560px){
  .site-footer .footer-brand>p span{display:inline}
}

/* Footer: location, contact and navigation, aligned to their own left edges. */
.site-footer .footer-columns{
  text-align:left;
  align-items:start;
  justify-items:stretch;
}
.site-footer .footer-column{
  align-items:flex-start;
  text-align:left;
}
.site-footer .footer-location>p,
.site-footer .footer-map{align-self:flex-start}
@media (min-width:1321px){
  .site-footer .footer-columns{
    grid-template-columns:minmax(0,440px) max-content max-content;
    justify-content:end;
    column-gap:clamp(24.2px,2.2vw,37.4px);
  }
}
@media (min-width:1121px) and (max-width:1320px){
  .site-footer .footer-columns{
    grid-template-columns:minmax(0,1.3fr) minmax(0,1.05fr) minmax(0,.75fr);
    column-gap:clamp(19.8px,3.3vw,39.6px);
  }
}
@media (min-width:421px) and (max-width:1120px){
  .site-footer .footer-columns{
    grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
    column-gap:30.8px;
  }
  .site-footer .footer-location{grid-column:1 / -1}
}
@media (max-width:420px){
  .site-footer .footer-columns{row-gap:33px}
}

/* Restore the original desktop order; retain left alignment and wider gaps. */
@media (min-width:1121px){
  .site-footer .footer-columns>.footer-column:nth-child(1){grid-column:3;grid-row:1}
  .site-footer .footer-columns>.footer-column:nth-child(2){grid-column:2;grid-row:1}
  .site-footer .footer-columns>.footer-column:nth-child(3){grid-column:1;grid-row:1}
}
@media (min-width:1321px){
  .site-footer .footer-columns{grid-template-columns:max-content max-content minmax(0,440px)}
}
@media (min-width:1121px) and (max-width:1320px){
  .site-footer .footer-columns{grid-template-columns:minmax(0,.75fr) minmax(0,1.05fr) minmax(0,1.3fr)}
}


/* Keep the address and map together as a single responsive location column. */
.site-footer .footer-location>.footer-map{
  width:100%;
  min-width:0;
  align-self:stretch;
}
@media (min-width:1121px){
  .site-footer .footer-columns{
    column-gap:clamp(40px,3.2vw,60px);
    grid-template-rows:auto;
  }
  .site-footer .footer-location>.footer-map{max-width:440px}
}
@media (max-width:1120px){
  .site-footer .footer-columns{
    grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:40px;
    row-gap:36px;
  }
  .site-footer .footer-columns>.footer-column:nth-child(2){grid-column:1;grid-row:1}
  .site-footer .footer-columns>.footer-column:nth-child(3){grid-column:2;grid-row:1}
  .site-footer .footer-columns>.footer-location{grid-column:1 / -1;grid-row:2}
  .site-footer .footer-location>.footer-map{
    max-width:none;
    height:clamp(180px,28vw,280px);
    min-height:0;
  }
  .site-footer .footer-location>.footer-map::before{display:none}
}
@media (max-width:420px){
  .site-footer .footer-columns{
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto auto auto;
    gap:36px;
  }
  .site-footer .footer-columns>.footer-column:nth-child(3){grid-column:1;grid-row:2}
  .site-footer .footer-columns>.footer-location{grid-column:1;grid-row:3}
}

/* Professional identification: discreet, readable and consistent across breakpoints. */
.leonardo-shell>h2>.leonardo-registration{
  display:block;
  margin-top:8px;
  font-size:14px;
  font-weight:400;
  line-height:1.5;
  letter-spacing:normal;
  color:rgba(242,242,240,.82);
}
.site-footer .footer-registration{
  margin-top:16px;
  font-size:14px;
  font-weight:400;
  line-height:1.5;
  color:rgba(242,242,240,.82);
  white-space:normal;
}

/* Footer contact: Phosphor Regular logos, matching the existing link typography. */
.site-footer .footer-column>a.footer-contact-link{
  display:inline-grid;
  grid-template-columns:18px minmax(0,1fr);
  align-items:start;
  column-gap:8px;
}
.site-footer .footer-contact-icon{
  display:block;
  width:18px;
  height:18px;
  margin-top:2px;
  color:inherit;
  fill:currentColor;
}
.site-footer .footer-contact-link>.footer-contact-text{
  font:inherit;
  color:inherit;
  min-width:0;
  overflow-wrap:anywhere;
}
