/* ==========================================================================
   RB Dental – stili
   Navy profondo, ciano del marchio, ghiaccio e bianco. Sora per i titoli, Manrope per il testo.
   ========================================================================== */

@font-face { font-family: "Sora"; src: url("../fonts/sora-latin.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Sora"; src: url("../fonts/sora-latin-ext.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
	--navy: #071B2E;
	--navy-2: #0D2A45;
	--navy-3: #143A5C;
	--ink: #0F1C2A;
	--cyan: #00A1E3;
	--cyan-light: #5FD0FF;
	--cyan-soft: #CFEEFB;
	--cyan-text: #0077AD;   /* ciano per testo piccolo su bianco (contrasto ≥ 4.5:1) */
	--ice: #F3F8FC;
	--ice-2: #E6F1F9;
	--white: #FFFFFF;
	--muted: #5C6B7A;
	--line: rgba(15, 28, 42, .12);
	--line-light: rgba(255, 255, 255, .16);
	--text-light: rgba(236, 244, 250, .82);

	--display: "Sora", "Helvetica Neue", Arial, sans-serif;
	--sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

	--gutter: clamp(20px, 4.4vw, 64px);
	--wrap: 1320px;
	--section: clamp(84px, 11vw, 160px);
	--radius: 24px;
	--radius-lg: 36px;
	--ease: cubic-bezier(.22, .8, .2, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--header-h: 88px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 20px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font-family: var(--sans);
	font-weight: 400;
	font-size: clamp(16px, 1.05vw, 17.5px);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--cyan-text); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--cyan-soft); color: var(--ink); }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; color: var(--ink); }
h1 em, h2 em, h3 em, .cta__title em, .site-footer__claim em, .info-card__title em, .form-done__title em { font-style: normal; color: var(--cyan-text); }
figure { margin: 0; }
small { font-size: .85em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 12px; color: var(--white); }
.site-main:focus { outline: none; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(800px, 100% - 2 * var(--gutter)); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 104px); }

/* --- Tipografia ---------------------------------------------------------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	font-family: var(--sans);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: var(--cyan-text);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--cyan); }
.eyebrow--light { color: var(--cyan-light); }
.eyebrow--light::before { background: var(--cyan-light); }
.h2 { font-size: clamp(2.3rem, 4.6vw, 4.4rem); font-weight: 500; }
.h2--small { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 500; margin-bottom: 26px; }
.lead { font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); line-height: 1.75; }
.prose { color: var(--muted); }
.prose > *:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 700; }
.prose--lead { font-size: clamp(1.05rem, 1.25vw, 1.18rem); line-height: 1.8; }
.prose--page h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); margin: 2em 0 .6em; }
.prose--page h3 { font-size: 1.35rem; margin: 1.6em 0 .5em; }
.prose--page ul, .prose--page ol { padding-left: 1.2em; }
.prose--page li { margin-bottom: .45em; }
.prose--page li::marker { color: var(--cyan); }
.prose--page blockquote { margin: 1.6em 0; padding: 20px 28px; border-left: 3px solid var(--cyan); background: var(--ice); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); font-family: var(--display); font-size: 1.15rem; }
.prose--article > p:first-of-type { font-size: 1.15em; color: var(--ink); }
.prose a { color: var(--cyan-text); }
.prose__note { margin-top: 2.4em; padding: 18px 22px; border-radius: 16px; background: var(--ice); font-size: 14.5px; }

.link { color: var(--cyan-text); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .5s var(--ease); }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* parole dei titoli animate */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word > span { display: inline-block; will-change: transform; }

