/* Millingpro: CSS principale (misure rilevate dall'originale, vedi MISURE-ORIGINALE.md) */

/* Font Inter self-hosted (variabile 300-700) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/inter-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--mp-viola: #9D3AA2;
	--mp-azzurro: #38C6CA;
	--mp-primario: #6EC1E4;
	--mp-gradiente: linear-gradient(200deg, #38C6CA 0%, #9D3AA2 100%);
	--mp-testo: #030107;
	--mp-titoli: #0C0A1C;
	--mp-grigio: #636363;
	--mp-grigio-2: #54595F;
	--mp-menu: #3D3D3D;
	--mp-container: 1230px;
	--mp-ease-menu: cubic-bezier(0.58, 0.3, 0.005, 1);
	/* Colori globali del kit Elementor originale: li usa ancora il banner CookieYes di MG */
	--e-global-color-primary: #6EC1E4;
	--e-global-color-secondary: #54595F;
	--e-global-color-text: #7A7A7A;
	--e-global-color-accent: #61CE70;
	--e-global-color-7ea2d8f: #9D3AA2;
	--e-global-color-7120258: #38C6CA;
	--e-global-color-1074062: #636363;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; font-size: 16px; line-height: 26px; font-weight: 300; color: var(--mp-testo); background: #fff; overflow-x: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s; }
