/* =========================================================
   Studio Dentistico Lorenzoni — stile principale
   Responsive Idee Digitali · https://responsive-web.it/
   ========================================================= */

:root {
	--ink: var(--wp--preset--color--ink, #22313a);
	--slate: var(--wp--preset--color--slate, #33424b);
	--text: var(--wp--preset--color--text, #4c5a62);
	--teal: var(--wp--preset--color--teal, #1a7f88);
	--teal-dark: var(--wp--preset--color--teal-dark, #135f66);
	--teal-text: #156c74; /* turchese per testi piccoli (AA anche su fondi chiari) */
	--teal-light: var(--wp--preset--color--teal-light, #7fd3d9);
	--mint: var(--wp--preset--color--mint, #e5f3f3);
	--paper: var(--wp--preset--color--paper, #faf8f5);
	--sand: var(--wp--preset--color--sand, #ede4d8);
	--white: #fff;
	--display: var(--wp--preset--font-family--display, Fraunces, Georgia, serif);
	--ease: cubic-bezier(.2, .75, .15, 1);
	--ease-io: cubic-bezier(.7, 0, .2, 1);
	--gutter: clamp(1rem, 4vw, 3rem);
	--sec: clamp(4.5rem, 9vw, 8.5rem);
	--line: rgba(34, 49, 58, .12);
	--radius: 28px;
	--radius-s: 16px;
	--shadow: 0 30px 70px -35px rgba(19, 60, 66, .45);
	--shadow-l: 0 50px 90px -40px rgba(19, 60, 66, .55);
}

/* ---------- BASE ---------- */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.site-main { overflow-x: clip; }
img { max-width: 100%; height: auto; }
::selection { background: var(--teal); color: var(--white); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
a { text-underline-offset: .18em; text-decoration-thickness: 1px; }
strong { color: var(--ink); font-weight: 650; }
h1, h2, h3, h4 { text-wrap: balance; font-variation-settings: "SOFT" 50; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--teal); font-weight: 400; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.site-main > .entry-content, .site-main > .wp-block-post-content { margin: 0; }
.wp-block-post-content > * { margin-block: 0; }
.wp-block-post-content > .alignfull { margin-inline: 0; }
.has-global-padding .alignfull { margin-inline: calc(var(--wp--style--root--padding-left) * -1) calc(var(--wp--style--root--padding-right) * -1); }
.wp-block-image { margin: 0; }
.lead { font-size: clamp(1.08rem, 1.35vw, 1.25rem); line-height: 1.65; color: var(--slate); }
p { text-wrap: pretty; }

/* Bottoni (pillola) */
.wp-block-button__link { position: relative; transition: background-color .3s, color .3s, transform .35s var(--ease), box-shadow .3s; will-change: transform; display: inline-flex; align-items: center; gap: .5rem; }
.wp-block-button__link:hover { box-shadow: 0 16px 34px -14px rgba(26, 127, 136, .8); }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--ink); border: 1.5px solid currentColor; padding: calc(1.05rem - 1.5px) calc(1.7rem - 1.5px); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ink); color: var(--white); border-color: var(--ink); box-shadow: none; }
.wp-block-buttons { gap: .8rem; margin-top: 2rem; }

/* Etichetta sopra i titoli */
.kicker { font-size: .8rem; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: var(--teal-text); display: flex; align-items: center; gap: .75rem; margin: 0 0 1.3rem; }
.kicker span { color: var(--teal-text); letter-spacing: .05em; font-weight: 700; }
.kicker::after { content: ""; display: block; width: 3rem; height: 1.5px; background: currentColor; transform-origin: left; opacity: .6; }
.fx-ready .kicker::after { transform: scaleX(0); transition: transform 1s .2s var(--ease); }
.fx-ready .kicker.is-in::after, .fx-ready .is-in .kicker::after { transform: scaleX(1); }

.section-head { max-width: var(--wp--style--global--wide-size) !important; margin-bottom: clamp(2.5rem, 5vw, 4rem) !important; }
.section-head > * { max-width: 52rem; }
.section-head h2 { margin: 0; }
.section-head .lead { margin-top: 1.3rem; max-width: 42rem; }

/* ---------- MOTIVI GRAFICI: sorriso e arco del logo ---------- */
.smile, .tooth { display: block; overflow: visible; }
.smile path, .tooth path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tooth path { stroke-width: 1.6; }
.tooth .tooth__shine { stroke: var(--teal-light); stroke-width: 1.6; }
.fx-ready .smile path, .fx-ready .tooth path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.fx-ready .smile--hero path, .fx-ready .tooth--hero path { animation: draw 2.4s .5s var(--ease-io) forwards; }
.fx-ready .tooth--hero .tooth__shine { animation-delay: 2.2s; animation-duration: .8s; }
.fx-ready .smile--hero .smile__dot { animation-delay: 2.4s; animation-duration: .6s; }
.fx-ready .fx-draw path { transition: stroke-dashoffset 2.2s var(--ease-io); }
.fx-ready .fx-draw .smile__dot { transition-delay: 1.8s; transition-duration: .6s; }
.fx-ready .is-in .fx-draw path, .fx-ready .fx-draw.is-in path { stroke-dashoffset: 0; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- COMPARSE ALLO SCROLL ---------- */
.fx-ready .fx-up { opacity: 0; transform: translate3d(0, 36px, 0); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.fx-ready .fx-up.is-in { opacity: 1; transform: none; }
.fx-ready .fx-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .12em .08em .14em 0; margin: -.12em -.08em -.14em 0; }
.fx-ready .fx-words .w > span { display: inline-block; transform: translate3d(0, 112%, 0) rotate(4deg); transform-origin: left bottom; transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.fx-ready .fx-words.is-in .w > span { transform: none; }
.fx-ready .fx-stagger > .fx-child { opacity: 0; transform: translate3d(0, 46px, 0); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.fx-ready .fx-stagger.is-in > .fx-child { opacity: 1; transform: none; }
.fx-ready .fx-curtain img { clip-path: inset(100% 0 0 0 round var(--radius)); transition: clip-path 1.4s var(--ease-io), transform 1.2s var(--ease); }
.fx-ready .fx-curtain.is-in img { clip-path: inset(0 0 0 0 round 0); }
.fx-curtain { position: relative; }

/* Parallasse dentro le cornici: l'immagine è ingrandita, lo spostamento resta nel margine. */
.fx-parallax { overflow: hidden; }
.fx-parallax img { transform: scale(1.14); will-change: transform; }
.fx-parallax-bg img { transform: scale(1.18); will-change: transform; }

/* Card 3D con riflesso */
.fx-tilt { position: relative; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease), box-shadow .5s; transform-style: preserve-3d; }
.fx-tilt.is-tilting { transition: transform .12s linear, box-shadow .5s; }
.fx-tilt::after { content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), transparent 55%); opacity: 0; transition: opacity .4s; z-index: 3; mix-blend-mode: soft-light; }
.fx-tilt.is-tilting::after { opacity: 1; }

/* Elementi assoluti dentro sezioni "constrained": niente larghezza massima. */
.hero > figure, .hero > .hero__hud, .hero > .hero__dots, .hero > .hero__deco, .hero > .hero__card, .fullband > figure, .fullband > .ftags, .cta > figure, .cta > .cta__deco, .bigtype { max-width: none !important; }
.card__img a { display: block; height: 100%; }

/* Bolle decorative */
.orb { position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .95), rgba(127, 211, 217, .35) 45%, rgba(26, 127, 136, .08) 70%, transparent 72%); box-shadow: inset -6px -10px 24px rgba(26, 127, 136, .18); animation: float 9s ease-in-out infinite; }
@keyframes float { 50% { transform: translate3d(0, -14px, 0); } }

/* =========================================================
   HEADER (barra flottante in vetro)
   ========================================================= */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 60; padding: 14px var(--gutter) 0; pointer-events: none; transition: padding .4s var(--ease); }
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header__inner { pointer-events: auto; position: relative; display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); padding: .75rem .75rem .75rem 1.4rem; max-width: 1440px !important; margin: 0 auto !important; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; box-shadow: 0 18px 40px -24px rgba(19, 60, 66, .45); transition: padding .4s var(--ease), box-shadow .4s, background-color .4s; }
.is-scrolled .site-header { padding-top: 8px; }
.is-scrolled .site-header__inner { padding-block: .5rem; background: rgba(255, 255, 255, .94); box-shadow: 0 20px 44px -22px rgba(19, 60, 66, .55); }
.site-logo { flex: 0 0 auto; margin: 0 auto 0 0 !important; }
.site-header__inner > * { margin-block: 0 !important; }
.site-logo img { width: clamp(200px, 17vw, 268px); height: auto; display: block; transition: width .4s var(--ease); }
.is-scrolled .site-logo img { width: clamp(180px, 14vw, 230px); }
.header-cta-wrap { margin: 0 !important; }
.header-cta .wp-block-button__link { padding: .85rem 1.3rem; font-size: .9rem; }
.progress { position: absolute; left: 2rem; right: 2rem; bottom: 0; height: 2px; pointer-events: none; overflow: hidden; border-radius: 2px; }
.progress span { display: block; height: 100%; background: var(--teal); transform-origin: left; transform: scaleX(var(--progress, 0)); }

/* Badge "Aperto ora" */
.open-badge { display: inline-flex; align-items: center; gap: .55rem; margin: 0; font-size: .74rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--white); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); padding: .5rem .85rem; border-radius: 999px; white-space: nowrap; }
.open-badge i { width: .55rem; height: .55rem; border-radius: 50%; background: #a9b4b9; flex: none; }
.open-badge.is-open i { background: #2fbf71; box-shadow: 0 0 0 0 rgba(47, 191, 113, .6); animation: ping 2s infinite; }
.open-badge.is-closed i { background: #e0a046; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(47, 191, 113, 0); } 100% { box-shadow: 0 0 0 0 rgba(47, 191, 113, 0); } }
.open-badge--header, .open-badge--light { color: var(--ink); background: var(--mint); border-color: rgba(26, 127, 136, .18); }
.open-badge--header { margin: 0 !important; font-size: .68rem; padding: .42rem .75rem; }
.cta .open-badge { margin-top: 1.4rem; }

/* Navigazione */
.main-nav { font-weight: 550; font-size: .97rem; }
.main-nav .wp-block-navigation__container { gap: clamp(1rem, 2vw, 2.1rem); }
.main-nav .wp-block-navigation-item__content { color: var(--ink); position: relative; padding: .4rem 0; text-decoration: none; transition: color .25s; }
.main-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 3px; background: var(--teal); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav .wp-block-navigation-item__content:hover { color: var(--teal-text); }
.main-nav .wp-block-navigation-item__content:hover::after { transform: scaleX(1); transform-origin: left; }
.main-nav .is-current > .wp-block-navigation-item__content,
.main-nav .is-current-parent > .wp-block-navigation-item__content,
.main-nav .wp-block-navigation-submenu:has(.is-current) > .wp-block-navigation-item__content,
.main-nav [aria-current="page"] { color: var(--teal-text); }
.main-nav .is-current > .wp-block-navigation-item__content::after,
.main-nav .is-current-parent > .wp-block-navigation-item__content::after,
.main-nav .wp-block-navigation-submenu:has(.is-current) > .wp-block-navigation-item__content::after { transform: scaleX(1); height: 3px; }
.main-nav .wp-block-navigation__submenu-container { background: var(--white) !important; border: 1px solid var(--line) !important; padding: .6rem !important; min-width: 270px !important; box-shadow: var(--shadow-l); border-radius: var(--radius-s); margin-top: .6rem; }
.main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .65rem 1rem !important; font-size: .93rem; color: var(--ink); border-radius: 10px; }
.main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover, .main-nav .wp-block-navigation__submenu-container .is-current > .wp-block-navigation-item__content { background: var(--mint); color: var(--teal-text); }
.main-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.main-nav .wp-block-navigation__submenu-icon { color: var(--teal); }
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { color: var(--ink); }
.wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }

/* Pannello laterale mobile */
.main-nav .wp-block-navigation__responsive-container.is-menu-open {
	left: auto; width: min(420px, 90vw); background: var(--paper) !important; color: var(--ink) !important;
	padding: 5.5rem 2rem 2rem; box-shadow: 0 0 0 100vmax rgba(19, 40, 46, .55);
	animation: navIn .55s var(--ease) both; overflow-y: auto; border-radius: 28px 0 0 28px;
}
@keyframes navIn { from { transform: translateX(100%); } to { transform: none; } }
.main-nav .wp-block-navigation__responsive-container.is-menu-open { --navigation-layout-justification-setting: flex-start; --navigation-layout-justify: flex-start; --navigation-layout-align: flex-start; text-align: left; }
.main-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start !important; }
.main-nav .is-menu-open .wp-block-navigation__container, .main-nav .is-menu-open .wp-block-navigation-item, .main-nav .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; justify-content: flex-start !important; }
.main-nav .is-menu-open .wp-block-navigation__container { gap: .2rem !important; width: 100%; }
.main-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.main-nav .is-menu-open .wp-block-navigation-item__content { font-family: var(--display); font-size: 1.9rem; font-weight: 450; line-height: 1.1; padding: .35rem 0 .35rem 1.5rem !important; }
.main-nav .is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; padding: 0 0 .6rem 1.5rem !important; box-shadow: none; background: transparent !important; margin: 0; }
.main-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-family: inherit; font-size: 1.02rem; font-weight: 550; padding: .3rem 0 .3rem 1.1rem !important; color: var(--text); }
.main-nav .is-menu-open .wp-block-navigation-item__content::after { left: 1.5rem; right: auto; width: 2.5rem; }
.main-nav .is-menu-open .is-current > .wp-block-navigation-item__content::before,
.main-nav .is-menu-open .is-current-parent > .wp-block-navigation-item__content::before { content: ""; position: absolute; left: 0; top: 50%; width: .55rem; height: .55rem; border-radius: 50%; background: var(--teal); transform: translateY(-50%); }
.main-nav .is-menu-open .is-current > .wp-block-navigation-item__content, .main-nav .is-menu-open .is-current-parent > .wp-block-navigation-item__content { color: var(--teal-text) !important; }