/* --- Pulsanti ------------------------------------------------------------ */
.btn {
	--bg: transparent; --fg: var(--ink); --bd: var(--ink); --fill: var(--ink); --fg-h: var(--white);
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 56px;
	padding: 0 30px;
	border: 1px solid var(--bd);
	border-radius: 999px;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--sans);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .02em;
	text-decoration: none;
	overflow: hidden;
	isolation: isolate;
	transition: color .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
	white-space: nowrap;
}
.btn::before {
	content: "";
	position: absolute;
	inset: -1px;
	z-index: -1;
	background: var(--fill);
	border-radius: inherit;
	transform: translateY(101%);
	transition: transform .55s var(--ease);
}
.btn:hover { color: var(--fg-h); }
.btn:hover::before { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; transition: transform .5s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--cyan { --bg: var(--cyan); --fg: var(--navy); --bd: var(--cyan); --fill: var(--white); --fg-h: var(--navy); box-shadow: 0 14px 34px -14px rgba(0, 161, 227, .7); }
.btn--cyan:hover { border-color: var(--white); }
.btn--navy { --bg: var(--navy); --fg: var(--white); --bd: var(--navy); --fill: var(--cyan); --fg-h: var(--navy); }
.btn--line { --bd: rgba(15, 28, 42, .3); }
.btn--ghost { --fg: var(--ink); --bd: rgba(15, 28, 42, .2); --bg: rgba(255, 255, 255, .6); backdrop-filter: blur(8px); }
.btn--ghost-light { --fg: var(--white); --bd: rgba(255, 255, 255, .35); --bg: rgba(255, 255, 255, .06); --fill: var(--white); --fg-h: var(--navy); backdrop-filter: blur(8px); }
.btn--sm { min-height: 46px; padding: 0 22px; font-size: 13px; }

.round-btn {
	display: inline-grid;
	place-items: center;
	width: 54px;
	height: 54px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--ink);
	transition: background .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.round-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.round-btn .icon { width: 20px; height: 20px; }

/* Forme delle immagini */
.frame, .soft { position: relative; overflow: hidden; }
.frame { border-radius: var(--radius-lg); }
.soft { border-radius: var(--radius); }
.frame img, .soft img { width: 100%; height: 100%; object-fit: cover; }

/* --- Preloader ----------------------------------------------------------- */
.preloader { display: none; }
.js .preloader {
	position: fixed;
	inset: 0;
	z-index: 400;
	display: grid;
	place-items: center;
	background: var(--navy);
	color: var(--white);
}
.preloader__inner { display: grid; justify-items: center; gap: 18px; }
.preloader__tooth { width: 84px; height: 84px; color: var(--cyan-light); }
.preloader__tooth .tooth-mark__path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.4s var(--ease-in-out) .1s forwards; }
.preloader__tooth .tooth-mark__shine { stroke-dasharray: 20; stroke-dashoffset: 20; animation: draw .5s var(--ease) 1.1s forwards; }
.preloader__brand { font-family: var(--display); font-weight: 300; font-size: 1.4rem; letter-spacing: .08em; opacity: 0; animation: pre-in .8s var(--ease) .5s forwards; }
.preloader__brand b { font-weight: 600; color: var(--cyan-light); }
.preloader__line { width: 140px; height: 1px; background: var(--line-light); position: relative; overflow: hidden; }
.preloader__line::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform: scaleX(0); transform-origin: left; animation: pre-line 1.2s var(--ease-in-out) .2s forwards; }
.preloader.is-done { transform: translateY(-100%); transition: transform 1s var(--ease-in-out); }
.preloader.is-skip { display: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pre-in { to { opacity: 1; } }
@keyframes pre-line { to { transform: scaleX(1); } }

/* --- Testata ------------------------------------------------------------- */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header-h);
	transition: background .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease), height .4s var(--ease);
}
body:not(.has-hero) .site-header,
.site-header.is-scrolled {
	background: rgba(255, 255, 255, .88);
	backdrop-filter: blur(16px) saturate(1.2);
	-webkit-backdrop-filter: blur(16px) saturate(1.2);
	box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled { --header-h: 74px; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__bar { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { flex: none; display: block; position: relative; }
.brand__logo { width: auto; height: calc(var(--header-h) - 34px); transition: height .4s var(--ease), opacity .4s var(--ease); }
.brand__logo--light { position: absolute; inset: 0; opacity: 0; }
.has-hero .site-header:not(.is-scrolled) .brand__logo--dark { opacity: 0; }
.has-hero .site-header:not(.is-scrolled) .brand__logo--light { opacity: 1; }
.main-nav { margin-left: auto; }
.main-nav .menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 32px); margin: 0; padding: 0; list-style: none; }
.main-nav .menu > li { position: relative; }
.main-nav a {
	position: relative;
	display: inline-block;
	padding: 10px 0;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .01em;
	text-decoration: none;
	color: var(--ink);
	transition: color .4s var(--ease);
}
.has-hero .site-header:not(.is-scrolled) .main-nav a,
.has-hero .site-header:not(.is-scrolled) .header-phone,
.has-hero .site-header:not(.is-scrolled) .menu-toggle { color: var(--white); }
.main-nav .menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--cyan);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .5s var(--ease);
}
.main-nav .menu > li > a:hover::after,
.main-nav .menu > li.is-active > a::after { transform: scaleX(1); transform-origin: left; }
.main-nav .menu-item-has-children > a { padding-right: 16px; }
.main-nav .menu-item-has-children > a::before {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 6px;
	height: 6px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-75%) rotate(45deg);
}
.main-nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 50%;
	min-width: 260px;
	margin: 0;
	padding: 12px;
	list-style: none;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: 20px;
	box-shadow: 0 30px 70px -30px rgba(7, 27, 46, .35);
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 10px);
	transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.main-nav .sub-menu a { display: block; padding: 10px 14px; border-radius: 12px; font-size: 15px; font-weight: 500; color: var(--ink); }
.main-nav .sub-menu a:hover { background: var(--ice); color: var(--cyan-text); }
.main-nav .sub-menu .is-active > a { color: var(--cyan-text); }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .4s var(--ease); }
.header-phone .icon { width: 18px; height: 18px; color: var(--cyan); }
.header-wa { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #25D366; color: var(--white); transition: transform .4s var(--ease), box-shadow .4s; }
.header-wa .icon { width: 22px; height: 22px; }
.header-wa:hover { color: var(--white); transform: scale(1.08); box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8); }