a:hover { color: #017FE4; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
p { margin-bottom: 15px; }
button { font: inherit; cursor: pointer; }
.mp-skip { position: absolute; left: -9999px; top: 0; z-index: 1000; background: #fff; padding: 8px 12px; }
.mp-skip:focus { left: 10px; }
.mp-container { width: 100%; max-width: var(--mp-container); margin: 0 auto; padding: 0 10px; }

/* Pulsante a gradiente con effetto shrink */
.mp-btn { display: inline-block; padding: 12px 24px; font-size: 16px; line-height: 16px; font-weight: 600; text-transform: uppercase; color: #fff; background: var(--mp-gradiente); border-radius: 5px; transition: transform .3s; }
.mp-btn:hover, .mp-btn:focus { color: #fff; transform: scale(.9); }
.mp-btn--lg { padding: 20px 40px; }

/* Titolo "fancy" con testo a gradiente */
.mp-fancy { font-size: 45px; line-height: 55px; font-weight: 500; color: var(--mp-titoli); }
.mp-fancy .mp-fancy__text { font-size: 54px; font-weight: 700; background-image: var(--mp-gradiente); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }

/* ---------- Header (statico, trasparente, sopra la hero) ---------- */
.mp-header { position: relative; z-index: 20; height: 102px; margin-bottom: -103px; }
.mp-header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.mp-header__logo { display: block; padding: 10px 0; }
.mp-header__logo-img { width: 180px; height: 82px; object-fit: contain; object-position: left center; }
.mp-nav__list { display: flex; justify-content: flex-end; list-style: none; margin: 0; padding: 0; }
.mp-nav__list li + li { margin-left: 20px; }
.mp-nav__link { position: relative; display: block; padding: 13px 20px; font-size: 18px; line-height: 32.76px; font-weight: 600; color: var(--mp-menu); transition: color .4s; }
.mp-nav__link::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--mp-azzurro); opacity: 0; transform: translateX(-50%); transition: width .3s var(--mp-ease-menu), opacity .3s var(--mp-ease-menu); }
.mp-nav__link:hover, .mp-nav__link:focus { color: var(--mp-azzurro); }
.mp-nav__link:hover::after, .mp-nav__link:focus::after { width: 100%; opacity: 1; }
.mp-nav__link.is-active, .mp-nav__link.is-active:hover { color: var(--mp-menu); }
.mp-nav__link.is-active::after { width: 100%; opacity: 1; background: var(--mp-menu); }

/* Hamburger */
.mp-toggle { display: none; width: 37px; height: 37px; margin-left: auto; padding: 0; border: 0; background: transparent; }
.mp-toggle__box { position: relative; display: block; width: 26px; height: 20px; margin: 0 auto; }
.mp-toggle__inner, .mp-toggle__inner::before, .mp-toggle__inner::after { position: absolute; left: 0; width: 26px; height: 4px; background: #000; transition: transform .15s; }
.mp-toggle__inner { top: 50%; margin-top: -2px; }
.mp-toggle__inner::before, .mp-toggle__inner::after { content: ""; }
.mp-toggle__inner::before { top: -8px; transition: top .075s .12s, opacity .075s; }
.mp-toggle__inner::after { bottom: -8px; transition: bottom .075s .12s, transform .075s cubic-bezier(.55,.055,.675,.19); }
.mp-toggle:hover .mp-toggle__inner, .mp-toggle:hover .mp-toggle__inner::before, .mp-toggle:hover .mp-toggle__inner::after { background: var(--mp-primario); }
.mp-toggle[aria-expanded="true"] .mp-toggle__inner { transform: rotate(45deg); transition: transform .15s cubic-bezier(.215,.61,.355,1) .12s; }
.mp-toggle[aria-expanded="true"] .mp-toggle__inner::before { top: 0; opacity: 0; transition: top .075s, opacity .075s .12s; }
.mp-toggle[aria-expanded="true"] .mp-toggle__inner::after { bottom: 0; transform: rotate(-90deg); transition: bottom .075s, transform .075s cubic-bezier(.215,.61,.355,1) .12s; }

/* Menu mobile a schermo intero */
.mp-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .89); opacity: 0; visibility: hidden; transition: opacity .4s linear, visibility 0s .4s; }
.mp-overlay[hidden] { display: block; }
.mp-overlay.is-open { opacity: 1; visibility: visible; transition: opacity .4s linear, visibility 0s; }
.mp-overlay__close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; padding: 2px; border: 0; background: transparent; color: #fff; }
.mp-overlay__nav { position: absolute; left: 0; right: 0; top: calc(50% - 92px); transform: translateY(-50%); }
.mp-overlay__list { list-style: none; margin: 0; padding: 0; text-align: center; }
.mp-overlay__list a { display: inline-block; padding: 10px 20px; font-size: 18px; line-height: 32.76px; font-weight: 600; color: var(--mp-primario); }
.mp-overlay__list a:hover { color: var(--mp-primario); }
body.mp-no-scroll { overflow: hidden; }

/* ---------- Home: hero ---------- */
.mp-hero { position: relative; display: flex; align-items: center; min-height: 100vh; padding-bottom: 300px; box-sizing: content-box; overflow: hidden; }
.mp-hero__video { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.mp-hero__video video { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.mp-hero__content { position: relative; z-index: 1; padding-top: 20px; padding-bottom: 20px; }
.mp-hero__title { max-width: 706px; margin: 0 10px 35px; }
.mp-hero__sub { max-width: 517px; margin: 0 10px 50px; font-size: 24px; line-height: 28px; font-weight: 300; color: var(--mp-grigio-2); }
.mp-hero .mp-btn { margin-left: 10px; }

/* Schede destinatari */
.mp-dest { position: relative; z-index: 2; margin-top: -450px; padding: 130px 0 110px; }
.mp-dest__grid { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; }
.mp-dest__col { padding: 0 15px; }
.mp-card { height: 100%; padding: 40px 15px; border: 2px solid rgba(35, 0, 209, .25); border-radius: 20px; text-align: center; }
.mp-card__icon { padding-bottom: 20px; margin-bottom: 20px; }
.mp-card__icon img { width: 50%; height: auto; margin: 0 auto; }
.mp-card__title { min-height: 56px; margin-bottom: 20px; font-size: 20px; line-height: 28px; font-weight: 500; color: var(--mp-grigio); text-transform: uppercase; }

/* Banda con sfondo fisso e video in lightbox */
.mp-band { margin-bottom: 100px; padding: 10px; background-size: cover; background-position: 50% 50%; background-attachment: fixed; }
.mp-band__inner { width: 80%; max-width: 984px; margin: 0 auto; padding: 10px; }
.mp-band__video { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; }
.mp-band__video img { width: 100%; height: auto; }
.mp-band__play { position: absolute; left: 50%; top: 50%; width: 43.6%; aspect-ratio: 1; transform: translate(-50%, -50%); color: #fff; opacity: .8; filter: drop-shadow(1px 0 6px rgba(0, 0, 0, .3)); transition: opacity .5s; }
.mp-band__play svg { width: 100%; height: 100%; }
.mp-band__video:hover .mp-band__play { opacity: 1; }

/* Approfondimenti (bande colorate sovrapposte) */
.mp-appr__row { position: relative; }
.mp-appr__row--b { margin-top: -200px; display: flex; justify-content: flex-end; pointer-events: none; }
.mp-appr__row--b .mp-appr__box { pointer-events: auto; }
.mp-appr__box { display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; width: 60%; padding: 60px; }
.mp-appr__row--a .mp-appr__box { background: rgba(56, 197, 202, .25); border-radius: 0 25px 25px 0; }
.mp-appr__row--b .mp-appr__box { background: rgba(156, 58, 162, .25); border-radius: 25px; }
.mp-appr__icon { padding: 10px; }
.mp-appr__icon img { margin-left: auto; }
.mp-appr__row--a .mp-appr__icon img, .mp-appr__row--b .mp-appr__icon img { width: 38%; height: auto; }

.mp-appr__text { padding: 10px; }
.mp-appr__row--b .mp-appr__icon { grid-column: 2; }
.mp-appr__row--b .mp-appr__text { grid-column: 3; }
.mp-appr__title { margin-bottom: 20px; font-size: 28px; line-height: 30.8px; font-weight: 700; color: var(--mp-grigio); }

/* Chi siamo */
.mp-about { display: grid; grid-template-columns: 1fr 1fr; margin: 120px 0; }
.mp-about__img { min-height: 620px; background-size: contain; background-repeat: no-repeat; background-position: 100% 50%; }
.mp-about__text { padding: 90px 280px 90px 30px; }
.mp-about__title { margin-bottom: 20px; }
.mp-about__body { margin-bottom: 20px; color: var(--mp-grigio-2); }
.mp-about__body p { display: inline; margin: 0; }
.mp-about__body p + p::before { content: " "; }
.mp-about__body p:last-child { margin-bottom: 0; }
.mp-about__body strong { font-weight: 700; }

/* Pagine generiche */
.mp-page { padding: 160px 10px 80px; }
.mp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mp-center { text-align: center; }
/* Contenitore Elementor "gap wider": 1230 con colonne da 30px → contenuto 1170 */
.mp-wide { max-width: var(--mp-container); margin: 0 auto; padding: 30px; }

/* Colonna immagine + testo (team, hub destinatario): stessa base del "chi siamo" della home */
.mp-about--page { margin: 120px 0 0; }
.mp-about--page .mp-about__img { background-position: 100% 50%; }
.mp-about--page .mp-about__title { margin-bottom: 35px; }
.mp-about--page .mp-about__body p { display: block; margin: 0 0 15px; }
.mp-about--page .mp-about__body p + p::before { content: none; }
.mp-about--hub { margin-top: 150px; }
.mp-about--hub .mp-about__img { min-height: 420px; }

/* Bande con foto a sfondo fisso */
.mp-fixbg { height: 520px; background-position: 50% 50%; background-repeat: no-repeat; background-attachment: fixed; }
/* Larghezza piena dello schermo come il "contain" dell'originale con sfondo fisso */
.mp-fixbg--contain { background-size: 100% auto; }
.mp-fixbg--cover { background-size: cover; }
.mp-fixbg--560 { height: 560px; }

/* Titolo + testo su due colonne (team) */
.mp-intro { width: 80%; margin: 0 auto 100px; padding: 10px 10px 0; }
.mp-intro__title { margin-bottom: 35px; }
.mp-cols2 { column-count: 2; column-gap: 45px; text-align: justify; color: var(--mp-grigio-2); }
.mp-cols2 p { break-inside: auto; }

/* Team: griglia flipbox */
.mp-team { padding: 120px 0 80px; }
.mp-team__grid { display: grid; grid-template-columns: repeat(4, 1fr); row-gap: 80px; align-items: end; margin-top: 160px; }
.mp-member { margin: 0 15px; padding: 0 10%; text-align: center; }
.mp-flip { position: relative; height: 200px; outline-offset: 4px; }
.mp-flip__face { position: absolute; inset: 0; background: #fff; transition: opacity .5s, visibility .5s; }
.mp-flip__face img { width: 100%; height: 100%; object-fit: contain; }
.mp-flip__back { opacity: 0; visibility: hidden; }
.mp-flip:hover .mp-flip__front, .mp-flip:focus .mp-flip__front { opacity: 0; visibility: hidden; }
.mp-flip:hover .mp-flip__back, .mp-flip:focus .mp-flip__back { opacity: 1; visibility: visible; }
.mp-member__name { margin-top: 20px; font-size: 22px; line-height: 22px; font-weight: 500; color: var(--mp-grigio); }
.mp-member__role { max-width: 175px; margin: 6px auto 0; font-size: 18px; line-height: 18px; font-weight: 400; color: var(--mp-viola); }

/* Casi clinici: griglia "overlap" */
.mp-casi { padding: 160px 0 80px; }
.mp-casi__head { padding: 10px 10px 0; margin-bottom: 55px; }
.mp-casi__list { padding: 0 10px; }
.mp-casi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.mp-caso-card { display: flex; flex-direction: column; padding-bottom: 15px; background: #F6F6F6; }
.mp-caso-card__img img { width: 100%; height: 229px; object-fit: cover; transition: all .25s linear; }
.mp-caso-card__body { position: relative; flex: 1; margin: -45px 15px 0; padding: 20px 20px 40px; background: #fff; text-align: center; }
.mp-caso-card__title { margin-bottom: 12px; font-size: 22px; line-height: 26px; font-weight: 500; color: var(--mp-grigio); }
.mp-caso-card__title a:hover { color: var(--mp-viola); }
.mp-caso-card__date { margin: 0 0 20px; font-size: 12px; line-height: 19px; color: var(--mp-grigio-2); }
.mp-caso-card__exc { margin: 0; font-size: 14px; line-height: 26px; color: var(--mp-grigio-2); }
.mp-pager { margin-top: 30px; text-align: center; font-size: 16px; }
.mp-pager a, .mp-pager span { display: inline-block; padding: 0 5px; }

/* Caso singolo: galleria + colonna sticky */
.mp-caso { display: grid; grid-template-columns: 1fr 1fr; margin-top: 120px; padding: 120px 0; }
.mp-caso__fig { margin: 0 0 30px; padding: 70px; }
.mp-caso__fig img { width: 100%; height: auto; }
.mp-caso__fig:last-child { margin-bottom: 0; }
.mp-caso__side { padding: 0 200px 0 30px; }
.mp-caso__sticky { position: sticky; top: 80px; padding-top: 80px; }
.mp-caso__sticky .mp-fancy { margin-bottom: 35px; }
.mp-caso__text { color: var(--mp-grigio-2); }

/* Contatti: recapiti */
.mp-reach { padding: 140px 0 0; }
.mp-reach__row { display: grid; }
.mp-reach__row--main { grid-template-columns: 17.5% 15% 35% 15% 17.3%; }
.mp-reach__row--direct { grid-template-columns: repeat(4, 1fr); }
.mp-reach__item { padding: 10px; text-align: center; }
.mp-reach__item a { display: block; color: var(--mp-viola); transition: color .3s; }
.mp-reach__item a:hover { color: var(--mp-azzurro); }
.mp-reach__icon { display: block; height: 30px; margin-bottom: 7px; }
.mp-reach__icon svg { width: 30px; height: 30px; margin: 0 auto; }
.mp-reach__text { display: block; font-size: 16px; line-height: 26px; font-weight: 500; }

/* Riquadro modulo (CF7 con lo stile del form Elementor) */
.mp-formsec { margin-bottom: 50px; }
.mp-formsec__inner { max-width: var(--mp-container); margin: 0 auto; padding: 30px; }
.mp-formbox { margin: 0 10.5%; padding: 20px; border-radius: 15px; background: linear-gradient(200deg, #38C6CA 0%, #9D3AA2 100%); color: #fff; }
.mp-formbox p { margin: 0; }
.mp-formbox .wpcf7 form { margin: 0; }
.mp-form { display: flex; flex-wrap: wrap; margin: 0 -5px; }
.mp-field { padding: 0 5px; margin-bottom: 30px; flex: 0 0 100%; max-width: 100%; }
.mp-w-50 { flex-basis: 50%; max-width: 50%; }
.mp-w-40 { flex-basis: 40%; max-width: 40%; }
.mp-w-60 { flex-basis: 60%; max-width: 60%; }
.mp-w-33 { flex-basis: 33.333%; max-width: 33.333%; }
.mp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.mp-form label { display: block; }
.mp-form .wpcf7-form-control-wrap { display: block; }
.mp-form input[type="text"], .mp-form input[type="tel"], .mp-form input[type="email"], .mp-form textarea { display: block; width: 100%; margin: 0; padding: 9px 10px; font: 500 15px/22px Inter, sans-serif; color: #fff; background: transparent; border: 1px solid #fff; border-radius: 10px; outline: none; box-shadow: none; }
.mp-form textarea { height: 95px; resize: vertical; }
.mp-form ::placeholder { color: rgba(255, 255, 255, .6); opacity: 1; }
.mp-form input:focus, .mp-form textarea:focus { border-color: #fff; box-shadow: 0 0 0 1px #fff inset; }
.mp-privacy { margin-bottom: 12px; font-size: 16px; line-height: 26px; font-weight: 500; }
.mp-privacy .wpcf7-list-item { margin: 0; }
.mp-privacy input[type="checkbox"] { width: 13px; height: 13px; margin: 0 8px 0 4px; vertical-align: -1px; accent-color: #fff; }
.mp-privacy a { color: var(--mp-testo); }
.mp-submit { margin-bottom: 0; }
.mp-form input[type="submit"] { display: inline-block; height: 40px; padding: 0 23px; font: 400 15px/38px Inter, sans-serif; color: #fff; background: transparent; border: 1px solid #fff; border-radius: 3px; cursor: pointer; transition: all .3s; }
.mp-form input[type="submit"]:hover, .mp-form input[type="submit"]:focus { color: #636363; background: #fff; }
.mp-formbox .wpcf7-spinner { position: absolute; margin: 12px 0 0 10px; }
.mp-formbox .wpcf7-not-valid-tip { margin-top: 4px; font-size: 13px; color: #fff; }
.mp-formbox .wpcf7-response-output { margin: 15px 0 0 !important; padding: 8px 12px !important; border-color: #fff !important; color: #fff; }

/* Mappa */
.mp-map iframe { display: block; width: 100%; height: 540px; border: 0; }

/* Richiesta listini */
.mp-listini { padding: 140px 0 0; }
.mp-listini > .mp-wide { padding-bottom: 0; }
.mp-listini__title .mp-fancy__text { font-size: 44px; line-height: 54px; }

/* Hub Servizi e schede (stesse misure delle schede della home) */
.mp-hub { margin-top: 120px; padding: 130px 0 30px; }
.mp-cards { display: grid; grid-template-columns: repeat(3, 1fr); }
.mp-cards--dest { padding: 0; margin-bottom: 80px; }
.mp-cards--dest .mp-cards__col { padding: 0 15px; }
.mp-cards--svc { row-gap: 30px; margin-bottom: 30px; }
.mp-cards--svc .mp-cards__col { margin: 0 15px; }
.mp-cards--svc .mp-card { padding: 40px 10% 40px; }
.mp-cards--svc .mp-card__icon { padding-bottom: 0; }
.mp-cards--svc .mp-card__title { font-size: 24px; line-height: 28px; font-weight: 600; }
.mp-hubdest--servizi-laboratorio-odontotecnico .mp-cards--svc .mp-card__title { font-weight: 500; color: var(--mp-titoli); }

/* Timeline orizzontale a carosello (hub destinatario) */
.mp-tlsec { margin: 100px 0 126px; }
.mp-tl { position: relative; --mp-tl-k: 4; }
.mp-tl__viewport { position: relative; overflow: hidden; }
.mp-tl__line { position: absolute; left: 0; right: 0; top: 15px; height: 5px; background: var(--mp-azzurro); }
.mp-tl__track { position: relative; display: flex; margin: 0; padding: 0; list-style: none; transition: transform .5s ease; }
.mp-tl__item { flex: 0 0 calc(100% / var(--mp-tl-k)); padding: 0 10px; text-align: center; }
.mp-tl__marker { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; margin: 0 auto 10px; border-radius: 50%; font-size: 21px; line-height: 1; font-weight: 700; color: #fff; background: var(--mp-viola); transition: background .25s linear; }
.mp-tl__item:hover .mp-tl__marker { background: var(--mp-azzurro); }
.mp-tl__card { padding: 20px; background: #fff; }
.mp-tl__img { width: auto; max-width: 100%; height: auto; margin: 0 auto 8px; }
.mp-tl__title { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--mp-grigio); }
.mp-tl__arrow { position: absolute; top: 5px; z-index: 2; display: flex; align-items: center; justify-content: center; width: 25px; height: 25px; padding: 0; border: 0; border-radius: 50%; color: #000; background: #D6D6D6; }
.mp-tl__arrow svg { width: 13px; height: 13px; }
.mp-tl__arrow--prev { left: 0; }
.mp-tl__arrow--next { right: 0; }

/* Griglia servizi */
.mp-svcgrid { padding: 0 0 80px; }

/* Servizio singolo */
.mp-svc { padding: 80px 0; }
.mp-svc__head, .mp-slider { width: 80%; margin: 0 auto 60px; }
.mp-svc__head { padding: 10px 10px 0; }
.mp-svc__icon { width: 10%; margin: 0 auto 20px; }
.mp-svc__icon img { width: 100%; height: auto; }
.mp-svc .mp-fancy { margin-bottom: 35px; }
.mp-svc__text { column-count: 2; column-gap: 40px; font-size: 14px; text-align: justify; }
.mp-slider { position: relative; height: 500px; overflow: hidden; padding: 0; }
.mp-slider { width: calc(80% - 20px); }
.mp-slider__track { display: flex; height: 100%; transition: transform .5s ease; }
.mp-slider__slide { flex: 0 0 100%; height: 100%; padding: 50px; background: var(--mp-azzurro) no-repeat 50% 50% / cover; }
.mp-slider__arrow { position: absolute; top: 50%; z-index: 2; width: 25px; height: 25px; padding: 0; border: 0; color: rgba(237, 237, 237, .9); background: none; transform: translateY(-50%); }
.mp-slider__arrow svg { width: 25px; height: 25px; }
.mp-slider__arrow--prev { left: 10px; }
.mp-slider__arrow--next { right: 10px; }
.mp-slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 12px; }
.mp-slider__dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: #000; opacity: .2; }
.mp-slider__dots button[aria-current="true"] { opacity: 1; }

/* Pagine legali e testo generico */
.mp-legal { max-width: 1170px; margin: 230px auto 200px; }
.mp-prose h2 { margin: 0 0 15px; font-size: 45px; line-height: 55px; font-weight: 500; color: var(--mp-titoli); }
.mp-prose h3 { margin: 0 0 15px; font-size: 32px; line-height: 45px; font-weight: 500; color: var(--mp-titoli); }
.mp-prose h4 { margin: 0 0 15px; font-size: 24px; line-height: 32px; font-weight: 500; color: var(--mp-titoli); }
.mp-prose p, .mp-prose ul, .mp-prose ol { margin: 0 0 15px; }
.mp-prose ul, .mp-prose ol { padding-left: 30px; }
.mp-prose a { color: #017FE4; }
.mp-prose strong { font-weight: 700; }
.mp-prose hr { margin: 0 0 30px; border: 0; border-top: 1px solid rgba(0, 0, 0, .08); }
.mp-404 p { margin-top: 20px; }

/* ---------- Footer ---------- */
.mp-footer__brand { padding: 60px 0; background: var(--mp-gradiente); text-align: center; }
.mp-footer__brand .mp-container { padding: 10px 20px; }
.mp-footer__logo { display: inline-block; margin-bottom: 20px; }
.mp-footer__logo img { width: 210px; height: 96px; }
.mp-social { display: flex; justify-content: center; gap: 41px; list-style: none; margin: 0; padding: 0; }
.mp-social__link { display: block; width: 27px; height: 27px; color: #fff; transition: color .3s, opacity .3s; }
.mp-social__link svg { width: 27px; height: 27px; }
.mp-social__link:hover { color: var(--mp-viola); opacity: .9; }
.mp-footer__links { padding: 40px 0; background: #E9E9E9; }
.mp-footer__grid { display: grid; grid-template-columns: 675px 225px; max-width: 900px; margin: 0 auto; }


.mp-footer__col { padding: 10px; }
.mp-footer__title { margin-bottom: 20px; font-size: 18px; line-height: 18px; font-weight: 600; color: var(--mp-grigio); }
.mp-footer__title a:hover { color: var(--mp-viola); }
.mp-footer__divider { margin: 0 0 20px; border: 0; border-top: 1px solid var(--mp-grigio); }
.mp-footer__list { list-style: none; margin: 0; padding: 0 10px; font-size: 14px; line-height: 26px; }
.mp-footer__list li + li { margin-top: 5px; }
.mp-footer__list--3col { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: column; grid-template-rows: repeat(3, auto); column-gap: 20px; row-gap: 5px; padding: 0 10px; }
.mp-footer__list--3col li + li { margin-top: 0; }
.mp-footer__list a { color: var(--mp-grigio-2); }
.mp-footer__list a:hover { color: var(--mp-viola); }
.mp-footer__bottom { padding: 20px 10px 11px; background: #F1F1F1; text-align: center; }
.mp-footer__bottom p { margin: 0; }

/* Lightbox video */
.mp-lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .85); }
.mp-lightbox[hidden] { display: none; }
.mp-lightbox__box { width: min(80vw, 142vh); aspect-ratio: 16 / 9; }
.mp-lightbox__box video { width: 100%; height: 100%; background: #000; }
.mp-lightbox__close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; border: 0; background: none; color: #fff; }

/* ---------- Animazioni di entrata (come Elementor: 1.25s, slow 2s) ---------- */
.mp-js [data-anim]:not(.is-in) { visibility: hidden; }
[data-anim].is-in { animation-duration: 1.25s; animation-timing-function: ease; animation-fill-mode: both; }
[data-anim][data-anim-slow].is-in { animation-duration: 2s; }
[data-anim="fadeIn"].is-in { animation-name: fadeIn; }
[data-anim="fadeInUp"].is-in { animation-name: fadeInUp; }
[data-anim="fadeInLeft"].is-in { animation-name: fadeInLeft; }
[data-anim="fadeInRight"].is-in { animation-name: fadeInRight; }
[data-anim="zoomIn"].is-in { animation-name: zoomIn; }
[data-anim="slideInUp"].is-in { animation-name: slideInUp; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
@keyframes slideInUp { from { transform: translate3d(0, 100%, 0); visibility: visible; } to { transform: translate3d(0, 0, 0); } }
@media (prefers-reduced-motion: reduce) {
	.mp-js [data-anim]:not(.is-in) { visibility: visible; }
	[data-anim].is-in { animation: none; }
	.mp-btn, .mp-nav__link, .mp-nav__link::after, .mp-overlay { transition: none; }
}

/* ---------- Tablet (fino a 1024px) ---------- */
@media (max-width: 1024px) {
	.mp-header { height: 78px; }
	.mp-header__logo-img { width: 128px; height: 59px; }
	.mp-nav { display: none; }
	.mp-toggle { display: block; }
	.mp-container { max-width: 1024px; }
	body { font-size: 14px; line-height: 22px; }
	.mp-fancy { font-size: 38px; line-height: 47px; }

	.mp-hero__title, .mp-hero__sub { margin-left: 0; margin-right: 0; }
	.mp-hero .mp-btn { margin-left: 0; }
	.mp-hero__sub { max-width: none; }
	.mp-footer__bottom { font-size: 14px; line-height: 22px; }
	.mp-dest { padding: 110px 0 70px; }
	.mp-dest__grid { grid-template-columns: 1fr; padding: 0 30px; }
	.mp-dest__col { padding: 15px; }

	.mp-card__icon img { width: 20%; }
	.mp-appr__row--b { pointer-events: auto; }
	.mp-appr__box { display: block; width: 100%; padding: 70px; text-align: center; border-radius: 25px !important; }
	.mp-appr__row--a .mp-appr__icon img { width: 123px; height: 117px; margin: 0 auto; }
	.mp-appr__row--b .mp-appr__icon img { width: 123px; height: 132px; margin: 0 auto; }
	.mp-footer__grid { grid-template-columns: 1fr; max-width: none; }
	.mp-band { background-attachment: scroll; }
	.mp-appr__row--b { margin-top: 30px; }
	.mp-about { grid-template-columns: 1fr; }
	.mp-about__text { order: -1; padding: 30px; text-align: center; }
	.mp-footer__brand { padding: 40px 0; }
	.mp-footer__links { padding: 60px 20px; }
	.mp-footer__grid { grid-template-columns: 1fr; text-align: center; }
	.mp-footer__list { font-size: 14px; line-height: 22px; }
	.mp-social { padding-bottom: 40px; }
}

/* ---------- Mobile (fino a 767px) ---------- */
@media (max-width: 767px) {
	body { font-size: 13px; line-height: 19px; }
	.mp-header { height: 79px; }
	.mp-fancy { font-size: 27px; line-height: 33px; }
	.mp-fancy .mp-fancy__text { font-size: 32px; line-height: 33px; }
	.mp-hero { padding: 40px 0 0; text-align: center; }
	.mp-hero__content { padding: 10px 0; }
	.mp-hero__title { margin: 10px 10px 35px; }
	.mp-hero__sub { margin: 0 0 20px; }
	.mp-dest { margin-top: 0; padding: 90px 0 70px; }
	.mp-dest__grid { padding: 0 30px; }

	.mp-card__icon img { width: 50%; }
	.mp-footer__bottom { font-size: 13px; line-height: 19px; }
	.mp-footer__col--contacts { margin-top: 40px; }
	.mp-band__inner { width: 100%; }
	.mp-appr__row--b { margin-top: 30px; }
	.mp-appr__box { padding: 60px; }
	.mp-appr__row--a .mp-appr__icon img { width: 118px; height: 112px; }
	.mp-appr__row--b .mp-appr__icon img { width: 118px; height: 127px; }
	.mp-footer__brand { padding: 30px 0; }
	.mp-footer__social svg, .mp-social__link, .mp-social__link svg { width: 15px; height: 15px; }
	.mp-footer__links { padding: 50px 20px; }
	.mp-footer__list { font-size: 13px; line-height: 19px; }
	.mp-footer__list--3col { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
	.mp-social { padding-bottom: 0; }
}

/* ---------- Altre pagine: tablet (fino a 1024px) ---------- */
@media (max-width: 1024px) {
	.mp-about--page .mp-about__text { order: 0; padding: 90px; text-align: center; }
	.mp-about--hub .mp-about__img { min-height: 370px; background-position: 50% 50%; }
	.mp-fixbg { background-attachment: scroll; }
	.mp-fixbg--contain { height: 320px; }
	.mp-team { padding: 0 0 60px; }
	.mp-team__grid { grid-template-columns: repeat(2, 1fr); row-gap: 0; }
	.mp-member { margin: 15px; }
	.mp-member:nth-child(4n+1):not(:first-child) { margin-top: 95px; }
	.mp-cols2, .mp-about--page .mp-about__body { font-size: 16px; line-height: 26px; }
	.mp-svc__text, .mp-caso__text { line-height: 26px; }
	.mp-intro .mp-fancy { text-align: center; }
	.mp-casi { padding: 80px 0 40px; }
	.mp-casi__grid { grid-template-columns: repeat(2, 1fr); }
	.mp-reach { padding-top: 80px; }
	.mp-reach__row--main, .mp-reach__row--direct { grid-template-columns: repeat(3, 1fr); }
	.mp-reach__spacer { display: none; }
	.mp-listini { padding-top: 80px; }
	.mp-hub { padding-top: 110px; }
	.mp-cards--dest { grid-template-columns: 1fr; padding: 0 30px; }
	.mp-cards--dest .mp-cards__col { padding: 15px; }
	.mp-cards .mp-card__icon img { width: 20%; }
	.mp-cards--svc { grid-template-columns: 1fr; row-gap: 0; }
	.mp-cards--svc .mp-cards__col { margin: 15px; }
	.mp-tlsec { margin: 0; }
	.mp-svcgrid { padding: 80px 0 40px; }
	.mp-svc { padding: 0 0 60px; }
	.mp-svc__head { width: 100%; }
	.mp-slider { width: calc(100% - 20px); }
	.mp-svc__icon { width: 15%; }
	.mp-legal { padding: 0 20px; }
}
/* Header e icone della home tra 768 e 1024: misure proporzionali come l'originale */
@media (min-width: 768px) and (max-width: 1024px) {
	.mp-header { height: auto; }
	.mp-header__logo-img { width: 16.8vw; height: auto; }
	.mp-appr__row--a .mp-appr__icon img, .mp-appr__row--b .mp-appr__icon img { width: 16.5vw; height: auto; }
}

/* ---------- Altre pagine: mobile (fino a 767px) ---------- */
@media (max-width: 767px) {
	.mp-about--team .mp-about__img { min-height: 270px; }
	.mp-about--team .mp-about__text { padding: 20px; }
	.mp-about--hub .mp-about__text { padding: 30px; }
	.mp-fixbg--contain { height: 220px; }
	.mp-team { padding: 0; }
	.mp-team__grid { grid-template-columns: 1fr; margin-top: 0; }
	.mp-member:nth-child(4n+1):not(:first-child) { margin-top: 55px; }
	.mp-caso-card__exc { line-height: 19px; }
	.mp-reach .mp-wide { padding: 0 10px; }
	.mp-privacy { font-size: 13px; line-height: 19px; }
	.mp-intro { width: 100%; }
	.mp-cols2 { column-count: 1; text-align: center; }
	.mp-casi__grid { grid-template-columns: 1fr; }
	.mp-caso { grid-template-columns: 1fr; }
	.mp-reach { padding: 80px 0 40px; }
	.mp-reach__row--main, .mp-reach__row--direct { grid-template-columns: 1fr; }
	.mp-formsec { margin-bottom: 0; }
	.mp-formsec__inner { padding: 0 33px; }
	.mp-formbox { margin: 0; }
	.mp-field.mp-w-50, .mp-field.mp-w-40, .mp-field.mp-w-60, .mp-field.mp-w-33 { flex-basis: 100%; max-width: 100%; }
	.mp-map { margin-top: 30px; }
	.mp-listini { padding: 80px 0 40px; }
	.mp-listini > .mp-wide { padding: 60px 10px 0; }
	.mp-listini__title .mp-fancy__text { font-size: 32px; line-height: 1.3em; }
	.mp-listini + .mp-formsec { margin-top: -20px; }
	.mp-hub { padding-top: 90px; }
	.mp-cards--dest { margin-bottom: 40px; }
	.mp-cards .mp-card__icon img { width: 50%; }
	.mp-tl { --mp-tl-k: 1; }
	.mp-svcgrid { padding: 40px 0; }
	.mp-svc { padding: 80px 0 0; }
	.mp-svc__icon { width: 50%; }
	.mp-svc__text { column-count: 1; }
	.mp-slider { height: 250px; }
	.mp-legal { padding: 0 33px; }
	.mp-prose h2 { font-size: 27px; line-height: 33px; }
	.mp-prose h3 { font-size: 24px; line-height: 30px; }
	/* Footer: stacco tra i 3 gruppi dell'elenco servizi, come le 3 liste dell'originale */
	.mp-footer__list--3col li:nth-child(3n+1):not(:first-child) { margin-top: 35px; }
}
/* Touch (iOS): niente sfondo fisso */
@media (hover: none) {
	.mp-fixbg, .mp-band { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
	.mp-tl__track, .mp-slider__track, .mp-flip__face, .mp-tl__marker { transition: none; }
}
/* Pagine legali: blocchi a scomparsa su due colonne (ex accordion dell'originale) */
.mp-acc { display: flex; flex-wrap: wrap; margin: 0 0 15px; }
.mp-acc__item { flex: 0 0 50%; padding: 15px; }
.mp-acc__title { position: relative; padding: 15px 20px 15px 54px; border: 1px solid #D5D8DC; font-size: 16px; line-height: 16px; font-weight: 500; color: var(--mp-titoli); cursor: pointer; list-style: none; }
.mp-acc__title::-webkit-details-marker { display: none; }
.mp-acc__title::before { content: "+"; position: absolute; left: 22px; top: 13px; font-weight: 700; }
.mp-acc__item[open] > .mp-acc__title::before { content: "\2212"; }
.mp-acc__body { padding: 15px 20px; border: 1px solid #D5D8DC; border-top: 0; }
.mp-prose h5 { margin: 0 0 10px; font-size: 18px; line-height: 24px; font-weight: 600; color: var(--mp-titoli); }
@media (max-width: 1024px) { .mp-acc__item { flex-basis: 100%; padding: 0; margin-bottom: 15px; } }
/* Testi dei contenuti: 16/26 su tablet come l'originale, 13/19 su mobile */
@media (min-width: 768px) and (max-width: 1024px) {
	.mp-prose { font-size: 16px; line-height: 26px; }
}
@media (max-width: 767px) {
	.mp-cols2, .mp-about--page .mp-about__body, .mp-svc__text, .mp-caso__text { font-size: 13px; line-height: 19px; }
	.mp-svc__text { font-size: 14px; }
	.mp-about--hub { margin-top: 150px; }
.mp-about--hub .mp-about__img { min-height: 420px; }
}
@media (max-width: 1024px) { .mp-about--hub { margin-top: 120px; } }

/* ---------- Fase 7: correzioni tablet/mobile misurate sull'originale (misura-fedelta) ---------- */
/* L'originale a 1024 usa ancora i testi desktop (16/26), tra 768 e 999 i testi tablet (14/22) */
@media (max-width: 1024px) {
	.mp-footer__brand { padding-bottom: 54px; }
	.mp-caso-card__img img { height: auto; aspect-ratio: 460 / 287; }
	.mp-caso-card__title { margin-bottom: 10px; }
	.mp-caso-card__date { line-height: inherit; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.mp-footer__grid { max-width: 900px; margin: 0 auto; }
	.mp-footer__divider { margin-bottom: 30px; }
	.mp-footer__col + .mp-footer__col { margin-top: 10px; }
	.mp-footer__links { padding-bottom: 70px; }
	.mp-fancy { line-height: 55px; }
	.mp-hubdest--servizi-laboratorio-odontotecnico .mp-tlsec { margin: 100px 0; }
}
@media (min-width: 1000px) and (max-width: 1024px) {
	.mp-footer__list { line-height: 26px; }
	.mp-footer__bottom { font-size: 16px; line-height: 26px; }
	.mp-caso-card__date { line-height: 26px; }
	.mp-svc { padding-top: 52px; }
	.mp-hubdest { padding-top: 30px; }
	.mp-hubdest .mp-about--page .mp-about__text { padding: 90px 40px; }
	.mp-hubdest--servizi-laboratorio-odontotecnico .mp-tlsec { margin: 100px 0 76px; }
}
@media (min-width: 768px) and (max-width: 999px) {
	.mp-prose, .mp-cols2, .mp-about--page .mp-about__body, .mp-caso__text, .mp-caso-card__exc { font-size: 14px; line-height: 22px; }
}
@media (max-width: 767px) {
	.mp-footer__brand { padding-bottom: 45px; }
	.mp-svc { padding-top: 132px; }
	.mp-hubdest { padding-top: 30px; }
	.mp-hubdest--servizi-laboratorio-odontotecnico .mp-tlsec { margin: 100px 0; }
	/* Timeline: la sezione dell'originale e' piu' alta (74px a mobile) */
	.mp-tlsec { padding-bottom: 74px; }
	.mp-cards--svc .mp-card { padding-bottom: 47px; }
	.mp-hubdest--servizi-studio-dentistico .mp-about--hub .mp-about__img { min-height: 370px; }
}
@media (min-width: 1000px) and (max-width: 1024px) {
	.mp-tlsec { padding-bottom: 57px; }
	.mp-hubdest--servizi-laboratorio-odontotecnico .mp-tlsec { margin-bottom: 19px; }
	.mp-team { padding-bottom: 36px; }
}
@media (min-width: 768px) and (max-width: 999px) {
	.mp-tlsec { padding-bottom: 29px; }
	.mp-hubdest--servizi-laboratorio-odontotecnico .mp-about--page .mp-about__text { padding-top: 50px; padding-bottom: 50px; }
}