/* =========================================================
   HERO (home)
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 9rem var(--gutter) clamp(7.5rem, 15vh, 10.5rem) !important; isolation: isolate; background: var(--teal-dark); }
.hero > * { margin: 0 !important; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(14, 44, 49, .86) 0%, rgba(14, 44, 49, .62) 38%, rgba(14, 44, 49, .12) 70%, rgba(14, 44, 49, .05) 100%),
		linear-gradient(0deg, rgba(14, 44, 49, .7) 0%, rgba(14, 44, 49, 0) 40%);
}
.hero__slide { position: absolute !important; inset: -6% 0 0 0; z-index: -3; margin: 0 !important; opacity: 0; transition: opacity 1.1s var(--ease-io); overflow: hidden; will-change: transform; }
.hero__slide.is-active { opacity: 1; z-index: -3; }
.hero__slide.was-active { opacity: 0; z-index: -4; }
.hero__slide:first-of-type { opacity: 1; }
.js .hero__slide:first-of-type:not(.is-active) { opacity: 0; }
.hero.has-video .hero__slide:first-of-type { opacity: 1; }
.hero__slide picture, .hero__slide img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero__slide figcaption { display: none; }
.hero__slide.is-active img { animation: kenburns 5.4s linear both; }
.hero__slide:nth-of-type(even).is-active img { animation-name: kenburns2; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes kenburns2 { from { transform: scale(1.12) translate(1.5%, 0); } to { transform: scale(1.02); } }
.hero__video { position: absolute; inset: -6% 3px 3px 3px; /* leggermente più piccolo della foto: la foto resta l'elemento LCP */ z-index: -2; opacity: 0; transition: opacity 1.4s; max-width: none !important; margin: 0 !important; will-change: transform; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero.has-video .hero__video { opacity: 1; }
.hero.has-video .hero__dots { display: none; }

.hero__dots { position: absolute; left: var(--gutter); bottom: 4.6rem; z-index: 3; display: flex; gap: .9rem; max-width: none !important; margin: 0 !important; }
.hero__dots button { background: none; border: 0; padding: .3rem 0; cursor: pointer; color: rgba(255, 255, 255, .85); text-align: left; width: clamp(70px, 7vw, 120px); font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; transition: opacity .3s; }
.hero__dots button:hover, .hero__dots button.is-on { opacity: 1; }
.hero__dot-n { display: block; color: var(--teal-light); }
.hero__dot-t { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: .15rem 0 .45rem; }
.hero__dot-bar { display: block; height: 2px; background: rgba(255, 255, 255, .3); overflow: hidden; border-radius: 2px; }
.hero__dot-bar i { display: block; height: 100%; background: var(--white); transform-origin: left; transform: scaleX(0); }
.hero__dots .is-on .hero__dot-bar i { transform: scaleX(var(--p, 0)); }

