/* Scuola Meneghini: grafica comune (testata, offcanvas, footer, pulsanti, icone, animazioni). Misure dall'originale kidsa/Elementor. */
:root {
	--smg-orange: #f39f5f;
	--smg-blue: #385469;
	--smg-text: #5c707e;
	--smg-cream: #f4eee5;
	--smg-sky: #eff5f6;
	--smg-teal: #70a6b1;
	--e-global-color-primary: #f39f5f;
	--smg-f-head: "Quicksand", sans-serif;
	--smg-f-body: "Source Sans 3", sans-serif;
}
body { font-family: var(--smg-f-body); font-size: 16px; line-height: 28px; color: var(--smg-text); background: #fff; }
h1, h2, h3, h4, h5 { font-family: var(--smg-f-head); color: var(--smg-blue); font-weight: 700; margin: 0; }
p { margin: 0; }
a { color: var(--smg-blue); text-decoration: none; transition: color .4s ease-in-out; }
img { max-width: 100%; height: auto; }
.smg-wrap { width: 100%; max-width: 1330px; margin-inline: auto; padding-inline: 15px; }
.smg-main { overflow: clip; }

/* Icone (maschere SVG, colore = currentColor) */
.smg-ico { display: inline-block; width: 1em; height: 1em; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; vertical-align: -.125em; flex: none; }
.smg-ico--pin { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M172 501C27 291 0 269 0 192 0 86 86 0 192 0s192 86 192 192c0 77-27 99-172 309a24 24 0 0 1-40 0zm20-229a80 80 0 1 0 0-160 80 80 0 0 0 0 160z'/%3E%3C/svg%3E"); }
.smg-ico--mail { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M48 64h416a48 48 0 0 1 48 48v288a48 48 0 0 1-48 48H48a48 48 0 0 1-48-48V112a48 48 0 0 1 48-48zm0 48v41l208 130 208-130v-41zm416 98L256 340 48 210v190h416z'/%3E%3C/svg%3E"); }
.smg-ico--fb { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279 288l14-93h-89v-60c0-25 12-50 52-50h40V6S260 0 225 0c-73 0-121 44-121 125v70H23v93h81v224h100V288z'/%3E%3C/svg%3E"); width: .625em; }
.smg-ico--ig { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M224 141a115 115 0 1 0 0 230 115 115 0 0 0 0-230zm0 190a75 75 0 1 1 0-150 75 75 0 0 1 0 150zm146-194a27 27 0 1 1-54 0 27 27 0 0 1 54 0zm76 27c-2-36-10-68-36-94s-58-34-94-36c-37-2-148-2-185 0-36 2-68 10-94 36S3 128 1 164c-2 37-2 148 0 185 2 36 10 68 36 94s58 34 94 36c37 2 148 2 185 0 36-2 68-10 94-36s34-58 36-94c2-37 2-148 0-185z'/%3E%3C/svg%3E"); width: .875em; }
.smg-ico--wa { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M381 97A222 222 0 0 0 32 365L0 480l118-31a221 221 0 0 0 106 27c122 0 224-99 224-221 0-59-25-115-67-158zM224 438a184 184 0 0 1-94-26l-7-4-70 18 19-68-4-7a184 184 0 1 1 156 87zm101-138c-5-3-33-16-38-18s-9-3-12 3-14 18-18 22-6 4-12 1c-33-16-54-29-75-66-6-10 6-9 16-29 2-4 1-7 0-9l-17-41c-4-11-9-9-12-9h-11c-4 0-10 1-15 7s-19 19-19 46 20 54 23 57c3 4 39 60 95 84 35 15 49 16 67 14 11-2 33-14 38-27s5-25 3-27-5-4-10-6z'/%3E%3C/svg%3E"); width: .875em; }
.smg-ico--phone { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M164 25c-8-19-29-29-49-24L27 25C10 30-2 46-2 64c0 247 200 448 448 448 18 0 34-12 39-29l24-88c5-20-5-41-24-49l-96-40c-16-7-35-2-47 12l-40 49a338 338 0 0 1-161-161l49-40c14-11 19-30 12-47z'/%3E%3C/svg%3E"); }
.smg-ico--bars { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M0 96c0-18 14-32 32-32h384a32 32 0 1 1 0 64H32C14 128 0 114 0 96zm0 160c0-18 14-32 32-32h384a32 32 0 1 1 0 64H32c-18 0-32-14-32-32zm448 160c0 18-14 32-32 32H32a32 32 0 1 1 0-64h384c18 0 32 14 32 32z'/%3E%3C/svg%3E"); }
.smg-ico--arrow { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M439 279c13-13 13-33 0-46L279 73a32 32 0 0 0-46 46l106 105H32a32 32 0 1 0 0 64h307L233 393a32 32 0 0 0 46 46z'/%3E%3C/svg%3E"); margin-left: 10px; }
.smg-ico--chev-l { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M41 239c-13 13-13 33 0 46l160 160a32 32 0 0 0 46-46L110 262l137-137a32 32 0 0 0-46-46z'/%3E%3C/svg%3E"); }
.smg-ico--chev-r { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279 239c13 13 13 33 0 46L119 445a32 32 0 0 1-46-46l137-137L73 125a32 32 0 0 1 46-46z'/%3E%3C/svg%3E"); }
.smg-ico--up { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M215 41c-13-13-33-13-46 0L9 201a32 32 0 0 0 46 46l105-106v307a32 32 0 1 0 64 0V141l105 106a32 32 0 0 0 46-46z'/%3E%3C/svg%3E"); }

/* Pulsante (theme-btn): hover blu con transizione 0.4s */
.smg-btn { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; padding: 22px 40px; border-radius: 22px; background: var(--smg-orange); color: #fff; font: 700 16px/16px var(--smg-f-body); text-transform: uppercase; overflow: hidden; transition: color .4s ease-in-out, background-color .4s ease-in-out; }
.smg-btn::before, .smg-btn::after { content: ""; position: absolute; top: 0; z-index: -1; width: 0; height: 100%; background: var(--smg-blue); transition: width .4s ease-in-out; }
.smg-btn::before { left: 0; }
.smg-btn::after { right: 0; }
.smg-btn:hover { color: #fff; }
.smg-btn:hover::before, .smg-btn:hover::after { width: 51%; }
.smg-btn--cap { text-transform: capitalize; }
.smg-btn--ghost { background: transparent; color: var(--smg-teal); border: 1px solid var(--smg-teal); padding: 20px 40px; }
@media (max-width: 767px) { .smg-btn { font-size: 14px; line-height: 14px; padding: 18px 30px; } .smg-btn--ghost { padding: 16px 30px; } }

/* Animazioni (kidsa): galleggiamento, rotazione, entrata stile WOW */
@keyframes float-bob-y { 0%, 100% { transform: translateY(-30px); } 50% { transform: translateY(-10px); } }
@keyframes float-bob-x { 0%, 100% { transform: translateX(30px); } 50% { transform: translateX(10px); } }
@keyframes rounded { 50% { transform: rotate(20deg); } }
@keyframes smg-fade-up { from { opacity: 0; transform: translateY(20px); } }
@keyframes smg-fade-left { from { opacity: 0; transform: translateX(-20px); } }
@keyframes smg-fade-right { from { opacity: 0; transform: translateX(20px); } }
@keyframes smg-fade-down { from { opacity: 0; transform: translateY(-20px); } }
.float-bob-y { animation: float-bob-y 3s linear infinite; }
.float-bob-x { animation: float-bob-x 3s linear infinite; }
.rounded-anim { animation: rounded 5s linear infinite; }
.js .smg-reveal:not(.is-in) { opacity: 0; }
.smg-reveal.is-in { animation: smg-fade-up 1s ease var(--d, 0s) backwards; }
.smg-reveal--left.is-in { animation-name: smg-fade-left; }
.smg-reveal--right.is-in { animation-name: smg-fade-right; }
@media (prefers-reduced-motion: reduce) { .float-bob-y, .float-bob-x, .rounded-anim, .smg-reveal.is-in { animation: none; } .js .smg-reveal:not(.is-in) { opacity: 1; } }
.smg-deco { position: absolute; z-index: 1; pointer-events: none; max-width: none; height: auto; }
@media (max-width: 1024px) { .smg-hide-tab { display: none; } }
@media (max-width: 767px) { .smg-hide-mob { display: none; } }

/* Barra alta */
.smg-hd-top { position: relative; z-index: 9; margin-bottom: -3px; background: #fff; }
.smg-hd-top__shape { position: absolute; top: 0; left: 0; width: 100%; height: 92px; object-fit: cover; object-position: left top; }
.smg-hd-top__inner { position: relative; display: flex; justify-content: space-between; align-items: center; max-width: none; padding: 20px 40px; }
.smg-hd-top__contacts { display: flex; gap: 40px; margin: 0; padding: 0 0 0 17px; list-style: none; }
.smg-hd-top__link, .smg-hd-top__social span { font-weight: 500; color: var(--smg-blue); }
.smg-hd-top__link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; line-height: 22px; }
.smg-hd-top__link .smg-ico { font-size: 14px; }
.smg-hd-top__social { display: flex; align-items: center; gap: 20px; }
.smg-hd-top__social a { color: var(--smg-blue); transition: color .4s ease-in-out; }
.smg-hd-top__social a:hover, .smg-hd-top__link:hover { color: var(--smg-orange); }
@media (max-width: 1199px) { .smg-hd-top { display: none; } }

/* Testata */
.smg-hd { position: relative; z-index: 100; background: #fff; padding-top: 25px; transition: .3s; }
.smg-hd__inner { display: flex; align-items: center; justify-content: space-between; max-width: none; padding: 10px 40px; }
.smg-hd__logo { flex: none; }
.smg-hd__logo-img { display: block; width: 324px; height: auto; transition: height .3s; }
.smg-hd__nav { flex: 1; min-width: 0; }
.smg-hd__menu { margin: 0; padding: 0; list-style: none; text-align: left; }
.smg-hd__menu > li { display: inline-block; margin-right: 39px; }
.smg-hd__menu > li > a { display: inline-block; position: relative; padding: 20px 0; font: 600 20px/28px var(--smg-f-body); text-transform: capitalize; color: var(--smg-blue); }
.smg-hd__menu > li > a:hover, .smg-hd__menu > li.current-menu-item > a { color: var(--smg-orange); }
.smg-hd__menu .sub-menu { display: none; }
.smg-hd__burger { display: none; padding: 0; border: 0; background: none; color: var(--smg-blue); font-size: 20px; line-height: 28px; cursor: pointer; }
.smg-hd.is-sticky { position: fixed; top: 0; left: 0; width: 100%; padding-top: 0; box-shadow: 0 4px 25px rgba(0, 0, 0, .06); animation: smg-fade-down .5s ease-in-out; }
.admin-bar .smg-hd.is-sticky { top: 32px; }
.smg-hd.is-sticky .smg-hd__logo-img { width: auto; height: 80px; }
.smg-hd-spacer { display: none; }
.smg-hd.is-sticky + .smg-hd-spacer { display: block; }
@media (max-width: 1199px) {
	.smg-hd { padding-top: 0; }
	.smg-hd__nav { display: none; }
	.smg-hd__burger { display: block; }
}
@media (max-width: 767px) {
	.smg-hd__inner { padding: 10px 20px; }
	.smg-hd__logo-img, .smg-hd.is-sticky .smg-hd__logo-img { width: 231px; height: auto; }
}

/* Offcanvas mobile */
.smg-oc { position: fixed; top: 0; right: 0; bottom: 0; z-index: 99999; width: 400px; max-width: 77%; overflow-y: auto; background: var(--smg-cream); transform: translateX(calc(100% + 80px)); transition: transform .45s ease-in-out, opacity .45s ease-in-out; }
.smg-oc.is-open { transform: none; }
.smg-oc__panel { padding: 30px; }
.smg-oc__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.smg-oc__logo img { width: 180px; }
.smg-oc__close { width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--smg-orange); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.smg-oc__menu { margin: 0 0 16px; padding: 0; list-style: none; }
.smg-oc__menu a { display: block; padding: 10px 0; border-bottom: 1px solid rgba(56, 84, 105, .15); font-weight: 600; color: var(--smg-blue); }
.smg-oc__menu .sub-menu { display: none; }
.smg-oc__title { margin: 24px 0 16px; font-size: 20px; }
.smg-oc__contacts { margin: 0; padding: 0; list-style: none; }
.smg-oc__contacts li { display: flex; align-items: center; gap: 15px; margin-bottom: 12px; color: var(--smg-orange); }
.smg-oc-overlay { position: fixed; inset: 0; z-index: 9999; background: #151515; opacity: 0; visibility: hidden; transition: opacity .45s ease-in-out, visibility .45s; }
.smg-oc.is-open + .smg-oc-overlay { opacity: .5; visibility: visible; }

/* Footer */
.smg-ft { position: relative; overflow: hidden; background: var(--smg-cream); }
.smg-ft .smg-wrap { max-width: 1140px; padding-inline: 12px; }
@media (max-width: 1199px) { .smg-ft .smg-wrap { max-width: 960px; } }
@media (max-width: 991px) { .smg-ft .smg-wrap { max-width: 720px; } }
@media (max-width: 767px) { .smg-ft .smg-wrap { max-width: 540px; } }
.smg-ft__top-shape { position: absolute; top: 0; left: 0; width: 1920px; max-width: none; height: auto; }
.smg-ft__frame { position: absolute; left: 0; top: 500px; z-index: 1; max-width: none; }
.smg-ft__zebra { position: absolute; right: 60px; bottom: 140px; z-index: 1; max-width: none; }
@media (max-width: 1399px) { .smg-ft__frame, .smg-ft__zebra { display: none; } }
.smg-ft__contacts { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; padding-top: 220px; }
.smg-ft__contact { display: flex; align-items: center; gap: 20px; padding-bottom: 40px; }
.smg-ft__icon { display: flex; justify-content: center; align-items: center; flex: none; width: 65px; height: 65px; border: 2px dotted var(--smg-orange); border-radius: 50%; }
.smg-ft__contact p { margin-bottom: 5px; color: var(--smg-blue); }
.smg-ft__contact h3 { font-size: 24px; line-height: 34.8px; text-transform: capitalize; }
.smg-ft__contact h3 a:hover { color: var(--smg-orange); }
.smg-ft__widgets { position: relative; z-index: 9; padding: 90px 0 120px; }
.smg-ft__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 4fr); column-gap: 24px; }
.smg-ft__col { margin-top: 30px; }
.smg-ft__col:nth-child(2), .smg-ft__col:nth-child(3) { padding-left: 48px; }
.smg-ft__col h3 { margin-bottom: 30px; font-size: 24px; line-height: 34.8px; text-transform: capitalize; }
.smg-ft__logo img { display: block; width: 100%; max-width: 261px; margin-bottom: 20px; }
.smg-ft__addr { color: var(--smg-blue); }
.smg-ft__hours { margin: 0 0 20px; padding: 0; list-style: none; }
.smg-ft__social { display: flex; gap: 10px; }
.smg-ft__social a { display: flex; justify-content: center; align-items: center; width: 36px; height: 36px; border: 1px solid rgba(56, 84, 105, .3); border-radius: 50%; font-size: 14px; color: var(--smg-blue); transition: .4s ease-in-out; }
.smg-ft__social a:hover { border-color: transparent; background: var(--smg-orange); color: #fff; }
.smg-ft__menu { margin: 0; padding: 0; list-style: none; }
.smg-ft__menu li { margin-bottom: 15px; }
.smg-ft__menu a { position: relative; display: inline-block; padding-left: 20px; color: var(--smg-blue); line-height: 22px; transition: .7s; }
.smg-ft__menu a::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 11px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279 239c13 13 13 33 0 46L119 445a32 32 0 0 1-46-46l137-137L73 125a32 32 0 0 1 46-46z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M279 239c13 13 13 33 0 46L119 445a32 32 0 0 1-46-46l137-137L73 125a32 32 0 0 1 46-46z'/%3E%3C/svg%3E") center / contain no-repeat; }
.smg-ft__menu li:hover a { margin-left: 5px; color: var(--smg-orange); }
.smg-ft__bottom { position: relative; z-index: 9; }
.smg-ft__bottom-shape { display: block; width: 1920px; max-width: none; height: auto; }
.smg-ft__bar { position: relative; display: flex; justify-content: space-between; align-items: center; margin-top: -42px; padding-bottom: 20px; }
.smg-ft__bar p { color: var(--smg-blue); }
.smg-ft__bar p a { color: var(--smg-orange); }
.smg-ft__legal { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.smg-ft__legal a { color: var(--smg-blue); background: linear-gradient(var(--smg-orange), var(--smg-orange)) 0 95% / 0 2px no-repeat; transition: .4s ease-in-out; }
.smg-ft__legal a:hover { background-size: 100% 1px; color: var(--smg-orange); }
.smg-totop { position: absolute; top: -40px; left: 50%; z-index: 99; display: flex; justify-content: center; align-items: center; width: 70px; height: 70px; border: 5px solid #fff; border-radius: 50%; background: var(--smg-orange); color: #fff; transform: translateX(-50%); transition: .4s ease-in-out; }
.smg-totop:hover { background: var(--smg-blue); color: #fff; }
@media (max-width: 1199px) {
	.smg-ft__contacts { flex-wrap: wrap; justify-content: flex-start; gap: 30px; }
	.smg-ft__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.smg-ft__contacts { padding: 85px 12px 30px; }
	.smg-ft__contact { padding-bottom: 0; }
	.smg-ft__contact h3 { font-size: 18px; }
	.smg-ft__widgets { padding: 50px 0 70px; }
	.smg-ft__grid { grid-template-columns: minmax(0, 1fr); }
	.smg-ft__col:nth-child(2), .smg-ft__col:nth-child(3) { padding-left: 0; }
	.smg-ft__bar { flex-direction: column; gap: 10px; margin-top: 0; padding: 50px 12px 30px; text-align: center; }
	.smg-ft__bottom-shape { position: absolute; top: 0; left: 0; }
	.smg-ft__legal { flex-wrap: wrap; justify-content: center; gap: 10px 20px; }
}

/* --- Giro correzioni 1: barra alta e padding testata fino a 992px, footer a 2 colonne su tablet --- */
@media (max-width: 1199px) and (min-width: 992px) { .smg-hd-top { display: block; } .smg-hd { padding-top: 25px; } }
@media (max-width: 991px) {
	.smg-ft__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
	.smg-ft__bar { flex-direction: column; gap: 10px; margin-top: 0; padding: 40px 12px 30px; text-align: center; }
	.smg-ft__bottom-shape { position: absolute; top: 0; left: 0; }
}
@media (max-width: 767px) {
	.smg-ft__contacts { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; }
	.smg-ft__grid { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
	.smg-ft__bar { padding: 50px 12px 76px; }
}
/* --- Giro correzioni 1: colonna logo del footer come l'originale (logo 240, orari, social a +40) --- */
.smg-ft__logo { display: block; margin-bottom: 52px; }
.smg-ft__logo img { width: 240px; max-width: 100%; margin-bottom: 0; }
.smg-ft__hours { margin-bottom: 40px; }
/* Pulsanti senza bordo del tema base; decorazioni footer visibili da 1200px come l'originale */
.smg-btn:not(.smg-btn--ghost) { border: 0; }
@media (min-width: 1200px) { .smg-ft__frame, .smg-ft__zebra { display: block; } }
/* Footer: arcobaleno dietro il logo e giraffa a destra (posizioni dall'originale a 1366) */
.smg-ft__frame { top: 400px; left: 0; z-index: 1; }
.smg-ft__zebra { right: 0; bottom: 130px; z-index: 1; }
.smg-ft__widgets { z-index: 2; }
/* Arcobaleno piu' in basso; giraffa anche su mobile */
.smg-ft__frame { top: 460px; }
@media (max-width: 767px) { .smg-ft__zebra { display: block; top: 1150px; bottom: auto; right: 0; width: 130px; } }

/* ===== Pagine interne: banner, sezioni e componenti comuni (misure da chi-siamo/attivita/servizi 1366 e 390) ===== */
.smg-banner { position: relative; height: 255px; background: #f39f5f var(--banner) center bottom / cover no-repeat; text-align: center; }
.smg-banner__inner { position: relative; z-index: 2; padding-top: 70px; }
.smg-banner__title { font-size: 60px; line-height: 67.2px; color: #fff; }
.smg-banner__crumbs { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; font-size: 16px; line-height: 22px; color: #fff; }
.smg-banner__crumbs li { display: flex; align-items: center; gap: 12px; }
.smg-banner__crumbs a { font-weight: 600; color: #fff; }
.smg-banner__crumbs .smg-ico { font-size: 11px; }
.smg-banner__d { position: absolute; z-index: 1; pointer-events: none; }
.smg-banner__line { left: 0; top: -136px; width: 223px; }
.smg-banner__plane { left: 205px; top: 52px; width: 111px; }
.smg-banner__doll { left: 176px; top: 139px; width: 65px; }
.smg-banner__para { right: 137px; top: 13px; width: 68px; }
.smg-banner__frame { right: 312px; top: 27px; width: 81px; }
.smg-banner__bee { right: 234px; top: 84px; width: 107px; }
@media (max-width: 1024px) { .smg-banner__d { display: none; } }
@media (max-width: 767px) { .smg-banner { height: auto; padding-bottom: 80px; } .smg-banner__inner { padding-top: 60px; } .smg-banner__title { font-size: 40px; line-height: 48px; } }

.smg-sec { position: relative; padding: 120px 0; }
.smg-sec--grey { background: #eff5f6 var(--top, none) center top / auto no-repeat; }
.smg-sec--white { background: var(--bottom, none) center bottom / auto no-repeat, var(--top, none) center top / auto no-repeat; }
.smg-sec .smg-wrap { position: relative; z-index: 2; }
.smg-center { text-align: center; }
.smg-center .smg-copy { max-width: 900px; margin-inline: auto; }
.smg-center--wide .smg-copy { max-width: 1070px; }
.smg-copy > * + * { margin-top: 29px; }
.smg-kicker { display: block; margin-bottom: 11px; font: 600 20px/28px var(--smg-f-body); color: var(--smg-orange); }
.smg-h2 { font-size: 50px; line-height: 60px; text-transform: capitalize; }
.smg-h2--42 { font-size: 42px; line-height: 50.4px; }
.smg-h2--58 { line-height: 58px; }
.smg-copy { margin-top: 30px; line-height: 29px; }
.smg-copy p { margin: 0; }
/* Animazioni di entrata tipo WOW (home e shortcode del sito) */
.js .wow:not(.is-in) { opacity: 0; }
.wow.is-in { animation: smg-fade-up 1s ease var(--d, 0s) backwards; }
.wow.fadeInLeft.is-in { animation-name: smg-fade-left; }
.wow.fadeInRight.is-in { animation-name: smg-fade-right; }
.smg-actions { margin-top: 40px; }
.smg-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; align-items: center; }
.smg-btn--white { background: #fff; color: var(--smg-blue); box-shadow: 0 4px 25px rgba(0, 0, 0, .06); }
.smg-btn--white:hover { color: #fff; }
.smg-boxes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 60px; }
.smg-box { padding: 0 10px; text-align: center; }
.smg-box__icon { display: inline-flex; justify-content: center; align-items: center; width: 90px; height: 90px; border-radius: 8px; }
.smg-box:nth-child(3n+1) .smg-box__icon { color: #f8b81f; background: rgba(248, 184, 31, .15); }
.smg-box:nth-child(3n+2) .smg-box__icon { color: #39c0fa; background: rgba(57, 192, 250, .15); }
.smg-box:nth-child(3n+3) .smg-box__icon { color: #f92596; background: rgba(249, 37, 150, .15); }
.smg-box h5 { margin: 20px 0 10px; font-size: 18px; line-height: 29px; text-transform: capitalize; }
.smg-box p { line-height: 26px; }
.smg-mask-icon { display: inline-block; width: 50px; height: 50px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
@media (max-width: 1024px) {
	.smg-sec { padding: 60px 0; }
	.smg-two { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
	.smg-h2 { font-size: 32px; line-height: 42px; }
	.smg-boxes { grid-template-columns: minmax(0, 1fr); row-gap: 30px; margin-top: 40px; }
	.smg-box { display: grid; grid-template-columns: 90px minmax(0, 1fr); column-gap: 20px; text-align: left; }
	.smg-box h5 { margin-top: 0; }
	.smg-box__icon { grid-row: span 2; }
}

/* Footer: linee sotto recapiti, logo e titoli come l'originale */
.smg-ft__contacts { border-bottom: 1px solid rgba(56, 84, 105, .1); }
.smg-ft__logo { position: relative; padding-bottom: 20px; }
.smg-ft__logo::after, .smg-ft__col h3::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--smg-orange), transparent); }
.smg-ft__logo::after { width: 100%; }
.smg-ft__col h3 { position: relative; padding-bottom: 20px; }
.smg-ft__col h3::after { width: 70px; }
/* Decorazioni ricorrenti delle sezioni interne (posizioni a 1366) */
.smg-h2--plain { text-transform: none; }
.smg-dec-mask { left: 111px; top: 100px; width: 100px; }
.smg-dec-pencil { left: 111px; bottom: 30px; width: 90px; }
.smg-dec-compass { right: 130px; bottom: 30px; width: 106px; }
.smg-dec-mask2 { right: -27px; top: 96px; width: 165px; }
.smg-dec-bee { right: 60px; top: 300px; width: 60px; }
.smg-dec-love { left: -8px; top: -8px; width: 289px; }
.smg-dec-zebra { left: 75px; bottom: 30px; width: 159px; }
.smg-dec-bus { right: 130px; top: 56px; width: 104px; }
.smg-divider { width: 60%; margin: 20px auto 30px; border: 0; border-top: 2px solid var(--smg-blue); opacity: 1; }
.smg-ico--cal { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M128 0c18 0 32 14 32 32v32h128V32a32 32 0 1 1 64 0v32h48c27 0 48 21 48 48v48H0v-48c0-27 21-48 48-48h48V32c0-18 14-32 32-32zM0 192h448v272c0 27-21 48-48 48H48c-27 0-48-21-48-48z'/%3E%3C/svg%3E"); }
/* Giro correzioni pagine interne: paragrafi di campi diversi senza spazio (come l'originale) */
.smg-copy > * + * { margin-top: 0; }
.smg-cs-story .smg-copy > * + * { margin-top: 29px; }
.smg-open .smg-copy { padding-bottom: 41px; }
.smg-close .smg-wrap > .smg-copy:first-child { margin-top: 0; }
.smg-divider { margin: 14px auto 15px; }
.smg-divider + .smg-copy { margin-top: 0; }
/* Mobile pagine interne (misure originale a 390) */
@media (max-width: 767px) {
	.smg-banner { height: 222px; padding: 0; }
	.smg-banner__inner { padding-top: 70px; }
	.smg-banner__title { font-size: 30px; line-height: 33.6px; }
	.smg-sec--white { padding: 120px 0; }
}
/* Giro correzioni tablet/mobile pagine interne */
@media (max-width: 1024px) {
	.smg-sec { padding: 120px 0; }
	.smg-sec--white { padding: 120px 0 180px; }
}
@media (max-width: 991px) {
	.smg-banner { height: 222px; padding: 0; }
	.smg-banner__inner { padding-top: 70px; }
	.smg-banner__title { font-size: 30px; line-height: 33.6px; }
}
@media (max-width: 767px) {
	.smg-sec { padding: 60px 0; }
	.smg-sec--white { padding: 120px 0; }
}
/* Icona Instagram corretta (la precedente si vedeva piena) */
.smg-ico--ig { --i: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zm5 3.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9zm0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM17.5 5.5a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3E%3C/svg%3E"); width: .875em; }
.smg-banner__crumbs { margin-top: 20px; gap: 14px; }

/* Giro finitore: recapiti del footer piu' vicini al bordo su tablet (originale 85px fino a 1024) */
@media (max-width: 1024px) { .smg-ft__contacts { padding-top: 85px; } }
/* Onda in basso del banner: la PNG ha le smerlature trasparenti, quindi niente colore di sfondo (come l'originale) */
.smg-banner { background-color: transparent; }

/* Correzioni desktop largo (controllo utente 1800-1920) */
/* Testata: il menu va a destra quando c'e' spazio; se non ci sta si restringe e va a capo dopo il logo (come a 1366) */
@media (min-width: 1200px) { .smg-hd__nav { flex: 0 1 auto; margin-left: auto; } }
/* Menu della settimana: il contenitore flex non deve allargarsi col contenuto di Swiper (ciclo di resize) */
.smg-menu > * { min-width: 0; max-width: 100%; }
.smg-menu .pricing-section, .smg-menu .tab-content, .smg-menu .menu-slider { min-width: 0; max-width: 100%; }
/* Riga del copyright: testo a sinistra che va a capo, link legali su una riga a destra */
@media (min-width: 992px) {
	.smg-ft__bar { gap: 30px; }
	.smg-ft__bar p { flex: 1 1 auto; min-width: 0; }
	.smg-ft__legal { flex: none; }
	.smg-ft__legal a { white-space: nowrap; }
}
/* Da 1200px copyright su una sola riga: testo un po' piu' piccolo e link legali piu' vicini */
@media (min-width: 1200px) {
	.smg-ft__bar { gap: 24px; }
	.smg-ft__bar p, .smg-ft__legal a { font-size: 14px; }
	.smg-ft__bar p { white-space: nowrap; }
	.smg-ft__legal { gap: 20px; }
}

/* Preloader (kidsa main.css + child): spinner, lettere animate, quattro tende crema che si chiudono a sinistra */
.preloader { position: fixed; inset: 0; z-index: 9999999; display: flex; align-items: center; justify-content: center; cursor: default; font-size: 16px; animation: smg-pre-off 0s 10s forwards; }
.no-js .preloader { display: none; }
.preloader .animation-preloader { position: relative; z-index: 1000; }
.preloader .spinner { width: 9em; height: 9em; margin: 0 auto 3.5em; border: 3px solid rgba(0, 0, 0, .2); border-top-color: var(--smg-orange); border-radius: 50%; animation: smg-spinner 1s infinite linear; }
.preloader .txt-loading { font: 700 5em "Quicksand", sans-serif; text-align: center; user-select: none; }
.preloader .letters-loading { position: relative; color: var(--smg-orange); }
.preloader .letters-loading::before { content: attr(data-text-preloader); position: absolute; top: -3px; left: 0; font-family: "Quicksand", sans-serif; color: var(--smg-blue); opacity: 0; transform: rotateY(-90deg); animation: smg-letters 4s infinite; }
.preloader .letters-loading:nth-child(2)::before { animation-delay: .2s; }
.preloader .letters-loading:nth-child(3)::before { animation-delay: .4s; }
.preloader .letters-loading:nth-child(4)::before { animation-delay: .6s; }
.preloader .letters-loading:nth-child(5)::before { animation-delay: .8s; }
.preloader .letters-loading:nth-child(6)::before { animation-delay: 1s; }
.preloader .letters-loading:nth-child(7)::before { animation-delay: 1.2s; }
.preloader .letters-loading:nth-child(8)::before { animation-delay: 1.4s; }
.preloader p { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: 8px; text-transform: uppercase; color: var(--smg-orange); }
.preloader .loader { position: fixed; inset: 0; z-index: 1; font-size: 0; pointer-events: none; }
.preloader .loader .row { display: flex; height: 100%; }
.preloader .loader-section { flex: 0 0 25%; width: 25%; padding: 0; }
.preloader .loader-section .bg { width: 100%; height: 100%; background-color: var(--smg-cream); transition: all .8s cubic-bezier(.77, 0, .175, 1); }
.preloader.loaded .animation-preloader { opacity: 0; transition: .3s ease-out; }
.preloader.loaded .loader-section .bg { width: 0; transition: .7s .3s all cubic-bezier(.1, .1, .1, 1); }
.preloader.is-fading { opacity: 0; transition: opacity .4s; }
@keyframes smg-spinner { to { transform: rotate(360deg); } }
@keyframes smg-letters { 0%, 75%, 100% { opacity: 0; transform: rotateY(-90deg); } 25%, 50% { opacity: 1; transform: rotateY(0); } }
@keyframes smg-pre-off { to { visibility: hidden; opacity: 0; } }
@media (max-width: 767px) { .preloader .spinner { width: 7.5em; height: 7.5em; margin: 0 auto 1.5em; } .preloader .txt-loading { font-size: 21px; } }
@media (prefers-reduced-motion: reduce) { .preloader { display: none; } }