.menu-toggle { display: none; align-items: center; gap: 12px; padding: 8px 0 8px 8px; background: none; border: 0; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.menu-toggle__lines { position: relative; width: 28px; height: 10px; }
.menu-toggle__lines i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-toggle__lines i:first-child { top: 0; }
.menu-toggle__lines i:last-child { top: 8px; }
.menu-open .menu-toggle__lines i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle__lines i:last-child { top: 4px; transform: rotate(-45deg); }

/* menu mobile a schermo intero */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: var(--navy);
	color: var(--white);
	padding: calc(var(--header-h) + 24px) var(--gutter) 32px;
	overflow-y: auto;
	clip-path: inset(0 0 100% 0);
	transition: clip-path .8s var(--ease-in-out);
}
.mobile-menu[hidden] { display: block; visibility: hidden; }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mobile-menu__list, .mobile-menu .menu { margin: 0; padding: 0; list-style: none; }
.mobile-menu__list > li { overflow: hidden; border-bottom: 1px solid var(--line-light); }
.mobile-menu__list a { display: block; padding: 14px 0; font-family: var(--display); font-size: clamp(1.8rem, 8vw, 2.6rem); line-height: 1.1; text-decoration: none; font-weight: 500; color: var(--white); }
.menu-open .site-header { transform: none !important; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .site-header .main-nav a, .menu-open .site-header .header-phone, .menu-open .site-header .menu-toggle { color: var(--white); }
.menu-open .site-header .brand__logo--dark { opacity: 0; }
.menu-open .site-header .brand__logo--light { opacity: 1; }
.mobile-menu__list .sub-menu { list-style: none; margin: 0 0 14px; padding: 0 0 0 4px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.mobile-menu__list .sub-menu a { font-family: var(--sans); font-size: 14px; font-weight: 500; padding: 6px 0; color: var(--text-light); }
.mobile-menu__foot { display: grid; gap: 14px; font-size: 15px; }
.mobile-menu__foot a:not(.btn), .mobile-menu__foot span { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.mobile-menu__foot .icon { width: 18px; height: 18px; color: var(--cyan-light); }
.menu-open { overflow: hidden; }

/* --- Hero home ----------------------------------------------------------- */
.hero {
	position: relative;
	min-height: 100svh;
	display: grid;
	align-items: center;
	padding: calc(var(--header-h) + 40px) 0 140px;
	overflow: hidden;
	isolation: isolate;
	background: var(--navy);
	color: var(--white);
}
.hero__media { position: absolute; inset: 0; z-index: -2; background: var(--navy-2); }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero__video { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__video.is-ready { opacity: 1; }
.hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(90deg, rgba(7, 27, 46, .92) 0%, rgba(7, 27, 46, .74) 34%, rgba(7, 27, 46, .25) 58%, rgba(7, 27, 46, 0) 78%),
		linear-gradient(0deg, rgba(7, 27, 46, .9) 0%, rgba(7, 27, 46, 0) 36%),
		linear-gradient(180deg, rgba(7, 27, 46, .6) 0%, rgba(7, 27, 46, 0) 24%);
}
.hero__content { position: relative; }
.hero__title {
	max-width: 10.5em;
	font-size: clamp(2.6rem, 5.4vw, 5.6rem);
	font-weight: 500;
	line-height: 1.02;
	letter-spacing: -.03em;
	color: var(--white);
}
.hero__title em { color: var(--cyan-light); }
.hero__text { max-width: 33rem; margin: 30px 0 38px; font-size: clamp(1.02rem, 1.25vw, 1.15rem); color: var(--text-light); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__card {
	position: absolute;
	right: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	bottom: 60px;
	display: grid;
	gap: 4px;
	min-width: 230px;
	padding: 20px 24px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .18);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.hero__card-label { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan-light); }
.hero__card-label .icon { width: 16px; height: 16px; }
.hero__card-value { margin: 0; font-family: var(--display); font-size: 1.15rem; font-weight: 500; color: var(--white); }
.hero__card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 14px; color: var(--text-light); text-decoration: none; }
.hero__card-link .icon { width: 16px; height: 16px; color: var(--cyan-light); }
.hero__card-link:hover { color: var(--white); }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; text-decoration: none; color: var(--text-light); }
.hero__scroll i { width: 1px; height: 46px; background: var(--line-light); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--cyan-light); animation: scroll-line 2.2s var(--ease-in-out) infinite; }
@keyframes scroll-line { to { top: 100%; } }
.hero__words { position: absolute; inset: 0; z-index: 0; display: grid; grid-template-columns: 30% 40% 30%; align-items: center; pointer-events: none; opacity: 0; }
.hero__words span { justify-self: center; font-family: var(--display); font-weight: 500; font-size: clamp(2.4rem, 4.6vw, 5.4rem); line-height: 1; color: var(--white); letter-spacing: -.03em; }
.hero__words span:last-child { grid-column: 3; }
.hero__words em { font-style: normal; color: var(--cyan-light); }
.hero__media { will-change: clip-path; }

/* --- Fascia fiducia ------------------------------------------------------ */
.trust { background: var(--ice); border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; padding: 26px 0; list-style: none; }
.trust__grid li { display: flex; align-items: center; gap: 14px; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.trust__grid .icon { flex: none; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--white); color: var(--cyan-text); box-shadow: 0 10px 24px -14px rgba(7, 27, 46, .3); }

/* --- Intestazioni di sezione --------------------------------------------- */
.section-head { margin-bottom: clamp(44px, 6vw, 80px); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px 60px; flex-wrap: wrap; }
.section-head--split > div { max-width: 760px; }
.section-head__text { max-width: 420px; color: var(--muted); margin: 0; }
.section-head--center { text-align: center; display: grid; justify-items: center; }
.section-head--center .eyebrow::after { content: ""; width: 34px; height: 2px; border-radius: 2px; background: var(--cyan); }

/* --- Servizi (carosello e griglia) --------------------------------------- */
.services { overflow: hidden; }
.services--related { background: var(--ice); }
.rail-controls { display: flex; gap: 10px; }
.rail {
	display: flex;
	gap: clamp(16px, 2vw, 28px);
	padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2));
	scrollbar-width: none;
	cursor: grab;
	padding-bottom: 6px;
	perspective: 1400px;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail .service-card { flex: 0 0 clamp(270px, 26vw, 360px); scroll-snap-align: start; }
.rail-foot { display: flex; align-items: center; gap: 30px; margin-top: 44px; }
.rail-progress { flex: 1; height: 1px; background: var(--line); position: relative; }
.rail-progress span { position: absolute; left: 0; top: -1px; height: 3px; width: 20%; background: var(--cyan); border-radius: 3px; transition: transform .2s linear; transform-origin: left; }

.service-card {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: var(--radius);
	overflow: hidden;
	color: var(--white);
	text-decoration: none;
	isolation: isolate;
	background: var(--navy-2);
	transform-style: preserve-3d;
	will-change: transform;
}
.service-card__media { position: absolute; inset: 0; z-index: -2; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 27, 46, .05) 20%, rgba(7, 27, 46, .55) 62%, rgba(7, 27, 46, .92) 100%); transition: background .6s var(--ease); }
.service-card:hover { color: var(--white); }
.service-card:hover .service-card__media img { transform: scale(1.12); }
.service-card:hover::after { background: linear-gradient(180deg, rgba(0, 161, 227, .15) 0%, rgba(7, 27, 46, .7) 55%, rgba(7, 27, 46, .95) 100%); }
.service-card__body { position: absolute; inset: auto 0 0; padding: clamp(22px, 2.4vw, 32px); transform: translateZ(40px); }
.service-card__num { position: absolute; top: -200%; left: 0; font-size: 12px; letter-spacing: .3em; color: var(--cyan-light); }
.service-card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); color: var(--cyan-light); }
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card__title { font-size: clamp(1.5rem, 1.9vw, 1.85rem); font-weight: 500; color: var(--white); margin: 0 0 6px; }
.service-card__sub { margin: 0; font-size: 14.5px; color: var(--text-light); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .7s var(--ease), opacity .5s var(--ease), margin .5s var(--ease); }
.service-card:hover .service-card__sub, .service-card:focus-visible .service-card__sub, .service-card--large .service-card__sub { max-height: 120px; opacity: 1; margin-bottom: 14px; }
.service-card__more { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.service-card__more .icon { width: 18px; transition: transform .5s var(--ease); }
.service-card:hover .service-card__more .icon { transform: translateX(6px); }
.service-card--large { aspect-ratio: 4 / 3.4; }
.service-card--large .service-card__title { font-size: clamp(1.8rem, 2.6vw, 2.5rem); }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 32px); perspective: 1600px; }
.services-grid__item:nth-child(even) { margin-top: clamp(0px, 5vw, 70px); }

