/* ==========================================================================
   Studio Oculistico Delorenzi
   Palette dal logo: navy #0A3556, ciano #5CC7F8, azzurro #B6D5FF, bianco
   Font: Montserrat
   ========================================================================== */

:root {
	/* Palette brand */
	--navy: #0A3556;
	--primary: #5CC7F8;
	--soft: #B6D5FF;
	--white: #FFFFFF;

	/* Derivati dalla palette */
	--navy-2: #134A75;
	--secondary: var(--navy-2);
	--tertiary: #9DB8D3;
	--tint-1: #F4F8FD;
	--tint-2: #E8F0FA;
	--line: #DAE5F1;
	--text: #35506B;
	--muted: #587088;

	/* Nomi storici, mappati sulla nuova palette */
	--warm-1: var(--tint-1);
	--warm-2: var(--tint-2);
	--backgroundLite: var(--soft);
	--theme-color: var(--primary);
	--theme-color-two: rgba(255, 255, 255, .06);
	--light: var(--navy);

	--heading: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
	--body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 20px;
	--ease: cubic-bezier(.22, .8, .3, 1);
	--header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
	margin: 0;
	font-family: var(--body);
	font-weight: 400;
	font-size: .94rem;
	color: var(--text);
	line-height: 1.8;
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
a { color: inherit; }
p { margin: 0 0 1em; }
::selection { background: var(--primary); color: var(--navy); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

.page-wrapper { position: relative; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 28px; }
.container-alternate { background-color: var(--soft); padding: 2em 4em; }
section { padding: 120px 0; }

h2 {
	font-family: var(--heading);
	font-weight: 700;
	font-size: 1.75rem;
	line-height: 1.25;
	letter-spacing: -.015em;
	color: var(--navy);
	margin: 0;
}
/* Segno sotto i titoli di sezione: si disegna quando il titolo entra in vista */
h2::after {
	content: "";
	display: block;
	width: 44px;
	height: 3px;
	margin-top: 16px;
	border-radius: 3px;
	background: var(--primary);
	transform-origin: left center;
	transition: transform .9s var(--ease) .3s;
}
h2[style*="center"]::after { margin-inline: auto; transform-origin: center; }
.anim h2:not(.is-visible)::after { transform: scaleX(0); }

/* Titolo a sinistra, contenuto a destra */
.split { display: grid; grid-template-columns: 0.65fr 1fr; gap: 72px; align-items: start; }
.split > h2 { padding-top: 4px; }

.icon { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Pulsanti ---------- */
.btn {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 28px;
	border: 1px solid var(--navy);
	border-radius: 999px;
	background: var(--navy);
	color: var(--white);
	font-family: var(--heading);
	font-weight: 600;
	font-size: .82rem;
	letter-spacing: .01em;
	text-decoration: none;
	cursor: pointer;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s, color .3s;
}
.btn::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
	transform: skewX(-20deg);
	transition: left .7s var(--ease);
	pointer-events: none;
}
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(10, 53, 86, .28); }
.btn:hover::after { left: 130%; }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn.light { background: var(--primary); border-color: var(--primary); color: var(--navy); }
.btn.light:hover { background: var(--white); border-color: var(--white); box-shadow: 0 12px 28px rgba(0, 0, 0, .25); }
.btn.outline { background: transparent; color: var(--navy); }
.btn.outline:hover { background: var(--navy); border-color: var(--navy); color: var(--white); }
.hero .btn.outline { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.hero .btn.outline:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- Barra di avanzamento della lettura ---------- */
.scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9998;
	width: 100%;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--soft));
	transform: scaleX(0);
	transform-origin: 0 50%;
	pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
	position: fixed;
	z-index: 50;
	top: 0;
	left: 0;
	right: 0;
	color: var(--white);
	transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	padding-bottom: 8px;
	font-family: var(--heading);
	font-size: .85rem;
	transition: padding .4s var(--ease);
}
.site-header-name { font-weight: 600; text-decoration: none; display: block; scale:1.55;margin-left: 2em;}
.site-header-name img { display: block; width: 150px; height: auto; transition: width .4s var(--ease); }
.site-header-phone {
	background: #fff;
    color: var(--navy);
    font-weight: 800;
	display: inline-flex;
	gap: 8px;
	align-items: center;
	padding: 9px 18px;
	border: 1px solid rgba(255, 255, 255, .45);
	border-radius: 999px;
	font-weight: 500;
	text-decoration: none;
	transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.site-header-phone:hover { background: var(--primary); border-color: var(--primary); color: var(--navy); transform: translateY(-1px); }
.site-header.is-scrolled {
	background: rgba(10, 53, 86, .94);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 8px 30px rgba(10, 53, 86, .28);
}
.site-header.is-scrolled .site-header-inner { padding-top: 16px; padding-bottom: 16px; }
.site-header.is-scrolled .site-header-name img { width: 128px;}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 0; color: var(--white); background: var(--navy); }
.slides { display: flex; transition: transform .9s cubic-bezier(.65, 0, .25, 1); }
.slide {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-width: 100%;
	min-height: 680px;
	display: flex;
	align-items: flex-end;
	padding: 160px 0 120px;
}
/* Foto: zoom lento mentre la slide e' attiva */
.slide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background-size: cover;
	background-position: center;
	transform: scale(1.1);
	transition: transform 9s linear;
}
.slide.is-active::before { transform: scale(1); }
.slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(0deg, rgba(10, 53, 86, .6) 0%, rgba(10, 53, 86, 0) 38%),
		linear-gradient(100deg, rgba(10, 53, 86, .94) 0%, rgba(10, 53, 86, .72) 48%, rgba(10, 53, 86, .16) 100%);
}
.slide.s1::before { background-image: url("../img/oculista_dottor_delorenzi_e_collaboratori.webp"); }
.slide.s2::before { background-image: url("../img/oculista_dottor_delorenzi_roma.webp"); }
.slide .container { width: 100%; position: relative; }
.slide h1 {
	font-family: var(--heading);
	font-weight: 700;
	font-size: clamp(2rem, 4.4vw, 3.3rem);
	line-height: 1.12;
	letter-spacing: -.02em;
	margin: 0 0 20px;
	max-width: 700px;
}
.slide p { max-width: 480px; margin: 0 0 32px; font-weight: 400; color: rgba(255, 255, 255, .9); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Entrata del testo: a cascata, dopo che la slide si e' fermata */
.js .slide .container > * { opacity: 0; transform: translateY(32px); transition: opacity .3s ease, transform .3s ease; }
.js .slide.is-active .container > * { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .slide.is-active .container > :nth-child(1) { transition-delay: .4s; }
.js .slide.is-active .container > :nth-child(2) { transition-delay: .55s; }
.js .slide.is-active .container > :nth-child(3) { transition-delay: .7s; }
.js .slide .container > h1 { clip-path: inset(0 0 100% 0); }
.js .slide.is-active .container > h1 { clip-path: inset(0 0 -20% 0); transition: opacity 1s var(--ease) .4s, transform 1s var(--ease) .4s, clip-path 1s var(--ease) .4s; }

.arrow {
	position: absolute;
	z-index: 2;
	bottom: 36px;
	width: 48px;
	height: 48px;
	display: grid;
	place-items: center;
	border: 1px solid rgba(255, 255, 255, .55);
	border-radius: 50%;
	background: rgba(10, 53, 86, .25);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: var(--white);
	cursor: pointer;
	transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease);
}
.arrow:hover { background: var(--primary); border-color: var(--primary); color: var(--navy); transform: scale(1.08); }
.arrow.prev { right: 92px; }
.arrow.next { right: 28px; }
.dots { position: absolute; z-index: 2; bottom: 58px; left: 28px; display: flex; gap: 8px; }
.dots button {
	width: 28px;
	height: 4px;
	border: 0;
	border-radius: 4px;
	padding: 0;
	background: rgba(255, 255, 255, .4);
	cursor: pointer;
	transition: width .5s var(--ease), background .3s;
}
.dots button[aria-current="true"] { width: 56px; background: var(--primary); }

/* ---------- Lo studio ---------- */
.about p { max-width: 600px; }
.about .facts { margin: 44px 0 0; padding: 0; max-width: 600px; border-top: 1px solid var(--line); }
.about .facts div { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.about dt { font-family: var(--heading); font-weight: 600; font-size: .85rem; color: var(--navy); }
.about dd { margin: 0; }

/* ---------- Servizi ---------- */
section.services { background: var(--navy); color: var(--white); }
section.services h2 { color: var(--white); }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.service-list h3 { font-family: var(--heading); font-weight: 600; font-size: 1.05rem; color: var(--navy); margin: 0; }
.service-list p { margin: 0; color: var(--muted); }

.services .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.services .card {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding: 2rem 1.75rem;
	border: 0;
	border-radius: 16px;
	background: rgba(255, 255, 255, .07);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
	color: var(--white);
	text-decoration: none;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.services .card:hover,
.services .card:focus-visible {
	transform: translateY(-4px);
	background: var(--soft);
	color: var(--navy);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
}
.services .card:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.services .card h3 { margin: 0; font-family: var(--heading); font-weight: 600; font-size: 1.1rem; letter-spacing: -.005em; color: inherit; }

/* Area che alterna icona e testo */
.services .swap { display: grid; align-items: center; min-height: 6.5rem; }
.services .swap > * { grid-area: 1 / 1; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.services .icon { width: 72px; height: 72px; color: var(--primary); justify-self: start; }
.services .desc { margin: 0; color: inherit; opacity: 0; transform: translateY(10px); }
.services .card:hover .icon,
.services .card:focus-visible .icon { opacity: 0; transform: translateY(-10px); }
.services .card:hover .desc,
.services .card:focus-visible .desc { opacity: 1; transform: none; }

/* Touch: niente hover, mostra tutto */
@media (hover: none) {
	.services .swap { display: flex; flex-direction: column; gap: .75rem; min-height: 0; }
	.services .desc { opacity: 1; transform: none; color: var(--soft); }
	.services .card:hover { transform: none; background: rgba(255, 255, 255, .07); color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
	.services .card:hover .icon { opacity: 1; transform: none; }
}

.swap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

/* ---------- Prenota ---------- */
.booking-intro { max-width: 520px; }
.booking-frame {
	min-height: 640px;
	margin-top: 36px;
	background: var(--tint-1);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: 0 20px 50px rgba(10, 53, 86, .08);
	overflow: hidden;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 32px;
	position: relative;
}
.booking-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: var(--white); }
.booking-frame p { margin: 0 0 20px; color: var(--muted); }
.booking-frame .hero-cta { justify-content: center; }

/* ---------- Moduli ---------- */
.forms { background: var(--tint-1); }
.forms ul { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.forms li a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--line);
	text-decoration: none;
	transition: padding .4s var(--ease), color .3s;
}
.forms li a span { flex: 1; }
.forms li a .icon { color: var(--primary); transition: transform .4s var(--ease); }
.forms li a:hover { padding-left: 10px; color: var(--navy); }
.forms li a:hover .icon { transform: translateY(3px); }

/* Moduli: box collassato con gli altri moduli */
.forms details.forms-more { margin-top: 0; }
.forms details.forms-more > ul { margin-top: 0; border-top: 0; }
.forms details.forms-more > summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 18px 4px;
	border-bottom: 1px solid var(--line);
	cursor: pointer;
	list-style: none;
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--navy);
	transition: background .3s;
}
.forms details.forms-more > summary::-webkit-details-marker { display: none; }
.forms details.forms-more > summary:hover { background: var(--tint-2); }
.forms details.forms-more > summary .icon { width: 16px; height: 16px; vertical-align: middle; transition: transform .4s var(--ease); }
.forms details.forms-more[open] > summary .icon { transform: rotate(90deg); }
.forms details.forms-more .when-open { display: none; }
.forms details.forms-more[open] .when-open { display: inline; }
.forms details.forms-more[open] .when-closed { display: none; }

/* ---------- Contatti ---------- */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; margin-top: 8px; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list .icon { color: var(--primary); margin-top: 5px; }
.contact-list a {
	text-decoration: none;
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
	transition: background-size .4s var(--ease), color .3s;
}
.contact-list a:hover { background-size: 100% 1px; color: var(--navy); }

.contact-photo { margin: 36px 0 0; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 20px 44px rgba(10, 53, 86, .16); background: var(--tint-2); }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grecaptcha-badge { visibility: hidden; }
form { display: grid; gap: 14px; }
input, textarea {
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid var(--tertiary);
	border-radius: 0;
	background: transparent;
	font: inherit;
	color: var(--text);
}
/* Linea di fuoco che si disegna da sinistra */
input, textarea {
	background-image: linear-gradient(var(--primary), var(--primary));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 2px;
	transition: background-size .45s var(--ease), border-color .3s;
}
input::placeholder, textarea::placeholder { color: var(--muted); opacity: .8; }
input:focus, textarea:focus { outline: 0; border-bottom-color: transparent; background-size: 100% 2px; }
form .btn { justify-self: start; margin-top: 8px; }
.privacy { font-size: .78rem; color: var(--muted); margin: 0; }

/* ---------- Mappa ---------- */
.map { padding-top: 0; }
.map-box {
	height: 400px;
	background: var(--tint-2);
	border-radius: var(--radius);
	overflow: hidden;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 24px;
	color: var(--muted);
	position: relative;
}
.map-box p { margin: 0 0 16px; }
.map-box .hero-cta { justify-content: center; }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: var(--tertiary); padding: 36px 0; font-size: .8rem; }
.main-footer { position: relative; overflow: hidden; padding: 0; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr 1fr; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.footer-widget { position: relative; }
.footer-widget.links-widget { padding-left: 30px; }
.footer-widgets-section { position: relative; padding-top: 70px; padding-bottom: 70px; }
.footer-logo { width: 260px; margin-bottom: 29px; }
.footer-about-text { margin-bottom: 45px; padding-right: 20px; }
.footer-widget-title { margin: 0 0 36px; font-family: var(--heading); font-size: .95rem; font-weight: 700; color: var(--white); letter-spacing: -.005em; }

.social-icon-two-link { color: var(--white); text-decoration: none; }
.social-icon-box-two { display: flex; gap: 10px; justify-content: flex-start; align-items: center; }
.social-icon-two {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	background-color: var(--theme-color-two);
	color: var(--white);
	font-size: 18px;
	transition: background-color .3s, color .3s, border-color .3s, transform .4s var(--ease);
}
.social-icon-two-link:hover .social-icon-two,
.social-icon-two:hover { background-color: var(--primary); border-color: var(--primary); color: var(--navy); transform: translateY(-3px); }

.footer-list-box { display: flex; gap: 70px; justify-content: flex-start; align-items: flex-start; }
.list-style-box { display: flex; flex-flow: column; gap: 22px; align-items: flex-start; }
.list-style-text-link { display: flex; gap: 8px; justify-content: flex-start; align-items: center; text-decoration: none; transition: color .3s, transform .4s var(--ease); }
.list-style-icon { color: var(--primary); transition: transform .4s var(--ease); }
.list-style-text { margin: 0; line-height: 1em; transition: color .3s; }
.list-style-text.last-child { border-bottom-style: none; margin-bottom: 0; padding-bottom: 0; }
.list-style-text-link:hover { color: var(--white); }
.list-style-text-link:hover .list-style-icon { transform: translateX(4px); }

.contact-list-box-two { position: relative; margin-bottom: 24px; }
.contact-list-two {
	position: relative;
	display: flex;
	gap: 13px;
	justify-content: flex-start;
	align-items: center;
	margin-bottom: 16px;
	padding-bottom: 16px;
	padding-left: 137px;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.contact-list-two.last { border-bottom-style: none; margin-bottom: 0; padding-bottom: 0; }
.contact-list-two-title-box { position: absolute; left: 0; display: flex; gap: 13px; color: var(--primary); }
.contact-list-two-title { margin: 0; font-weight: 600; color: var(--white); }
.contact-list-two-icon { object-fit: contain; }
.contact-list-two-text { margin: 0; transition: color .3s; }
.contact-list-two-text:hover { color: var(--white); }
.contact-list-two-text.two { transition: none; }
.contact-list-two-text.two:hover { color: inherit; }
.contact-list-two-text-link { text-decoration: none; }

.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-bottom-inner-box { position: relative; text-align: center; padding-top: 30px; padding-bottom: 30px; }
.footer-copyright-text { margin: 0; }
.footer-copyright-text-link { color: var(--soft); font-weight: 600; text-decoration: none; transition: color .3s; }
.footer-copyright-text-link:hover { color: var(--primary); }

.subscribe-section { position: relative; }
.subscribe-outer-box { position: relative; z-index: 5; margin-bottom: -117px; padding: 62px 30px; border-radius: var(--radius); background-color: var(--primary); }

/* ---------- Galleria ---------- */
.gallery {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: 0 20px 44px rgba(10, 53, 86, .18);
	background: var(--tint-2);
}
.gallery-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.gallery-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 3 / 2; overflow: hidden; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.4s var(--ease); }
.gallery:hover .gallery-slide img { transform: scale(1.04); }
.gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: var(--navy);
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(10, 53, 86, .25);
	transition: background .3s, transform .35s var(--ease);
}
.gallery-arrow:hover { background: var(--primary); transform: translateY(-50%) scale(1.08); }
.gallery-arrow:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.gallery-arrow.prev { left: 14px; }
.gallery-arrow.next { right: 14px; }
.gallery-arrow .icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gallery-count {
	position: absolute;
	right: 14px;
	bottom: 14px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(10, 53, 86, .78);
	color: var(--white);
	font-size: .75rem;
	font-weight: 500;
	letter-spacing: .03em;
}

