@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@700;800&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#193f50;--blue:#dceef3;--yellow:#f6d85e;--pink:#edb7c0}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;color:#061747;background:#fffefb;font:17px/1.7 'DM Sans',sans-serif}h1,h2,h3{font-family:Manrope,sans-serif;line-height:1.15;letter-spacing:-.045em}h1{font-size:clamp(42px,5.2vw,76px);font-weight:500;margin:24px 0}h2{font-size:clamp(32px,3.6vw,50px);font-weight:500;margin:12px 0 28px}h3{font-size:25px;font-weight:600}p{margin:0 0 20px}a{color:inherit;text-underline-offset:5px}img{max-width:100%;display:block}header{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:18px 5%;gap:25px;background:#fffefb}header .logo{width:180px;height:122.4px;object-fit:contain}nav{display:flex;gap:26px;align-items:center;font-size:15px;font-weight:600}nav a{text-decoration:none}.navcontact{background:var(--ink);color:white;padding:13px 21px;border-radius:99px}.menu{display:none}.wrap{max-width:1280px;margin:auto;padding:72px 40px}.brand-intro{max-width:1280px;margin:0 auto;padding:28px 40px 8px;text-align:center}.brand-intro p{max-width:1100px;margin:0 auto;font-family:Manrope,sans-serif;font-size:clamp(25px,3.1vw,42px);font-weight:700;line-height:1.3;letter-spacing:.025em;color:#061747}@media(max-width:650px){.brand-intro{padding:24px 24px 8px}.brand-intro p{font-size:25px;line-height:1.35}}.brand-banner{background:#e5f5f8;text-align:center;padding:18px 24px 20px;color:#174b80}.brand-banner .brand-name{font-family:Manrope,sans-serif;font-size:clamp(30px,3.2vw,42px);font-weight:600;letter-spacing:-.02em;line-height:1.2;margin:0 0 6px}.brand-subtitle span{display:inline-block}.brand-education{color:#007e79}.brand-specialist{position:relative;isolation:isolate}.brand-specialist::after{content:"";position:absolute;left:-2%;right:-2%;bottom:2px;height:7px;background:#f6d85e;border-radius:50%;transform:rotate(-2deg);z-index:-1}.brand-banner .brand-subtitle{font-size:clamp(20px,2.2vw,28px);font-weight:600;line-height:1.4;margin:0}.header-identity{max-width:1280px;margin:0 auto;padding:12px 40px 0;display:flex;align-items:center;gap:18px}.header-identity p{font-family:Manrope,sans-serif;font-size:clamp(21px,2.3vw,30px);line-height:1.35;font-weight:500;letter-spacing:-.02em;color:#174b80;margin:0}.header-identity strong{font-weight:600;color:#007e79}.identity-accent{width:5px;height:62px;flex:0 0 5px;border-radius:6px;background:linear-gradient(to bottom,#68bfb2 0 72%,#f6d85e 72% 100%)}@media(max-width:650px){.header-identity{padding:14px 24px 6px;gap:14px}.identity-accent{height:54px}}.editorial-identity{max-width:1200px;margin:0 auto;padding:28px 40px 12px;text-align:center}.editorial-identity p{font-family:Georgia,"Times New Roman",serif;font-size:clamp(28px,3.4vw,46px);font-weight:400;line-height:1.3;letter-spacing:-.035em;color:#061747;margin:0}.editorial-identity em{font-style:italic;color:#007e79;white-space:nowrap}@media(max-width:650px){.editorial-identity{padding:24px 26px 12px}.editorial-identity p{font-size:30px}}.playful-identity{max-width:1220px;margin:0 auto;padding:20px 35px 16px;text-align:center}.playful-identity p{font-family:"Nunito",Manrope,sans-serif;font-size:clamp(29px,3.5vw,46px);font-weight:800;line-height:1.4;letter-spacing:-.025em;margin:0}.playful-identity p span{display:inline-block;position:relative;padding:0 5px;isolation:isolate}.identity-word-blue{color:#276d9b}.identity-word-teal{color:#218679;transform:rotate(-2deg)}.identity-word-rose{color:#b84e78;transform:rotate(1deg)}.identity-word-teal::after,.identity-word-rose::after{content:"";position:absolute;bottom:4px;left:2px;right:2px;height:10px;border-radius:50%;z-index:-1;background:#d5f0df}.identity-word-rose::after{background:#ffe89d}.identity-dots{display:flex;justify-content:center;align-items:center;gap:8px;margin-bottom:7px}.identity-dots i{width:9px;height:9px;border-radius:50%;background:#73bdd6}.identity-dots i:nth-child(2){width:12px;height:12px;background:#f6d85e}.identity-dots i:nth-child(3){background:#edb7c0}@media(max-width:650px){.playful-identity{padding:18px 22px 12px}.playful-identity p{font-size:30px}}.refined-identity{max-width:1220px;margin:0 auto;padding:24px 35px 14px;text-align:center}.refined-identity p{font-family:Manrope,sans-serif;font-size:clamp(26px,3vw,40px);font-weight:500;line-height:1.4;letter-spacing:-.035em;color:#061747;margin:0}.refined-identity span{color:#007e79;font-weight:600;display:inline-block}@media(max-width:650px){.refined-identity{padding:20px 24px 10px}.refined-identity p{font-size:27px}}.photo-identity{position:absolute;top:38px;left:-26px;z-index:2;background:#fffefb;padding:20px 28px;border-radius:4px 22px 22px 22px;border-left:4px solid #68bfb2;box-shadow:0 8px 26px #193f5014;transform:rotate(-3deg);font-family:Manrope,sans-serif;font-size:clamp(19px,1.9vw,25px);line-height:1.35;letter-spacing:-.025em;color:#061747}.photo-identity span,.photo-identity strong{display:block}.photo-identity strong{font-weight:600;color:#007e79}@media(max-width:650px){.photo-identity{top:24px;left:-12px;padding:15px 20px;font-size:21px}}.hero{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center;padding-top:42px;padding-bottom:82px}.eyebrow{font-size:12px;letter-spacing:.18em;font-weight:700}em{font-style:normal;color:#347d92;position:relative}.hero p{max-width:430px;font-size:19px}.hero .hero-identity{font-family:Manrope,sans-serif;font-size:clamp(22px,2.1vw,29px);font-weight:600;line-height:1.4;letter-spacing:0;margin:0 0 22px;max-width:none;color:#061747}.button{display:inline-flex;gap:32px;align-items:center;padding:15px 24px;border-radius:50px;background:var(--ink);color:white;text-decoration:none;font-weight:600;font-size:15px;border:0;cursor:pointer}.button span{font-size:24px}.locations{font-size:15px;font-weight:700;letter-spacing:.12em;margin-top:38px;display:flex;gap:14px;align-items:center}.locations i{width:5px;height:5px;background:#d8ad3e;border-radius:50%}.heroart{position:relative;padding:20px 0 30px}.heroart>img{width:100%;height:540px;object-fit:cover;object-position:55% center;border-radius:160px 160px 30px 30px}.sun{position:absolute;top:-25px;right:-24px;font-size:135px;line-height:1;color:var(--yellow);transform:rotate(15deg)}.note{position:absolute;bottom:4px;left:-35px;background:var(--blue);padding:22px 32px;border-radius:4px 28px 28px 28px;transform:rotate(-5deg);font-size:19px}.ribbon{background:var(--blue);padding:24px;display:flex;justify-content:center;align-items:center;gap:6vw;font-size:22px}.ribbon-divider{display:block;width:1px;height:26px;background:#8caeb8;flex:0 0 1px}.sectionhead{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:38px}.sectionhead h2{margin-bottom:0}.sectionhead p{max-width:370px;margin:0}.about{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}.about .large{font-size:24px;line-height:1.5}.about details summary{cursor:pointer;font-weight:700;margin:25px 0}.services{background:#f0f5f3}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.card{display:block;text-decoration:none}.card img{height:240px;width:100%;object-fit:cover;border-radius:24px}.card h3{margin:20px 0 10px}.card p{font-size:15px}.card .more{font-size:14px;font-weight:700;display:block;margin-top:18px}.card:hover img{filter:brightness(1.035)}.serviceall{margin-top:55px;border-top:1px solid #cad9da;padding-top:24px}.serviceall ul{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:48px;padding:8px 0 0;margin:22px 0 0}.serviceall li{position:relative;padding:11px 0 11px 26px;font-size:17px;line-height:1.6}.serviceall li::before{content:"";position:absolute;left:0;top:20px;width:10px;height:10px;background:#68bfb2}.serviceall summary{cursor:pointer;font-weight:600;font-size:18px}.institution{background:var(--ink);color:white;border-radius:28px;padding:45px;display:flex;align-items:center;justify-content:space-between;gap:35px}.institution h2{font-size:36px}.institution p{max-width:610px}.institution .button{background:var(--yellow);color:#061747;white-space:nowrap}.partner-title,.about-title{color:#00706b}.partners{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.partner{background:white;border:1px solid #e1e7e5;border-radius:20px;padding:24px;text-align:center}.partner img{height:100px;object-fit:contain;width:100%;margin-bottom:20px}.partner p{font-size:14px;margin:0;line-height:1.4;font-weight:700}.partner p strong{font-weight:inherit}.support{display:grid;grid-template-columns:1fr 1fr;gap:30px}.civil{background:var(--blue);padding:42px;border-radius:28px}.civil img{width:150px;margin:0 auto 30px}.donation{background:#fff1a7;padding:42px;border-radius:28px}.donation h2{font-size:40px}.donation .code{font-size:28px;font-weight:700;letter-spacing:.03em}.donation details{margin-top:22px}.donation details img{max-height:550px;margin-top:20px}.contact{background:var(--blue)}.contacttop{display:flex;justify-content:space-between;gap:30px}.contacttop a{display:block}.locations-title{font-size:24px;letter-spacing:-.02em;margin:26px 0 0;color:#00706b}.locations-title+.addresses{margin-top:22px}.addresses{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;margin-top:38px}.addresses article{border-top:1px solid #9ab7c0;padding-top:15px}.addresses h3{font-size:28px}.addresses a{font-size:14px}footer{max-width:1280px;margin:auto;padding:55px 40px;display:flex;justify-content:space-between;gap:40px;font-size:14px}footer .logo{width:128px;margin-bottom:25px}footer a{display:inline-block;margin-bottom:5px}footer>div:last-child{font-size:18px;line-height:1.8;margin-left:auto;text-align:right;min-width:0;max-width:100%}footer>div:last-child>a{font-weight:600}footer>div:last-child>a[href^="tel:"]{font-size:20px;font-weight:700}footer>div:last-child>a[href^="mailto:"]{font-size:20px;overflow-wrap:anywhere}footer>div:last-child p{font-weight:500;margin:12px 0}.crumb{font-size:14px;margin-bottom:36px}.detailhero{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.detailhero img{width:100%;height:420px;object-fit:cover;border-radius:28px}.detailhero h1{font-size:52px}.prose{max-width:830px;margin:0 auto;padding:30px 40px 60px}.prose p{margin-bottom:20px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.gallery img{height:300px;width:100%;object-fit:cover;border-radius:20px}.gallery a{display:block}.event{padding:50px 0;border-top:1px solid #d7e2e2;display:grid;grid-template-columns:.9fr 1.1fr;gap:60px}.event h2{font-size:34px}.event .eventmain{max-height:620px;width:100%;object-fit:contain;background:#f1f4f2;border-radius:22px}.event .thumbs{display:flex;gap:12px;margin-top:15px}.event .thumbs img{height:115px;width:120px;object-fit:cover;border-radius:12px}.skip{position:absolute;left:-9999px}.skip:focus{left:15px;top:15px;background:white;z-index:10}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #bd8a20;outline-offset:5px}button{font:inherit}@media(max-width:900px){nav{gap:15px;font-size:13px}.hero{gap:35px}.heroart>img{height:450px}.grid{grid-template-columns:repeat(2,1fr)}.partners{grid-template-columns:repeat(3,1fr)}.about{gap:35px}.detailhero h1{font-size:40px}}@media(max-width:650px){header{padding:12px 22px;flex-wrap:wrap}header .logo{height:98.4px;width:144px}.menu{display:block;background:none;border:1px solid #b5cbcf;border-radius:25px;padding:8px 15px;font-size:14px}nav{display:none;width:100%;flex-direction:column;align-items:stretch;font-size:17px;padding:15px 0}nav.open{display:flex}nav a{padding:8px}.wrap{padding:50px 24px}.hero{grid-template-columns:1fr;gap:25px;padding-top:22px}.hero h1{font-size:48px}.hero p{font-size:17px}.heroart{margin:0 15px}.heroart>img{height:370px;border-radius:110px 110px 24px 24px}.sun{font-size:100px;right:-20px;top:-8px}.note{left:-18px;font-size:17px;padding:16px 24px}.ribbon{gap:15px;flex-wrap:wrap;font-size:16px}.ribbon{gap:12px;font-size:14px;flex-wrap:nowrap}.ribbon-divider{height:18px}.sectionhead,.contacttop{display:block}.sectionhead p{margin-top:22px}.about,.grid,.support,.addresses,.detailhero,.event{grid-template-columns:1fr}.about{gap:16px}.grid{gap:40px}.card img{height:240px}.serviceall ul{grid-template-columns:1fr}.serviceall li{font-size:16px}.partners{grid-template-columns:repeat(2,1fr);gap:12px}.partner{padding:18px 12px}.partner img{height:85px}.institution{display:block;padding:30px}.institution .button{margin-top:15px}.civil,.donation{padding:30px}.contacttop a{overflow-wrap:anywhere}.addresses{gap:12px}.gallery{grid-template-columns:1fr}.gallery img{height:auto;max-height:450px;object-fit:contain}.detailhero{gap:25px}.detailhero h1{font-size:40px}.detailhero img{height:300px}.prose{padding:15px 24px 40px}.event{gap:26px}.event h2{font-size:30px}footer{padding:40px 24px;flex-direction:column;overflow-wrap:anywhere}}

