/* Revisione reversibile: ordine, respiro e leggibilità. */
:root{--academy-ivory:#f7f5ef;--academy-blue:#071e2b;--academy-gold:#785c28;--masthead-height:90px}
body{background:var(--academy-ivory)}
.site-masthead{display:contents}
.site-masthead .header{position:sticky;top:0;z-index:60;padding:12px 32px;min-height:86px;box-shadow:0 2px 10px #071e2b12}
.site-masthead .header .brand{gap:12px;flex-shrink:0}
.site-masthead .header .brand img{width:64px;height:64px;object-fit:contain}
.site-masthead .header .brand>span{font-size:12px}
.site-masthead .header #mainnav{gap:18px;align-items:center;flex-wrap:nowrap}
.site-masthead .header #mainnav>a:not(.btn),.site-masthead .header .nav-more>summary{font-size:14px;letter-spacing:.035em;white-space:nowrap;padding:12px 0;font-weight:650}
.nav-more{position:relative}
.nav-more>summary{list-style:none;cursor:pointer;text-transform:uppercase}
.nav-more>summary::-webkit-details-marker{display:none}
.nav-more>summary:focus-visible{outline:3px solid #b79757;outline-offset:4px}
.nav-more-links{position:absolute;right:0;top:100%;min-width:220px;display:grid;gap:0;padding:8px;background:#fffdf8;border:1px solid #ded6c5;box-shadow:0 12px 25px #071e2b25;color:#123343}
.nav-more:not([open])>.nav-more-links{display:none}
.nav-more-links>a{padding:11px 14px;font-size:14px;font-weight:600;text-transform:none;border:0!important;background:none!important;color:#123343!important}
.nav-more-links>a:hover,.nav-more-links>a:focus-visible{background:#f0eadc!important}
.site-masthead .header #mainnav>.btn[aria-current=page]{color:white}
.page-index .site-masthead .header #mainnav>.btn[aria-current=page]{color:#071e2b}
.pale,.method,.page-title:not(.has-photo),.page-index .press-preview,.page-corsi .learning-section,.page-index .home-pathways{background:var(--academy-ivory)}
.page-index .section{padding:65px 0}
.page-index .section-heading{margin-bottom:30px}
.page-index .home-pathways-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.home-pathways-grid>a{display:flex;flex-direction:column;gap:16px;padding:25px;background:#fff;border:1px solid #deddd6;min-width:0}
.home-pathways-grid h3{font-size:25px;line-height:1.2;letter-spacing:-.025em}
.home-pathways-grid p{font-size:15px;line-height:1.65;margin:0;color:#526773}
.home-pathways-grid>a>span{font-size:14px;font-weight:650;margin-top:auto;padding-top:8px;color:var(--academy-gold)}
.home-pathways-grid img{width:72px;height:58px;object-fit:contain;align-self:flex-end}
.page-index .intro-photo.uncropped-photo{background:transparent;min-height:0;display:flex;align-items:center;justify-content:center}
.page-index .intro-photo.uncropped-photo img{position:static;width:auto;height:auto;max-width:100%;max-height:440px;object-fit:contain}
.page-index .intro-photo.uncropped-photo:after{display:none}
.page-index .intro-copy p{font-size:17px;line-height:1.7}
.page-index .intro-copy .lead{font-size:20px}
.page-index .course-card{height:auto;min-height:0;display:flex;flex-direction:column;background:#fff;color:#123343;border:1px solid #deddd6;overflow:hidden}
.page-index .course-card:after{display:none}
.page-index .course-card>img{display:block;position:static;inset:auto;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;object-position:center;background:#e6eeed;flex:none;transform:none}
.page-index .course-card:hover>img{transform:none}
.page-index .course-card .course-overlay{position:static;inset:auto;display:flex;flex:1;flex-direction:column;padding:25px;background:#fff;color:#123343}
.page-index .course-card .eyebrow{color:#785c28;margin-bottom:14px;font-size:12px}
.page-index .course-card .course-overlay h3{font-size:30px;line-height:1.13;color:#123343;margin:0}
.page-index .course-card .course-overlay p{font-size:16px;line-height:1.65;color:#526773;margin:18px 0 22px}
.page-index .course-card .round-arrow{position:static;inset:auto;transform:none;margin-top:auto;color:#785c28;border-color:#d2c6ab;align-self:flex-start}
.page-index .staff-preview.staff-mini-grid{gap:12px}
.page-index .staff-mini-card{padding:12px 8px;gap:9px}
.page-index .staff-mini-card .staff-mini-portrait{width:84px;height:98px}
.staff-info p{font-size:14px!important;line-height:1.55!important;color:#6b542a}
.course-quick-facts{display:flex;gap:18px 30px;flex-wrap:wrap;align-items:center;margin-top:25px;padding-top:22px;border-top:1px solid #d9d4c7;font-size:15px}
.course-quick-facts strong{display:block;color:#123343}
.course-quick-facts a{color:#785c28;font-weight:650;max-width:360px}
.page-index .home-apnea-feature{padding-bottom:0}
.page-index .gallery-preview{padding:60px 0}
.page-index .press-preview .two-cards>div{background:#fff;padding:26px;border:1px solid #deddd6}
.page-index .next-session .eyebrow{font-size:11px}
@media(max-width:1100px) and (min-width:1001px){.site-masthead .header{padding-inline:22px}.site-masthead .header #mainnav{gap:12px}.site-masthead .header #mainnav>a:not(.btn),.site-masthead .header .nav-more>summary{font-size:12px}.site-masthead .header .brand>span{font-size:10px}.site-masthead .header .brand img{width:55px;height:55px}}
@media(max-width:1000px){.site-masthead .header{padding:12px 24px;min-height:78px}.site-masthead .header #mainnav{align-items:stretch}.site-masthead .header #mainnav.open{gap:4px}.site-masthead .header #mainnav>a:not(.btn),.site-masthead .header .nav-more>summary{font-size:16px;padding:12px 14px}.nav-more-links{position:static;box-shadow:none;margin:0 12px 8px;min-width:0}.page-index .nav-more>summary{color:#f7f3e9}}
@media(max-width:700px){.page-index .home-pathways-grid{grid-template-columns:1fr}.page-index .section{padding:44px 0}.page-index .section-heading{margin-bottom:24px}.page-index .intro-photo.uncropped-photo img{max-height:390px}.page-index .course-card .course-overlay{padding:22px}.page-index .course-card .course-overlay h3{font-size:29px}.page-index .intro-grid{gap:28px}.course-quick-facts{display:grid;gap:15px;font-size:14px}.page-index .press-preview .two-cards>div{padding:22px}}
@media(max-width:600px){.site-masthead .header{padding:10px 18px;min-height:74px}.site-masthead .header .brand img{width:52px;height:52px}.site-masthead .header .brand>span{font-size:10px}.site-masthead .header .brand small{font-size:8px}.page-index .staff-mini-card .staff-mini-portrait{width:80px;height:92px}.page-index .training-hero .hero-content{padding-bottom:20px}}
/* Formati coordinati e marchio di testata più leggibile */
.site-masthead .header{padding-block:8px;min-height:94px}
.site-masthead .header .brand img{width:76px;height:76px}
.site-masthead .header .brand>span{font-size:14px;line-height:1.15}
.site-masthead .header .brand small{font-size:9px}
.page-index .course-card>img{width:100%;aspect-ratio:4/3;height:auto;object-fit:contain;object-position:center}
@media(max-width:1100px) and (min-width:1001px){.site-masthead .header .brand img{width:66px;height:66px}.site-masthead .header .brand>span{font-size:12px}.site-masthead .header{min-height:84px}}
@media(max-width:1000px){.site-masthead .header{padding-block:8px;min-height:88px}.site-masthead .header .brand img{width:70px;height:70px}.site-masthead .header .brand>span{font-size:13px}}
@media(max-width:600px){.site-masthead .header{min-height:78px}.site-masthead .header .brand img{width:60px;height:60px}.site-masthead .header .brand>span{font-size:11.5px}.site-masthead .header .brand small{font-size:8px}}

/* Menu completo visibile e percorso istruttori in evidenza */
.site-masthead .header #mainnav{flex-wrap:wrap;justify-content:flex-end;column-gap:14px;row-gap:4px;min-width:0}
.site-masthead .header #mainnav>a.nav-primary:not(.btn){font-size:14px;font-weight:750}
.site-masthead .header #mainnav>a.nav-secondary:not(.btn){font-size:12px;font-weight:600;letter-spacing:.02em}
.site-masthead .header #mainnav>a.press-nav{background:none;color:inherit;padding:12px 0}
.site-masthead .header #mainnav>a.press-nav{color:inherit!important;padding:12px 0!important}
.site-masthead .header #mainnav>a.nav-contact{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 13px 8px 18px;gap:12px;border:1px solid #d6b36d;border-radius:28px;background:linear-gradient(135deg,#ecd5a0,#dfbd74);color:#092b3c;font-size:12px;font-weight:750;letter-spacing:.04em;box-shadow:0 3px 10px #071e2b14;transition:box-shadow .2s,background .2s,transform .2s}
.site-masthead .header #mainnav>a.nav-contact>span{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;flex:none;border-radius:50%;background:#fff8e977;font-size:21px}
.site-masthead .header #mainnav>a.nav-contact:hover{box-shadow:0 5px 15px #071e2b25;transform:translateY(-1px);background:linear-gradient(135deg,#f3dfb1,#e4c581)}
.home-pathways-grid .home-instructor-pathway .pathway-kicker{font-size:12px;font-weight:650;letter-spacing:.07em;text-transform:uppercase;color:#785c28;margin:0;padding:0}
.home-pathways-grid .home-instructor-pathway h3{font-size:34px;line-height:1.12;letter-spacing:-.035em}
.home-pathways-grid .home-instructor-pathway .pathway-discipline{font-size:17px;font-weight:650;color:#785c28;margin:0;padding:0}
.home-pathway-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-top:auto;padding-top:14px}
.home-pathway-footer>span{font-size:14px;font-weight:650;line-height:1.5;color:#785c28;max-width:210px}
.home-pathway-footer>img{width:76px;height:62px;flex:none;object-fit:contain;align-self:flex-end;margin-left:auto}
@media(max-width:1100px) and (min-width:1001px){.site-masthead .header #mainnav{column-gap:12px}.site-masthead .header #mainnav>a.nav-primary:not(.btn){font-size:13px}.site-masthead .header #mainnav>a.nav-secondary:not(.btn){font-size:11px}.site-masthead .header #mainnav>a.nav-contact{font-size:11px}}
@media(max-width:1000px){.site-masthead .header #mainnav.open{display:flex;flex-direction:column;align-items:stretch;flex-wrap:nowrap;max-height:calc(100svh - 90px);overflow-y:auto;gap:2px}.site-masthead .header #mainnav>a.nav-primary:not(.btn){font-size:17px;padding:11px 16px}.site-masthead .header #mainnav>a.nav-secondary:not(.btn){font-size:14px;padding:9px 16px}.site-masthead .header #mainnav>a.nav-contact{align-self:flex-start;margin:8px 16px 12px;font-size:13px;padding:9px 14px 9px 18px}}
@media(max-width:600px){.home-pathways-grid .home-instructor-pathway h3{font-size:32px}.home-pathway-footer>img{width:70px;height:58px}}
@media(min-width:1001px) and (max-width:1399px){.site-masthead .header #mainnav{display:grid;grid-template-columns:repeat(5,max-content);column-gap:16px;row-gap:4px;justify-content:end}.site-masthead .header #mainnav>a.nav-contact{justify-self:end}}

/* Modulo scaricabile, marchi social e proporzioni di testata */
.site-masthead .header{padding-block:4px;min-height:96px}
.site-masthead .header .brand img{width:88px;height:88px}
.site-masthead .header .brand>span{font-size:16px;line-height:1.1}
.site-masthead .header .brand small{font-size:10px}
.site-masthead .header #mainnav>a:has(.nav-download-caption){display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1.1}
.nav-download-caption{display:block;font:inherit;font-size:.85em;text-transform:none;letter-spacing:.015em}
footer .footer-bottom a:has(.nav-download-caption){display:inline-flex;gap:4px;align-items:center}
.page-index .intro-copy .intro-commitment{font-size:18px;line-height:1.45;letter-spacing:.035em;margin:0 0 16px;color:#785c28;max-width:390px}
.page-index .staff-preview.staff-mini-grid{grid-template-columns:repeat(5,minmax(0,150px));justify-content:center;gap:16px}
.page-index .staff-mini-grid .staff-mini-card{width:100%;padding:10px 7px;gap:8px}
.page-index .staff-mini-card .staff-mini-portrait{width:100px;height:116px}
.page-index .staff-mini-card .staff-mini-name{font-size:13px;min-height:2.7em}
.social-brands{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:330px}
.social-brands .social-brand{display:flex;align-items:center;justify-content:center;min-width:0;height:56px;padding:12px;background:#fff;border:1px solid #e3dfd5;border-radius:8px;margin:0;text-decoration:none;transition:transform .2s,box-shadow .2s}
.social-brands a.social-brand:hover{transform:translateY(-2px);box-shadow:0 5px 12px #071e2b22}
.social-brands a.social-brand:focus-visible{outline:3px solid #b79757;outline-offset:3px}
.social-brands .social-brand img{display:block;position:static;width:115px;max-width:100%;height:28px;object-fit:contain;margin:0}
.social-brands .social-getyourguide{height:72px}
.social-brands .social-getyourguide img{height:48px;width:85px}
.social-brands .social-koraliso{height:72px}
.page-contatti main .social-brands{grid-template-columns:repeat(4,minmax(0,1fr));max-width:840px;margin-top:28px;gap:16px}
.page-contatti main .social-brand{height:80px;padding:16px}
.page-contatti main .social-brand img{width:145px;height:36px}
.page-contatti main .social-getyourguide img{height:54px}
.footer-social>.social-brands{margin:14px 0 18px}
.download-section{padding:0 0 42px;background:var(--academy-ivory)}
.enrollment-download{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:28px 32px;border:1px solid #d9d4c7;border-left:4px solid #b79757;background:white}
.enrollment-download h2{font-size:30px;line-height:1.2;margin:6px 0 10px}
.enrollment-download p{margin:0 0 8px;max-width:560px}
.download-meta{font-size:13px;color:#526773}
.enrollment-download .btn{flex:none}
.site-masthead .masthead-affiliations{padding:2px 0 4px}
.site-masthead .masthead-affiliations .federation-logo .logo-window{height:98px}
.site-masthead .masthead-affiliations .federation-logo .logo-window img{max-height:98px}
.site-masthead .masthead-affiliations .federation-logo:has(img[alt="FIPSAS"]) .logo-window img{width:98px;height:98px}
.site-masthead .masthead-affiliations .federation-logo.logo-cmas .logo-window img{height:92px;max-height:92px}
.site-masthead .masthead-affiliations .federation-logo.logo-dan .logo-window img{width:110px;height:60px;max-height:60px}
.site-masthead .masthead-affiliations .federation-logo:has(img[alt="Sport e Salute"]) .logo-window img{width:120px;height:76px}
.site-masthead .masthead-affiliations .federation-logo.logo-tricolore .logo-window img{width:86px;height:86px;max-height:86px}
@media(max-width:1100px) and (min-width:1001px){.site-masthead .header .brand img{width:76px;height:76px}.site-masthead .header .brand>span{font-size:13.8px}.site-masthead .header{min-height:84px}.site-masthead .header .brand{gap:8px}}
@media(max-width:1000px){.site-masthead .header{min-height:90px}.site-masthead .header .brand img{width:82px;height:82px}.site-masthead .header .brand>span{font-size:15px}.site-masthead .header #mainnav.open>a:has(.nav-download-caption){align-items:flex-start}.page-index .staff-preview.staff-mini-grid{grid-template-columns:repeat(3,minmax(0,150px))}}
@media(max-width:700px){.enrollment-download{flex-direction:column;align-items:flex-start;padding:24px;gap:20px}.enrollment-download h2{font-size:27px}.page-contatti main .social-brands{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.site-masthead .header{min-height:78px;padding-inline:16px}.site-masthead .header .brand img{width:70px;height:70px}.site-masthead .header .brand>span{font-size:13.3px}.site-masthead .header .brand small{font-size:9px}.site-masthead .header .brand{gap:8px}.page-index .staff-preview.staff-mini-grid{grid-template-columns:repeat(2,minmax(0,150px));gap:12px}.page-index .intro-copy .intro-commitment{font-size:16px}.site-masthead .masthead-affiliations .federation-logos{gap:4px 10px}.site-masthead .masthead-affiliations .federation-logo .logo-window{height:70px}.site-masthead .masthead-affiliations .federation-logo:has(img[alt="FIPSAS"]) .logo-window img{width:70px;height:70px}.site-masthead .masthead-affiliations .federation-logo.logo-cmas .logo-window img{height:68px;max-height:68px}.site-masthead .masthead-affiliations .federation-logo.logo-dan .logo-window img{width:83px;height:46px;max-height:46px}.site-masthead .masthead-affiliations .federation-logo:has(img[alt="Sport e Salute"]) .logo-window img{width:94px;height:58px}.site-masthead .masthead-affiliations .federation-logo.logo-tricolore .logo-window img{width:64px;height:64px;max-height:64px}.site-masthead .masthead-affiliations .federation-logo:nth-child(4) .logo-window,.site-masthead .masthead-affiliations .federation-logo:nth-child(5) .logo-window{height:64px}}
/* Allineamento del marchio e richiamo oro per regolamento e download. */
.site-masthead .header .brand>span{text-align:center}
.site-masthead .header #mainnav>a:has(.nav-download-caption){color:#826329}
.page-index .site-masthead .header #mainnav>a:has(.nav-download-caption){color:#e7cb86}

/* Versioni a colori dei marchi, senza filtri sulle immagini. */
.social-brands .social-instagram{gap:8px}
.social-brands .social-instagram img.instagram-glyph{width:28px;height:28px;flex:none}
.social-brands .social-instagram img.instagram-wordmark{width:calc(100% - 36px);max-width:115px;height:28px;min-width:0}
.social-brands .social-tripadvisor{background:#34e0a1;border-color:#34e0a1}
.page-contatti main .social-instagram img.instagram-glyph{width:32px;height:32px}
.page-contatti main .social-instagram img.instagram-wordmark{height:32px;width:calc(100% - 40px);max-width:145px}
.btn.btn-whatsapp{background:#075e54;border-color:#075e54;color:#fff;justify-content:center;gap:12px}
.btn.btn-whatsapp:hover{background:#128c7e;border-color:#128c7e;color:#fff}
.whatsapp-mark,.btn .whatsapp-mark,.floating-contact .whatsapp-mark{display:block;position:static;width:28px;height:28px;flex:none;object-fit:contain;margin:0;filter:none}
.floating-contact .whatsapp-mark{width:24px;height:24px}