/* =========================================================
   SBF Serramenti — foglio di stile principale
   Palette e scala tipografica ripresi dal sito originale
   (blu #3D6399, beige #DDD0C8, Inter, H1 60/38px).
   ========================================================= */

/* ---------- Token ---------- */
:root {
	--blue: #3d6399;
	--blue-dark: #2f4d78;
	--blue-soft: #eaf0f8;
	--beige: #ddd0c8;
	--beige-soft: #f4efeb;
	--ink: #121315;
	--ink-soft: #3a3d42;
	--muted: #6b6f77;
	--line: #e6e2de;
	--bg: #ffffff;
	--bg-soft: #f8f6f4;

	--wrap: 1160px;
	--gap: 24px;
	--radius: 14px;
	--radius-lg: 22px;
	--shadow: 0 10px 30px rgba(18, 19, 21, .08);
	--shadow-lg: 0 24px 60px rgba(18, 19, 21, .14);

	--header-h: 84px;
	--font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img, picture, svg, video { max-width: 100%; }
img { height: auto; display: block; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.15; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

a { color: var(--blue); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--blue-dark); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

.skip-link:focus {
	position: fixed; top: 12px; left: 12px; z-index: 999;
	width: auto; height: auto; clip: auto;
	padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 8px;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---------- Bottoni ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 26px;
	border: 1px solid transparent; border-radius: 8px;
	font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
	cursor: pointer; text-decoration: none;
	transition: background-color .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease), transform .22s var(--ease);
}
.btn .icon { transition: transform .22s var(--ease); flex: none; }
.btn:hover .icon { transform: translateX(3px); }

.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--beige); color: var(--ink); }

.btn--ghost-light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(4px); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--link { padding: 14px 4px; background: none; color: var(--muted); font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }
.btn--link:hover { color: var(--ink); }

/* ---------- Barra superiore ---------- */
.topbar {
	background: var(--ink); color: rgba(255, 255, 255, .82);
	font-size: 13.5px;
}
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 44px; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.topbar__item:hover { color: #fff; }
.topbar__item .icon { color: var(--beige); flex: none; }
.topbar__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .2); }
.topbar__socials { display: flex; gap: 6px; margin-left: auto; }
.topbar__socials a {
	display: grid; place-items: center; width: 32px; height: 32px;
	border-radius: 50%; color: rgba(255, 255, 255, .8);
	transition: background-color .2s var(--ease), color .2s var(--ease);
}
.topbar__socials a:hover { background: var(--blue); color: #fff; }

@media (max-width: 900px) {
	.topbar__inner { justify-content: center; gap: 12px; }
	.topbar__sep, .topbar__item:first-child { display: none; }
	.topbar__socials { margin-left: 0; }
}

/* ---------- Intestazione ---------- */
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .25s var(--ease);
}
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(18, 19, 21, .08); }

.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 24px; min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; flex: none; }
.brand__logo, .brand .custom-logo { width: auto; height: 46px; }

.primary-nav { display: flex; align-items: center; gap: 28px; }

.menu { display: flex; align-items: center; gap: 4px; }
.menu > .menu-item > a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 10px 14px; border-radius: 8px;
	color: var(--ink); font-weight: 500; font-size: 15.5px;
}
.menu > .menu-item > a:hover { background: var(--bg-soft); color: var(--blue); }
.menu > .menu-item.current-menu-item > a,
.menu > .menu-item.current_page_item > a,
.menu > .menu-item.current-menu-ancestor > a { color: var(--blue); font-weight: 600; }

.menu-item-has-children { position: relative; }
.menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin-left: 2px;
	border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.sub-menu {
	position: absolute; top: calc(100% + 6px); left: 0; min-width: 232px;
	padding: 8px; background: #fff; border: 1px solid var(--line);
	border-radius: 12px; box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 10px 14px; border-radius: 8px; color: var(--ink-soft); font-size: 15px; }
.sub-menu a:hover { background: var(--blue-soft); color: var(--blue); }
.sub-menu .current-menu-item > a { color: var(--blue); font-weight: 600; }

.nav-toggle {
	display: none; align-items: center; justify-content: center;
	width: 46px; height: 46px; padding: 0;
	background: none; border: 1px solid var(--line); border-radius: 10px;
	color: var(--ink); cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline-flex; }

@media (max-width: 1080px) {
	.primary-nav__cta { display: none; }
}