/* --- Chi siamo (home) ---------------------------------------------------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(48px, 8vw, 140px); align-items: center; }
.intro__media { position: relative; padding-bottom: 14%; }
.intro__main { aspect-ratio: 3 / 4; width: 82%; }
.intro__small { position: absolute; right: 0; bottom: 0; width: 60%; aspect-ratio: 3 / 2; border: 10px solid var(--white); box-shadow: 0 40px 70px -36px rgba(7, 27, 46, .45); }
.intro__text .h2 { margin-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0 34px; padding: 30px 0 0; list-style: none; border-top: 1px solid var(--line); }
.stats strong { display: block; font-family: var(--display); font-size: clamp(2.6rem, 4vw, 3.8rem); font-weight: 500; line-height: 1; color: var(--cyan-text); letter-spacing: -.03em; }
.stats strong small { font-size: .5em; }
.stats span { display: block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.stats strong > span { display: inline; margin: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: none; }

/* --- Manifesto ----------------------------------------------------------- */
.manifesto { padding-block: clamp(90px, 13vw, 190px); position: relative; overflow: hidden; background: var(--ice); }
.manifesto::before, .manifesto::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; animation: float 18s ease-in-out infinite alternate; }
.manifesto::before { width: 40vw; height: 40vw; left: -14vw; top: 0; background: var(--cyan-soft); }
.manifesto::after { width: 32vw; height: 32vw; right: -10vw; bottom: -8%; background: rgba(0, 161, 227, .35); animation-delay: -8s; }
.manifesto .wrap { position: relative; z-index: 1; }
.manifesto__text { margin: 0; max-width: 18em; font-family: var(--display); font-weight: 500; font-size: clamp(1.9rem, 4.4vw, 4.4rem); line-height: 1.14; letter-spacing: -.03em; color: var(--ink); }
.manifesto__text em { font-style: normal; color: var(--cyan-text); }
.mw { display: inline; }
.pill { display: inline-block; width: 1.8em; height: .85em; margin: 0 .08em; vertical-align: -.08em; border-radius: 999px; overflow: hidden; background: var(--cyan-soft); }
.pill img { width: 100%; height: 100%; object-fit: cover; }
.pill--round { width: .9em; height: .9em; vertical-align: -.1em; }
@keyframes float { from { transform: translate(0, 0) scale(1); } to { transform: translate(6vw, -4vw) scale(1.15); } }

/* --- Percorso ------------------------------------------------------------ */
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 48px); position: relative; }
.steps__line { position: absolute; left: 0; right: 0; top: -44px; height: 1px; background: var(--line); list-style: none; }
.steps__line span { position: absolute; inset: 0; background: linear-gradient(90deg, var(--cyan-light), var(--cyan)); transform: scaleX(0); transform-origin: left; }
.steps__line::after { content: ""; position: absolute; right: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }
.step { position: relative; }
.step__media { aspect-ratio: 4 / 4.4; margin-bottom: 28px; background: var(--ice-2); }
.step__num { position: absolute; top: 20px; left: 20px; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: var(--white); font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: var(--cyan-text); box-shadow: 0 10px 30px -14px rgba(7, 27, 46, .4); }
.step__title { font-size: 1.6rem; font-weight: 500; margin-bottom: 10px; }
.step p { color: var(--muted); }

/* --- Mosaico galleria (home) --------------------------------------------- */
.gallery-teaser { background: var(--white); }
.mosaic {
	display: grid;
	grid-template-columns: 1.1fr 1fr 1fr 1fr;
	grid-template-rows: repeat(2, clamp(220px, 21vw, 330px));
	grid-template-areas: "a b b c" "a d e e";
	gap: clamp(10px, 1.4vw, 20px);
}
.mosaic__item { position: relative; display: block; border-radius: 20px; overflow: hidden; background: var(--ice-2); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform 1.2s var(--ease); }
.mosaic__item:hover img { transform: scale(1.06); }
.mosaic__item--1 { grid-area: a; }
.mosaic__item--2 { grid-area: b; }
.mosaic__item--3 { grid-area: c; }
.mosaic__item--4 { grid-area: d; }
.mosaic__item--5 { grid-area: e; }

/* --- Convenzioni --------------------------------------------------------- */
.partners { padding-block: clamp(60px, 8vw, 110px); background: var(--navy); color: var(--white); overflow: hidden; }
.partners__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(30px, 4vw, 50px); }
.partners__head .h3 { margin: 0; color: var(--white); }
.partners__head .h3 em { color: var(--cyan-light); }
.partners__head .eyebrow { color: var(--cyan-light); }
.partners__head .eyebrow::before { background: var(--cyan-light); }
.partners .btn--line { --fg: var(--white); --bd: rgba(255, 255, 255, .3); --fill: var(--white); --fg-h: var(--navy); }
.marquee { overflow: hidden; }
.marquee__track { display: flex; align-items: center; gap: 14px; width: max-content; animation: marquee 50s linear infinite; }
.partner-badge { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); font-family: var(--display); font-size: 15px; font-weight: 500; white-space: nowrap; color: var(--white); }
.partner-badge .icon { width: 18px; height: 18px; color: var(--cyan-light); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.partners-page { background: var(--ice); }
.partners-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); perspective: 1400px; }
.partner { position: relative; display: grid; gap: 8px; padding: clamp(24px, 2.4vw, 34px); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); transform-style: preserve-3d; transition: box-shadow .6s var(--ease); }
.partner:hover { box-shadow: 0 30px 60px -36px rgba(7, 27, 46, .35); }
.partner__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--ice); color: var(--cyan-text); margin-bottom: 10px; }
.partner__name { font-family: var(--display); font-size: 1.25rem; font-weight: 500; }
.partner__tag { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan-text); }

