/* HQ600 local review, based on Carlo's 25–27 September requests. */
:root { --bsm-navy:#071d49; --bsm-blue:#1766ff; }
a:focus-visible,button:focus-visible,summary:focus-visible { outline:3px solid #1766ff; outline-offset:5px; }
#top h1 { font-size:clamp(3.06rem,6.2vw,5.86rem)!important; line-height:1.02!important; letter-spacing:-.035em!important; }
#top h1 .word:last-child { font-size:.75em; font-weight:400; }
#top p.font-body { font-size:clamp(1.0625rem,1.5vw,1.25rem); line-height:1.65; }
#top p.inline-flex { gap:12px; flex-wrap:wrap; }
#top p.inline-flex a { padding:8px 0; text-underline-offset:4px; }
#top p.inline-flex a:hover { text-decoration:underline; }
#nav .header-logo img { width:202px!important; height:110px!important; object-fit:contain; }
#nav .header-logo { width:202px; height:110px; }
.reveal,.stagger > *, .word { opacity:1!important; transform:none!important; animation:none!important; transition:none!important; }
#top > img { transform:scaleX(-1); }
.site-header .brand img { width:202px; height:110px; }
.site-header .brand { width:202px; height:110px; }
.brand-lockup img { width:230px!important; max-width:100%; }
.footer-brand img { width:173px; filter:none; background:#fff; padding:12px; border-radius:10px; }
#bisogni .text-xs { font-size:15px; line-height:1.65; font-weight:600; }
.need-row { flex-wrap:wrap; padding-bottom:16px; gap:0; }
.needs-list .need-item .need-link { flex:1 1 100%; padding-bottom:12px; }
.need-toggle { width:auto; min-height:44px; height:auto; margin-left:76px; padding:10px 16px; border-radius:22px; font:500 14px/1.4 'DM Sans',sans-serif; }
.need-toggle[aria-expanded="true"] span { transform:none; }
.need-questions a { font-size:16px; }
.patient-guide .page-hero { background:#fff; color:var(--bsm-navy); padding:42px 0 30px; border-bottom:1px solid #e3e7ef; }
.patient-guide .page-hero h1 { font-size:clamp(28px,3.4vw,44px); color:var(--bsm-navy); max-width:850px; }
.patient-guide .page-hero .hero-copy { color:#46546d; }
.patient-guide .guide-back { color:var(--bsm-navy); margin-bottom:15px; }
.patient-guide .page-hero .eyebrow { color:#1766ff; }
.patient-guide .guide-heading { font-size:clamp(24px,2.6vw,32px); }
.approach-copy { max-width:1000px; }
.approach-copy > p { max-width:72ch; font-size:18px; line-height:1.8; margin:0 0 22px; }
.approach-copy > h2 { margin:55px 0 20px; font-size:clamp(27px,3vw,38px); line-height:1.15; }
.approach-copy > h2:first-child { margin-top:0; }
.approach-pillars { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; margin:44px 0; }
.approach-pillars article { border-top:2px solid #1766ff; padding:24px 0; }
.approach-pillars h2 { font-size:28px; margin-bottom:18px; }
.approach-pillars p { font-size:17px; line-height:1.8; margin-bottom:16px; }
.team-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.portrait img { object-fit:contain; object-position:center top; filter:none; background:#eff0f1; }
.location-detail { display:inline-flex; align-items:center; min-height:44px; color:#1766ff; text-decoration:underline; text-underline-offset:4px; margin-bottom:12px; }
.location-layout { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:start; }
.location-layout p { font-size:17px; line-height:1.8; margin:22px 0; }
.location-photo { width:100%; max-height:550px; object-fit:cover; }
.location-actions { display:flex; flex-wrap:wrap; gap:16px; align-items:center; }
.contact-email { display:inline-flex; align-items:center; min-height:48px; padding:12px 18px; color:#fff; text-decoration:underline; text-underline-offset:5px; }
#prenota .flex { flex-wrap:wrap; }
footer p, footer a, footer span { opacity:1; }
footer a[style*="rgba"],footer p[style*="rgba"],footer span[style*="rgba"] { color:#b9c4d6!important; }
.news-track { display:flex; gap:24px; overflow-x:auto; scroll-snap-type:x mandatory; }
.news-track article { flex:0 0 min(85%,360px); scroll-snap-align:start; border-top:1px solid #c5cedd; padding:20px 0; }
.resource-list li { margin:20px 0; }
.resource-list a { text-decoration:underline; text-underline-offset:4px; }
.local-review-bar { position:relative; z-index:60; padding:9px 20px; background:#071d49; color:#fff; font:13px/1.5 system-ui,sans-serif; text-align:center; }
.local-review-bar a { color:white; text-decoration:underline; margin-left:15px; }
@media(max-width:1000px) {
 .team-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .location-layout { grid-template-columns:1fr; gap:32px; }
}
@media(max-width:600px) {
 #nav .header-logo { width:147px; height:83px; }
 .site-header .brand { width:147px; height:83px; }
 #nav .header-logo img,.site-header .brand img { width:147px!important; height:83px!important; }
 #nav { padding-left:12px; padding-right:12px; }
 #nav .header-cta { padding:10px 13px; font-size:13px; }
 #nav .header-cta > span:last-child { display:none; }
 .site-header .header-inner { gap:8px; }
 .site-header .header-actions { gap:8px; }
 .site-header .button { padding:10px 12px; font-size:13px; }
 .site-header .header-actions .button { display:inline-flex; }
 .team-grid,.approach-pillars { grid-template-columns:1fr; }
 .need-toggle { margin-left:42px; }
 .approach-copy > p { font-size:17px; }
 #top > .relative { padding-top:120px; }
 .patient-guide .page-hero { padding:30px 0; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; } }

/* Two independent studio entrances, as requested in the September 25 meeting. */
.hero-locations { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; max-width:580px; margin-bottom:36px; }
.hero-locations a { display:flex; flex-direction:column; gap:6px; padding:14px 0; border-top:1px solid rgba(255,255,255,.65); color:#fff; text-decoration:none; }
.hero-location-label { font-size:11px; letter-spacing:.1em; text-transform:uppercase; }
.hero-location-name { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:22px; line-height:1.3; }
.hero-location-name > span { font-size:19px; transition:transform .2s; }
.hero-location-address { font-size:12px; line-height:1.5; }
.hero-locations a:hover { border-top-color:#fff; }
.hero-locations a:hover .hero-location-name > span { transform:translate(3px,-3px); }
.hero-locations a:focus-visible { outline:2px solid #fff; outline-offset:6px; }
@media(max-width:600px) {
 .hero-locations { gap:20px; margin-bottom:26px; }
 .hero-location-name { font-size:18px; align-items:flex-start; }
 .hero-location-label { font-size:10px; }
 .hero-location-address { font-size:11px; }
}

/* September review: shorter masthead and a complete first-screen hero. */
#nav .header-logo,#nav .header-logo img { width:160px!important; height:70px!important; }
.site-header .header-inner { min-height:70px; grid-template-columns:160px 1fr auto; }
.site-header .brand,.site-header .brand img { width:160px!important; height:70px!important; }
#nav .header-logo img,.site-header .brand img { mix-blend-mode:normal; -webkit-mask-image:none; mask-image:none; }
#top { min-height:calc(100svh - 109px)!important; }
#top > img { transform:none; object-position:center 42%!important; }
#top > .relative { padding-top:clamp(28px,5vh,52px)!important; padding-bottom:clamp(30px,5vh,52px)!important; }
#top h1 { font-size:clamp(3rem,5.3vw,5rem)!important; line-height:.97!important; margin-bottom:18px; }
#top p.font-body { max-width:560px!important; margin-bottom:22px; line-height:1.48; font-size:clamp(1rem,1.25vw,1.125rem); }
#top .hero-locations { margin-bottom:18px; gap:22px; }
#top .hero-locations a { padding:9px 0; }
#top .hero-location-name { font-size:19px; }
.hero-shade { background:linear-gradient(90deg,rgba(3,15,51,.93),rgba(3,15,51,.72) 43%,rgba(3,15,51,.08) 83%),linear-gradient(0deg,rgba(3,15,51,.35),transparent 55%); }
.need-row { border-radius:8px; transition:background .2s ease; }
.needs-list .need-item:hover .need-row,.needs-list .need-item:focus-within .need-row { background:#eef5ff; }
.needs-list .need-item:hover .need-link,.needs-list .need-item:focus-within .need-link { background:transparent!important; padding-left:.25rem!important; }
.need-toggle { background:#eaf3ff; border-color:#bfd7fb; color:#071d49; transition:background .2s ease,border-color .2s ease; }
.need-toggle:hover,.need-toggle:focus-visible,.need-item:hover .need-toggle,.need-item:focus-within .need-toggle { background:#d9eaff; border-color:#7dabf1; }
.editorial-section { background:#f1f6fb; padding:78px 0 86px; color:#071d49; }
.editorial-head { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:26px; }
.editorial-eyebrow { color:#1766ff; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin:0 0 12px; }
.editorial-head h2 { max-width:650px; font:400 clamp(2rem,4.1vw,3.6rem)/1.05 'Inter Tight',sans-serif; letter-spacing:-.035em; margin:0; }
.editorial-controls { display:flex; gap:8px; }
.editorial-controls button { width:44px; height:44px; border:1px solid #9eb7d7; border-radius:50%; color:#071d49; background:#fff; font-size:20px; }
.editorial-controls button:hover { background:#d9eaff; }
.editorial-controls button:disabled { opacity:.4; cursor:default; }
.editorial-track { display:flex; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:thin; padding:2px 2px 18px; }
.editorial-card { flex:0 0 min(55%,520px); min-height:275px; padding:28px; display:flex; flex-direction:column; align-items:start; scroll-snap-align:start; background:#fff; border-top:3px solid #1766ff; }
.editorial-card h3 { font:500 clamp(1.5rem,2.5vw,2rem)/1.13 'Inter Tight',sans-serif; margin:12px 0 16px; }
.editorial-card p:not(.editorial-type) { color:#46546d; line-height:1.6; margin:0 0 24px; }
.editorial-type { font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#1766ff; margin:0; }
.editorial-card a,.editorial-card > span { margin-top:auto; display:inline-flex; gap:16px; min-height:44px; align-items:center; font-weight:700; text-decoration:underline; text-underline-offset:5px; }
.editorial-card a:hover { color:#1766ff; }
.editorial-coming { border-top-color:#9eb7d7; }
.editorial-coming .editorial-type,.editorial-coming > span { color:#617084; }
.home-reviews { background:#f1f6fb; color:#071d49; padding:88px 0 96px; scroll-margin-top:80px; }
.home-reviews-head { display:flex; align-items:end; justify-content:space-between; gap:48px; margin-bottom:32px; }
.home-reviews-kicker { color:#1766ff; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; margin:0 0 13px; }
.home-reviews-head h2 { max-width:720px; font:400 clamp(2.1rem,4.1vw,3.6rem)/1.05 'Inter Tight',sans-serif; letter-spacing:-.035em; margin:0; }
.home-reviews-head > p { max-width:310px; color:#46546d; line-height:1.6; margin:0 0 3px; }
.home-reviews-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
.home-reviews-quotes { grid-template-columns:repeat(3,minmax(0,1fr)); }
.home-review-card { min-width:0; min-height:270px; padding:30px; display:flex; flex-direction:column; align-items:flex-start; background:#fff; border-top:3px solid #1766ff; }
.home-review-source,.home-review-author { color:#1766ff; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; margin:0; }
.home-review-card h3 { font:500 clamp(1.65rem,2.7vw,2.4rem)/1.12 'Inter Tight',sans-serif; letter-spacing:-.025em; margin:22px 0 8px; }
.home-review-address { color:#46546d; line-height:1.6; margin:0 0 28px; }
.home-review-stars { color:#1766ff; font-size:19px; letter-spacing:.12em; line-height:1; margin:0 0 24px; }
.home-review-card blockquote { font:400 clamp(1.15rem,1.55vw,1.4rem)/1.45 'Inter Tight',sans-serif; margin:0 0 26px; }
.home-review-author { color:#46546d; margin:0 0 20px; }
.home-review-card a { min-height:44px; margin-top:auto; display:inline-flex; align-items:center; gap:12px; color:#071d49; font-weight:700; text-decoration:underline; text-underline-offset:5px; }
.home-review-card a:hover { color:#1766ff; }
.home-review-card a:focus-visible { outline:2px solid #1766ff; outline-offset:4px; }
@media(max-width:700px) {
 .home-reviews { padding:64px 0 70px; }
 .home-reviews-head { display:block; margin-bottom:26px; }
 .home-reviews-head > p { max-width:38ch; margin-top:16px; }
 .home-reviews-grid { grid-template-columns:1fr; gap:14px; }
 .home-review-card { min-height:220px; padding:25px; }
}
@media(min-width:701px) and (max-width:1050px) { .home-reviews-quotes { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.studio-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.studio-card { min-width:0; display:flex; flex-direction:column; overflow:hidden; border-radius:18px; background:#f7faff; color:#071d49; }
.studio-card-visual { position:relative; min-height:208px; padding:26px 30px; display:flex; flex-direction:column; justify-content:space-between; overflow:hidden; background:linear-gradient(135deg,#dceafa 0%,#c7dcf5 100%); }
.studio-card:nth-child(2) .studio-card-visual { background:linear-gradient(135deg,#d2e4f8 0%,#e4effb 100%); }
.studio-card-number,.studio-card-place { position:relative; z-index:1; }
.studio-card-number { font-size:12px; font-weight:700; letter-spacing:.12em; }
.studio-card-place { max-width:380px; font:400 clamp(2rem,3.2vw,3.3rem)/1 'Inter Tight',sans-serif; letter-spacing:-.04em; }
.studio-card-visual svg { position:absolute; width:100%; height:100%; inset:0; opacity:.35; }
.studio-card-visual svg path { fill:none; stroke:#fff; stroke-width:2; }
.studio-card-body { display:flex; flex:1; flex-direction:column; padding:30px; }
.studio-card-eyebrow { margin:0 0 10px; color:#3569a4; font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase; }
.studio-card h3 { margin:0 0 20px; font:500 clamp(1.5rem,2.2vw,2rem)/1.12 'Inter Tight',sans-serif; letter-spacing:-.025em; }
.studio-card address { font-style:normal; font-size:16px; line-height:1.5; }
.studio-card-hours { margin:12px 0 0; color:#4e607c; font-size:14px; }
.studio-card-actions { display:flex; flex-wrap:wrap; align-items:center; gap:8px 20px; margin-top:auto; padding-top:28px; }
.studio-card-actions a { min-height:44px; display:inline-flex; align-items:center; gap:14px; font-weight:650; }
.studio-card-main { justify-content:space-between; width:100%; padding:12px 17px; border-radius:6px; background:#1766ff; color:#fff; text-decoration:none; }
.studio-card-main:hover,.studio-card-main:focus-visible { background:#104bc0; }
.studio-card-textlink { color:#163f7c; text-decoration:underline; text-underline-offset:4px; }
.studio-card-textlink:hover,.studio-card-textlink:focus-visible { color:#1766ff; }
@media(max-width:1000px) { .site-header .header-inner { grid-template-columns:160px 1fr auto; } }
@media(max-width:700px) {
 #nav .header-logo,#nav .header-logo img,.site-header .brand,.site-header .brand img { width:128px!important; height:62px!important; }
 .site-header .header-inner { min-height:62px; grid-template-columns:1fr auto; }
 #top { min-height:calc(100svh - 120px)!important; }
 #top > .relative { padding-top:24px!important; padding-bottom:80px!important; }
 #top .hero-locations { gap:12px; margin-bottom:14px; }
 #top .hero-location-name { font-size:16px; }
 #top h1 { font-size:clamp(2.55rem,9.8vw,3.55rem)!important; margin-bottom:14px; }
 #top p.font-body { font-size:15px; line-height:1.42; margin-bottom:16px; }
 #top .flex.flex-wrap.gap-3 a { padding:11px 17px; }
 #top .flex.flex-wrap.gap-3 { display:none; }
 #top > img { object-position:center top!important; }
 .hero-shade { background:linear-gradient(90deg,rgba(3,15,51,.90),rgba(3,15,51,.68) 65%,rgba(3,15,51,.35)),linear-gradient(0deg,rgba(3,15,51,.45),transparent 60%); }
 .editorial-section { padding:55px 0 60px; }
 .editorial-head { align-items:end; }
 .editorial-card { flex-basis:88%; min-height:255px; padding:24px; }
 .studio-grid { grid-template-columns:1fr; }
 .studio-card-visual { min-height:165px; padding:22px 24px; }
 .studio-card-body { padding:24px; }
}
@media(max-height:700px) and (min-width:701px) { #top h1 { font-size:clamp(2.7rem,4.8vw,4.3rem)!important; } #top > .relative { padding-block:24px!important; } }
@media(max-width:340px) and (max-height:650px) {
 #top { min-height:calc(100svh - 140px)!important; }
 #top > .relative { padding-top:8px!important; padding-bottom:8px!important; }
 #top .hero-locations { margin-bottom:8px; }
 #top .hero-locations a { padding:5px 0; }
 #top .hero-location-address { display:none; }
 #top h1 { font-size:2rem!important; margin-bottom:7px; }
 #top p.font-body { font-size:13px; line-height:1.34; margin-bottom:0; }
 .fixed.bottom-3 { display:none; }
}

/* Full-screen hero: anchor the group at the top and crop only the lower edge. */
#top { min-height:calc(100svh - 70px)!important; align-items:flex-end; }
#top > img { inset:0!important; width:100%!important; height:100%!important; object-fit:cover!important; object-position:center top!important; }
#top > .relative { padding-right:24px!important; }
#top h1 { font-size:clamp(3rem,5.3vw,5rem)!important; }
@media(max-width:1000px) {
 #top { min-height:calc(100svh - 62px)!important; }
 #top > img { object-position:center top!important; }
 #top > .relative { padding-top:28px!important; padding-right:24px!important; padding-bottom:34px!important; }
}
@media(max-width:700px) {
 #top > .relative { padding-bottom:130px!important; }
}

/* Editorial rail remains a manually controlled list so every link is actionable. */
.editorial-track { scroll-snap-type:x mandatory!important; scrollbar-width:thin; }
.editorial-track::-webkit-scrollbar { display:block; height:6px; }

/* Team: sticky role navigation and alternating photo/profile pairs. */
.team-page .team-layout { display:grid; grid-template-columns:210px minmax(0,1fr); gap:clamp(32px,5vw,80px); padding-top:64px; padding-bottom:94px; }
.team-page .team-sidebar { position:sticky; top:110px; align-self:start; }
.team-page .team-sidebar .eyebrow { color:#1766ff; margin:0 0 20px; }
.team-page .team-filters { display:grid; gap:8px; }
.team-page .team-filters button { width:100%; justify-content:space-between; text-align:left; border:0; border-left:2px solid #c7d7eb; border-radius:0; background:transparent; padding:12px 14px; font-size:15px; }
.team-page .team-filters button[aria-pressed="true"] { background:#e9f2ff; border-left-color:#1766ff; color:#071d49; }
.team-page .team-group + .team-group { margin-top:84px; }
.team-page .group-head { border-bottom:1px solid #d5dfeb; padding-bottom:18px; }
.team-page .team-profiles { display:grid; gap:40px; margin-top:30px; }
.team-page .team-profile { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:clamp(26px,4vw,64px); padding:0 0 40px; border-bottom:1px solid #e0e6ee; }
.team-page .team-profile:nth-of-type(even) .team-profile-photo { order:2; }
.team-page .team-profile:nth-of-type(even) .team-profile-copy { order:1; }
.team-page .team-profile-photo { aspect-ratio:4/4.2; width:100%; }
.team-page .team-profile-photo img { width:100%; height:100%; object-fit:contain; object-position:center; }
.team-page .team-profile-index { font-size:12px!important; font-weight:700; letter-spacing:.11em; text-transform:uppercase; color:#1766ff!important; margin-bottom:16px!important; }
.team-page .team-profile h3 { font-size:clamp(30px,3vw,46px); line-height:1.05; font-weight:400; margin:0 0 12px; }
.team-page .team-profile-role { color:#124b9c!important; font-size:17px!important; font-weight:650; margin-bottom:26px!important; }
.team-page .team-profile-bio { font-size:16px!important; line-height:1.7!important; color:#46546d!important; max-width:48ch; }
.team-page .team-cv-button { display:inline-flex; align-items:center; gap:22px; min-height:48px; margin-top:26px; padding:10px 0; background:none; border:0; border-bottom:1px solid #071d49; color:#071d49; font:700 15px/1.3 'DM Sans',sans-serif; cursor:pointer; }
.team-page .team-cv-button:hover { color:#1766ff; border-color:#1766ff; }
.team-cv-dialog { width:min(620px,calc(100% - 32px)); max-height:min(85vh,760px); padding:30px; border:0; border-radius:12px; box-shadow:0 24px 80px rgba(7,29,73,.25); color:#071d49; }
.team-cv-dialog::backdrop { background:rgba(3,15,51,.72); }
.team-cv-head { display:flex; justify-content:space-between; gap:20px; align-items:start; }
.team-cv-head .eyebrow { color:#1766ff; margin:0; }
.team-cv-head button { width:44px; height:44px; border:1px solid #bdcce0; border-radius:50%; background:#fff; color:#071d49; font-size:28px; line-height:1; cursor:pointer; }
.team-cv-dialog h2 { font-size:clamp(32px,5vw,50px); margin:20px 0 8px; }
.team-cv-role { color:#124b9c; font-weight:700; margin:0 0 28px; }
.team-cv-body { border-top:1px solid #d5dfeb; padding-top:12px; }
.team-cv-body h3 { font-size:20px; margin:22px 0 8px; }
.team-cv-body p { color:#46546d; line-height:1.65; margin:0; }
.team-cv-body a { display:inline-flex; min-height:44px; align-items:center; margin-top:20px; color:#124b9c; text-decoration:underline; }
@media(max-width:900px) {
 .team-page .team-layout { grid-template-columns:1fr; gap:30px; padding-top:32px; }
 .team-page .team-sidebar { position:static; }
 .team-page .team-filters { display:flex; flex-wrap:wrap; }
 .team-page .team-filters button { width:auto; min-width:125px; }
}
@media(max-width:700px) {
 .team-page .team-profile { grid-template-columns:1fr; gap:20px; }
 .team-page .team-profile:nth-of-type(even) .team-profile-photo,.team-page .team-profile:nth-of-type(even) .team-profile-copy { order:initial; }
 .team-page .team-profile-photo { aspect-ratio:4/3.8; }
 .team-page .team-group + .team-group { margin-top:55px; }
 .team-cv-dialog { padding:22px; }
}

/* Let the introduction remain pinned to its grid while the questions pass. */
#bisogni { overflow:visible; }
#bisogni .lg\:sticky { align-self:start; }
/* Shared masthead, restrained page transitions, and continuous editorial rail. */
#nav { padding-inline:32px; background-color:#dfe2e6; background-image:linear-gradient(115deg,#e7e8ea 0%,#dfe2e6 52%,#d3d7dd 100%); border-color:rgba(7,29,73,.14); }
#nav.scrolled { background-color:#dfe2e6; background-image:linear-gradient(115deg,#e7e8ea 0%,#dfe2e6 52%,#d3d7dd 100%); }
#nav .nav-inner { max-width:1200px; min-height:70px; margin-inline:auto; display:flex; align-items:center; justify-content:space-between; gap:18px; }
#nav .header-logo { flex:none; display:inline-flex; align-items:center; overflow:hidden; }
#nav .primary-nav { display:flex; align-items:center; gap:2px; padding-inline:5px; border-inline:1px solid rgba(7,29,73,.12); }
#nav .primary-nav-link { position:relative; display:inline-flex; align-items:center; min-height:44px; padding:0 10px; color:#071d49; font:650 14px/1.2 'DM Sans',sans-serif; white-space:nowrap; text-decoration:none; transition:color .2s ease; }
#nav .primary-nav-link::after { content:''; position:absolute; bottom:4px; left:10px; right:10px; height:2px; background:#1766ff; opacity:0; transform:translateY(3px); transition:opacity .2s ease,transform .2s ease; }
#nav .primary-nav-link:hover,#nav .primary-nav-link[aria-current="page"] { color:#1766ff; }
#nav .primary-nav-link:hover::after,#nav .primary-nav-link:focus-visible::after,#nav .primary-nav-link[aria-current="page"]::after { opacity:1; transform:none; }
#nav .nav-actions { display:flex; align-items:center; gap:8px; }
#nav .header-cta { display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:10px 20px; border-radius:999px; background:linear-gradient(135deg,#071d49,#123879); color:#fff; font:650 14px/1.2 'DM Sans',sans-serif; white-space:nowrap; text-decoration:none; box-shadow:0 10px 22px -14px rgba(7,29,73,.85); transition:transform .2s ease,background .2s ease; }
#nav .header-cta:hover { transform:translateY(-2px); background:#1766ff; }
#nav .header-cta span { margin-left:12px; }
#nav .home-menu-toggle { display:none; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid rgba(7,29,73,.2); border-radius:50%; background:rgba(255,255,255,.35); color:#071d49; cursor:pointer; }
#nav .mobile-menu { max-width:1200px; margin-inline:auto; padding:8px 0 18px; background:transparent; }
#nav .mobile-menu.hidden { display:none; }
#nav .mobile-menu a { display:flex; align-items:center; min-height:44px; border-top:1px solid rgba(7,29,73,.12); color:#071d49; font-weight:600; }
@media(max-width:1090px) {
 #nav .primary-nav { display:none; }
 #nav .home-menu-toggle { display:inline-flex; }
}
@media(min-width:1024px) and (max-width:1090px) {
 #nav .mobile-menu.is-open { display:grid; }
}
@media(max-width:700px) {
 #nav { padding-inline:12px; }
 #nav .nav-inner { min-height:62px; }
 #nav .header-cta { padding-inline:13px; font-size:13px; }
 #nav .header-cta span { display:none; }
}
/* Page-wide actions and role navigation. */
.secondary-page .secondary-cta { background:#071d49!important; color:#fff!important; }
.secondary-cta .cta { align-items:center; }
.secondary-cta .cta > div:first-child { max-width:650px; }
.secondary-cta .cta p:not(.eyebrow) { margin:14px 0 0; color:#c3d3eb; font-size:17px; line-height:1.65; }
.secondary-cta .cta-actions { display:flex; flex-direction:column; align-items:flex-start; gap:12px; flex:none; }
.secondary-page .secondary-cta .button { background:#fff; color:#071d49; }
.secondary-page .secondary-cta .button:hover { background:#dceaff; }
.secondary-cta .cta-text-link { min-height:44px; display:inline-flex; align-items:center; gap:12px; color:#fff; text-decoration:underline; text-underline-offset:5px; }
.inline-contact { display:flex; justify-content:space-between; align-items:center; gap:22px; margin:30px 0 45px; padding:22px 26px; background:#eaf3ff; border-left:3px solid #1766ff; }
.inline-contact p { margin:0; font-size:16px; line-height:1.5; }
.inline-contact a { display:inline-flex; align-items:center; min-height:44px; flex:none; color:#124b9c; font-weight:700; text-decoration:underline; text-underline-offset:4px; }
.team-taxonomy { padding:30px 0 10px; border-bottom:1px solid #d5dfeb; }
.team-taxonomy .eyebrow { margin-bottom:15px; color:#1766ff; }
.team-filters { display:flex; flex-wrap:wrap; gap:8px; }
.team-filters button { min-height:44px; display:inline-flex; align-items:center; gap:12px; padding:9px 17px; border:1px solid #b9cbe2; border-radius:4px; background:#fff; color:#071d49; font:600 14px/1.2 'DM Sans',sans-serif; cursor:pointer; transition:background .2s ease,color .2s ease,border-color .2s ease; }
.team-filters button span { font-size:12px; opacity:.7; }
.team-filters button:hover { background:#e6f0fd; }
.team-filters button[aria-pressed="true"] { color:#fff; background:#071d49; border-color:#071d49; }
.team-group[hidden] { display:none!important; }
@media(max-width:700px) {
 .secondary-cta .cta { align-items:flex-start; }
 .inline-contact { flex-direction:column; align-items:flex-start; }
 .team-filters button { flex:1 1 calc(50% - 8px); justify-content:space-between; }
}

/* The two location pages use one information, map, and form structure. */
.location-overview { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:stretch; }
.location-page .location-contact-panel { padding:38px; background:#eaf3fd; display:flex; flex-direction:column; align-items:flex-start; }
.location-page .location-contact-panel h2 { font-size:clamp(29px,3vw,43px); line-height:1.12; margin:0 0 28px; }
.location-page .location-contact-panel address { font-style:normal; font-size:19px; line-height:1.5; }
.location-page .location-contact-panel p:not(.eyebrow) { color:#46546d; line-height:1.65; font-size:16px; }
.location-page .location-contact-panel .button { margin-top:auto; gap:16px; }
.location-details { width:100%; display:grid; gap:14px; margin:30px 0; }
.location-details div { display:grid; grid-template-columns:92px minmax(0,1fr); gap:12px; padding-top:12px; border-top:1px solid #c1d2e7; }
.location-details dt { color:#4e607c; font-size:13px; }
.location-details dd { margin:0; overflow-wrap:anywhere; font-weight:650; }
.location-details a { text-decoration:underline; text-underline-offset:4px; }
.location-map { min-height:440px; background:linear-gradient(140deg,#d9e8f9,#b7d3f4); }
.location-map-consent { height:100%; min-height:440px; padding:42px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; }
.location-map-consent h2 { font-size:clamp(32px,3.5vw,48px); font-weight:400; }
.location-map-consent p:not(.eyebrow) { max-width:38ch; line-height:1.65; }
.location-map-consent .button { margin-top:14px; }
.location-map iframe { display:block; width:100%; height:100%; min-height:440px; border:0; }
.location-form-section { background:#f1f6fc; scroll-margin-top:90px; }
.location-form-layout { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:64px; align-items:start; }
.location-form-layout > div:first-child h2 { font-size:clamp(35px,4vw,54px); font-weight:400; line-height:1.08; }
.location-form-layout > div:first-child p:not(.eyebrow) { max-width:42ch; color:#46546d; font-size:17px; line-height:1.7; }
.location-form-layout > div:first-child a { text-decoration:underline; }
.location-form { display:grid; gap:20px; padding:34px; background:#f7faff; border:1px solid #cbdcf0; border-radius:18px; box-shadow:0 18px 50px -36px rgba(7,29,73,.5); }
.location-form .form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.location-form label { display:grid; gap:7px; color:#071d49; font-size:14px; font-weight:650; }
.location-form label span { font-weight:400; color:#617084; }
.location-form input,.location-form textarea,.location-form select { width:100%; min-height:48px; padding:11px 14px; border:1px solid #b8cbe3; border-radius:8px; background:#fff; color:#071d49; font:16px/1.4 'DM Sans',sans-serif; transition:border-color .2s ease,box-shadow .2s ease; }
.location-form textarea { resize:vertical; }
.location-form input:focus,.location-form textarea:focus,.location-form select:focus { border-color:#1766ff; outline:2px solid #1766ff; outline-offset:2px; box-shadow:0 0 0 4px rgba(23,102,255,.1); }
.location-form .button { justify-self:start; gap:12px; border:0; cursor:pointer; }
.location-form .form-guidance { margin:0; color:#536781; font-size:13px; line-height:1.55; }
.location-form .form-trap { position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.home-contact-form { width:min(680px,100%); margin:54px auto 0; padding-top:28px; border-top:1px solid rgba(255,255,255,.23); text-align:left; }
.home-contact-form h3 { margin:0 0 20px; color:#fff; font:500 clamp(1.5rem,2.5vw,2rem)/1.2 'Inter Tight',sans-serif; }
.home-contact-form .location-form { color:#071d49; background:#edf4fc; border-color:rgba(255,255,255,.7); }
.home-contact-form .location-form .button { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:0 24px; border-radius:999px; background:#1766ff; color:#fff; font-weight:700; transition:transform .2s ease,background .2s ease; }
.home-contact-form .location-form .button:hover { background:#0f4eca; transform:translateY(-2px); }
.home-contact-form .form-status { margin-bottom:16px; }
.mobile-actions { transition:transform .2s ease,opacity .2s ease; }
.contact-in-view .mobile-actions { transform:translateY(130%); opacity:0; pointer-events:none; }
.form-status { margin:0 0 18px; padding:15px 18px; background:#e4f3e9; color:#17472a; }
.form-status.form-error { background:#ffeded; color:#852828; }
.location-switch { padding-block:25px 45px; }
.location-switch a[aria-current="page"] { color:#1766ff; border-bottom-color:#1766ff; font-weight:700; }
@media(max-width:900px) {
 .location-overview,.location-form-layout { grid-template-columns:1fr; gap:22px; }
 .location-map,.location-map-consent,.location-map iframe { min-height:330px; }
}
@media(max-width:600px) {
 .location-page .location-contact-panel,.location-map-consent,.location-form { padding:24px; }
 .location-form .form-row { grid-template-columns:1fr; }
}
@media(max-width:700px) {
 #top { display:block!important; min-height:0!important; }
 #top > img { inset:0 0 auto 0!important; width:100%!important; height:clamp(230px,62vw,390px)!important; object-fit:cover!important; object-position:center top!important; filter:saturate(.84); }
 #top .hero-shade { display:block!important; inset:0 0 auto 0!important; height:clamp(230px,62vw,390px)!important; background:linear-gradient(180deg,rgba(7,29,73,.04) 0%,rgba(7,29,73,.12) 43%,rgba(7,29,73,.68) 82%,#071d49 100%)!important; border:0!important; }
 #top > .relative { display:flex!important; flex-direction:column!important; padding-top:calc(clamp(230px,62vw,390px) + 14px)!important; padding-bottom:24px!important; }
 #top h1 { order:1; }
 #top p.font-body { order:2; margin-bottom:0!important; }
 #top .hero-locations { display:grid!important; order:3; max-width:none; gap:14px; margin:24px 0 0!important; }
 #top .hero-locations a { padding:12px 0 0; border-top-color:rgba(255,255,255,.4); }
 #top .hero-location-name { font-size:clamp(16px,4vw,19px); }
 #top .hero-location-name > span[aria-hidden="true"] { display:none; }
 #top .hero-location-address { display:none; }
 #top .flex.flex-wrap.gap-3 { order:4; }
 #main > section:not(#top):not(.hidden) { padding-top:60px!important; padding-bottom:60px!important; }
 #main > section:not(#top):not(.hidden) .section-rail.mb-20 { margin-bottom:36px; }
 #recensioni .home-review-card a > span[aria-hidden="true"] { display:none; }
}
@media(min-width:1101px) {
 #top > img { inset:0 0 0 auto!important; width:min(77%,1180px)!important; height:100%!important; object-fit:cover!important; object-position:center center!important; }
 #top .hero-shade { background:linear-gradient(90deg,#071d49 0%,rgba(7,29,73,.98) 26%,rgba(7,29,73,.82) 42%,rgba(7,29,73,.32) 65%,rgba(7,29,73,.06) 90%),linear-gradient(0deg,rgba(7,29,73,.18),transparent 40%)!important; }
 #top > .relative { max-width:none!important; padding-left:clamp(40px,4.5vw,84px)!important; }
}