@media (max-width: 980px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		padding: 12px 24px 28px;
		background: #fff; border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow);
		display: none;
	}
	.primary-nav.is-open { display: flex; }
	.menu { flex-direction: column; align-items: stretch; gap: 0; }
	.menu > .menu-item > a { padding: 14px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
	.menu-item-has-children > a::after { margin-left: auto; }
	.sub-menu {
		position: static; opacity: 1; visibility: visible; transform: none;
		min-width: 0; padding: 4px 0 10px 14px; border: 0; box-shadow: none;
		border-left: 2px solid var(--line); border-radius: 0; margin: 6px 0 6px 4px;
	}
	.primary-nav__cta { display: block; margin-top: 20px; }
	.primary-nav__cta .btn { width: 100%; justify-content: center; }
}

/* ---------- Titoli di sezione ---------- */
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }

.section-head__eyebrow {
	margin: 0 0 12px;
	color: var(--blue); font-size: 13px; font-weight: 700;
	letter-spacing: .14em; text-transform: uppercase;
}
.section-head__title { margin: 0; font-size: clamp(30px, 4vw, 48px); text-wrap: balance; }
.section-head__text { margin: 16px 0 0; color: var(--muted); font-size: 18px; }

section { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: min(78vh, 680px); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media picture, .hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(18, 19, 21, .78) 0%, rgba(18, 19, 21, .55) 45%, rgba(61, 99, 153, .35) 100%);
}
.hero__inner { position: relative; padding: 96px 24px; color: #fff; }
.hero__eyebrow {
	margin: 0 0 18px; color: var(--beige);
	font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
}
.hero__title { margin: 0; max-width: 14ch; font-size: clamp(38px, 6.4vw, 60px); color: #fff; }
.hero__lead { margin: 18px 0 0; max-width: 46ch; color: rgba(255, 255, 255, .88); font-size: clamp(17px, 2vw, 21px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero__rating {
	display: inline-flex; align-items: center; gap: 12px; margin-top: 40px;
	padding: 10px 18px 10px 14px;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px; color: #fff; font-size: 14.5px; backdrop-filter: blur(6px);
}
.hero__rating:hover { background: rgba(255, 255, 255, .2); color: #fff; }
.hero__rating strong { font-size: 16px; }

.stars { display: inline-flex; gap: 2px; color: #f5a623; }
.star { flex: none; }

/* ---------- Hero con video ----------
   L'hero ha esattamente le proporzioni del filmato (16:9): il video lo riempie
   senza bande e senza bordi tagliati a vista. Il tetto in vh evita che su
   schermi molto larghi occupi più di una schermata; solo in quel caso il
   riquadro viene ritagliato ai lati (mai bande, mai bordi visibili).

   Il filmato si chiude sul logo SBF, che nel fotogramma finale occupa il 39,8%
   della larghezza e il 34,3% dell'altezza, centrato a 52,7% / 51,0%. La riga
   centrale della griglia (.hero__stage) resta vuota apposta per lasciarlo
   libero.
   ------------------------------------------------------------------ */
.hero--video {
	/* 56.25vw = larghezza piena in rapporto 16:9. Quando ci sta nello schermo
	   l'hero è esattamente il riquadro del filmato, senza alcun ritaglio;
	   quando la finestra è più bassa vince il secondo valore, così i pulsanti
	   restano sopra la piega e il filmato viene ritagliato ai bordi.
	   In nessuno dei due casi si vedono bande o bordi del video sullo sfondo:
	   l'adattamento è sempre "cover". */
	height: min(56.25vw, calc(100vh - 128px));
	min-height: 420px;
	background: var(--hero-bg, #002248);
	text-align: center;
}
.hero--video .hero__media { background-color: var(--hero-bg, #002248); }

.hero--video .hero__poster,
.hero--video .hero__video {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	/* Nel filmato il logo è centrato a 51% in verticale: così finisce
	   esattamente a metà dell'hero quando il riquadro viene ritagliato. */
	object-position: 50% 51%;
}
.hero--video .hero__video { opacity: 0; transition: opacity .5s var(--ease); }
.hero--video .hero__video.is-playing { opacity: 1; }

/* Velo solo sopra e sotto: la fascia del logo resta pulita. */
.hero--video .hero__media::after {
	background: linear-gradient(
		180deg,
		rgba(0, 12, 26, .74) 0%,
		rgba(0, 12, 26, .30) 20%,
		rgba(0, 12, 26, 0) 34%,
		rgba(0, 12, 26, 0) 66%,
		rgba(0, 12, 26, .32) 80%,
		rgba(0, 12, 26, .80) 100%
	);
}

/* Angolo in alto a sinistra: nei primi secondi il filmato porta la filigrana
   "AI" del generatore. Questa sfumatura scura la copre e sparisce da sola
   quando l'animazione finisce, così sul blu pieno non resta nessun alone. */
.hero--video .hero__media::before {
	content: ""; position: absolute; z-index: 1;
	top: 0; left: 0; width: 22%; height: 26%;
	background: radial-gradient(120% 120% at 0 0, rgba(4, 8, 14, .96) 0 32%, rgba(4, 8, 14, 0) 72%);
	opacity: 0; transition: opacity .8s var(--ease);
	pointer-events: none;
}
.hero--video.is-intro .hero__media::before { opacity: 1; }

.hero--video .hero__inner {
	display: grid;
	/* Fascia libera per il logo, che il filmato rende alto il 34,3% del
	   riquadro, cioè 19,3vw: 26vw lascia il margine giusto attorno. */
	grid-template-rows: 1fr min(26vw, 64%) 1fr;
	padding: 32px 24px;
	height: 100%;
}
/* Il logo del filmato è centrato al 52,7% della larghezza, non al 50%: sposto
   i testi di quel tanto per allinearli al logo invece di spostare il video,
   che significherebbe ritagliarlo. */
.hero--video .hero__top { align-self: end; padding-bottom: 18px; transform: translateX(2.7%); }
.hero--video .hero__bottom { align-self: start; padding-top: 22px; transform: translateX(2.7%); }

.hero--video .hero__title { max-width: none; margin-inline: auto; }
.hero--video .hero__eyebrow {
	color: #7fd0ff; margin-bottom: 14px;
	/* Nei fotogrammi centrali dell'animazione lo sfondo si schiarisce:
	   l'ombra tiene leggibile l'occhiello anche lì. */
	text-shadow: 0 1px 14px rgba(0, 12, 26, .9), 0 0 3px rgba(0, 12, 26, .7);
}
.hero--video .hero__actions { justify-content: center; margin-top: 0; }
.hero--video .hero__rating { margin-top: 20px; }

@media (max-width: 860px) {
	/* Su telefono in un riquadro 16:9 il testo non ci sta: il filmato diventa
	   una fascia in cima e i contenuti scendono sotto, sullo stesso blu. */
	.hero--video { display: block; height: auto; min-height: 0; }
	.hero--video .hero__media { position: relative; aspect-ratio: 16 / 9; }
	.hero--video .hero__media::after { display: none; }
	.hero--video .hero__inner { display: block; height: auto; padding: 28px 20px 40px; }
	.hero--video .hero__stage { display: none; }
	.hero--video .hero__top { padding-bottom: 0; transform: none; }
	.hero--video .hero__bottom { padding-top: 22px; transform: none; }
	.hero--video .hero__actions { flex-direction: column; align-items: stretch; }
	.hero--video .hero__actions .btn { justify-content: center; }
}

/* ---------- Intro su immagine ---------- */
.intro { position: relative; overflow: hidden; }
.intro__media { position: absolute; inset: 0; }
.intro__media picture, .intro__img { width: 100%; height: 100%; object-fit: cover; }
.intro__media::after {
	content: ""; position: absolute; inset: 0;
	/* Il sito originale usava rgba(167,167,176,.65): mantenuta la stessa
	   dominante grigia, scurita quanto basta per il contrasto del testo. */
	background: linear-gradient(rgba(72, 75, 84, .74), rgba(72, 75, 84, .74));
}
.intro__inner { position: relative; max-width: 900px; padding-block: clamp(72px, 10vw, 128px); text-align: center; }
.intro__title { margin: 0; font-size: clamp(26px, 3.6vw, 40px); color: #fff; text-shadow: 0 2px 20px rgba(18, 19, 21, .35); }
.intro__text { margin: 20px auto 0; max-width: 62ch; color: #fff; font-size: clamp(16px, 1.6vw, 18px); text-shadow: 0 1px 12px rgba(18, 19, 21, .35); }

/* ---------- Servizi ---------- */
.services { padding-block: clamp(64px, 8vw, 104px); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }

.service-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
	overflow: hidden;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.service-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.service-card__media picture, .service-card__img { width: 100%; height: 100%; object-fit: cover; }
.service-card__img { transition: transform .5s var(--ease); }
.service-card:hover .service-card__img { transform: scale(1.05); }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 24px 28px; }
.service-card__title { margin: 0 0 10px; font-size: 20px; }
.service-card__text { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.service-card__more {
	display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
	color: var(--blue); font-weight: 600; font-size: 14.5px;
}
.service-card:hover .service-card__more .icon { transform: translateX(4px); }
.service-card__more .icon { transition: transform .22s var(--ease); }

@media (max-width: 1080px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services__grid { grid-template-columns: 1fr; } }

/* ---------- Chi siamo ---------- */
.about { padding-block: clamp(64px, 8vw, 104px); background: var(--bg-soft); }
.about__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }

.about__media { position: relative; }
.about__media picture, .about__img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
	border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
/* Il badge sta nel riquadro di vetro libero, in alto al centro della vetrata,
   sopra il medaglione con i palazzi: letto così sembra il logo inciso sul
   vetro. Trasparente e sfocato, non un rettangolo appoggiato sopra. */
.about__badge {
	position: absolute; top: 9%; left: 50%; transform: translateX(-50%);
	display: grid; gap: 4px; padding: 13px 28px;
	text-align: center; white-space: nowrap;
	/* Lastra smerigliata con lettere scure: la resa è quella di un logo
	   sabbiato sul vetro, non di un riquadro appoggiato sopra. */
	color: #16233a;
	background: rgba(255, 255, 255, .52);
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: 8px;
	backdrop-filter: blur(5px) saturate(1.15);
	box-shadow: 0 4px 18px rgba(10, 20, 35, .18), inset 0 1px 0 rgba(255, 255, 255, .85);
}
.about__badge strong {
	font-size: clamp(19px, 2.4vw, 26px); font-weight: 800; letter-spacing: .16em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}
.about__badge span {
	font-size: clamp(9px, 1.05vw, 11px); letter-spacing: .2em; text-transform: uppercase;
	color: rgba(22, 35, 58, .78); text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

.about__title { margin: 0 0 18px; font-size: clamp(30px, 4vw, 46px); }
.about__lead { color: var(--ink); font-size: 20px; font-weight: 600; }
.about__body p { color: var(--ink-soft); }
.about__claim {
	margin: 24px 0; padding: 20px 24px;
	background: #fff; border-left: 4px solid var(--beige); border-radius: 0 var(--radius) var(--radius) 0;
	color: var(--ink); font-size: 17px;
}
.about__claim strong { color: var(--blue); text-transform: uppercase; letter-spacing: .01em; }
.about__actions { margin-top: 28px; }

@media (max-width: 900px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__media { max-width: 480px; }
}

/* ---------- Galleria ---------- */
.gallery { padding-block: clamp(64px, 8vw, 104px); }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.gallery__item { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.gallery__item picture, .gallery__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery__img { transition: transform .6s var(--ease); }
.gallery__item:hover .gallery__img { transform: scale(1.04); }
.gallery__grid--few { grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; }
.gallery__social { margin: 32px 0 0; color: var(--muted); font-size: 15px; }
.gallery__social a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }

@media (max-width: 860px) {
	.section-head--split { flex-direction: column; align-items: flex-start; }
	.gallery__grid:not(.gallery__grid--few) { grid-template-columns: repeat(2, 1fr); }
	.gallery__grid:not(.gallery__grid--few) .gallery__item:last-child { grid-column: span 2; }
}
@media (max-width: 560px) {
	.gallery__grid:not(.gallery__grid--few) { grid-template-columns: 1fr; }
	.gallery__grid:not(.gallery__grid--few) .gallery__item:last-child { grid-column: auto; }
}

/* ---------- Mappa ---------- */
.map { padding-block: 0 clamp(64px, 8vw, 104px); }
.map__frame { width: 100%; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--bg-soft); aspect-ratio: 16 / 7; min-height: 320px; }
.map__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.map__actions { display: flex; justify-content: center; margin: 28px 0 0; }
.map .section-head { margin-inline: auto; }

/* ---------- Pagina Lavori ---------- */
.works { padding-block: clamp(24px, 3vw, 36px) clamp(64px, 8vw, 104px); }
.works-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.works-filter__btn {
	padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line);
	background: #fff; color: var(--ink-soft); font: inherit; font-weight: 600; font-size: 14.5px;
	cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.works-filter__btn:hover { border-color: var(--blue); color: var(--blue); }
.works-filter__btn.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.works-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.work-item {
	position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft);
	flex: 0 1 calc((100% - 2 * var(--gap)) / 3);
}
.work-item picture, .work-item__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work-item__img { transition: transform .6s var(--ease); }
.work-item:hover .work-item__img { transform: scale(1.04); }
.work-item__tag {
	position: absolute; left: 14px; bottom: 14px; padding: 6px 14px; border-radius: 999px;
	background: rgba(18, 19, 21, .68); color: #fff; font-size: 13px; font-weight: 600;
	backdrop-filter: blur(3px);
}
.works-empty { color: var(--muted); font-size: 16px; }

.work-lightbox-trigger {
	display: block; width: 100%; padding: 0; margin: 0; border: 0; background: none;
	font: inherit; text-align: left; cursor: pointer;
}
.work-lightbox-trigger:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; border-radius: var(--radius-lg); }

.media-video-badge {
	position: absolute; top: 14px; right: 14px; z-index: 1;
	width: 34px; height: 34px; border-radius: 50%;
	background: rgba(18, 19, 21, .58); backdrop-filter: blur(3px);
	display: flex; align-items: center; justify-content: center;
	pointer-events: none;
}
.media-video-badge::before {
	content: ""; width: 0; height: 0; margin-left: 2px;
	border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent #fff;
}

@media (max-width: 860px) {
	.work-item { flex-basis: calc((100% - var(--gap)) / 2); }
}
@media (max-width: 560px) {
	.work-item { flex-basis: 100%; }
}

/* ---------- Recensioni ----------
   Impaginazione a due blocchi: a sinistra il giudizio complessivo, a destra
   le schede delle singole recensioni.
   --------------------------------------------------------------- */
.reviews { padding-block: clamp(64px, 8vw, 104px); background: var(--beige-soft); }

.rw { display: grid; grid-template-columns: 230px 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }

.rw__summary { text-align: center; }
.rw__verdict {
	margin: 0 0 8px;
	font-size: clamp(24px, 2.6vw, 30px); font-weight: 800;
	letter-spacing: -.01em; text-transform: uppercase;
}
.rw__summary .stars { font-size: 0; }
.rw__summary .star { width: 30px; height: 30px; }
.rw__count { margin: 10px 0 14px; color: var(--ink-soft); font-size: 14.5px; }
.rw__count strong { font-weight: 700; }
.rw__brand { display: inline-flex; }
.rw__brand:hover { opacity: .8; }

.rw__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }

.rw-card {
	display: flex; flex-direction: column; gap: 12px;
	padding: 22px 24px 24px;
	background: #fff; border-radius: var(--radius);
	box-shadow: 0 2px 10px rgba(18, 19, 21, .07);
}

.rw-card__head { display: flex; align-items: center; gap: 12px; }
.rw-card__avatar {
	display: grid; place-items: center; flex: none; width: 42px; height: 42px;
	background: var(--blue); color: #fff; border-radius: 50%;
	font-size: 17px; font-weight: 700;
}
.rw-card__who { display: grid; gap: 1px; min-width: 0; }
.rw-card__who strong { font-size: 15.5px; font-weight: 700; }
.rw-card__who small { color: var(--muted); font-size: 13px; }
.rw-card__source { margin-left: auto; display: inline-flex; flex: none; }

.rw-card__rating { display: flex; align-items: center; gap: 8px; margin: 0; }
.rw-card__rating .star { width: 19px; height: 19px; }
.verified { flex: none; }

.rw-card__body { display: flex; flex-direction: column; gap: 10px; }
.rw-card__text { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }
.rw-card__more {
	align-self: flex-start; padding: 0;
	background: none; border: 0; cursor: pointer;
	color: var(--muted); font: inherit; font-size: 14.5px;
	text-decoration: underline; text-underline-offset: 3px;
}
.rw-card__more:hover { color: var(--blue); }
.rw-card__reply {
	margin: 2px 0 0; padding: 12px 14px;
	background: var(--bg-soft); border-radius: 10px;
	color: var(--muted); font-size: 14px;
}
.rw-card__reply strong { color: var(--ink); }

.rw__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }

@media (max-width: 780px) {
	.rw { grid-template-columns: 1fr; gap: 28px; }
	.rw__track { grid-template-columns: 1fr; }
}

/* ---------- Contatti ---------- */
.contact { padding-block: clamp(64px, 8vw, 104px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__title { margin: 0 0 16px; font-size: clamp(30px, 4vw, 46px); }
.contact__lead { color: var(--muted); font-size: 18px; }

.contact-steps { display: grid; gap: 18px; margin: 32px 0; padding: 22px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.contact-step { display: flex; align-items: flex-start; gap: 14px; }
.contact-step__icon {
	display: flex; align-items: center; justify-content: center; flex: none;
	width: 36px; height: 36px; border-radius: 50%; background: var(--blue-soft); color: var(--blue);
}
.contact-step strong { display: block; font-size: 15.5px; }
.contact-step p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }

.contact-list { display: grid; gap: 14px; margin: 28px 0 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--ink-soft); font-size: 15px; }
.contact-list .icon { flex: none; margin-top: 3px; color: var(--blue); }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--blue); }

.contact-list--big li { align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list--big li:last-child { border-bottom: 0; }
.contact-list--big small { display: block; color: var(--muted); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.contact-list--big a, .contact-list--big span > span { font-size: 17px; font-weight: 600; }

.socials { display: flex; gap: 10px; }
.socials a {
	display: grid; place-items: center; width: 42px; height: 42px;
	border: 1px solid var(--line); border-radius: 50%; color: var(--ink);
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.socials a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.socials--contact { margin-top: 28px; }
.socials--footer a { border-color: rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .9); }
.socials--footer a:hover { background: var(--beige); border-color: var(--beige); color: var(--ink); }

/* Modulo */
.contact__form-wrap {
	position: relative; overflow: hidden;
	padding: clamp(26px, 4vw, 44px);
	background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.contact__form-wrap::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px;
	background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 55%, #a8551f 100%);
}
.contact__form-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-bottom: 22px; }
.contact__form-head h3 { margin: 0; font-size: 22px; }
.contact__form-trust { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.contact__form-trust .stars { font-size: 0; color: var(--blue); }
.contact__form-trust .star { width: 15px; height: 15px; }

.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field select {
	width: 100%; padding: 13px 16px;
	background: #fff; border: 1px solid var(--line); border-radius: 10px;
	color: var(--ink); font: inherit; font-size: 15.5px; cursor: pointer;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61, 99, 153, .15); }

.contact-form__trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 4px 0 0; }
.contact-form__trust li { display: flex; align-items: center; gap: 7px; color: var(--ink-soft); font-size: 13.5px; font-weight: 600; }
.contact-form__trust .icon { color: var(--blue); flex: none; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field--honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field label { color: var(--ink); font-size: 14px; font-weight: 600; }
.field label span { color: var(--blue); }
.field input, .field textarea {
	width: 100%; padding: 13px 16px;
	background: #fff; border: 1px solid var(--line); border-radius: 10px;
	color: var(--ink); font: inherit; font-size: 15.5px;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field textarea:focus {
	outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(61, 99, 153, .15);
}
.field textarea { resize: vertical; min-height: 130px; }
.field__error { margin: 0; color: #c62828; font-size: 13.5px; }
.field__error:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: #c62828; }

.contact-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 6px; }
.contact-form__privacy { margin: 0; flex: 1 1 220px; color: var(--muted); font-size: 13px; }

.form-note { margin: 0; padding: 14px 18px; border-radius: 10px; font-size: 15px; grid-column: 1 / -1; }
.form-note--ok { background: #e6f4ea; color: #1b5e20; }
.form-note--error { background: #fdecea; color: #b3261e; }

@media (max-width: 900px) {
	.contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.contact-form { grid-template-columns: 1fr; }
}

/* ---------- Intestazione pagine interne ---------- */
.page-hero { position: relative; display: grid; align-items: end; min-height: 380px; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media picture, .page-hero__img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(18, 19, 21, .38) 0%, rgba(18, 19, 21, .78) 100%);
}
.page-hero__inner { position: relative; padding: 72px 24px 56px; color: #fff; }
.page-hero__eyebrow { margin: 0 0 10px; color: var(--beige); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.page-hero__title { margin: 0; max-width: 20ch; font-size: clamp(32px, 5vw, 54px); color: #fff; }
.page-hero__text { margin: 16px 0 0; max-width: 62ch; color: rgba(255, 255, 255, .86); font-size: 18px; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: rgba(255, 255, 255, .65); font-size: 14px; }
.breadcrumb a { color: rgba(255, 255, 255, .8); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- Elenco servizi (pagina Servizi) ---------- */
.service-index { padding-block: clamp(64px, 8vw, 104px); display: grid; gap: 0; }
.service-row {
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px);
	align-items: center; padding-block: clamp(36px, 5vw, 56px);
	border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row--flip .service-row__media { order: 2; }
.service-row__media picture, .service-row__img {
	width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
	border-radius: var(--radius-lg); box-shadow: var(--shadow);
}
.service-row__num { margin: 0 0 8px; color: var(--beige); font-size: 44px; font-weight: 800; line-height: 1; }
.service-row__title { margin: 0 0 14px; font-size: clamp(24px, 3vw, 34px); }
.service-row__title a { color: var(--ink); }
.service-row__title a:hover { color: var(--blue); }
.service-row__text { color: var(--muted); font-size: 17px; }
.service-row .btn { margin-top: 12px; }

.tick-list { display: grid; gap: 10px; margin: 20px 0 6px; }
.tick-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-soft); font-size: 15px; }
.tick-list .icon { flex: none; margin-top: 4px; color: var(--blue); }
.tick-list--inline { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 860px) {
	.service-row { grid-template-columns: 1fr; }
	.service-row--flip .service-row__media { order: 0; }
	.tick-list--inline { grid-template-columns: 1fr; }
}

/* ---------- Dettaglio servizio ---------- */
.service-detail { padding-block: clamp(56px, 7vw, 92px); }
.service-detail__grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.service-detail__lead { font-size: 20px; color: var(--ink); }

.feature-list { display: grid; gap: 10px; margin-top: 34px; }
.feature { display: flex; gap: 18px; padding: 22px 24px; background: var(--bg-soft); border-radius: var(--radius); }
.feature__icon {
	display: grid; place-items: center; flex: none; width: 38px; height: 38px;
	background: var(--blue); color: #fff; border-radius: 10px;
}
.feature__title { margin: 0 0 6px; font-size: 18px; }
.feature__text { margin: 0; color: var(--muted); font-size: 15px; }

.service-detail__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.side-card { padding: 28px 26px; background: var(--blue-soft); border-radius: var(--radius-lg); }
.side-card--muted { background: var(--bg-soft); }
.side-card__title { margin: 0 0 12px; font-size: 19px; }
.side-card p { color: var(--muted); font-size: 15px; }
.side-card .btn { margin-top: 20px; width: 100%; justify-content: center; }
.side-card .contact-list { margin-top: 18px; }

.link-list { display: grid; gap: 2px; }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; color: var(--ink-soft); font-size: 15px; }
.link-list a:hover { color: var(--blue); }
.link-list .icon { opacity: .5; }

@media (max-width: 900px) {
	.service-detail__grid { grid-template-columns: 1fr; }
	.service-detail__aside { position: static; }
}

/* ---------- Come lavoriamo / numeri ---------- */
.values { padding-block: clamp(64px, 8vw, 104px); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; }
.step { padding: 30px 26px; background: var(--bg-soft); border-radius: var(--radius-lg); }
.step__num {
	display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px;
	background: var(--blue); color: #fff; border-radius: 50%; font-weight: 700;
}
.step__title { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.facts { padding-bottom: clamp(64px, 8vw, 104px); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.fact { display: grid; gap: 6px; padding: 34px 26px; background: #fff; text-align: center; }
.fact strong { color: var(--blue); font-size: clamp(24px, 3vw, 34px); line-height: 1.1; }
.fact span { color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
	.steps, .facts__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
	.steps, .facts__grid { grid-template-columns: 1fr; }
}

/* ---------- Richiamo finale ----------
   Striscia intera (non una card), con gradiente blu -> terracotta e un
   motivo a vetrata decorativo che richiama gli infissi. */
.cta {
	position: relative;
	overflow: hidden;
	padding-block: clamp(48px, 7vw, 84px);
	background: linear-gradient(115deg, var(--blue) 0%, var(--blue-dark) 52%, #a8551f 100%);
	color: #fff;
}
.cta__pane {
	position: absolute; top: 50%; right: clamp(-40px, 4vw, 40px); z-index: 0;
	width: clamp(220px, 24vw, 340px); height: clamp(220px, 24vw, 340px);
	transform: translateY(-50%) rotate(-8deg);
	color: rgba(255, 255, 255, .14);
	pointer-events: none;
}
.cta__pane svg { width: 100%; height: 100%; }
.cta__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta__body { max-width: 560px; }
.cta__eyebrow {
	margin: 0 0 10px; color: rgba(255, 255, 255, .82);
	font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.cta__title { margin: 0 0 10px; font-size: clamp(24px, 3.2vw, 36px); color: #fff; }
.cta__text { margin: 0; max-width: 52ch; color: rgba(255, 255, 255, .88); }
.cta__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; font-size: 14.5px; color: rgba(255, 255, 255, .92); }
.cta__trust .stars { font-size: 0; color: #fff; }
.cta__trust .star { width: 17px; height: 17px; }
.cta__actions { position: relative; display: flex; flex-wrap: wrap; gap: 14px; flex: none; }

@media (max-width: 700px) {
	.cta__pane { display: none; }
	.cta__inner { flex-direction: column; align-items: flex-start; }
	.cta__actions, .cta__actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Contenuto editoriale ---------- */
.prose-section { padding-block: clamp(56px, 7vw, 92px); }
.prose { max-width: 780px; }
.prose h2 { margin-top: 1.6em; font-size: 30px; }
.prose h3 { margin-top: 1.4em; font-size: 22px; }
.prose img { border-radius: var(--radius); }
.prose ul, .prose ol { margin: 0 0 1em 1.2em; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }

.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--gap); }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.post-card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card__body { padding: 24px; }
.post-card__title { font-size: 20px; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--blue); }

.pagination { display: flex; justify-content: center; margin-top: 48px; }
.pagination .page-numbers { padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; margin: 0 4px; color: var(--ink); }
.pagination .current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Piè di pagina ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .74); }
.site-footer__grid {
	display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: clamp(28px, 4vw, 56px);
	padding-block: clamp(52px, 7vw, 84px);
}
.site-footer__brand img { height: 56px; width: auto; filter: brightness(0) invert(1); }
.site-footer__claim { margin: 20px 0 24px; max-width: 34ch; font-size: 15px; }
.site-footer__title { margin: 0 0 18px; color: #fff; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer a { color: rgba(255, 255, 255, .74); }
.site-footer a:hover { color: #fff; }
.site-footer .contact-list li { color: rgba(255, 255, 255, .74); }
.site-footer .contact-list .icon { color: var(--beige); }
.site-footer .link-list a { padding: 6px 0; color: rgba(255, 255, 255, .74); }

.hours { display: grid; gap: 8px; font-size: 14.5px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; }
.hours li.is-closed { color: rgba(255, 255, 255, .42); }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom-inner {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
	padding-block: 22px; font-size: 13.5px;
}
.site-footer__bottom p { margin: 0; }

@media (max-width: 980px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Pulsante telefono flottante (mobile) ---------- */
.fab {
	position: fixed; right: 18px; bottom: 18px; z-index: 90;
	display: none; place-items: center; width: 54px; height: 54px;
	background: var(--blue); color: #fff; border-radius: 50%;
	box-shadow: var(--shadow-lg);
}
.fab:hover { background: var(--blue-dark); color: #fff; }

@media (max-width: 980px) { .fab { display: grid; } }

/* ---------- Lightbox foto/video dei lavori ---------- */
.lightbox {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: center;
	padding: 56px 88px 88px;
	background: rgba(18, 19, 21, .92);
}
.lightbox[hidden] { display: none; }
.lightbox__stage { max-width: min(1100px, 100%); max-height: 100%; }
.lightbox__stage img, .lightbox__stage video {
	display: block; width: 100%; height: auto; max-height: calc(100vh - 176px);
	border-radius: var(--radius); background: #000; object-fit: contain;
}
.lightbox__close,
.lightbox__nav {
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close {
	position: absolute; top: 16px; right: 16px; z-index: 1; width: 44px; height: 44px;
}
.lightbox__nav {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; width: 48px; height: 48px;
}
.lightbox__nav[hidden] { display: none; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--prev svg { transform: scaleX(-1); }
.lightbox__nav--next { right: 20px; }

.lightbox__bullets {
	position: absolute; left: 0; right: 0; bottom: 24px; z-index: 1;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding-inline: 24px;
}
.lightbox__bullets[hidden] { display: none; }
.lightbox__bullet {
	width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
	background: rgba(255, 255, 255, .4); cursor: pointer; transition: background .2s var(--ease), width .2s var(--ease);
}
.lightbox__bullet:hover { background: rgba(255, 255, 255, .7); }
.lightbox__bullet.is-active { width: 24px; background: #fff; }

body.has-lightbox { overflow: hidden; }

@media (max-width: 560px) {
	.lightbox { padding: 72px 12px 96px; }
	.lightbox__nav { width: 44px; height: 44px; }
	.lightbox__nav--prev { left: 6px; }
	.lightbox__nav--next { right: 6px; }
	.lightbox__stage img, .lightbox__stage video { max-height: calc(100vh - 192px); }
}

/* Telefono: prefisso internazionale (piccolo) + numero (grande) */
.phone-input { display: flex; align-items: flex-end; gap: 5px; min-width: 0; }
.field .phone-input select {
	flex: 0 0 56px; width: 56px; min-width: 0;
	padding: 7px 0 7px 8px; border-radius: 8px;
	font-size: 13px; text-overflow: clip;
}
.field .phone-input input {
	flex: 1 1 auto; min-width: 0; width: 100%;
	padding-left: 12px; padding-right: 10px;
}