.hero__content { position: relative; z-index: 2; max-width: min(46rem, 62vw); will-change: transform, opacity; color: rgba(255, 255, 255, .9); }
.hero__kicker { color: var(--teal-light); }
.hero__kicker span { color: var(--teal-light); display: inline-block; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .25; } }
.hero__title { color: var(--white) !important; font-size: clamp(2.8rem, min(6.4vw, 11vh), 6.6rem) !important; line-height: .98 !important; margin: 0 0 1.6rem; font-weight: 400 !important; text-shadow: 0 10px 50px rgba(0, 0, 0, .25); }
.hero__title em { color: var(--teal-light); }
.hero__eyebrow { display: block; font-family: var(--wp--preset--font-family--body); font-size: clamp(.95rem, 1.2vw, 1.1rem); font-weight: 600; letter-spacing: .02em; color: var(--white); margin-bottom: 1.1rem; text-shadow: none; }
.hero__lead { font-size: clamp(1.02rem, 1.25vw, 1.18rem); max-width: 35rem; color: rgba(255, 255, 255, .88); }
.hero__cta { margin-top: 2.1rem; }
.hero .wp-block-button__link { background: var(--white); color: var(--teal-dark); }
.hero .wp-block-button__link:hover { background: var(--teal-light); color: var(--ink); }
.hero .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--white); }
.hero .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--white); color: var(--teal-dark); border-color: var(--white); }
/* Entrata (senza nascondere l'H1) */
.hero__kicker, .hero__lead, .hero__cta, .hero__card { animation: heroIn 1.2s var(--ease) both; }
.hero__lead { animation-delay: .2s; } .hero__cta { animation-delay: .35s; } .hero__card { animation-delay: .6s; }
@keyframes heroIn { from { opacity: 0; transform: translate3d(0, 30px, 0); } }
.fx-reduced .hero__kicker, .fx-reduced .hero__lead, .fx-reduced .hero__cta, .fx-reduced .hero__card, .fx-reduced .hero__slide img { animation: none !important; }
.hero__card { position: absolute; right: var(--gutter); bottom: clamp(7.5rem, 15vh, 10.5rem); z-index: 3; width: 290px; padding: 1.4rem 1.5rem; border-radius: 22px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); color: var(--white); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5); }
.hero__card .open-badge { background: rgba(255, 255, 255, .92); }
.hero__card-t { margin: 1rem 0 .6rem; font-size: .95rem; line-height: 1.6; }
.hero__card-t b { color: var(--white); font-weight: 650; }
.hero__card-l { font-family: var(--display); font-size: 1.55rem; color: var(--white); text-decoration: none; }
.hero__card-l:hover { color: var(--teal-light); }
.hero__deco { position: absolute; left: -3vw; right: auto; top: 14%; z-index: 1; width: min(30vw, 440px); opacity: .4; pointer-events: none; transform: rotate(180deg); }
.hero__deco .smile path { stroke: var(--teal-light); stroke-width: 1.2; }
.hero__hud { position: absolute; inset: 0; pointer-events: none; z-index: 3; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.hero__scroll { position: absolute; left: 50%; bottom: 4.4rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.hero__scroll i { width: 1.5px; height: 42px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; inset: 0; background: var(--white); animation: scrollLine 2s var(--ease-io) infinite; }
@keyframes scrollLine { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* =========================================================
   SEZIONI
   ========================================================= */
.wp-block-post-content > section { padding-block: var(--sec); position: relative; }

/* Punti di forza */
.wp-block-post-content > section.stats-sec { padding-block: 0 !important; background: var(--paper); z-index: 4; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); margin-top: -3.2rem !important; position: relative; overflow: hidden; }
.stat { margin: 0 !important; padding: 2rem 1.8rem; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat > * { margin: 0 !important; }
.stat__n { font-family: var(--display); font-size: clamp(2.2rem, 3.4vw, 3.2rem); line-height: 1; color: var(--teal); font-weight: 400; }
.stat__l { margin-top: .6rem !important; font-size: .92rem; line-height: 1.45; }

/* Intro lo studio */
.intro { background: var(--paper); overflow: hidden; }
.bigtype { position: absolute; bottom: 3rem; right: -2vw; font-family: var(--display); font-style: italic; font-weight: 300; font-size: clamp(6rem, 19vw, 20rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(26, 127, 136, .13); white-space: nowrap; pointer-events: none; --px: 220; user-select: none; }
.intro__cols { gap: clamp(2rem, 6vw, 6rem) !important; align-items: center !important; max-width: var(--wp--style--global--wide-size) !important; position: relative; }
.intro__text h2 { margin: 0 0 1.6rem; font-size: clamp(2.3rem, 4vw, 3.8rem); }
.collage { position: relative; aspect-ratio: 1 / 1.08; }
.collage > figure { position: absolute !important; box-shadow: var(--shadow-l); overflow: hidden; margin: 0 !important; border-radius: var(--radius); }
.collage img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage__a { left: 0; top: 0; width: 64%; height: 76%; z-index: 1; border-radius: 999px 999px var(--radius) var(--radius) !important; }
.collage__b { right: 0; top: 18%; width: 44%; height: 40%; z-index: 2; border: 6px solid var(--paper); }
.collage__c { right: 10%; bottom: 0; width: 46%; height: 36%; z-index: 3; border: 6px solid var(--paper); }
.collage__badge { position: absolute; left: 6%; bottom: 8%; z-index: 4; background: var(--teal); color: var(--white); width: 8.4rem; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; text-align: center; box-shadow: 0 24px 40px -14px rgba(19, 95, 102, .7); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1.2; animation: float 7s ease-in-out infinite; }
.collage__badge strong { font-family: var(--display); font-size: 2.3rem; font-weight: 400; letter-spacing: 0; color: var(--white); line-height: 1; margin-top: .2rem; }

/* Liste con spunta */
.checklist { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.checklist li { position: relative; padding-left: 2.1rem; color: var(--slate); }
.checklist li::before { content: ""; position: absolute; left: 0; top: .2em; width: 1.35rem; height: 1.35rem; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231a7f88' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }

/* Trattamenti: card */
.servizi { background: var(--white); }
.servizi--related { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--paper); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); margin: 0 !important; border-radius: var(--radius); border: 1px solid var(--line); }
.servizi--related .card { background: var(--white); }
.card:hover { box-shadow: var(--shadow-l); }
.card > * { margin: 0 !important; }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: calc(var(--radius) - 8px); margin: 8px 8px 0 !important; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__num { position: absolute; top: 1.2rem; left: 1.3rem; z-index: 2; font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--teal-dark); background: rgba(255, 255, 255, .92); padding: .35rem .7rem; border-radius: 999px; transform: translateZ(40px); }
.card__title { padding: 1.5rem 1.6rem .5rem; font-size: clamp(1.45rem, 1.9vw, 1.8rem) !important; transform: translateZ(30px); }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 4; }
.card__text { padding: 0 1.6rem; font-size: .97rem; }
.card__voci { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 1rem 1.6rem 0; margin: 0; }
.card__voci li { font-size: .78rem; font-weight: 600; color: var(--teal-dark); background: var(--mint); padding: .35rem .7rem; border-radius: 999px; }
.card__more { padding: 1.3rem 1.6rem 1.6rem; margin-top: auto !important; font-weight: 650; color: var(--teal-text); display: flex; gap: .5rem; }
.card__more span { transition: transform .4s var(--ease); }
.card:hover .card__more span { transform: translateX(6px); }

/* Fascia a tutto schermo in parallasse */
.fullband { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding-block: clamp(6rem, 12vw, 10rem) !important; }
.fullband::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14, 44, 49, .82) 0%, rgba(14, 44, 49, .55) 45%, rgba(14, 44, 49, .08) 100%); }
.fullband__bg { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; overflow: hidden; }
.fullband__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; }
.fullband__content { position: relative; z-index: 2; max-width: 40rem !important; margin-left: 0 !important; color: rgba(255, 255, 255, .9); }
.fullband .kicker { color: var(--teal-light); } .fullband .kicker span { color: var(--teal-light); }
.fullband__title { color: var(--white) !important; font-size: clamp(2.4rem, 4.8vw, 4.6rem) !important; margin: 0 0 1.4rem; }
.fullband__title em { color: var(--teal-light); }
.fullband__text { font-size: 1.1rem; max-width: 34rem; }
.fullband .wp-block-button__link { background: var(--white); color: var(--teal-dark); }
.fullband .wp-block-button__link:hover { background: var(--teal-light); color: var(--ink); }
.ftags { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ftag { position: absolute; padding: .7rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .4); color: var(--white); font-size: .82rem; font-weight: 600; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); white-space: nowrap; animation: float 8s ease-in-out infinite; }
.ftag::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--teal-light); margin-right: .55rem; vertical-align: middle; }
.ftag--1 { right: 12%; top: 20%; --px: -60; } .ftag--2 { right: 28%; top: 44%; animation-delay: -2s; --px: 40; } .ftag--3 { right: 8%; top: 60%; animation-delay: -4s; --px: -30; } .ftag--4 { right: 22%; bottom: 14%; animation-delay: -6s; --px: 60; }

/* Tecnologie */
.tech-sec { background: var(--mint); }
.techs { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.tech { background: var(--white); border-radius: var(--radius); padding: 8px 8px 1.8rem; margin: 0 !important; box-shadow: var(--shadow); }
.tech > * { margin: 0 !important; }
.tech__img { aspect-ratio: 16 / 11; overflow: hidden; border-radius: calc(var(--radius) - 8px); }
.tech__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tech:hover .tech__img img { transform: scale(1.05); }
.tech__n { padding: 1.4rem 1.5rem 0; font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--teal-text); }
.tech__t { padding: .4rem 1.5rem .6rem; font-size: 1.5rem !important; transform: translateZ(30px); }
.tech__d { padding: 0 1.5rem; font-size: .96rem; }