/* --- Team ---------------------------------------------------------------- */
.team { background: var(--white); }
.team__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.team__text .h2 { margin-bottom: 26px; }
.team__media { aspect-ratio: 4 / 3; background: var(--ice-2); }
.team__chip { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.team__chip .icon { width: 18px; color: var(--cyan-text); }
.ticks { list-style: none; margin: 28px 0 34px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks .icon { flex: none; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--cyan-soft); color: var(--cyan-text); margin-top: 2px; }
.ticks--compact { margin: 18px 0 26px; gap: 10px; font-size: 15px; }

/* --- Consigli ------------------------------------------------------------ */
.posts-teaser { background: var(--ice); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.post-grid--two { grid-template-columns: repeat(2, 1fr); }
.post-card { display: grid; gap: 0; border-radius: var(--radius); background: var(--white); overflow: hidden; border: 1px solid var(--line); transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 34px 60px -40px rgba(7, 27, 46, .4); }
.post-card__media { display: block; aspect-ratio: 16 / 10; border-radius: 0; background: var(--ice-2); }
.post-card__media img { transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: clamp(22px, 2.4vw, 30px); }
.post-card__meta { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan-text); }
.post-card__title { font-size: 1.35rem; font-weight: 500; margin-bottom: 10px; }
.post-card__title a { text-decoration: none; }
.post-card__excerpt { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.post-card__more .icon { width: 16px; transition: transform .5s var(--ease); }
.post-card:hover .post-card__more .icon { transform: translateX(5px); }
.post-cover { aspect-ratio: 21 / 9; max-height: 60vh; margin-bottom: clamp(30px, 4vw, 50px); background: var(--ice-2); }
.pager { margin-top: 50px; }
.pager .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { display: inline-flex; align-items: center; gap: 8px; min-width: 46px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; justify-content: center; }
.pager .page-numbers.current, .pager .page-numbers:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.pager .icon { width: 16px; }

/* --- Invito a prenotare -------------------------------------------------- */
.cta { position: relative; min-height: clamp(560px, 72vh, 780px); display: grid; align-items: center; overflow: hidden; isolation: isolate; padding-block: var(--section); background: var(--navy); color: var(--white); }
.cta__media { position: absolute; inset: -12% 0; z-index: -2; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 65% 40%; }
.cta__veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 27, 46, .96) 0%, rgba(7, 27, 46, .86) 42%, rgba(7, 27, 46, .35) 72%, rgba(7, 27, 46, .1) 100%); }
.cta__inner { display: grid; justify-items: start; max-width: 680px; }
.cta__title { font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 500; margin-bottom: 24px; color: var(--white); }
.cta__title em { color: var(--cyan-light); }
.cta__text { color: var(--text-light); max-width: 32rem; margin-bottom: 34px; font-size: 1.05rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.cta__hours { display: inline-flex; align-items: center; gap: 10px; margin: 30px 0 0; font-size: 14px; color: var(--text-light); }
.cta__hours .icon { width: 18px; color: var(--cyan-light); }

/* --- Intestazione pagine interne ----------------------------------------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(40px, 6vw, 90px)) 0 clamp(60px, 7vw, 110px); overflow: hidden; background: var(--white); }
.page-hero::before { content: ""; position: absolute; width: 70vw; height: 70vw; left: -25vw; top: -35vw; border-radius: 50%; background: radial-gradient(circle, var(--cyan-soft), transparent 62%); opacity: .7; z-index: 0; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(40px, 7vw, 120px); align-items: end; position: relative; z-index: 1; }
.page-hero--plain { padding-bottom: clamp(30px, 4vw, 56px); }
.page-hero--plain .page-hero__grid { grid-template-columns: 1fr; }
.page-hero--plain::after { content: ""; display: block; width: 100%; max-width: var(--wrap); height: 1px; margin: clamp(40px, 5vw, 70px) auto 0; background: linear-gradient(90deg, var(--cyan) 0, var(--cyan) 120px, var(--line) 120px); position: relative; z-index: 1; }
.page-hero__title { font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.page-hero--plain .page-hero__title { max-width: 14em; }
.page-hero__title--post { font-size: clamp(2.2rem, 4.6vw, 4.2rem); max-width: 18em; }
.page-hero__lead { max-width: 34rem; margin: 30px 0 0; font-size: clamp(1.05rem, 1.3vw, 1.2rem); color: var(--muted); }
.page-hero__media { aspect-ratio: 4 / 5; max-height: 72vh; width: 100%; background: var(--ice-2); }
.page-hero__visual { position: relative; }
.page-hero__ornament { position: absolute; left: -64px; top: 14%; width: 128px; height: 128px; display: grid; place-items: center; border-radius: 50%; background: var(--white); box-shadow: 0 20px 40px -24px rgba(7, 27, 46, .35); pointer-events: none; z-index: 2; }
.page-hero__ornament .ring { inset: 10px; }
.page-hero__ornament .ring > span { font-size: 9.5px; }
.page-hero__ornament > .icon { width: 26px; height: 26px; color: var(--cyan); }
.ring { position: absolute; inset: 0; animation: spin 26s linear infinite; }
.ring > span { position: absolute; left: 50%; top: 0; height: 50%; width: 1em; margin-left: -.5em; text-align: center; line-height: 1; font-family: var(--sans); font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--ink); transform-origin: 50% 100%; transform: rotate(calc(var(--i) * 360deg / var(--n))); }
@keyframes spin { to { transform: rotate(360deg); } }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 54px); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs [aria-current] { color: var(--ink); }

/* --- Pagina servizio ----------------------------------------------------- */
.service__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.service__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.info-card { position: relative; padding: clamp(28px, 3vw, 44px); border-radius: var(--radius); background: var(--navy); color: var(--text-light); }
.info-card__title { color: var(--white); font-size: 1.9rem; font-weight: 500; margin-bottom: 22px; }
.info-card__title em { color: var(--cyan-light); }
.info-card a { color: var(--white); text-decoration: none; }
.info-card a:hover { color: var(--cyan-light); }
.info-card__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; background: var(--cyan-soft); color: var(--cyan-text); }
.info-card__icon .icon { width: 28px; height: 28px; }
.info-card__actions { display: grid; gap: 10px; margin-top: 10px; }
.info-card__actions .btn { width: 100%; }
.info-card a.btn { color: var(--fg); }
.info-card a.btn:hover { color: var(--fg-h); }
.info-card__note { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: 14px; }
.info-card__note .icon { flex: none; width: 20px; color: var(--cyan-light); margin-top: 2px; }
.info-card--light { background: var(--ice); color: var(--muted); border: 1px solid var(--line); }
.info-card--light .info-card__title { color: var(--ink); }
.info-card--light .info-card__title em { color: var(--cyan-text); }
.info-card--light a:not(.btn) { color: var(--cyan-text); }
.info-card--light .info-card__note { border-color: var(--line); }
.info-card--light .info-card__note .icon { color: var(--cyan-text); }
.info-card--light .ticks li { color: var(--ink); }
.info-list { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { flex: none; width: 20px; color: var(--cyan-light); margin-top: 3px; }
.info-list small { color: rgba(236, 244, 250, .6); }
.info-card__sub { display: flex; align-items: center; gap: 10px; color: var(--white); font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; padding-top: 26px; border-top: 1px solid var(--line-light); margin-bottom: 12px; }
.info-card__sub .icon { width: 18px; color: var(--cyan-light); }
.info-card .hours__row { border-color: var(--line-light); }
.info-card .hours dd { color: var(--text-light); }
.info-card .hours__note { color: rgba(236, 244, 250, .6); }
.info-card .social a { border-color: var(--line-light); color: var(--white); }

/* --- FAQ ----------------------------------------------------------------- */
.faq-section { background: var(--white); }
.faq-section__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); align-items: start; }
.faq-section__head { position: sticky; top: calc(var(--header-h) + 30px); }
.faq-section__head .h2 { margin-bottom: 18px; }
.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: 18px; background: var(--white); overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.faq__item[open] { border-color: transparent; box-shadow: 0 30px 60px -40px rgba(7, 27, 46, .4); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.1rem; font-weight: 500; }
.faq__q::-webkit-details-marker { display: none; }
.faq__icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ice); color: var(--cyan-text); transition: transform .5s var(--ease), background .4s; }
.faq__icon .icon { width: 18px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--navy); color: var(--white); }
.faq__a { overflow: hidden; }
.faq__a-inner { padding: 0 24px 22px; color: var(--muted); }
.faq__a-inner p { margin: 0; }