/* ---------- Comparsa allo scroll (attiva solo con JS) ---------- */
.anim .reveal:not(.is-visible) { opacity: 0; transform: translateY(24px); }
.anim .reveal.reveal-left:not(.is-visible) { transform: translateX(-28px); }
.reveal.is-visible { animation: revealUp .85s var(--ease) backwards; animation-delay: var(--d, 0s); }
.reveal.reveal-left.is-visible { animation-name: revealLeft; }
@keyframes revealUp { from { opacity: 0; transform: translateY(24px); } }
@keyframes revealLeft { from { opacity: 0; transform: translateX(-28px); } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; gap: 28px; }
	.contacts-grid { grid-template-columns: 1fr; gap: 48px; }
	.services .cards { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr; }
	.footer-widget.links-widget { padding-left: 0; }
}
@media (max-width: 700px) {
	section { padding: 80px 0; }
	.slide { min-height: 600px; padding: 130px 0 130px; }
	.slide.s1::before, .slide.s2::before { background-position: 65% center; }
	.arrow { display: none; }
	.service-list li { grid-template-columns: 1fr; gap: 8px; }
	.about .facts div { grid-template-columns: 1fr; gap: 2px; }
	.site-header-inner { font-size: .78rem; }
	.site-header-name img { width: 124px; }
	.site-header-phone { padding: 8px 14px; }
	.booking-frame { min-height: 720px; padding: 0; }
	.container-alternate { padding: 2em 1.5em; }
	.contact-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
	.services .cards { grid-template-columns: 1fr; }
}

/* ---------- Movimento ridotto ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.slides { transition: none; }
	.slide::before { transform: none; transition: none; }
	.js .slide .container > * { opacity: 1; transform: none; clip-path: none; transition: none; }
	.reveal, .reveal.is-visible { animation: none; }
	.anim .reveal:not(.is-visible) { opacity: 1; transform: none; }
	.anim h2:not(.is-visible)::after { transform: none; }
	.btn, .btn::after, .services .card, .services .swap > *, .gallery-arrow, .gallery-slide img { transition: none; }
	.scroll-progress { display: none; }
}

.hidden {
	display: none !important;
}

.nota-bene {
	margin: 2em 0;
	padding: 1.1em 1.4em;
	background: #eef5fb;
	border-left: 4px solid #5bc7f8;
	color: #002D50;
}

.nota-bene strong {
	display: block;
	margin-bottom: 0.4em;
	font-size: 0.85em;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.nota-bene p {
	margin: 0;
	line-height: 1.6;
}


@media (max-width: 640px) {
	.site-header-phone {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		padding: 0;
		border-radius: 50%;
	}
	.site-header-phone .phone-label {
		display: none;
	}
	.site-header-phone .icon {
		margin: 0;
	}
}