/* Passaggi numerati */
.primavisita { background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2.4rem); position: relative; }
.step { margin: 0 !important; position: relative; }
.step > * { margin: 0 !important; }
.step__n { width: 3.4rem; height: 3.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--white); color: var(--teal-text); font-family: var(--display); font-size: 1.25rem; box-shadow: 0 14px 30px -16px rgba(19, 60, 66, .55), inset 0 0 0 1.5px rgba(26, 127, 136, .35); position: relative; z-index: 2; }
.step__t { margin-top: 1.3rem !important; font-size: 1.32rem !important; }
.step__d { margin-top: .6rem !important; font-size: .96rem; }
.path { position: relative; height: 2px; max-width: var(--wp--style--global--wide-size) !important; }
.path span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--teal), var(--teal-light)); transform-origin: left; transform: scaleX(var(--pp, 0)); border-radius: 2px; }
.path--h { top: 1.7rem; margin-bottom: -2px !important; width: calc(100% - 3rem); left: 1.5rem; background: rgba(26, 127, 136, .15); }
.fx-reduced .path span { transform: none; }
/* Passaggi verticali (pagine trattamento) */
.percorso { background: var(--white); }
.percorso__cols { gap: clamp(2rem, 6vw, 6rem) !important; max-width: var(--wp--style--global--wide-size) !important; }
.percorso__head > * { position: relative; }
.percorso__steps { position: relative; }
.percorso__steps .path { position: absolute; left: 1.7rem; top: 1.5rem; bottom: 1.5rem; width: 2px; height: auto; background: rgba(26, 127, 136, .15); }
.percorso__steps .path span { transform: scaleY(var(--pp, 0)); transform-origin: top; background: linear-gradient(180deg, var(--teal), var(--teal-light)); }
.steps--v { grid-template-columns: 1fr; gap: 2rem; }
.steps--v .step { display: grid; grid-template-columns: 3.4rem 1fr; column-gap: 1.6rem; }
.steps--v .step__n { grid-row: span 2; }
.steps--v .step__t { margin-top: .5rem !important; }
.steps--v .step__d { grid-column: 2; }

/* Tempi indicativi */
.tempi { margin-top: 2.2rem !important; background: var(--paper); border-radius: var(--radius); padding: 1.6rem 1.7rem; border: 1px solid var(--line); }
.tempi__t { display: flex; align-items: center; gap: .6rem; margin: 0 0 .8rem; font-family: var(--display); font-size: 1.35rem; color: var(--ink); }
.tempi__t svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; }
.tempi__list { list-style: none; padding: 0; margin: 0; }
.tempi__list li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed rgba(26, 127, 136, .25); font-size: .95rem; }
.tempi__list b { color: var(--teal-text); font-weight: 650; text-align: right; white-space: nowrap; }
.tempi__note { margin: 1rem 0 0; font-size: .82rem; color: var(--text); opacity: .9; }

/* Team */
.team { background: var(--white); }
.team--page { background: var(--paper); }
.team__cols { gap: clamp(2rem, 6vw, 6rem) !important; align-items: center !important; max-width: var(--wp--style--global--wide-size) !important; }
.docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.docs--3 { grid-template-columns: repeat(3, 1fr); }
.doc { background: var(--paper); border-radius: var(--radius); padding: 8px 8px 1.6rem; margin: 0 !important; box-shadow: var(--shadow); border: 1px solid var(--line); }
.team--page .doc { background: var(--white); }
.doc > * { margin: 0 !important; }
.doc__img { aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: calc(var(--radius) - 8px) calc(var(--radius) - 8px) 999px 999px; }
.doc__img img { width: 100%; height: 100%; object-fit: cover; }
.doc__name { padding: 1.3rem 1.3rem .2rem; font-size: 1.4rem !important; }
.doc__role { padding: 0 1.3rem; font-size: .8rem; font-weight: 650; letter-spacing: .06em; color: var(--teal-text); text-transform: uppercase; }
.doc__text { padding: .7rem 1.3rem 0; font-size: .94rem; }
.doc__albo { padding: .6rem 1.3rem 0; font-size: .8rem; opacity: .85; }
.doc--team { display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem 1.3rem 1.6rem; background: linear-gradient(160deg, var(--teal) 0%, var(--teal-dark) 100%) !important; color: rgba(255, 255, 255, .88); min-height: 100%; }
.doc--team .doc__name, .doc--team .doc__role { color: var(--white); padding-inline: 0; }
.doc--team .doc__role { color: var(--teal-light); }
.doc--team .doc__text { padding-inline: 0; }

/* Domande frequenti */
.faq-sec { background: var(--paper); }
.intro-cols { gap: clamp(2rem, 6vw, 6rem) !important; max-width: var(--wp--style--global--wide-size) !important; }
.faq-sec__head h2 { position: sticky; top: 8rem; }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.4rem 3.4rem 1.4rem 0; position: relative; font-family: var(--display); font-size: clamp(1.12rem, 1.45vw, 1.35rem); color: var(--ink); transition: color .3s; }
.faq__item summary:hover { color: var(--teal-text); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 0; top: 50%; width: 2.3rem; height: 2.3rem; margin-top: -1.15rem; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' fill='none' stroke='%231a7f88' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 55% no-repeat; transition: transform .45s var(--ease), background-color .3s; }
.faq__item[open] summary::after { transform: rotate(45deg); background-color: var(--sand); }
.faq__a p { margin: 0 0 1.5rem; max-width: 44rem; }

/* =========================================================
   PAGINE INTERNE
   ========================================================= */
.page-hero { background: var(--paper); padding-top: clamp(8.5rem, 14vw, 11rem) !important; padding-bottom: clamp(3rem, 7vw, 6rem) !important; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; right: -10vw; top: -20vw; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--mint) 0%, rgba(229, 243, 243, 0) 65%); pointer-events: none; }
.page-hero__cols { gap: clamp(2rem, 5vw, 5rem) !important; align-items: center !important; max-width: var(--wp--style--global--wide-size) !important; position: relative; }
.page-hero__title { font-size: clamp(2.7rem, 5.6vw, 5.4rem) !important; line-height: 1 !important; margin: 0 0 1.5rem; font-weight: 400 !important; }
.page-hero__lead { font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: var(--slate); max-width: 36rem; }
.page-hero__text .kicker, .page-hero__lead, .page-hero__cta, .chips { animation: heroIn 1.1s var(--ease) both; }
.page-hero__lead { animation-delay: .15s; } .page-hero__cta { animation-delay: .3s; } .chips { animation-delay: .45s; }
.fx-reduced .page-hero__text .kicker, .fx-reduced .page-hero__lead, .fx-reduced .page-hero__cta, .fx-reduced .chips { animation: none; }
.page-hero__media { position: relative; }
.arch { border-radius: 999px 999px var(--radius) var(--radius) !important; overflow: hidden; aspect-ratio: 4 / 4.6; box-shadow: var(--shadow-l); animation: archIn 1.6s var(--ease-io) both; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
@keyframes archIn { from { clip-path: inset(100% 0 0 0 round 999px 999px 28px 28px); } to { clip-path: inset(0 0 0 0 round 0); } }
.fx-reduced .arch { animation: none; }
.page-hero__deco { position: absolute; inset: 0; pointer-events: none; }
.tooth--hero { position: absolute; left: -14%; bottom: -8%; width: 36%; }
.orb--1 { width: 5.5rem; height: 5.5rem; right: -2.2rem; top: 18%; }
.orb--2 { width: 3rem; height: 3rem; left: 6%; top: 8%; animation-delay: -3s; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 2rem 0 0; }
.chips li { font-size: .84rem; font-weight: 600; color: var(--teal-dark); background: var(--white); border: 1px solid rgba(26, 127, 136, .22); border-radius: 999px; }
.chips li:not(:has(a)) { padding: .5rem .95rem; }
.chips a { display: block; padding: .5rem .95rem; color: inherit; text-decoration: none; border-radius: inherit; transition: background-color .3s, color .3s; }
.chips a:hover { background: var(--teal); color: var(--white); }

/* Foto + testo */
.split { background: var(--white); }
.split--rev { background: var(--paper); }
.split__cols { gap: clamp(2rem, 6vw, 6rem) !important; align-items: center !important; max-width: var(--wp--style--global--wide-size) !important; }
.split--rev .split__cols { flex-direction: row-reverse; }
.split__media { position: relative; }
.split__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: var(--shadow-l); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split__text h2 { margin: 0 0 1.5rem; }
.svc-intro .split__media::after { content: ""; position: absolute; right: -1.4rem; bottom: -1.4rem; width: 40%; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(26, 127, 136, .4); z-index: -1; }

/* Soluzioni */
.sols-sec { background: var(--mint); }
.sols { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1rem, 2vw, 1.6rem); }
.sol { background: var(--white); border-radius: var(--radius); padding: 2rem 2rem 1.8rem; margin: 0 !important; box-shadow: var(--shadow); }
.sol > * { margin: 0 !important; }
.sol__n { font-family: var(--display); font-size: 2.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--teal); }
.sol__t { margin-top: .9rem !important; font-size: 1.55rem !important; transform: translateZ(25px); }
.sol__d { margin-top: .7rem !important; font-size: .98rem; }
.sol__list { list-style: none; padding: 0; margin: 1.2rem 0 0 !important; display: flex; flex-wrap: wrap; gap: .4rem; }
.sol__list li { font-size: .8rem; font-weight: 600; color: var(--teal-dark); background: var(--mint); padding: .38rem .75rem; border-radius: 999px; }