/* --- Chi siamo (pagina) -------------------------------------------------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.about__aside { position: sticky; top: calc(var(--header-h) + 30px); }
.benefits { background: var(--ice); }
.benefits__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 24px); perspective: 1400px; }
.benefit { position: relative; padding: clamp(28px, 2.6vw, 40px); background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); transform-style: preserve-3d; transition: box-shadow .6s var(--ease); }
.benefit:hover { box-shadow: 0 30px 60px -36px rgba(7, 27, 46, .35); }
.benefit__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--cyan-soft); color: var(--cyan-text); margin-bottom: 30px; }
.benefit__num { position: absolute; top: 34px; right: 32px; font-size: 12px; font-weight: 700; letter-spacing: .3em; color: var(--muted); }
.benefit__title { font-size: 1.35rem; font-weight: 500; margin-bottom: 12px; }
.benefit p { color: var(--muted); font-size: 15.5px; margin: 0; }
.masonry { columns: 3 280px; column-gap: clamp(12px, 1.6vw, 22px); }
.masonry__item { break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 22px); border-radius: 18px; overflow: hidden; background: var(--ice-2); }
.masonry__item a { display: block; position: relative; cursor: zoom-in; }
.masonry__item img { width: 100%; transition: transform 1.2s var(--ease); }
.masonry__item a:hover img { transform: scale(1.05); }

/* --- Convenzioni: come funziona ------------------------------------------ */
.how { background: var(--white); }
.how__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.how__text .h2 { margin-bottom: 22px; }
.how__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.numbered { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.numbered--cards li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 24px 26px; border-radius: 20px; background: var(--ice); }
.numbered--cards span { font-family: var(--display); font-size: 1.6rem; font-weight: 600; color: var(--cyan-text); line-height: 1; }
.numbered--cards strong { display: block; font-family: var(--display); font-size: 1.15rem; font-weight: 500; margin-bottom: 4px; }
.numbered--cards p { margin: 0; color: var(--muted); font-size: 15px; }