.brand-description{font-size:15px;letter-spacing:.12em;display:block;line-height:1.6}

.donation-poster{display:block;max-width:260px;margin:0 auto 28px}.donation-poster img{width:100%;border-radius:12px}

.footer-contact-title{font-size:20px;letter-spacing:0;margin:0 0 14px;text-decoration:underline;text-underline-offset:5px;text-align:left;color:#E76F51}footer>div:last-child>a[href^="tel:"],footer>div:last-child>a[href^="mailto:"]{font-size:20px;text-decoration:none}

.below-menu-identity{max-width:1280px;margin:0 auto;padding:8px 40px 22px;text-align:right;font-family:Manrope,sans-serif;font-size:clamp(20px,2vw,27px);line-height:1.4;color:#061747;font-weight:500}.below-menu-identity strong{font-weight:600;color:#007e79}@media(max-width:650px){.below-menu-identity{padding:8px 24px 18px;text-align:left;font-size:21px}}

.footer-recapiti{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 16px;align-items:baseline;margin:0;text-align:left}.footer-recapiti dt{font-size:14px;font-weight:600;color:#53717d}.footer-recapiti dd{margin:0;min-width:0}.footer-recapiti a{font-size:20px;font-weight:600;text-decoration:none;overflow-wrap:anywhere;margin:0}@media(max-width:650px){.footer-recapiti{gap:8px 12px}.footer-recapiti a{font-size:18px}}

header .navcontact,.hero .button{background:#193f50;color:#ffffff}header .navcontact:hover,.hero .button:hover{background:#24566a}

.identity-brush{position:relative;isolation:isolate;max-width:1040px;margin:12px auto 20px;padding:26px 48px;text-align:center}.identity-brush::before{content:"";position:absolute;inset:4px 12px;background:#c9eade;z-index:-1;transform:rotate(-1deg);clip-path:polygon(2% 13%,14% 8%,30% 10%,46% 3%,65% 7%,82% 2%,98% 10%,96% 24%,100% 35%,97% 49%,99% 65%,96% 78%,98% 91%,80% 95%,63% 91%,45% 98%,27% 92%,11% 96%,2% 86%,4% 71%,0% 59%,3% 44%,1% 29%)}.identity-brush::after{content:"";position:absolute;left:8%;right:8%;bottom:0;height:8px;background:#c9eade;opacity:.55;border-radius:50%;transform:rotate(-1deg);z-index:-1}.identity-brush p{font-family:Manrope,sans-serif;font-size:clamp(25px,2.9vw,38px);line-height:1.5;letter-spacing:.045em;font-weight:800;color:#082878;margin:0;-webkit-text-stroke:1px currentColor}.identity-brush strong{font-weight:800}@media(max-width:650px){.identity-brush{margin:8px 12px 16px;padding:23px 22px}.identity-brush p{font-size:25px;letter-spacing:.025em}.identity-brush::before{inset:3px 0}}

footer>div:first-child>p{font-family:"DM Sans",sans-serif;font-size:clamp(17px,1.5vw,19px);font-style:normal;font-weight:600;line-height:1.4;color:#E76F51;max-width:440px;margin:8px 0 0}

.hero>div:first-child>p{color:#061747}

footer>div:first-child>p::after{content:"";display:block;width:150px;height:5px;margin:16px auto 0;border-radius:50%;background:linear-gradient(90deg,transparent,#8CC4E7 25%,#8CC4E7 75%,transparent)}

.partner img[src*="partner-unifg-verticale"]{height:110px;margin-top:-5px;margin-bottom:15px}
#servizi .sectionhead .eyebrow,.institution .eyebrow,#convenzioni .sectionhead .eyebrow,#contatti .contacttop .eyebrow{font-size:16px}

/* Adattamento desktop, tablet e mobile */
.hero>div,.detailhero>div,.event>div{min-width:0}
.locations{flex-wrap:wrap;row-gap:8px}.locations i{flex-shrink:0}
@media(max-width:1050px){header{flex-wrap:wrap}.menu{display:block;background:none;border:1px solid #b5cbcf;border-radius:25px;padding:10px 16px;min-height:44px}nav{display:none;width:100%;flex-direction:column;align-items:stretch;font-size:17px;padding:15px 0}nav.open{display:flex}nav a{padding:10px;min-height:44px}.institution{flex-wrap:wrap}.detailhero{gap:30px}.detailhero h1{font-size:clamp(32px,4vw,40px)}}
@media(max-width:650px){.identity-brush p{font-size:clamp(20px,5.6vw,25px)}.detailhero h1{font-size:clamp(30px,8vw,40px)}.institution .button{white-space:normal}.ribbon{gap:8px;padding:20px 12px;font-size:13px}.heroart .note{max-width:100%;padding:16px 20px}.event .thumbs{flex-wrap:wrap}.addresses a{display:inline-block;padding:10px 0}footer>div:last-child{margin-left:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Logo leggermente più grande; navigazione visibile oltre il mobile */
header .logo{width:190px;height:129px}
@media(min-width:651px) and (max-width:1050px){header{flex-wrap:nowrap;gap:16px;padding:16px 3%}.menu{display:none}nav,nav.open{display:flex;width:auto;flex-direction:row;align-items:center;gap:12px;font-size:13px;padding:0}nav a{padding:8px 0;min-height:auto}nav .navcontact{padding:11px 14px}header>a{flex-shrink:0}header .logo{width:155px;height:106px}}
@media(max-width:650px){header .logo{width:152px;height:104px}}

/* Ripristino intestazione originale */
header{padding:18px 5%;gap:25px;flex-wrap:nowrap}
header .logo{width:180px;height:122.4px}
.menu{display:none}
nav,nav.open{display:flex;width:auto;flex-direction:row;align-items:center;gap:26px;font-size:15px;padding:0}
nav a{padding:0;min-height:auto}
nav .navcontact{padding:13px 21px}
@media(max-width:900px){nav,nav.open{gap:15px;font-size:13px}}
@media(max-width:650px){header{padding:12px 22px;flex-wrap:wrap}header .logo{width:144px;height:98.4px}.menu{display:block;padding:8px 15px;font-size:14px;min-height:auto}nav,nav.open{width:100%;flex-direction:column;align-items:stretch;font-size:17px;padding:15px 0}nav{display:none}nav.open{display:flex}nav a{padding:8px}nav .navcontact{padding:8px}}

/* Leggero aumento del solo logo in alto */
header .logo{width:190px;height:129.2px}@media(max-width:650px){header .logo{width:152px;height:103.8px}}

/* Logo intestazione ingrandito del 10% */
header .logo{transform:scale(1.1);transform-origin:left center}


/* Identita su una riga negli schermi desktop */
@media(min-width:901px){.identity-brush{max-width:1280px;width:94%;padding-left:32px;padding-right:32px}.identity-brush p{white-space:nowrap;font-size:clamp(22px,2.55vw,34px);letter-spacing:.025em}}


/* Logo e navigazione piu visibili */
header .logo{transform:scale(1.18)}
@media(min-width:1051px){nav,nav.open{font-size:17px}}
@media(min-width:901px) and (max-width:1050px){nav,nav.open{font-size:16px;gap:18px}}
@media(min-width:651px) and (max-width:900px){header{gap:18px}header .logo{width:160px;height:109px}nav,nav.open{font-size:14px;gap:12px}nav .navcontact{padding:11px 15px}}
@media(max-width:650px){nav,nav.open{font-size:18px}}

/* Logo nel footer leggermente piu grande */
footer .logo{width:150px;height:auto}


/* Titolo principale home leggermente piu piccolo */
.hero h1{font-size:clamp(38px,4.7vw,68px)}
@media(max-width:650px){.hero h1{font-size:43px}}

/* Piccolo aumento menu e citta */
.locations{font-size:16px}
@media(min-width:1051px){nav,nav.open{font-size:18px}}
@media(min-width:901px) and (max-width:1050px){nav,nav.open{font-size:17px}}
@media(min-width:651px) and (max-width:900px){nav,nav.open{font-size:14.5px}}
@media(max-width:650px){nav,nav.open{font-size:19px}}