/* Vantaggi / caratteristiche */
.valori { background: var(--white); }
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.8rem); }
.feats--4 { grid-template-columns: repeat(4, 1fr); }
.feats--stack { grid-template-columns: 1fr; gap: 0; margin-top: 1.8rem !important; border-top: 1px solid var(--line); }
.feat { margin: 0 !important; }
.feat > * { margin: 0 !important; }
.feats--4 .feat { background: var(--paper); border-radius: var(--radius); padding: 1.8rem 1.6rem; border: 1px solid var(--line); }
.feat__n { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--teal-text); }
.feat__t { margin-top: .7rem !important; font-size: 1.35rem !important; }
.feat__d { margin-top: .5rem !important; font-size: .96rem; }
.feats--stack .feat { display: grid; grid-template-columns: 2.6rem 1fr; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.feats--stack .feat__n { grid-row: span 2; padding-top: .35rem; }
.feats--stack .feat__t { margin-top: 0 !important; font-size: 1.18rem !important; }
.feats--stack .feat__d { grid-column: 2; }

/* Galleria */
.ambienti { background: var(--white); }
.gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.4vw, 1.2rem); }
.gal__item { margin: 0 !important; overflow: hidden; border-radius: var(--radius-s); aspect-ratio: 4 / 3; cursor: zoom-in; }
.gal { grid-auto-flow: dense; }
.gal__item:nth-child(1), .gal__item:nth-child(3) { grid-row: span 2; aspect-ratio: auto; }
.gal__item:nth-child(6) { grid-column: span 2; aspect-ratio: auto; }
.gal__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gal__item:hover img { transform: scale(1.06); }

/* Invito finale */
.cta { position: relative; min-height: 82vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; padding-block: clamp(6rem, 12vw, 10rem) !important; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(19, 95, 102, .94) 0%, rgba(19, 95, 102, .8) 42%, rgba(19, 95, 102, .15) 100%); }
.cta__bg { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; overflow: hidden; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 75% 35%; }
.cta__content { position: relative; z-index: 2; max-width: 40rem !important; margin-left: 0 !important; color: rgba(255, 255, 255, .9); }
.cta .kicker, .cta .kicker span { color: var(--teal-light); }
.cta__title { color: var(--white) !important; font-size: clamp(2.5rem, 5vw, 4.8rem) !important; margin: 0 0 1.3rem; }
.cta__title em { color: var(--teal-light); }
.cta__text { font-size: 1.1rem; max-width: 34rem; }
.cta .wp-block-button__link { background: var(--white); color: var(--teal-dark); }
.cta .wp-block-button__link:hover { background: var(--teal-light); color: var(--ink); }
.cta .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--white); }
.cta .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--white); color: var(--teal-dark); }
.cta__deco { position: absolute; left: 4vw; bottom: 8%; width: min(36vw, 480px); opacity: .6; pointer-events: none; z-index: 1; }
.cta__deco .smile path { stroke: var(--teal-light); stroke-width: 1.2; }

/* Contatti */
.contatti { background: var(--paper); }
.contatti__cols { gap: clamp(2rem, 5vw, 5rem) !important; max-width: var(--wp--style--global--wide-size) !important; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.6rem !important; }
.contact { background: var(--white); padding: 1.6rem; margin: 0 !important; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.contact > * { margin: 0 !important; }
.contact__r { font-size: .76rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); }
.contact__t { font-size: 1.55rem !important; margin-top: .4rem !important; }
.contact__t a { color: var(--ink); text-decoration: none; }
.contact .wp-block-buttons { margin-top: 1.1rem !important; }
.contact .wp-block-button__link { padding: .75rem 1.15rem; font-size: .86rem; }
.contact__wa .wp-block-button__link { background: #25d366; color: #0b2b17; }
.info { margin-top: 1.4rem !important; }
.info__row { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); margin: 0 !important; }
.info__row strong { font-size: .76rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-text); }
.info__row a { color: var(--ink); word-break: break-word; }
.hours__t { margin-top: 2rem !important; font-size: 1.4rem !important; }
.hours { list-style: none; padding: 0; margin: 1rem 0 0; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem .8rem; border-radius: 10px; font-size: .95rem; }
.hours li b { font-weight: 600; white-space: pre-line; text-align: right; }
.hours li.is-today { background: var(--mint); color: var(--teal-dark); }
.form-box { background: var(--white); padding: clamp(1.6rem, 4vw, 3rem); border-radius: var(--radius); box-shadow: var(--shadow-l); border: 1px solid var(--line); }
.form-box h2 { margin: 0 0 1rem; font-size: clamp(2rem, 3vw, 2.8rem); }
.wpcf7 form { margin-top: 1.6rem; }
.cf-tipo { margin-bottom: 1.3rem; }
.cf-tipo .wpcf7-radio { display: flex; flex-wrap: wrap; gap: .5rem; }
.cf-tipo .wpcf7-list-item { margin: 0; }
.cf-tipo label { display: block; cursor: pointer; }
.cf-tipo input { position: absolute; opacity: 0; pointer-events: none; }
.cf-tipo .wpcf7-list-item-label { display: inline-block; padding: .75rem 1.15rem; border-radius: 999px; border: 1.5px solid rgba(26, 127, 136, .3); font-weight: 600; font-size: .92rem; color: var(--teal-dark); transition: background-color .25s, color .25s, border-color .25s; }
.cf-tipo input:checked + .wpcf7-list-item-label { background: var(--teal); border-color: var(--teal); color: var(--white); }
.cf-tipo input:focus-visible + .wpcf7-list-item-label { outline: 3px solid var(--ink); outline-offset: 2px; }
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.cf-grid p { margin: 0; }
.cf-full { grid-column: 1 / -1; }
.wpcf7 label { display: block; font-size: .8rem; font-weight: 650; letter-spacing: .04em; color: var(--ink); }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea { width: 100%; margin-top: .45rem; padding: .95rem 1rem; border: 1.5px solid #d8dfe1; border-radius: 14px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.wpcf7 textarea { min-height: 9rem; resize: vertical; }
.wpcf7 input, .wpcf7 select, .wpcf7 textarea { box-sizing: border-box; max-width: 100%; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 4px rgba(26, 127, 136, .15); }
.cf-check { margin: 1.1rem 0 0; font-size: .9rem; }
.cf-check .wpcf7-list-item { margin: 0; }
.cf-check label { font-size: .9rem; font-weight: 450; letter-spacing: 0; color: var(--text); display: flex; gap: .8rem; align-items: flex-start; cursor: pointer; }
.cf-check input[type="checkbox"] { appearance: none; -webkit-appearance: none; flex: none; width: 1.35rem; height: 1.35rem; margin: .1rem 0 0; border: 1.5px solid #b9c4c7; border-radius: 6px; background: var(--white); display: grid; place-content: center; cursor: pointer; }
.cf-check input[type="checkbox"]::after { content: ""; width: .65rem; height: .65rem; border-radius: 3px; background: var(--teal); transform: scale(0); transition: transform .25s var(--ease); }
.cf-check input[type="checkbox"]:checked { border-color: var(--teal); }
.cf-check input[type="checkbox"]:checked::after { transform: scale(1); }
.cf-submit { margin-top: 1.6rem; }
.wpcf7 input[type="submit"] { background: var(--teal); color: var(--white); border: 0; padding: 1.1rem 2rem; font: inherit; font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .3s, box-shadow .3s; border-radius: 999px; }
.wpcf7 input[type="submit"]:hover { background: var(--teal-dark); box-shadow: 0 16px 34px -14px rgba(26, 127, 136, .8); }
.wpcf7-not-valid-tip { color: #b3261e; font-size: .84rem; margin-top: .35rem; font-weight: 500; letter-spacing: 0; }
.wpcf7 form .wpcf7-response-output { margin: 1.5rem 0 0; padding: 1rem 1.2rem; border: 1.5px solid var(--teal); border-radius: 14px; color: var(--ink); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: #b3261e; }
.wpcf7-spinner { background: var(--teal); }

.wp-block-post-content > section.mappa { padding: 0 !important; }
.map-consent { position: relative; height: clamp(380px, 55vh, 560px); background: var(--mint); display: grid; place-items: center; text-align: center; margin: 0 !important; overflow: hidden; }
.map-consent::before { content: ""; position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 46px, rgba(26, 127, 136, .08) 46px 47px); }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.7) contrast(1.02); }
.map-consent__box { position: relative; max-width: 30rem; padding: 2rem; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-l); }
.map-consent__t { font-family: var(--display); font-size: 1.8rem; color: var(--ink); margin: 0 0 .5rem; }
.map-consent__btn { margin: 1rem 1rem 0 0; background: var(--teal); color: var(--white); border: 0; padding: .9rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.map-consent__btn:hover { background: var(--teal-dark); }

/* Pagina legale e 404 */
.legal-page { background: var(--paper); padding-top: 11rem !important; }
.legal { max-width: 52rem; }
.legal__title { font-size: clamp(2.6rem, 6vw, 4.8rem) !important; margin-bottom: 1.6rem; }
.legal__lead { font-size: 1.05rem; color: var(--slate); }
.legal h2 { font-size: 1.6rem; margin-top: 2.6rem; }
.legal__list { padding-left: 1.2rem; }
.legal__list li { margin-bottom: .6rem; }
.btn-cookie-settings { background: var(--teal); color: var(--white); border: 0; padding: .9rem 1.4rem; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; }
.err404 { padding: 12rem var(--gutter) 8rem !important; min-height: 70vh; }
.err404 h1 { font-size: clamp(2.8rem, 6vw, 5rem); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); position: relative; overflow: hidden; color: rgba(255, 255, 255, .78); }
.site-footer__inner { padding: clamp(4rem, 8vw, 7rem) var(--gutter) 2rem !important; }
.footer-big { display: flex; flex-direction: column; font-family: var(--display); font-weight: 300; font-size: clamp(2.3rem, 7vw, 7rem); line-height: .98; margin-bottom: clamp(3rem, 6vw, 5rem) !important; max-width: none !important; letter-spacing: -.02em; }
.footer-big span { display: block; white-space: nowrap; }
.footer-big span:first-child { color: var(--white); --px: -120; }
.footer-big span:last-child { color: transparent; -webkit-text-stroke: 1.2px var(--teal-light); font-style: italic; padding-left: 10vw; --px: 120; }
.footer-cols { gap: clamp(1.5rem, 4vw, 4rem) !important; max-width: var(--wp--style--global--wide-size) !important; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 3rem; }
.footer-logo img { width: 250px; }
.footer-claim { max-width: 22rem; margin-top: 1.5rem !important; font-size: .95rem; }
.footer-ds { font-size: .82rem; opacity: .8; margin-top: 1rem !important; }
.footer-t { font-family: var(--wp--preset--font-family--body) !important; font-size: .8rem !important; font-weight: 650 !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--teal-light) !important; margin-bottom: 1.1rem !important; }
.footer-row { font-size: .95rem; margin: 0 0 .9rem !important; line-height: 1.5; }
.footer-row span { color: rgba(255, 255, 255, .55); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.site-footer a { color: var(--white); text-decoration: none; transition: color .25s; }
.site-footer a:hover { color: var(--teal-light); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: .28rem 0; font-size: .95rem; }
.site-footer .hours li { font-size: .9rem; padding: .42rem .6rem; }
.site-footer .hours li.is-today { background: rgba(127, 211, 217, .14); color: var(--white); }
.footer-legal { max-width: var(--wp--style--global--wide-size) !important; margin-top: 3.5rem !important; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .6); }
.footer-legal a { color: rgba(255, 255, 255, .85) !important; text-decoration: underline !important; text-decoration-color: rgba(255, 255, 255, .3) !important; }