/* --- Contatti e modulo --------------------------------------------------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__info { position: sticky; top: calc(var(--header-h) + 30px); }
.book-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 26px; margin-bottom: 26px; }
.field { position: relative; display: grid; }
.field--wide { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
	width: 100%;
	padding: 26px 0 10px;
	border: 0;
	border-bottom: 1px solid rgba(15, 28, 42, .28);
	border-radius: 0;
	background: transparent;
	font: inherit;
	font-size: 17px;
	color: var(--ink);
	transition: border-color .4s var(--ease);
	appearance: none;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230F1C2A' stroke-width='1.3'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; padding-right: 28px; }
.field label { position: absolute; left: 0; top: 24px; font-size: 16px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .4s var(--ease), color .4s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--cyan); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field--select label { transform: translateY(-22px) scale(.78); color: var(--cyan-text); letter-spacing: .06em; font-weight: 600; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field--chips::after { display: none; }
.field [aria-invalid="true"] { border-bottom-color: #B4322A; }
.field__error, .book-form .field__error { display: block; margin-top: 6px; font-size: 13.5px; color: #B4322A; }
.field--chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.field--chips legend { width: 100%; margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--cyan-text); }
.field .chip { position: relative; top: auto; left: auto; transform: none; pointer-events: auto; cursor: pointer; color: var(--ink); font-size: 14px; }
.field .chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; padding: 0; margin: 0; border: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; transition: all .35s var(--ease); }
.chip:hover span { border-color: var(--cyan); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.check { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { flex: none; appearance: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1px solid rgba(15, 28, 42, .4); border-radius: 6px; background: transparent; display: grid; place-items: center; cursor: pointer; transition: all .3s; }
.check input:checked { background: var(--navy); border-color: var(--navy); }
.check input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--white); border-width: 0 1.6px 1.6px 0; transform: translateY(-1px) rotate(45deg); }
.check a { color: var(--cyan-text); }
.book-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.book-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; margin-top: 34px; }
.book-form__note { margin: 0; font-size: 14px; color: var(--muted); max-width: 22rem; }
.form-alert { padding: 14px 18px; border-radius: 12px; background: #FBE6E3; color: #7E2F28; font-size: 15px; margin-bottom: 26px; }
.form-done { padding: clamp(30px, 4vw, 50px); border-radius: var(--radius); background: var(--ice); }
.form-done:focus { outline: none; }
.form-done__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--cyan); color: var(--navy); margin-bottom: 24px; }
.form-done__title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 500; margin-bottom: 14px; }

.hours { margin: 0; display: grid; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; color: var(--muted); text-align: right; }
.hours__row.is-today dt, .hours__row.is-today dd { color: var(--cyan-light); font-weight: 600; }
.site-main .hours__row.is-today dt, .site-main .hours__row.is-today dd { color: var(--cyan-text); }
.site-main .info-card:not(.info-card--light) .hours__row.is-today dt, .site-main .info-card:not(.info-card--light) .hours__row.is-today dd { color: var(--cyan-light); }
.hours__today { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--cyan); color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; vertical-align: 2px; }
.hours__note { margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.hours__note--solo { margin: 0; font-size: 15px; line-height: 1.7; }

.social { display: flex; gap: 10px; margin-top: 24px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; transition: all .4s var(--ease); }
.social a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--navy); }
.social .icon { width: 20px; height: 20px; }

.map__placeholder { position: relative; min-height: 460px; display: grid; place-items: center; background: linear-gradient(135deg, var(--ice), var(--cyan-soft)); overflow: hidden; }
.map__placeholder::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(circle at 1px 1px, rgba(0, 161, 227, .35) 1px, transparent 0); background-size: 26px 26px; }
.map__placeholder iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__card { position: relative; display: grid; justify-items: center; gap: 10px; padding: 34px 40px; text-align: center; background: var(--white); border-radius: var(--radius); box-shadow: 0 30px 70px -40px rgba(7, 27, 46, .5); }
.map__card > .icon { width: 30px; height: 30px; color: var(--cyan-text); }
.map__card p { margin: 0; }
.map__note { font-size: 12.5px; color: var(--muted); }

/* --- Piè di pagina ------------------------------------------------------- */
.site-footer { position: relative; background: var(--navy); color: var(--text-light); padding: clamp(80px, 9vw, 140px) 0 40px; font-size: 15px; overflow: hidden; }
.site-footer__glow { position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -30vw; border-radius: 50%; background: radial-gradient(circle, rgba(0, 161, 227, .25), transparent 65%); pointer-events: none; }
.site-footer .wrap { position: relative; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--cyan-light); }
.site-footer__top { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: clamp(50px, 6vw, 80px); border-bottom: 1px solid var(--line-light); }
.site-footer__claim { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(2.2rem, 4.8vw, 4.6rem); line-height: 1.04; letter-spacing: -.03em; color: var(--white); }
.site-footer__claim em { color: var(--cyan-light); }
.site-footer__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding: clamp(50px, 6vw, 80px) 0; }
.site-footer__brand img { width: 200px; margin-bottom: 20px; }
.site-footer__brand p { max-width: 22rem; }
.site-footer__title { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--cyan-light); margin-bottom: 18px; }
.site-footer small { color: rgba(236, 244, 250, .6); }
.site-footer .hours__row { border-color: var(--line-light); font-size: 14px; padding: 6px 0; }
.site-footer .hours dd { color: var(--text-light); }
.site-footer .hours__note { color: rgba(236, 244, 250, .6); }
.site-footer .social a { border-color: var(--line-light); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 30px; padding-top: 30px; border-top: 1px solid var(--line-light); font-size: 13px; color: rgba(236, 244, 250, .6); }
.site-footer__bottom p { margin: 0; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }

/* barra azioni su mobile e WhatsApp flottante */
.mobile-bar { display: none; }
.wa-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 85;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 56px;
	padding: 0 18px 0 14px;
	border-radius: 999px;
	background: #25D366;
	color: var(--white);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 20px 40px -16px rgba(37, 211, 102, .8);
	transform: translateY(140%);
	transition: transform .6s var(--ease), box-shadow .4s;
}
.wa-float.is-visible { transform: none; }
.wa-float:hover { color: var(--white); box-shadow: 0 24px 50px -16px rgba(37, 211, 102, 1); }
.wa-float .icon { width: 26px; height: 26px; flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; opacity: 0; transition: max-width .6s var(--ease), opacity .4s; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 200px; opacity: 1; }

/* --- 404 ----------------------------------------------------------------- */
.not-found { min-height: 90vh; display: grid; align-items: center; padding: calc(var(--header-h) + 40px) 0 80px; text-align: center; }
.not-found__inner { display: grid; justify-items: center; }
.not-found__code { font-family: var(--display); font-weight: 600; font-size: clamp(7rem, 20vw, 16rem); line-height: .8; margin: 0 0 20px; color: var(--cyan-soft); letter-spacing: -.05em; }
.not-found__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* --- Lightbox ------------------------------------------------------------ */
.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(7, 27, 46, .95); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; padding: 70px 80px; }
.lightbox__figure img { max-width: min(1400px, 100%); max-height: calc(100dvh - 160px); width: auto; border-radius: 12px; }
.lightbox__figure figcaption { font-size: 12px; letter-spacing: .24em; color: var(--text-light); }
.lightbox .round-btn { position: absolute; color: var(--white); border-color: var(--line-light); }
.lightbox .round-btn:hover { background: var(--white); color: var(--navy); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox.is-single .lightbox__nav { display: none; }
.lightbox__nav--prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 18px; top: 50%; transform: translateY(-50%); }

/* --- Cursore ------------------------------------------------------------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
	.has-cursor .cursor { display: block; position: fixed; inset: 0 auto auto 0; z-index: 500; pointer-events: none; }
	.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; }
	.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--cyan); }
	.cursor__ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1px solid rgba(0, 161, 227, .6); transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s; }
	.cursor.is-link .cursor__ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: rgba(0, 161, 227, .12); border-color: transparent; }
	.cursor.is-hidden { opacity: 0; }
	.cursor__label { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); opacity: 0; transition: opacity .3s; }
	.cursor.has-label .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--white); border-color: transparent; box-shadow: 0 12px 30px -12px rgba(7, 27, 46, .4); }
	.cursor.has-label .cursor__label { opacity: 1; }
	.cursor.has-label .cursor__dot { opacity: 0; }
	.has-cursor [data-cursor], .has-cursor [data-cursor] * { cursor: none; }
}

/* --- Effetti speciali ---------------------------------------------------- */