/* =========================================================
   PULSANTI FISSI
   ========================================================= */
.fixed-actions { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 55; display: flex; flex-direction: column; gap: 2px; transition: opacity .3s, transform .4s var(--ease); }
.has-modal-open .fixed-actions, .lb-open .fixed-actions { opacity: 0; pointer-events: none; transform: translate(100%, -50%); }
.fa-btn { width: 64px; min-height: 62px; padding: .7rem 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; color: var(--white); text-decoration: none; font-weight: 650; letter-spacing: .02em; font-size: .62rem; transition: width .3s var(--ease), filter .3s; box-shadow: -10px 10px 30px -12px rgba(19, 60, 66, .6); }
.fa-btn:first-child { border-radius: 16px 0 0 0; } .fa-btn:last-child { border-radius: 0 0 0 16px; }
.fa-btn svg { width: 24px; height: 24px; fill: currentColor; }
.fa-btn--tel { background: var(--teal); }
.fa-btn--wa { background: #25d366; color: #08321a; }
.fa-btn:hover { width: 72px; filter: brightness(1.06); color: inherit; }
.fa-btn--tel:hover { color: var(--white); }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(19, 33, 38, .95); display: grid; place-items: center; padding: 4rem 5rem; }
.lb[hidden] { display: none; }
.lb__fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lb__fig img { max-width: 100%; max-height: calc(100vh - 10rem); object-fit: contain; border-radius: var(--radius-s); box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.lb__fig figcaption { margin-top: 1rem; color: rgba(255, 255, 255, .85); font-size: .95rem; text-align: center; }
.lb button { position: absolute; background: var(--white); color: var(--ink); border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; }
.lb__x { top: 1.2rem; right: 1.2rem; }
.lb__p { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb__n { right: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-open, .lb-open body { overflow: hidden; }

/* =========================================================
   BANNER COOKIE
   ========================================================= */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 300; width: min(470px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: var(--white); color: var(--ink); padding: 1.6rem 1.5rem 1.3rem; box-shadow: 0 30px 80px -10px rgba(19, 40, 46, .55); border-top: 4px solid var(--teal); border-radius: 20px; font-size: .9rem; line-height: 1.5; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .4s var(--ease); }
.ck.is-in { opacity: 1; transform: none; }
.ck.is-expanded { width: min(640px, calc(100vw - 32px)); }
.ck a { color: var(--teal-text); }
.ck strong { color: inherit; }
.ck__x { position: absolute; top: .5rem; right: .6rem; width: 36px; height: 36px; border: 0; background: transparent; font-size: 1.7rem; line-height: 1; cursor: pointer; color: var(--ink); }
.ck__title { font-family: var(--display); font-size: 1.45rem; line-height: 1.1; margin: 0 0 .7rem; color: var(--ink); padding-right: 2rem; }
.ck__text { margin: 0 0 1rem; color: var(--text); }
.ck__cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: .4rem; margin-bottom: 1rem; }
.ck__cat { display: flex; align-items: center; justify-content: space-between; gap: .5rem; background: var(--paper); border: 1px solid #e1e6e7; border-radius: 10px; padding: .5rem .6rem; font-weight: 600; font-size: .78rem; cursor: pointer; }
.ck__switch { appearance: none; -webkit-appearance: none; flex: none; width: 36px; height: 20px; border-radius: 20px; background: #b9c4c7; position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.ck__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.ck__switch:checked { background: var(--teal); }
.ck__switch:checked::after { transform: translateX(16px); }
.ck__switch:disabled { opacity: .55; cursor: not-allowed; }
.ck__switch:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.ck__details { border-top: 1px solid #e1e6e7; padding-top: .8rem; margin-bottom: 1rem; }
.ck__tabs { display: flex; gap: .3rem; margin-bottom: .8rem; }
.ck__tabs button { flex: 1; border: 0; background: var(--mint); padding: .65rem .5rem; border-radius: 10px; font-weight: 600; cursor: pointer; font-size: .82rem; color: var(--ink); }
.ck__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.ck__acc { border-bottom: 1px solid #e7ebec; padding: .5rem 0; }
.ck__acc summary { cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 650; list-style: none; padding: .3rem 0; }
.ck__acc summary::-webkit-details-marker { display: none; }
.ck__acc summary::before { content: "+"; margin-right: .6rem; color: var(--teal); font-weight: 800; }
.ck__acc[open] summary::before { content: "–"; }
.ck__acc summary span { flex: 1; }
.ck__acc summary em { font-style: normal; color: #6b777d; font-weight: 500; }
.ck__acc summary b { font-size: .75rem; color: #237a43; }
.ck__acc table { width: 100%; border-collapse: collapse; font-size: .76rem; margin: .5rem 0; }
.ck__acc th, .ck__acc td { text-align: left; padding: .35rem .4rem; border-bottom: 1px solid #edf0f1; vertical-align: top; }
.ck__acc th { background: var(--paper); }
.ck__none { color: #6b777d; font-style: italic; }
.ck__meta { font-size: .78rem; color: #55636a; }
.ck__actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.ck__btn { flex: 1 1 auto; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); padding: .7rem .9rem; border-radius: 999px; font: inherit; font-weight: 600; font-size: .84rem; cursor: pointer; transition: background .2s, color .2s; }
.ck__btn:hover { background: var(--ink); color: #fff; }
.ck__btn--primary { background: var(--teal); border-color: var(--teal); color: #fff; }
.ck__btn--primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }
.ck__btn--link { flex-basis: 100%; border: 0; text-decoration: underline; padding: .3rem; font-size: .8rem; order: 9; font-weight: 500; }
.ck__btn--link:hover { background: transparent; color: var(--teal-text); }
.ck-reopen { position: fixed; left: 16px; bottom: 16px; z-index: 290; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--white); color: var(--teal); cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 30px -8px rgba(19, 40, 46, .45); transition: transform .3s var(--ease); }
.ck-reopen:hover { transform: rotate(-20deg) scale(1.08); }
.ck-reopen svg { width: 24px; height: 24px; fill: currentColor; }
.ck-reopen[hidden], .ck[hidden] { display: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
	.open-badge--header { display: none !important; }
	.main-nav .wp-block-navigation__container { gap: 1.2rem; }
}
@media (max-width: 1100px) {
	.cards { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(3) { border-left: 0; }
	.stat:nth-child(n+3) { border-top: 1px solid var(--line); }
	.steps, .feats--4 { grid-template-columns: repeat(2, 1fr); row-gap: 2.4rem; }
	.path--h { display: none; }
	.techs, .docs--3 { grid-template-columns: repeat(2, 1fr); }
	.hero__content { max-width: 76vw; }
	.hero__card { display: none; }
	.contacts { grid-template-columns: 1fr; }
	.sols { grid-template-columns: 1fr; }
}
@media (max-width: 781px) {
	.site-header { padding: 10px 10px 0; }
	.site-header__inner { padding: .55rem .55rem .55rem 1.1rem; }
	.site-logo img, .is-scrolled .site-logo img { width: 172px; }
	.site-header .header-cta-wrap { display: none !important; }
	.hero { padding-top: 8rem !important; padding-bottom: 6rem !important; }
	.hero__content { max-width: none; }
	.hero__title { font-size: clamp(2.6rem, min(12.5vw, 9vh), 4.2rem) !important; margin-bottom: 1.1rem; }
	.hero::before { background: linear-gradient(0deg, rgba(14, 44, 49, .92) 0%, rgba(14, 44, 49, .72) 50%, rgba(14, 44, 49, .3) 100%); }
	.hero__deco { width: 70vw; top: 14%; right: -8vw; opacity: .3; }
	.hero__dots { bottom: 3.8rem; gap: .5rem; }
	.hero__dots button { width: 42px; }
	.hero__dot-t, .hero__dot-n { display: none; }
	.hero__kicker { letter-spacing: .12em; font-size: .7rem; }
	.hero__lead { font-size: 1rem; }
	.hero__cta { margin-top: 1.4rem; }
	.hero__cta .wp-block-button__link { padding: .9rem 1.3rem; font-size: .92rem; }
	.hero__scroll { display: none; }
	.stats { grid-template-columns: 1fr 1fr; margin-top: -2rem !important; }
	.stat { padding: 1.4rem 1.1rem; }
	.cards, .cards--2, .gal, .steps, .feats, .feats--4, .techs, .docs, .docs--3 { grid-template-columns: 1fr; }
	.gal--3 { grid-template-columns: 1fr 1fr; }
	.gal__item:nth-child(1), .gal__item:nth-child(3), .gal__item:nth-child(6) { grid-row: auto; grid-column: auto; aspect-ratio: 4 / 3; }
	.collage { aspect-ratio: 1 / 1.15; margin-bottom: 1rem; }
	.collage__badge { width: 6.6rem; }
	.collage__badge strong { font-size: 1.8rem; }
	.bigtype { bottom: auto; top: 1rem; }
	.faq-sec__head h2 { position: static; }
	.page-hero { padding-top: 7.5rem !important; }
	.page-hero__cols { flex-direction: column-reverse; }
	.page-hero__mediacol { width: 86%; margin: 0 auto; }
	.arch { aspect-ratio: 4 / 4; }
	.tooth--hero { width: 30%; left: -8%; }
	.split--rev .split__cols { flex-direction: column; }
	.svc-intro .split__media::after { display: none; }
	.steps--v .step { grid-template-columns: 3rem 1fr; column-gap: 1.1rem; }
	.percorso__steps .path { left: 1.5rem; }
	.step__n { width: 3rem; height: 3rem; font-size: 1.1rem; }
	.cf-grid { grid-template-columns: 1fr; }
	.info__row { grid-template-columns: 1fr; gap: .2rem; }
	.fullband { min-height: 80svh; }
	.fullband::before { background: linear-gradient(0deg, rgba(14, 44, 49, .9) 10%, rgba(14, 44, 49, .55) 100%); }
	.cta::before { background: linear-gradient(0deg, rgba(19, 95, 102, .95) 20%, rgba(19, 95, 102, .6) 100%); }
	.cta__deco { width: 70vw; left: auto; right: -6vw; bottom: 3%; opacity: .4; }
	.footer-big { font-size: clamp(2.2rem, 11vw, 3.4rem); }
	.footer-big span { white-space: normal; transform: none !important; }
	.footer-big span:last-child { padding-left: 0; }
	.ftags { display: none; }
	.fixed-actions { top: auto; bottom: 16px; right: 16px; transform: none; flex-direction: row; gap: 8px; }
	.fa-btn, .fa-btn:hover { width: 54px; min-height: 54px; height: 54px; border-radius: 50% !important; padding: 0; }
	.fa-btn span { display: none; }
	.has-modal-open .fixed-actions, .lb-open .fixed-actions { transform: translateY(150%); }
	.lb { padding: 4rem .6rem; }
	.lb__p, .lb__n { top: auto !important; bottom: 1rem; transform: none !important; }
	.ck { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 1.3rem 1.1rem 1rem; }
	.ck-reopen { width: 40px; height: 40px; left: 12px; bottom: 12px; opacity: .9; }
	.ck-reopen svg { width: 22px; height: 22px; }
	.ck__cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
	.gal--3 { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat__l { font-size: .84rem; }
}

/* Movimento ridotto */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
	.fx-parallax img, .fx-parallax-bg img { transform: none !important; }
	.smile path, .tooth path { stroke-dashoffset: 0 !important; }
	.path span { transform: none !important; }
}

/* Riquadro di approfondimento */
.note-box { max-width: var(--wp--style--global--wide-size) !important; margin-top: clamp(1.4rem, 3vw, 2.4rem) !important; background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: rgba(255, 255, 255, .88); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.6rem, 4vw, 3rem); box-shadow: var(--shadow); }
.note-box p { margin: 0; max-width: 60rem; }
.note-box__t { font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.8rem); color: var(--white); margin-bottom: .6rem !important; }
.sols-sec--gnato { background: var(--paper); }
.gnato-intro { background: var(--white); }
/* Tecnologie: elenco compatto */
.techlist { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(1.5rem, 3vw, 3rem); margin-top: clamp(2rem, 4vw, 3rem) !important; border-top: 1px solid rgba(26, 127, 136, .2); }
.techlist .feat { padding: 1.5rem 0; border-bottom: 1px solid rgba(26, 127, 136, .2); }
.team-head { max-width: var(--wp--style--global--wide-size) !important; }
@media (max-width: 1100px) { .techlist { grid-template-columns: 1fr 1fr; } }
@media (max-width: 781px) { .techlist { grid-template-columns: 1fr; } }
.docs--3:has(> .doc:nth-child(4)) { grid-template-columns: repeat(4, 1fr); }
.team-more { justify-content: center; }
@media (max-width: 1100px) { .docs--3:has(> .doc:nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 781px) { .docs--3:has(> .doc:nth-child(4)) { grid-template-columns: 1fr; } }

/* =========================================================
   MENU A TENDA (si cala dall'alto a tutto schermo)
   ========================================================= */
.menu-toggle { display: inline-flex; align-items: center; gap: .75rem; margin: 0; border: 0; cursor: pointer; background: var(--ink); color: var(--white); font: inherit; font-weight: 600; font-size: .95rem; letter-spacing: .02em; padding: .85rem 1.2rem .85rem 1.35rem; border-radius: 999px; transition: background-color .3s, transform .35s var(--ease); }
.menu-toggle:hover { background: var(--teal-dark); }
.menu-toggle:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.menu-toggle__icon { position: relative; width: 22px; height: 12px; display: block; }
.menu-toggle__icon i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease), width .4s var(--ease); }
.menu-toggle__icon i:first-child { top: 0; }
.menu-toggle__icon i:last-child { top: 10px; width: 65%; left: auto; }
.menu-toggle:hover .menu-toggle__icon i:last-child { width: 100%; }
.menu-open .menu-toggle { background: var(--teal); }
.menu-open .menu-toggle__icon i:first-child { top: 5px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon i:last-child { top: 5px; width: 100%; transform: rotate(-45deg); }
.site-header__inner > .header-cta-wrap + .wp-block-html, .site-header__inner .menu-toggle { flex: none; }

.mega { position: fixed; inset: 0; z-index: 58; visibility: hidden; pointer-events: none; color: rgba(255, 255, 255, .82); transition: visibility 0s linear 1s; }
.menu-open .mega { visibility: visible; pointer-events: auto; transition: none; }
.mega__bg { position: absolute; inset: 0; background: radial-gradient(70% 60% at 85% 10%, rgba(26, 127, 136, .55), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(127, 211, 217, .16), transparent 70%), var(--ink); clip-path: inset(0 0 100% 0 round 0 0 50% 50%); transition: clip-path .95s var(--ease-io); }
.menu-open .mega__bg { clip-path: inset(0 0 0 0 round 0 0 0 0); }
.mega__tooth { position: absolute; right: -6vw; bottom: -14vh; width: min(50vw, 560px); opacity: .08; fill: none; stroke: var(--teal-light); stroke-width: 1; stroke-linecap: round; }
.mega__inner { position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain; max-width: 1440px; margin: 0 auto; padding: calc(7.75rem + var(--wp-admin--admin-bar--height, 0px)) var(--gutter) 2.5rem; display: grid; align-content: safe center; grid-template-columns: minmax(0, 1.55fr) minmax(0, .8fr) minmax(0, .8fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
.mega__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.mega__list li { border-bottom: 1px solid rgba(255, 255, 255, .1); opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .5s var(--ease), transform .7s var(--ease); }
.menu-open .mega__list li { opacity: 1; transform: none; transition-delay: calc(.35s + var(--i) * 60ms); }
.mega__link { display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: baseline; gap: .4rem; padding: clamp(.65rem, 1.6vh, 1rem) 0; color: var(--white); text-decoration: none; position: relative; }
.mega__n { font-size: .75rem; font-weight: 650; letter-spacing: .12em; color: var(--teal-light); }
.mega__t { font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, min(2.7vw, 5.4vh), 2.7rem); line-height: 1.05; letter-spacing: -.01em; transition: transform .5s var(--ease), color .3s; }
.mega__tag { font-size: .68rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .5); border: 1px solid rgba(255, 255, 255, .2); padding: .3rem .6rem; border-radius: 999px; align-self: center; }
.mega__link:hover .mega__t, .mega__link:focus-visible .mega__t { transform: translateX(12px); color: var(--teal-light); font-style: italic; }
.mega__link:focus-visible { outline: none; }
.mega__link::after { content: ""; position: absolute; left: 2.6rem; bottom: -1px; height: 2px; width: 0; background: var(--teal-light); transition: width .6s var(--ease); }
.mega__link:hover::after, .mega__link:focus-visible::after { width: calc(100% - 2.6rem); }
.mega .is-current .mega__t, .mega [aria-current="page"] .mega__t { color: var(--teal-light); font-style: italic; }
.mega .is-current .mega__link::after { width: 3rem; height: 3px; }
.mega__media { position: sticky; top: 0; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px; overflow: hidden; background: rgba(255, 255, 255, .05); opacity: 0; transform: translate3d(0, 50px, 0) scale(.96); transition: opacity .8s var(--ease), transform 1s var(--ease); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.menu-open .mega__media { opacity: 1; transform: none; transition-delay: .45s; }
.mega__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .6s var(--ease), transform 1.4s var(--ease); }
.mega__img.is-on { opacity: 1; transform: none; }
.mega__info { opacity: 0; transform: translate3d(0, 40px, 0); transition: opacity .6s var(--ease), transform .8s var(--ease); font-size: .95rem; }
.menu-open .mega__info { opacity: 1; transform: none; transition-delay: .6s; }
.mega__info p { margin: 0 0 1.2rem; }
.mega__k { font-size: .75rem !important; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); }
.mega__tel a { display: block; font-family: var(--display); font-size: clamp(1.5rem, 2vw, 1.9rem); color: var(--white); text-decoration: none; line-height: 1.25; }
.mega__tel a:hover { color: var(--teal-light); }
.mega__addr a { color: var(--white); word-break: break-word; }
.mega__hours { margin: 0 0 1.4rem !important; }
.mega__hours li { padding: .38rem .6rem; font-size: .86rem; }
.mega__hours li.is-today { background: rgba(127, 211, 217, .14); color: var(--white); }
.mega__cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.mega__btn { display: inline-flex; padding: .9rem 1.3rem; border-radius: 999px; background: var(--white); color: var(--teal-dark); font-weight: 650; text-decoration: none; font-size: .92rem; transition: background-color .3s, color .3s; }
.mega__btn:hover { background: var(--teal-light); color: var(--ink); }
.mega__btn--wa { background: #25d366; color: #08321a; }
.menu-open, .menu-open body { overflow: hidden; }
.menu-open .site-header__inner { background: rgba(255, 255, 255, .96); }
.menu-open .ck-reopen { opacity: 0; pointer-events: none; }
.menu-open .fixed-actions { opacity: 0; pointer-events: none; transform: translate(100%, -50%); }
.fx-reduced .mega__bg, .fx-reduced .mega__list li, .fx-reduced .mega__media, .fx-reduced .mega__info { transition: none !important; }
@media (max-width: 1100px) {
	.mega__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
	.mega__media { display: none; }
}
@media (max-width: 781px) {
	.menu-toggle { padding: .75rem 1rem .75rem 1.15rem; font-size: .9rem; }
	.mega__inner { grid-template-columns: 1fr; padding-top: calc(6.5rem + var(--wp-admin--admin-bar--height, 0px)); gap: 2rem; align-content: start; }
	.mega__t { font-size: clamp(1.6rem, 7.4vw, 2.2rem); }
	.mega__tag { display: none; }
	.mega__link { grid-template-columns: 2.2rem 1fr; }
	.mega__link::after { left: 2.2rem; }
	.menu-open .fixed-actions { transform: translateY(150%); }
}
@media (min-width: 781px) and (max-height: 820px) {
	.mega__hours li { padding: .26rem .6rem; font-size: .82rem; }
	.mega__info p { margin-bottom: .8rem; }
	.mega__tel a { font-size: 1.5rem; }
	.mega__btn { padding: .75rem 1.15rem; }
}

/* =========================================================
   FILLER LABBRA (dal volantino) e fascia CONSULENZA GRATUITA
   ========================================================= */
.motto { font-size: .82rem !important; font-weight: 650; letter-spacing: .26em; text-transform: uppercase; color: var(--teal-text); margin: -.4rem 0 1.2rem !important; }
.mini-t { font-family: var(--display); font-size: 1.35rem !important; margin: 1.8rem 0 0 !important; }
.small-note { font-size: .82rem; color: var(--slate); opacity: .8; margin-top: .9rem !important; }
.benefici-sec { background: var(--paper); }
.feats--5 { grid-template-columns: repeat(5, 1fr); margin-top: clamp(2rem, 4vw, 3rem) !important; }
.feats--5 .feat { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem 1.4rem; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.feats--5 .feat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feats--5 .feat__t { font-size: 1.15rem !important; }
.feats--5 .feat__d { font-size: .92rem; }

.promo-sec { padding-block: clamp(2.5rem, 6vw, 5rem) !important; }
.promo { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: auto 1fr 1fr; gap: clamp(1.2rem, 3vw, 3rem); align-items: start; background: radial-gradient(80% 120% at 100% 0%, rgba(127, 211, 217, .28), transparent 60%), linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: rgba(255, 255, 255, .86); border-radius: var(--radius); padding: clamp(1.8rem, 4vw, 3.4rem) clamp(1.6rem, 4vw, 3.6rem); box-shadow: var(--shadow); }
.promo > * { margin: 0 !important; }
.promo__ico { width: clamp(64px, 7vw, 88px); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); display: grid; place-items: center; }
.promo__ico svg { width: 46%; fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.promo__col { position: relative; }
.promo__col + .promo__col { padding-left: clamp(1.2rem, 3vw, 3rem); border-left: 1px solid rgba(255, 255, 255, .25); }
.promo__k { font-size: .74rem !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-light); margin: 0 0 .5rem !important; }
.promo__t { font-family: var(--display); color: var(--white) !important; font-size: clamp(1.45rem, 2.2vw, 2rem) !important; line-height: 1.15; margin: 0 0 .6rem !important; }
.promo__t em { color: var(--teal-light); }
.promo__d { margin: 0 !important; font-size: .98rem; }
.promo__claim { grid-column: 2 / -1; font-family: var(--display); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--white); padding-top: clamp(1rem, 2vw, 1.6rem) !important; border-top: 1px solid rgba(255, 255, 255, .25); }
.promo__btns { grid-column: 2 / -1; }
.promo .wp-block-button__link { background: var(--white); color: var(--teal-dark); }
.promo .wp-block-button__link:hover { background: var(--teal-light); color: var(--ink); }
.promo .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--white); }
.promo .wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--white); color: var(--teal-dark); }
@media (max-width: 1100px) {
	.feats--5 { grid-template-columns: repeat(2, 1fr); }
	.feats--5 .feat:last-child { grid-column: 1 / -1; }
}
@media (max-width: 781px) {
	.feats--5 { grid-template-columns: 1fr; }
	.promo { grid-template-columns: 1fr; }
	.promo__col + .promo__col { padding-left: 0; border-left: 0; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .25); }
	.promo__claim, .promo__btns { grid-column: auto; }
}
.note-box strong { color: var(--white); font-weight: 650; }