/* sipario fra le pagine */
.curtain { position: fixed; inset: 0; z-index: 390; display: grid; place-items: center; background: linear-gradient(160deg, var(--navy-3), var(--navy)); color: var(--cyan-light); transform: translateY(calc(100% + 80px)); pointer-events: none; }
.curtain::before { content: ""; position: absolute; left: 0; right: 0; top: -60px; height: 61px; background: var(--navy-3); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.curtain__tooth { width: 90px; height: 90px; opacity: 0; transition: opacity .4s var(--ease); }
.is-leaving .curtain { transform: translateY(0); transition: transform .75s var(--ease-in-out); }
.is-leaving .curtain__tooth { opacity: 1; transition-delay: .35s; }
.is-entering .curtain { transform: translateY(0); }
.is-entering .curtain__tooth { opacity: 1; }
.is-entered .curtain { transform: translateY(calc(-100% - 80px)); transition: transform .95s var(--ease-in-out); }
.is-entered .curtain__tooth { opacity: 0; transition-duration: .3s; }
.is-entered .curtain::before { top: auto; bottom: -60px; background: var(--navy); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.no-motion .curtain { display: none; }

/* card con inclinazione 3D */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }

/* piè di pagina che si svela da sotto */
.site-main { position: relative; z-index: 1; background: var(--white); }
@media (min-width: 961px) {
	.site-main { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .45); }
	.site-footer { position: sticky; bottom: 0; z-index: 0; }
}

/* --- Animazioni d'ingresso (attivate da JS) ------------------------------ */
.js [data-split] { visibility: hidden; }
.js.no-motion [data-split] { visibility: visible; }
.pre-skip .preloader, .no-motion .preloader { display: none !important; }
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-hero-in] { opacity: 0; transform: translateY(24px); }
.js [data-img-reveal] { clip-path: inset(100% 0 0 0); }
.js [data-img-reveal] img { transform: scale(1.25); }
.js.no-motion [data-reveal], .js.no-motion [data-hero-in] { opacity: 1; transform: none; }
.js.no-motion [data-img-reveal] { clip-path: none; }
.js.no-motion [data-img-reveal] img { transform: none; }
.no-motion .marquee__track, .no-motion .ring, .no-motion .manifesto::before, .no-motion .manifesto::after { animation: none; }

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 1180px) {
	.header-phone span { display: none; }
	.main-nav .menu { gap: 16px; }
	.main-nav a { font-size: 13px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.benefits__grid { grid-template-columns: 1fr 1fr; }
	.trust__grid { grid-template-columns: 1fr 1fr; }
	.partners-grid { grid-template-columns: 1fr 1fr; }
	.post-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
	:root { --header-h: 72px; }
	.main-nav, .header-phone { display: none; }
	.menu-toggle { display: inline-flex; }
	.brand__logo { height: calc(var(--header-h) - 30px); }
	.site-header__actions { margin-left: auto; gap: 10px; }
	.site-header__actions .btn { display: none; }
	.header-wa { width: 40px; height: 40px; }

	.hero { align-items: end; padding-bottom: 150px; }
	.hero__veil { background: linear-gradient(0deg, rgba(7, 27, 46, .96) 0%, rgba(7, 27, 46, .86) 42%, rgba(7, 27, 46, .3) 72%, rgba(7, 27, 46, .1) 100%); }
	.hero__poster, .hero__video { object-position: 68% 30%; }
	.hero__card { position: static; margin: 26px var(--gutter) 0; width: calc(100% - 2 * var(--gutter)); }
	.hero__scroll { display: none; }

	.intro__grid, .team__grid, .how__grid, .contact__grid, .page-hero__grid, .service__grid, .about__grid, .faq-section__grid { grid-template-columns: 1fr; }
	.intro__media { max-width: 560px; }
	.services-grid { grid-template-columns: 1fr; }
	.services-grid__item:nth-child(even) { margin-top: 0; }
	.service-card--large { aspect-ratio: 4 / 3.6; }
	.steps__list { grid-template-columns: 1fr; }
	.mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 44vw 44vw 52vw; grid-template-areas: "a c" "a d" "b e"; }
	.cta__veil { background: linear-gradient(0deg, rgba(7, 27, 46, .97) 0%, rgba(7, 27, 46, .88) 55%, rgba(7, 27, 46, .25) 100%); }
	.cta { align-items: end; }
	.page-hero__media { max-height: none; aspect-ratio: 4 / 4.4; }
	.page-hero__ornament { display: none; }
	.service__aside, .about__aside, .contact__info, .faq-section__head { position: static; }
	.rail-foot { flex-wrap: wrap; }
	.rail-foot .rail-progress { flex-basis: 100%; }
	.stats { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
	.wa-float { display: none; }

	.mobile-bar {
		position: fixed;
		left: 12px;
		right: 12px;
		bottom: max(12px, env(safe-area-inset-bottom));
		z-index: 80;
		display: grid;
		grid-template-columns: 1fr 1fr 1.3fr;
		gap: 6px;
		padding: 6px;
		border-radius: 999px;
		background: rgba(7, 27, 46, .94);
		backdrop-filter: blur(12px);
		box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
		transform: translateY(140%);
		transition: transform .6s var(--ease);
	}
	.mobile-bar.is-visible { transform: none; }
	.menu-open .mobile-bar { transform: translateY(140%); }
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 999px; color: var(--white); text-decoration: none; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
	.mobile-bar .icon { width: 18px; height: 18px; }
	.mobile-bar__main { background: var(--cyan); color: var(--navy) !important; }
	.site-footer { padding-bottom: 110px; }
}

@media (max-width: 640px) {
	.trust__grid { grid-template-columns: 1fr; gap: 12px; }
	.trust__grid li { font-size: 14px; }
	.post-grid, .post-grid--two, .partners-grid, .benefits__grid { grid-template-columns: 1fr; }
	.book-form__grid { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stats li:last-child { grid-column: 1 / -1; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.hero__actions .btn, .cta__actions .btn { width: 100%; }
	.lightbox__figure { padding: 70px 16px; }
	.mosaic { grid-template-rows: 60vw 60vw 70vw; }
	.service-card__sub { display: none; }
}
