/* =========================================================================
   Progetto Casa Civitavecchia — stili del tema
   Riferimento design: Figma "Hand-off" (desktop 1440, mobile 393).
   ========================================================================= */

/* ---------- Font ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/inter-latin-500-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/dm-serif-display-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Gothic A1"; font-style: normal; font-weight: 300; font-display: swap; src: url(../fonts/gothic-a1-latin-300-normal.woff2) format("woff2"); }

/* ---------- Token (dal Design System "PC/…") ---------- */
:root {
	--c-text: #2E2E2E;          /* PC/Color/Primary */
	--c-text-2: #686868;        /* PC/Color/Secondary Text */
	--c-accent: #89182A;        /* PC/Color/Accent */
	--c-hover: #7C1626;         /* PC/Color/Hover */
	--c-pressed: #641522;       /* PC/Color/Pressed */
	--c-disabled: #B9ADAF;      /* PC/Color/Disabled state */
	--c-line: #C9C9C9;          /* PC/Color/Grigio medio */
	--c-surface: #F3F3F3;       /* PC/Color/Grigio chiaro */
	--c-star: #FEA500;
	--c-error: #B42318;
	--c-error-bg: #FEF3F2;
	--c-success: #40B040;
	--c-success-bg: #ECFDF3;
	--c-white: #FFFFFF;

	--f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--f-serif: "DM Serif Display", Georgia, "Times New Roman", serif;

	--r-8: 8px;
	--r-12: 12px;
	/* Linee sottili 0,5px del design: ombre interne, così non alterano le altezze. */
	--c-hair: #E4E4E4;
	--hair-top: inset 0 1px 0 var(--c-hair);
	--hair-bottom: inset 0 -1px 0 var(--c-hair);
	--hair-both: inset 0 1px 0 var(--c-hair), inset 0 -1px 0 var(--c-hair);

	/* Margini laterali: 16px a 393px → 80px a 1440px (lineare), griglia 12 col / gutter 24. */
	--gutter: clamp(16px, calc(16px + (100vw - 393px) * 0.06113), 80px);
	--container: 1440px;
	--header-h: 86px;
}

/* ---------- Reset essenziale ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	font: 400 16px/24px var(--f-sans);
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	font-feature-settings: "liga" 1, "calt" 1;
	overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }

.visually-hidden, .skip-link:not(:focus) {
	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: 8px; left: 8px; z-index: 1000; background: var(--c-white); padding: 8px 16px; border-radius: var(--r-8); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

body.is-locked { overflow: hidden; }

/* ---------- Tipografia ---------- */
.h-hero { font: 400 40px/48px var(--f-serif); letter-spacing: 0; }
.h-section { font: 400 32px/40px var(--f-serif); letter-spacing: 0; }

/* ---------- Icone ---------- */
.icon { flex: none; }

/* ---------- Bottoni ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 48px; padding: 0 32px;
	border-radius: var(--r-8);
	font: 600 16px/24px var(--f-sans);
	text-align: center; white-space: nowrap;
	transition: background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--c-accent); color: var(--c-surface); }
.btn--primary:hover { background: var(--c-hover); }
.btn--primary:active { background: var(--c-pressed); }
.btn--primary:disabled, .btn--primary[aria-disabled="true"] { background: var(--c-white); color: var(--c-disabled); box-shadow: inset 0 0 0 1.5px var(--c-line); cursor: default; }

/* Secondario: tratto 1,5px esterno (desktop) come nel design. */
.btn--secondary { background: var(--c-white); color: var(--c-accent); box-shadow: 0 0 0 1.5px var(--c-accent); }
.btn--secondary:hover { color: var(--c-hover); box-shadow: 0 0 0 1.5px var(--c-hover); background: #FBF7F8; }
.btn--secondary:active { color: var(--c-pressed); box-shadow: 0 0 0 1.5px var(--c-pressed); }
.btn--secondary:disabled { color: var(--c-disabled); box-shadow: 0 0 0 1.5px var(--c-disabled); background: var(--c-white); cursor: default; }
.btn--sm-inset { box-shadow: inset 0 0 0 1.5px var(--c-accent); }
.btn--sm-inset:hover { box-shadow: inset 0 0 0 1.5px var(--c-hover); }

/* Ghost: testo + freccia, altezza 44. */
.btn--ghost { min-height: 44px; padding: 0; gap: 0; color: var(--c-accent); background: none; }
.btn--ghost .icon { width: 24px; height: 24px; }
.btn--ghost:hover { color: var(--c-hover); }
.btn--ghost:hover span { text-decoration: underline; text-underline-offset: 4px; }
.btn--ghost:active { color: var(--c-pressed); }

/* Link "Vedi dettagli →" (14/20). */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font: 600 14px/20px var(--f-sans); color: var(--c-accent); }
.link-arrow__icon { width: 21px; height: 20px; }
.link-arrow:hover span { text-decoration: underline; text-underline-offset: 4px; }

/* Coppia CTA */
.cta-pair { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.cta-pair__main { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.cta-pair__micro { font: 400 12px/20px var(--f-sans); text-align: center; white-space: nowrap; }
.cta-pair__micro-m { display: none; }

/* Valutazioni compatte */
.rating-inline { display: flex; gap: 8px; font: 400 12px/20px var(--f-sans); }
.rating-inline__item { display: inline-flex; align-items: center; gap: 4px; }
.rating-inline__star { color: var(--c-star); font: 500 14px/20px var(--f-sans); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: var(--c-white);
	box-shadow: var(--hair-bottom);
}
.admin-bar .site-header { top: 32px; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 86px; padding-block: 16px; }

.logo { position: relative; display: block; width: 108px; height: 53px; flex: none; }
.logo__img { width: 108px; height: 44px; }
.logo__city {
	position: absolute; left: 36px; top: 48px; width: 36px;
	font: 300 6px/5px "Gothic A1", var(--f-sans); color: var(--c-accent);
	white-space: nowrap; letter-spacing: 0;
}
.logo--footer { width: 240px; height: 114px; }
.logo--footer .logo__img { width: 240px; height: 98px; }
.logo--footer .logo__city { left: 84px; top: 104px; width: auto; font-size: 12px; line-height: 9px; }

.main-nav__list { display: flex; gap: 24px; }
.main-nav__link { font: 400 16px/24px var(--f-sans); color: var(--c-text); transition: color .15s; }
.main-nav__link:hover, .main-nav__link.is-current { color: var(--c-accent); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; margin-right: -12px; color: var(--c-text); }

/* Menu mobile (overlay) */
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: rgba(46, 46, 46, .4); }
.mobile-menu__bar, .mobile-menu__list { background: var(--c-white); }
.mobile-menu__bar { display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 14px 24px 13px; border-bottom: 1px solid var(--c-line); }
.mobile-menu__close { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-right: -14px; }
.mobile-menu__close .icon { width: 16px; height: 16px; }
.mobile-menu__list { display: flex; flex-direction: column; gap: 8px; padding: 24px 16px; }
.mobile-menu__link { display: flex; align-items: center; height: 48px; padding: 0 16px; border-radius: var(--r-8); font: 600 18px/28px var(--f-sans); }
.mobile-menu__link:hover, .mobile-menu__link.is-current { background: var(--c-surface); color: var(--c-accent); }

/* ---------- Sezioni ---------- */
.section { box-shadow: var(--hair-top); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head__link-m { display: none; }

/* ---------- Hero (split testo + immagine) ---------- */
.hero { padding-block: 48px; }
.hero--split { box-shadow: var(--hair-bottom); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 583fr) minmax(0, 649fr); column-gap: 48px; }
.hero__copy { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 100%; }
.hero__content { display: flex; flex-direction: column; }
.hero__text { margin-top: 24px; max-width: 583px; }
.hero .cta-pair { margin-top: 24px; }
.hero__ratings { position: absolute; left: 0; bottom: 0; }
.hero__img { width: 100%; height: 550px; object-fit: cover; border-radius: var(--r-8); }

.hero--cta .hero__grid { grid-template-columns: minmax(0, 544fr) minmax(0, 688fr); }
.hero--cta .h-hero { line-height: 50px; }
.hero--cta .hero__text { margin-top: 16px; max-width: 531px; }
.hero--cta .hero__img { height: 396px; }

/* ---------- Come lavoriamo (video) ---------- */
.how { padding-block: 48px; box-shadow: none; }
.how__title-m { display: none; }
.how__grid {
	display: grid; margin-top: 24px;
	grid-template-columns: minmax(0, 628fr) minmax(0, 628fr);
	grid-template-rows: 1fr auto auto auto 1fr;
	grid-template-areas: "media ." "media title" "media text" "media link" "media .";
	column-gap: 24px;
}
.how__media { display: contents; }
.how .inline-video { grid-area: media; }
.how__video-title { grid-area: title; font: 600 18px/28px var(--f-sans); }
.how__duration { font: 400 14px/20px var(--f-sans); color: var(--c-text-2); }
.how__text { grid-area: text; margin-top: 16px; max-width: 554px; }
.how__link { grid-area: link; justify-self: start; margin-top: 24px; }
.how__link span { padding-right: 8px; }

.inline-video { position: relative; aspect-ratio: 628 / 330; border-radius: var(--r-8); overflow: hidden; background: var(--c-surface); }
.inline-video__el { width: 100%; height: 100%; object-fit: cover; }
.inline-video__play {
	position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; translate: -50% -50%;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%; background: var(--c-white);
	box-shadow: 0 12.4px 27.9px rgba(0, 0, 0, .22);
	transition: opacity .2s, transform .2s;
}
.inline-video__play .icon { width: 75px; height: 76px; }
.inline-video__play:hover { transform: scale(1.04); }
.inline-video.is-playing .inline-video__play { opacity: 0; pointer-events: none; }
.inline-video__mute { position: absolute; right: 16px; bottom: 16px; color: var(--c-text); width: 30px; height: 20px; display: flex; align-items: center; justify-content: center; }
.inline-video__mute .icon { width: 30px; height: 20px; }
.inline-video__time { display: none; }

/* ---------- Carousel generico ---------- */
.carousel { position: relative; padding-inline: 72px; }
.carousel__viewport {
	display: flex; gap: 24px;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; overscroll-behavior-x: contain;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport:focus-visible { outline-offset: 4px; }
.carousel__slide { flex: none; scroll-snap-align: start; }
.carousel__btn {
	position: absolute; top: 50%; translate: 0 -50%; z-index: 2;
	width: 48px; height: 48px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--c-surface); color: var(--c-accent);
	transition: background-color .15s, opacity .15s;
}
.carousel__btn .icon { width: 48px; height: 48px; }
.carousel__btn:hover:not(:disabled) { background: #E8E8E8; }
.carousel__btn:disabled { cursor: default; color: var(--c-disabled); }
.carousel__btn--prev { left: 0; }
.carousel__btn--next { right: 0; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel__dots span, .carousel__dots button { width: 8px; height: 8px; padding: 0; border-radius: 50%; background: var(--c-line); transition: background-color .2s; }
.carousel__dots button { cursor: pointer; }
.carousel__dots span.is-active, .carousel__dots button.is-active { background: var(--c-accent); }
.carousel.is-static .carousel__btn, .carousel.is-static .carousel__dots { display: none; }

/* ---------- Recensioni ---------- */
.reviews { padding: 48px 0 31px; }
.reviews__title-m { display: none; }
.tabs { display: flex; margin-top: 29px; border-bottom: 1px solid var(--c-line); }
.tabs__tab {
	position: relative; display: flex; align-items: center; gap: 8px;
	height: 51px; padding: 0 24px 3px;
	font: 600 16px/24px var(--f-sans); color: var(--c-text);
}
.tabs__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: transparent; }
.tabs__tab[aria-selected="true"]::after { background: var(--c-accent); }
.tabs__tab[aria-selected="false"] .tabs__score { color: var(--c-text-2); }
.tabs__icon { width: 24px; height: 24px; }

.reviews__summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; margin-top: 24px; }
.reviews__platform { display: flex; align-items: center; gap: 16px; }
.reviews__platform-icon { width: 48px; height: 48px; }
.reviews__platform-name { font: 600 18px/28px var(--f-sans); }
.reviews__platform-rating { display: flex; align-items: center; gap: 12px; }
.reviews__stars { color: var(--c-star); font: 400 18px/24px var(--f-sans); }
.reviews__meta { font: 600 14px/20px var(--f-sans); color: var(--c-text-2); }
.reviews__all { display: inline-flex; align-items: center; min-height: 44px; font: 600 16px/24px var(--f-sans); color: var(--c-accent); }
.reviews__all:hover { text-decoration: underline; text-underline-offset: 4px; }
.reviews__summary-m, .reviews__all-m { display: none; }
.reviews .carousel { margin-top: 24px; }
.carousel--reviews .carousel__slide { width: 411px; }

.review-card {
	display: flex; flex-direction: column; gap: 16px;
	min-height: 276px; padding: 24px;
	background: var(--c-surface); border-radius: var(--r-8);
}
.review-card__head { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
	width: 40px; height: 40px; border-radius: 50%; flex: none;
	display: flex; align-items: center; justify-content: center;
	background: var(--c-accent); color: var(--c-white); font: 600 16px/20px var(--f-sans);
}
.review-card__who { display: flex; flex-direction: column; }
.review-card__name { font: 600 16px/20px var(--f-sans); }
.review-card__platform { font: 400 14px/20px var(--f-sans); color: var(--c-text-2); }
.review-card__stars { color: var(--c-star); font: 400 20px/24px var(--f-sans); }
.review-card__text { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; max-width: 352px; }
.review-card.is-open .review-card__text { -webkit-line-clamp: unset; }
.review-card__more { align-self: flex-start; font: 600 14px/20px var(--f-sans); color: var(--c-accent); }
.review-card__more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Immobili in evidenza / card ---------- */
.featured { padding-block: 48px; box-shadow: none; }
.featured .carousel { margin-top: 24px; }
.carousel--cards .carousel__slide { width: calc((100% - 48px) / 3); display: flex; }

.property-card {
	position: relative; display: flex; flex-direction: column; width: 100%;
	padding: 16px; background: var(--c-white);
	border: 1px solid var(--c-line); border-radius: var(--r-8);
}
.property-card__media { position: relative; aspect-ratio: 328.7 / 188; border-radius: var(--r-8); overflow: hidden; background: var(--c-surface); }
.property-card__slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.property-card__slides::-webkit-scrollbar { display: none; }
.property-card__slide { flex: 0 0 100%; scroll-snap-align: start; }
.property-card__slide img { width: 100%; height: 100%; object-fit: cover; }
.property-card__dots { position: absolute; left: 50%; bottom: 3px; translate: -50% 0; display: flex; align-items: center; gap: 0; z-index: 2; }
.property-card__dots span { box-sizing: content-box; width: 6px; height: 6px; padding: 6px 3.5px; border-radius: 50%; background: var(--c-surface) content-box; opacity: .7; cursor: pointer; }
.property-card__dots span.is-active { width: 8px; height: 8px; opacity: 1; }
.property-card__body { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.property-card__zone { font: 400 14px/20px var(--f-sans); }
.property-card__title { font: 600 18px/28px var(--f-sans); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.property-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.property-card__price { font: 600 16px/24px var(--f-sans); }
.property-card .link-arrow { position: relative; z-index: 1; align-self: flex-start; margin-top: auto; padding-top: 30px; }
.property-card__media { z-index: 1; }

.features { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.features__item { display: inline-flex; align-items: center; gap: 8px; padding-inline: 1px; font: 400 14px/20px var(--f-sans); }
.features__item .icon { width: 18px; height: 18px; }

/* ---------- Chi siamo (anteprima) ---------- */
.about { padding: 36px 0 32px; box-shadow: var(--hair-both); }
.about__grid { display: grid; grid-template-columns: minmax(0, 624fr) minmax(0, 632fr); column-gap: 24px; align-items: center; }
.about__images { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about__img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-8); }
.about__text { margin-top: 16px; max-width: 414px; font: 400 18px/23px var(--f-sans); }
.about .btn--ghost { margin-top: 24px; }
.about .btn--ghost span { padding-right: 0; }

/* ---------- Shorts ---------- */
.shorts { padding: 48px 0; box-shadow: none; }
.shorts__grid { display: grid; grid-template-columns: minmax(0, 572fr) minmax(0, 660fr); column-gap: 48px; align-items: start; }
.shorts__copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 400px; }
.shorts__label-m, .shorts__text-m { display: none; }
.shorts__title { max-width: 520px; }
.shorts__text { margin-top: 16px; }
.shorts__link { margin-top: 24px; }
.carousel--shorts .carousel__viewport { padding-bottom: 0; }
.carousel--shorts .carousel__slide { width: 184px; }
.carousel--shorts .carousel__btn { top: 200px; }
.carousel--shorts .carousel__dots { margin-top: 19px; }

.short-card { width: 184px; }
.short-card__thumb {
	position: relative; display: block; width: 184px; height: 327px;
	border-radius: 10px; overflow: hidden; background: var(--c-text);
}
.short-card__thumb img, .short-card__thumb video { width: 100%; height: 100%; object-fit: cover; }
.short-card__thumb::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.05) 62%, rgba(0,0,0,.62) 100%);
}
.short-card__play {
	position: absolute; left: 50%; top: 50%; z-index: 1; width: 48px; height: 48px; translate: -50% -50%;
	border-radius: 50%; background: rgba(255,255,255,.96);
	transition: transform .2s;
}
.short-card__play::before {
	content: ""; position: absolute; left: 21px; top: 19px;
	border-left: 8px solid var(--c-accent); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.short-card__thumb:hover .short-card__play { transform: scale(1.06); }
.short-card__duration {
	display: none; position: absolute; right: 10px; bottom: 10px; z-index: 1;
	padding: 4px 7px; border-radius: 5px; background: rgba(46,46,46,.75);
	font: 500 11px/14px var(--f-sans); color: var(--c-white);
}
.short-card__title { margin-top: 8px; font: 600 14px/20px var(--f-sans); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.short-card__meta { display: none; margin-top: 8px; font: 500 12px/20px var(--f-sans); color: var(--c-text-2); }

/* ---------- Newsletter ---------- */
.newsletter { padding: 48px 0; }
.hero--cta + .newsletter { box-shadow: var(--hair-top); }
.newsletter__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.newsletter__title { line-height: 40px; }
.newsletter__text { margin-top: 16px; font: 400 18px/23px var(--f-sans); }
.newsletter__row { display: flex; gap: 16px; }
.input {
	width: 100%; height: 48px; padding: 12px 14px;
	background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-8);
	font: 400 16px/24px var(--f-sans); color: var(--c-text);
	transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--c-text-2); opacity: 1; }
.input:hover { border-color: #A8A8A8; }
.input:focus { outline: none; border-color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-text); }
.input[aria-invalid="true"] { border-color: var(--c-error); box-shadow: inset 0 0 0 1px var(--c-error); }
.newsletter__input { flex: 1 1 auto; min-width: 0; }
.newsletter__btn { flex: 0 0 150px; padding: 0 16px; }

.check { display: inline-flex; align-items: center; gap: 6px; font: 500 12px/15px var(--f-sans); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 12px; height: 12px; border: 1px solid var(--c-text); border-radius: 2px; flex: none; position: relative; }
.check input:checked + .check__box { background: var(--c-accent); border-color: var(--c-accent); }
.check input:checked + .check__box::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 7px; border: solid var(--c-white); border-width: 0 1.5px 1.5px 0; rotate: 45deg; }
.check input:focus-visible + .check__box { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.check a { text-underline-offset: 2px; }
.check a:hover { text-decoration: underline; }
.check.is-invalid { color: var(--c-error); }
.check.is-invalid .check__box { border-color: var(--c-error); }
.newsletter__privacy { display: flex; margin-top: 16px; }

.field-error { display: flex; align-items: center; gap: 8px; margin-top: 8px; font: 400 14px/20px var(--f-sans); color: var(--c-error); }
.field-error__icon { width: 16px; height: 16px; color: var(--c-error); }
.field-error--small { margin-top: 0; font: 400 12px/16px var(--f-sans); }
.newsletter__ok { margin-top: 16px; padding: 12px 16px; border-radius: var(--r-8); background: var(--c-success-bg); color: #1F6B1F; font: 500 14px/20px var(--f-sans); }

/* ---------- Footer ---------- */
.site-footer { box-shadow: var(--hair-top); padding: 44px 0 48px; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 348fr) minmax(0, 361fr) minmax(0, 331fr) minmax(0, 240fr); align-items: start; }
.site-footer__name { display: none; }
.site-footer__ratings { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.site-footer__ratings li { display: flex; align-items: center; gap: 4px; font: 400 14px/20px var(--f-sans); white-space: nowrap; }
.site-footer__ratings .rating-inline__star { font: 500 16px/24px var(--f-sans); }
.site-footer__ratings .dot { margin-inline: 4px; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-text); flex: none; }
.site-footer__col { padding-top: 24px; }
.site-footer__address { padding-left: 8px; }
.site-footer__title { font: 600 16px/24px var(--f-sans); color: var(--c-accent); }
.contact-list { display: flex; flex-direction: column; gap: 20px; margin-top: 24px; }
.contact-list > li { display: flex; line-height: 20px; }
.contact-list__row { display: flex; gap: 24px; flex-wrap: wrap; }
.contact-list__social { gap: 16px; }
.contact-link { display: inline-flex; align-items: center; gap: 8px; font: 400 14px/20px var(--f-sans); }
.contact-link .icon { width: 16px; height: 16px; }
.contact-list__social .icon { width: 20px; height: 20px; }
.contact-link:hover span { text-decoration: underline; text-underline-offset: 3px; }
.contact-hours { display: flex; align-items: flex-start; gap: 8px; font: 400 14px/24px var(--f-sans); }
.contact-hours .icon { width: 18px; height: 18px; margin-top: 3px; }
.contact-hours span { line-height: 38px; margin-top: -7px; }
.site-footer__map { display: block; width: 100%; max-width: 240px; justify-self: end; border-radius: var(--r-8); overflow: hidden; }
.site-footer__map img { width: 100%; height: 166px; object-fit: cover; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--c-line); font: 400 14px/20px var(--f-sans); }
.site-footer__legal { display: flex; align-items: center; gap: 8px; }
.site-footer__legal li + li::before { content: ""; display: inline-block; width: 4px; height: 4px; margin-right: 8px; border-radius: 50%; background: var(--c-text); vertical-align: middle; }
.site-footer__legal a:hover { color: var(--c-accent); }

/* ---------- Player video (overlay) — Figma "Carousel / Shorts Video thumbnail" ---------- */
.video-modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--c-text); overflow: hidden; }
.video-modal::backdrop { background: rgba(46, 46, 46, .8); }
.video-modal__inner { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 80px 16px 24px; }
.video-modal__stage { display: flex; align-items: center; gap: 24px; }
.video-modal .carousel__btn { position: static; translate: none; flex: none; }
.video-modal.is-single .carousel__btn, .video-modal.is-single .video-modal__dots { visibility: hidden; }
/* card: copertina 275×489 (r 10) + titolo 14/20 semibold */
.video-card { --w: min(275px, calc((100dvh - 260px) * 275 / 489), calc(100vw - 176px)); position: relative; width: var(--w); margin: 0; border-radius: 10px; background: var(--c-white); }
.video-card.is-wide { --w: min(880px, calc((100dvh - 260px) * 16 / 9), calc(100vw - 176px)); }
.video-card__media { position: relative; aspect-ratio: 275 / 489; border-radius: 10px; overflow: hidden; background: #000; }
.video-card.is-wide .video-card__media { aspect-ratio: 16 / 9; }
.video-card__cover { position: absolute; inset: 0; display: block; width: 100%; height: 100%; padding: 0; cursor: pointer; }
.video-card__cover[hidden] { display: none; }
.video-card__img { width: 100%; height: 100%; object-fit: cover; }
.video-card__cover:hover .short-card__play { transform: scale(1.06); }
.video-card__badge { position: absolute; left: 8px; top: 8px; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 8px; border-radius: 6px; background: rgba(255, 255, 255, .94); font: 600 12px/20px var(--f-sans); color: var(--c-text); }
.video-card__badge-ico { width: 13px; height: 18px; color: #F40407; }
.video-card.is-wide .video-card__badge { display: none; }
.video-card__time { position: absolute; right: 8px; bottom: 8px; padding: 4px 7px; border-radius: 5px; background: rgba(46, 46, 46, .75); font: 500 11px/14px var(--f-sans); color: var(--c-white); }
.video-card__time[hidden] { display: none; }
.video-card__player { position: absolute; inset: 0; }
.video-card__player[hidden] { display: none; }
.video-card__player iframe, .video-card__player video, .video-card__player > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.video-card__title { padding: 16px 16px 24px; min-height: 100px; font: 600 14px/20px var(--f-sans); color: var(--c-text); }
.video-card.is-wide .video-card__title { min-height: 0; }
.video-modal__close { position: absolute; top: -64px; right: -72px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; color: var(--c-white); border-radius: 50%; }
.video-modal__close .icon { width: 32px; height: 32px; }
.video-modal__close:hover { background: rgba(255, 255, 255, .12); }
.video-modal__end { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(46, 46, 46, .6); }
.video-modal__end[hidden] { display: none; }
.video-modal__dots { display: flex; justify-content: center; min-height: 12px; overflow: hidden; }
.video-modal__dots.is-many { width: 144px; justify-content: flex-start; }
.video-modal__dots[hidden] { display: none; }
.video-modal__dots-track { display: flex; align-items: center; flex: none; transition: transform .25s ease; }
.video-modal__dots button { flex: none; width: 16px; height: 16px; padding: 0; border-radius: 50%; background: none; position: relative; }
.video-modal__dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; translate: -50% -50%; border-radius: 50%; background: var(--c-surface); transition: width .2s, height .2s, background-color .2s; }
.video-modal__dots button.is-active::before { width: 12px; height: 12px; background: var(--c-accent); }
[data-yt-inline] { cursor: pointer; }
.yt-thumb--wide { aspect-ratio: 16 / 9; width: 100%; padding: 0; cursor: pointer; }
.yt-thumb--wide .yt-thumb__time { display: block; }
@media (max-width: 1023px) {
	.video-modal__inner { padding: 64px 16px 16px; gap: 34px; }
	.video-modal__stage { gap: 8px; }
	/* Figma mobile ("Carousel / Shorts / Mobile"): niente frecce, swipe + pallini; card 265×471 */
	.video-modal .carousel__btn { display: none; }
	.video-card { --w: min(265px, calc((100dvh - 250px) * 265 / 471), calc(100vw - 128px)); }
	.video-card.is-wide { --w: calc(100vw - 32px); }
	.video-card.is-wide .video-modal__close { right: -4px; }
	.video-card__media { border-radius: 8px; }
	.video-modal__close { top: -48px; right: -36px; width: 32px; height: 32px; }
	.video-modal__close .icon { width: 24px; height: 24px; }
	.video-modal__dots button::before { background: var(--c-line); }
}

/* =========================================================================
   Tablet / mobile (layout da 393px; fluido fino a 1023px)
   ========================================================================= */
@media (max-width: 1023px) {
	:root { --header-h: 80px; }
	.h-hero { font-size: 32px; line-height: 40px; }

	.site-header__inner { min-height: 80px; padding: 14px 24px 13px; }
	.main-nav { display: none; }
	.menu-toggle { display: inline-flex; }
	.menu-toggle .icon { width: 20px; height: 10px; }

	.section, .hero, .how, .featured, .about, .shorts, .reviews, .newsletter { padding: 24px 0; }
	.section, .how, .featured, .shorts, .about { box-shadow: var(--hair-top); }

	/* Hero */
	.hero__grid, .hero--cta .hero__grid { grid-template-columns: 1fr; }
	.hero__copy { min-height: 0; }
	.hero__text, .hero--cta .hero__text { margin-top: 16px; max-width: none; }
	.hero .cta-pair { margin-top: 16px; }
	.hero__ratings { position: static; justify-content: center; gap: 16px; margin-top: 8px; line-height: 16px; }
	.hero__ratings .rating-inline__item { gap: 8px; }
	.hero__ratings .rating-inline__star { line-height: 16px; }
	.hero__img { height: auto; aspect-ratio: 361 / 238; margin-top: 24px; }
	.hero--cta .h-hero { line-height: 40px; }
	.hero--cta .hero__img { display: none; }
	.hero--cta .hero__text { margin-top: 16px; }
	.hero--cta .cta-pair { margin-top: 24px; }

	.cta-pair { flex-direction: column; align-items: stretch; gap: 12px; }
	.cta-pair__main { align-items: stretch; }
	.cta-pair .btn { width: 100%; }
	.cta-pair__micro-d { display: none; }
	.cta-pair__micro-m { display: inline; }
	.btn--secondary { box-shadow: inset 0 0 0 1.5px var(--c-accent); }
	.btn--secondary:hover { box-shadow: inset 0 0 0 1.5px var(--c-hover); }
	.btn--ghost { width: 100%; }
	.btn--ghost > span { padding-inline: 8px; }

	/* Video "Vendi con noi" */
	.how__title-d { display: none; }
	.how__title-m { display: inline; }
	.how__grid { display: flex; flex-direction: column; margin-top: 16px; }
	.how__video-title { order: 1; }
	.how__duration { display: none; }
	.how__media { order: 2; display: block; margin-top: 16px; border-radius: var(--r-8); box-shadow: 0 0 0 1px var(--c-line); overflow: hidden; }
	.how .inline-video { border-radius: var(--r-8) var(--r-8) 0 0; aspect-ratio: 361 / 202; }
	.inline-video__play { width: 48px; height: 48px; box-shadow: 0 8px 18px rgba(0,0,0,.22); }
	.inline-video__play .icon { width: 48px; height: 49px; }
	.inline-video__mute { display: none; }
	.inline-video__time { display: block; position: absolute; right: 8px; bottom: 16px; padding: 1px 3px; border-radius: 4px; background: var(--c-text); color: var(--c-white); font: 500 8px/16px var(--f-sans); }
	.how__text { margin: 0; padding: 16px; max-width: none; }
	.how__link { order: 3; margin-top: 24px; }

	/* Recensioni */
	.reviews__title-d { display: none; }
	.reviews__title-m { display: inline; }
	.reviews__title { font-size: 24px; line-height: 32px; }
	.tabs { margin-top: 16px; }
	.tabs__tab { flex: 1 1 0; padding-inline: 24px 0; }
	.reviews__summary { min-height: 0; margin-top: 16px; }
	.reviews__platform, .reviews__all { display: none; }
	.reviews__summary-m { display: flex; align-items: center; gap: 4px; font: 400 16px/24px var(--f-sans); }
	.reviews__summary-m .rating-inline__star { font: 500 20px/24px var(--f-sans); }
	.reviews__count-m { margin-left: 4px; font: 500 12px/20px var(--f-sans); color: var(--c-text-2); opacity: .65; }
	.reviews .carousel { margin-top: 16px; }
	.reviews__all-m { display: inline-flex; margin-top: 24px; font-weight: 500; line-height: 22px; }

	.carousel { padding-inline: 0; }
	.carousel__btn { display: none; }
	.carousel__viewport { gap: 16px; }
	.carousel--reviews .carousel__slide { width: 100%; }
	.review-card { min-height: 188px; gap: 0; padding: 13px 16px 16px; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); }
	.review-card__head { gap: 4px; }
	.review-card__avatar { width: 24px; height: 24px; font: 500 13px/18px var(--f-sans); }
	.review-card__who { flex-direction: row; font: 600 14px/20px var(--f-sans); }
	.review-card__name { font: inherit; }
	.review-card__platform { font: inherit; color: inherit; }
	.review-card__platform::before { content: " · "; white-space: pre; }
	.review-card__stars { margin-top: 7px; font: 400 16px/24px var(--f-sans); letter-spacing: -0.2em; }
	.review-card__text { margin-top: 8px; -webkit-line-clamp: 4; max-width: none; }
	.review-card { position: relative; }
	.review-card__more { position: absolute; right: 16px; bottom: 16px; padding-left: 4px; background: var(--c-white); font: 400 16px/24px var(--f-sans); }
	.review-card__more::before { content: "… "; color: var(--c-text); }
	.review-card.is-open .review-card__more { position: static; align-self: flex-start; margin-top: 4px; }
	.review-card.is-open .review-card__more::before { content: none; }

	/* Immobili in evidenza */
	.section-head__link { display: none; }
	.section-head__link-m { display: inline-flex; margin-top: 24px; }
	.featured .carousel { margin-top: 24px; }
	.carousel--cards .carousel__slide { width: 100%; }
	.featured .property-card { padding: 24px; }
	.featured .property-card .link-arrow { padding: 64px 0 12px; }

	/* Chi siamo */
	.about__grid { display: flex; flex-direction: column; align-items: stretch; }
	.about__copy { display: contents; }
	.about__copy .h-section { order: 1; }
	.about__images { order: 2; display: block; margin-top: 16px; }
	.about__img--1 { display: none; }
	.about__img--2 { aspect-ratio: 361 / 280; border-radius: 0; }
	.about__text { order: 3; margin-top: 16px; max-width: none; font: 400 16px/24px var(--f-sans); }
	.about .btn--ghost { order: 4; margin-top: 16px; }

	/* Shorts */
	.shorts__grid { display: flex; flex-direction: column; }
	.shorts__copy { display: contents; }
	.shorts__label-m { display: block; order: 1; }
	.shorts__title { display: none; }
	.shorts__text { order: 2; }
	.shorts__text-d { display: none; }
	.shorts__text-m { display: inline; }
	.carousel--shorts { order: 3; align-self: stretch; min-width: 0; margin: 16px calc(var(--gutter) * -1) 0; padding-inline: var(--gutter); }
	.carousel--shorts .carousel__viewport { gap: 16px; scroll-padding-inline: var(--gutter); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.carousel--shorts .carousel__dots { display: none; }
	.shorts__link { order: 4; margin-top: 16px; }
	.short-card__duration, .short-card__meta { display: block; }
	.short-card__title { -webkit-line-clamp: 2; }
	.short-card__thumb { border-radius: var(--r-8); }

	/* Newsletter */
	.newsletter__grid { grid-template-columns: 1fr; gap: 24px; }
	.newsletter__text { font: 400 16px/24px var(--f-sans); }
	.newsletter__row { flex-direction: column; }
	.newsletter__btn { flex-basis: 48px; width: 100%; }
	.newsletter__privacy { font: 500 12px/20px var(--f-sans); }

	/* Footer */
	.site-footer { padding: 24px 0; }
	.site-footer .container { padding-inline: 24px; }
	.site-footer__grid { display: flex; flex-direction: column; }
	.site-footer .logo--footer { width: 108px; height: 53px; }
	.site-footer .logo--footer .logo__img { width: 108px; height: 44px; }
	.site-footer .logo--footer .logo__city { left: 36px; top: 48px; font-size: 6px; line-height: 5px; }
	.site-footer__name { display: block; margin-top: 8px; font: 600 14px/20px var(--f-sans); }
	.site-footer__ratings { flex-direction: row; gap: 16px; margin-top: 16px; }
	.site-footer__ratings .dot, .site-footer__ratings span:last-child { display: none; }
	.site-footer__col { padding-top: 0; }
	.site-footer__title { display: none; }
	.site-footer__contacts { order: 3; }
	.site-footer__address { order: 2; padding-left: 0; margin-top: 16px; }
	.site-footer__address .contact-hours { display: none; }
	.contact-list { margin-top: 0; gap: 16px; }
	.site-footer__contacts .contact-list { margin-top: 16px; }
	.site-footer__contacts .contact-list > li:nth-child(2) { display: none; }
	.site-footer .contact-list__social span { display: none; }
	.site-footer__map { display: none; }
	.site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; gap: 16px; margin-top: 16px; padding-top: 0; border-top: 0; font: 400 12px/16px var(--f-sans); }
	.site-footer__legal { gap: 16px; }
	.site-footer__legal li + li::before { margin-right: 16px; }
}

@media (max-width: 1023px) and (min-width: 600px) {
	.carousel--reviews .carousel__slide, .carousel--cards .carousel__slide { width: calc((100% - 16px) / 2); }
}

@media (min-resolution: 2dppx) {
	:root { --c-hair: var(--c-line); --hair-top: inset 0 .5px 0 var(--c-line); --hair-bottom: inset 0 -.5px 0 var(--c-line); --hair-both: inset 0 .5px 0 var(--c-line), inset 0 -.5px 0 var(--c-line); }
}

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

/* =========================================================================
   Utilità testo desktop / mobile
   ========================================================================= */
.t-m { display: none; }

/* =========================================================================
   Overlay (dialog) generico
   ========================================================================= */
.modal { width: min(800px, calc(100% - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 0; border: 0; border-radius: var(--r-8); background: var(--c-white); color: var(--c-text); box-shadow: 0 4px 4px rgba(46,46,46,.1); overflow: hidden; }
.modal::backdrop { background: rgba(46, 46, 46, .5); }
.modal__box { display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.modal__head { position: relative; flex: none; display: flex; align-items: center; justify-content: center; height: 80px; padding: 0 24px; box-shadow: inset 0 -1px 0 var(--c-line); }
.modal__title { font: 600 18px/28px var(--f-sans); }
.modal__close { position: absolute; right: 24px; top: 24px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--c-text); }
.modal__close .icon { width: 20px; height: 20px; }
.modal__body { flex: 1 1 auto; overflow-y: auto; padding: 44px 48px 24px; }
.modal__foot { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 48px 48px; }

/* Campi */
.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.field__label { display: block; margin-bottom: 16px; padding: 0; font: 600 14px/20px var(--f-sans); color: var(--c-text); }
.field__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field__pair .input { font: 400 14px/20px var(--f-sans); padding-inline: 12px; }
.select { position: relative; }
.select select { appearance: none; width: 100%; height: 48px; padding: 0 44px 0 16px; border: 1px solid var(--c-line); border-radius: var(--r-8); background: var(--c-white); font: 600 14px/20px var(--f-sans); color: var(--c-text); cursor: pointer; }
.select select:focus { outline: none; border-color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-text); }
.select .icon { position: absolute; right: 16px; top: 14px; width: 20px; height: 20px; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 16px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; height: 48px; padding: 0 16px; border-radius: var(--r-8); box-shadow: inset 0 0 0 1px var(--c-line); background: var(--c-white); font: 400 14px/20px var(--f-sans); transition: box-shadow .15s, background-color .15s, color .15s; }
.chip:hover span { box-shadow: inset 0 0 0 1px var(--c-text); }
.chip input:checked + span { background: var(--c-surface); color: var(--c-accent); box-shadow: inset 0 0 0 2px var(--c-accent); }
.chip input:focus-visible + span { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* Filtri */
.filters__body { display: flex; flex-direction: column; gap: 48px; }
.filters__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.filters__clear-m { display: none; }
.filters__reset { padding-inline: 24px; }
.filters__reset span { padding-inline: 8px; }

/* =========================================================================
   Lista immobili
   ========================================================================= */
.list-intro { padding: 48px 0; box-shadow: var(--hair-bottom); }
.list-intro__text { margin-top: 16px; }
.list-body { padding: 24px 0 48px; }
.list-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-right: 8px; }
.list-toolbar__count { font: 600 18px/28px var(--f-sans); }
.list-toolbar__actions { display: flex; gap: 49px; }
.tool-btn { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; border-radius: var(--r-8); background: var(--c-surface); font: 600 16px/24px var(--f-sans); color: var(--c-text); transition: box-shadow .15s, color .15s; }
.tool-btn .icon { width: 20px; height: 20px; }
.tool-btn:hover { box-shadow: inset 0 0 0 1px var(--c-line); }
.tool-btn.is-selected { color: var(--c-accent); box-shadow: inset 0 0 0 2px var(--c-accent); }
.sort { position: relative; }
.sort__menu { position: absolute; right: 0; top: 56px; z-index: 20; width: 230px; border-radius: var(--r-8); background: var(--c-white); box-shadow: 0 4px 4px rgba(46,46,46,.1), 0 0 0 1px rgba(46,46,46,.06); overflow: hidden; }
.sort__opt { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; font: 400 14px/20px var(--f-sans); }
.sort__opt:hover { background: var(--c-surface); }
.sort__opt.is-active { background: var(--c-surface); color: var(--c-accent); }
.sort__opt.is-active span:last-child { font-weight: 600; }

.list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 29px; }
.list-empty { margin-top: 48px; padding: 48px 24px; text-align: center; border-radius: var(--r-8); background: var(--c-surface); }
.list-empty__title { font: 600 18px/28px var(--f-sans); }
.list-empty .btn--ghost { margin-top: 8px; }

.property-card--row {
	display: grid; grid-template-columns: minmax(0, 294fr) minmax(0, 262fr); grid-template-rows: auto 1fr;
	grid-template-areas: "media body" "media link"; column-gap: 24px;
	min-height: 342px; padding: 24px; border: 0; box-shadow: inset 0 0 0 .5px var(--c-line), inset 0 0 0 1px var(--c-hair);
}
.property-card--row .property-card__media { grid-area: media; aspect-ratio: 1; align-self: start; }
.property-card--row .property-card__body { grid-area: body; margin-top: 0; }
.property-card--row .features { row-gap: 16px; }
.property-card--row .link-arrow { grid-area: link; align-self: end; margin-top: 16px; padding: 12px 0; }
.features__item--row-only .icon { width: 20px; height: 18px; }

/* Fascia CTA consulenza */
.cta-band { padding: 48px 0; }
.cta-band__grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.cta-band__title { font: 400 32px/40px var(--f-serif); }
.cta-band__text { margin-top: 17px; }
.cta-band__action { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; }
.cta-band__ratings { justify-content: center; }
.cta-band--detail .cta-band__copy { display: flex; align-items: baseline; gap: 16px; padding-top: 0; }
.cta-band--detail .cta-band__title { font-size: 24px; line-height: 32px; }
.cta-band--detail .cta-band__text { margin-top: 0; }
.cta-band--detail { padding-bottom: 24px; }
.cta-band--detail .btn--secondary { width: 301px; }

/* =========================================================================
   Dettaglio immobile
   ========================================================================= */
.back-link { display: inline-flex; align-items: center; gap: 8px; height: 32px; margin-top: 48px; padding-right: 4px; font: 600 14px/20px var(--f-sans); color: var(--c-text); }
.back-link__icon { width: 18px; height: 18px; }
.back-link:hover span { text-decoration: underline; text-underline-offset: 4px; }

.gallery { position: relative; display: grid; grid-template-columns: minmax(0, 862fr) minmax(0, 410fr); grid-template-rows: 252px 252px; gap: 8px; margin-top: 24px; }
.gallery__main, .gallery__side { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: var(--c-surface); cursor: zoom-in; }
.gallery__main { grid-row: 1 / 3; border-radius: var(--r-8) 0 0 var(--r-8); }
.gallery__side--1 { border-radius: 0 var(--r-8) 0 0; }
.gallery__side--2 { border-radius: 0 0 var(--r-8) 0; }
.gallery:not(:has(.gallery__side--2)) .gallery__side--1 { grid-row: 1 / 3; border-radius: 0 var(--r-8) var(--r-8) 0; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery__main:hover .gallery__img, .gallery__side:hover .gallery__img { transform: scale(1.02); }
.gallery__all { position: absolute; right: 8px; bottom: 8px; background: var(--c-surface); color: var(--c-text); }
.gallery__all:hover { background: #E8E8E8; }
.gallery__strip { display: none; }

.property__layout { display: grid; grid-template-columns: minmax(0, 870fr) minmax(0, 397fr); column-gap: 13px; align-items: start; }
.property__head { padding-top: 24px; }
.property__zone { font: 400 16px/24px var(--f-sans); }
.property__title { margin-top: 16px; font: 400 32px/40px var(--f-serif); }
.property__price { margin-top: 14px; font: 600 24px/32px var(--f-sans); }
.property__h { font: 600 18px/28px var(--f-sans); }
.property__block { margin-top: 24px; }
.property__features { padding: 24px 0; box-shadow: var(--hair-both); }
.det-features { display: grid; grid-template-rows: repeat(2, auto); grid-auto-flow: column; grid-auto-columns: max-content; gap: 24px; margin-top: 24px; }
.det-features__item { display: flex; align-items: center; gap: 8px; font: 400 16px/24px var(--f-sans); }
.det-features__item .icon { width: 24px; height: 24px; }
.property__cta-m { display: none; }
.property__text { margin-top: 16px; max-width: 797px; font: 400 16px/26px var(--f-sans); }
.property__text p + p { margin-top: 13px; }
.property__desc.is-clamped .property__text { max-height: 104px; overflow: hidden; }
.readmore { display: inline-flex; align-items: center; gap: 0; margin-top: 18px; padding: 0 2px 2px; box-shadow: inset 0 -1.5px 0 var(--c-accent); font: 600 14px/20px var(--f-sans); color: var(--c-accent); }
.readmore span { padding: 0 3px; }
.readmore__icon { width: 21px; height: 20px; rotate: 90deg; transition: rotate .2s; }
.readmore[aria-expanded="true"] .readmore__icon { rotate: -90deg; }
.property__desc:not(.is-long) .readmore { display: none; }
.property__map { padding-top: 24px; box-shadow: var(--hair-top); }
.property__map-zone { margin-top: 16px; font: 400 14px/20px var(--f-sans); }
.map-embed { width: min(640px, 100%); aspect-ratio: 640 / 361; margin-top: 24px; border-radius: var(--r-12); overflow: hidden; background: var(--c-surface); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

.property__aside { position: sticky; top: calc(var(--header-h) + 24px); margin-top: 24px; padding: 0 8px 8px; }
.admin-bar .property__aside { top: calc(var(--header-h) + 56px); }
.info-card { display: flex; flex-direction: column; align-items: center; gap: 21px; padding: 48px 24px; border-radius: var(--r-8); background: var(--c-white); box-shadow: 0 0 0 .5px var(--c-line), 0 2px 8.8px rgba(46,46,46,.2); text-align: center; }
.info-card__title { font: 600 18px/28px var(--f-sans); }
.info-card__text { margin-top: -2px; font: 400 14px/20px var(--f-sans); white-space: nowrap; }
@media (max-width: 1279px) { .info-card__text, .info-card .info-steps li { white-space: normal; } .info-card { padding-inline: 16px; } .info-card__btn { padding-inline: 20px; } }
.info-card__text::first-letter { text-transform: uppercase; }
.info-steps { counter-reset: s; display: flex; flex-direction: column; gap: 34px; width: 100%; max-width: 332px; padding: 16px; border-radius: var(--r-8); box-shadow: 0 0 0 .5px var(--c-line); text-align: left; }
.info-steps li { position: relative; display: flex; align-items: center; gap: 8px; font: 400 14px/20px var(--f-sans); white-space: nowrap; }
.info-steps li + li::before { content: ""; position: absolute; left: 14px; top: -34px; width: 2px; height: 34px; background: var(--c-surface); }
.info-steps__ico { width: 30px; height: 30px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: var(--c-surface); color: var(--c-text); }
.info-steps__ico .icon { width: 30px; height: 30px; }
.info-card__btn { padding-inline: 32px; }

.featured--related { margin-top: 48px; box-shadow: var(--hair-top); }

/* Overlay galleria foto */
.photo-modal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: var(--c-text); color: var(--c-white); }
.photo-modal::backdrop { background: transparent; }
.photo-modal__inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: center; gap: 24px; padding: 56px 24px; }
.photo-modal__count { position: absolute; top: 12px; left: 50%; translate: -50% 0; font: 600 18px/28px var(--f-sans); }
.photo-modal__close { position: absolute; top: 8px; right: 16px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; color: var(--c-white); }
.photo-modal__close .icon { width: 20px; height: 20px; }
.photo-modal__track { display: flex; width: min(862px, 100%); aspect-ratio: 862 / 512; max-height: calc(100vh - 112px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-8); }
.photo-modal__track::-webkit-scrollbar { display: none; }
.photo-modal__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: contain; scroll-snap-align: center; }
.photo-modal .carousel__btn { position: static; translate: none; flex: none; }

/* =========================================================================
   Mobile: lista, dettaglio, filtri
   ========================================================================= */
@media (max-width: 1023px) {
	.t-d { display: none; }
	.t-m { display: inline; }

	.list-intro { padding: 22px 0 0; box-shadow: none; }
	.list-intro__text { margin-top: 16px; }
	.list-body { padding: 24px 0; }
	.list-toolbar { flex-wrap: wrap; padding-right: 0; }
	.list-toolbar__count { width: 100%; }
	.list-toolbar__actions { width: 100%; justify-content: space-between; gap: 16px; margin-top: 24px; }
	.sort .tool-btn { font: 600 14px/20px var(--f-sans); padding-inline: 23px; }
	.list-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
	.property-card--row { display: flex; padding: 24px; min-height: 0; box-shadow: none; border: 1px solid var(--c-line); }
	.property-card--row .property-card__media { aspect-ratio: 313 / 178.9; }
	.property-card--row .property-card__body { margin-top: 16px; }
	.property-card--row .features { row-gap: 8px; }
	.features__item--row-only { display: none; }
	.property-card--row .link-arrow { align-self: flex-start; margin-top: 52px; padding: 12px 0; }

	.cta-band { padding: 24px 0; }
	.cta-band__grid { flex-direction: column; align-items: stretch; gap: 24px; }
	.cta-band__title, .cta-band--detail .cta-band__title { font-size: 24px; line-height: 32px; }
	.cta-band__text { margin-top: 16px; }
	.cta-band--detail .cta-band__copy { display: block; }
	.cta-band--detail .cta-band__text { margin-top: 16px; }
	.cta-band__action .btn, .cta-band--detail .btn--secondary { width: 100%; }
	.cta-band__ratings { line-height: 16px; gap: 16px; }

	.back-link { margin-top: 24px; }
	.gallery { display: block; margin-top: 24px; }
	.gallery__main, .gallery__side, .gallery__all { display: none; }
	.gallery__strip { display: block; position: relative; border-radius: var(--r-8); overflow: hidden; }
	.gallery__track { display: flex; aspect-ratio: 361 / 260; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.gallery__track::-webkit-scrollbar { display: none; }
	.gallery__slide { flex: 0 0 100%; scroll-snap-align: start; background: var(--c-surface); }
	.gallery__dots { position: absolute; left: 50%; bottom: 10px; translate: -50% 0; display: flex; gap: 8px; pointer-events: none; }
	.gallery__dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(243,243,243,.7); }
	.gallery__dots span.is-active { background: var(--c-white); }

	.property__layout { display: block; }
	.property__aside { display: none; }
	.cta-band--detail { padding-bottom: 24px; }
	.property__head { padding: 16px 0; }
	.property__title { font-size: 24px; line-height: 32px; }
	.property__price { margin-top: 16px; font: 600 18px/28px var(--f-sans); }
	.property__block { margin-top: 0; }
	.property__features { padding: 0 0 24px; box-shadow: none; }
	.det-features { grid-template-rows: none; grid-auto-flow: row; grid-template-columns: repeat(3, max-content); justify-content: space-between; gap: 22px 16px; }
	.det-features__item { gap: 8px; font: 400 14px/20px var(--f-sans); }
	.det-features__item .icon { width: 18px; height: 18px; }
	.property__cta-m { display: flex; width: 100%; margin-top: 30px; }
	.property__desc { padding: 24px 0; }
	.property__text { font: 400 16px/24px var(--f-sans); }
	.property__desc.is-clamped .property__text { max-height: 192px; }
	.readmore { margin-top: 18px; }
	.property__map { padding: 24px 0; box-shadow: none; display: flex; flex-direction: column; }
	.property__map .map-embed { order: 2; margin-top: 16px; aspect-ratio: 361 / 180; border-radius: var(--r-8); }
	.property__map-zone { order: 3; }
	.property__map .property__cta-m { order: 4; margin-top: 24px; }
	.featured--related { margin-top: 0; box-shadow: var(--hair-both); }
	.featured--related .h-section { font-size: 24px; line-height: 32px; }

	.photo-modal__inner { padding: 56px 0; }
	.photo-modal .carousel__btn { display: none; }
	.photo-modal__track { width: 100%; border-radius: 0; }
	.photo-modal__close { left: 8px; right: auto; }

	.modal--filters { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
	.modal--filters .modal__box { height: 100%; max-height: 100%; }
	.modal--filters .modal__head { justify-content: flex-start; padding-left: 64px; box-shadow: inset 0 -1px 0 var(--c-line); }
	.modal--filters .modal__close { left: 24px; right: auto; }
	.filters__clear-m { display: block; position: absolute; right: 24px; top: 28px; font: 400 16px/24px var(--f-sans); }
	.modal__body { padding: 24px 16px; }
	.filters__body { gap: 16px; }
	.filters__row { grid-template-columns: 1fr; gap: 16px; }
	.field__label { margin-bottom: 8px; color: var(--c-text-2); }
	.select select { font: 400 14px/20px var(--f-sans); }
	.field__pair { gap: 17px; }
	.field__pair .input { font: 400 16px/24px var(--f-sans); }
	.chip span { font: 400 16px/24px var(--f-sans); padding: 0 12px; }
	.modal__foot { padding: 16px; }
	.filters__reset { display: none; }
	.filters__foot .btn--primary { width: 100%; }
}

/* =========================================================================
   Pagine istituzionali: hero, metodo, stampa, intervista, contatti
   ========================================================================= */
.page-hero { padding: 48px 0; box-shadow: var(--hair-bottom); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 572fr) minmax(0, 660fr); column-gap: 48px; align-items: center; }
.page-hero__lead { margin-top: 16px; font: 600 18px/28px var(--f-sans); max-width: 528px; }
.page-hero__text { margin-top: 16px; }
.page-hero__cta { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 24px; }
.page-hero__cta .btn { padding-inline: 32px; }
.page-hero__ratings { justify-content: center; }
.page-hero__img { width: 100%; height: 396px; object-fit: cover; border-radius: var(--r-8); }
.page-hero--chi .page-hero__grid { grid-template-columns: minmax(0, 782fr) minmax(0, 442fr); column-gap: 56px; align-items: start; }
.page-hero--chi .page-hero__img { height: 344px; }
.page-hero__intro { margin-top: 16px; max-width: 699px; }
.page-hero__h2 { margin-top: 24px; font: 400 24px/32px var(--f-serif); }
.page-hero--chi .page-hero__text { margin-top: 16px; }
.page-hero--chi .page-hero__text + .page-hero__text { margin-top: 8px; }

.method { padding: 48px 0; box-shadow: none; }
.method .carousel { margin-top: 24px; }
.method__list { margin: 0; padding: 0; list-style: none; }
.carousel--method .carousel__slide { width: 411px; }
.method-card { display: flex; flex-direction: column; gap: 12px; min-height: 260px; padding: 24px; border-radius: var(--r-8); box-shadow: inset 0 0 0 1px var(--c-line); }
.method-card__n { font: 600 24px/32px var(--f-sans); color: var(--c-accent); }
.method-card__title { font: 600 16px/24px var(--f-sans); }
.method-card__text { font: 400 14px/20px var(--f-sans); }

.press { padding: 48px 0; box-shadow: var(--hair-both); }
.press__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.press .h-section { line-height: 38px; }
.press__sub { margin-top: 24px; font: 600 16px/24px var(--f-sans); }
.press-logos { display: flex; flex-wrap: wrap; gap: 16px; max-width: 452px; margin-top: 24px; }
.press-logos img { width: 140px; height: 40px; object-fit: contain; }
.press-card { align-self: start; margin-top: 10px; min-height: 200px; padding: 24px; border-radius: var(--r-8); box-shadow: inset 0 0 0 1px var(--c-line); }
.press-card__title { font: 600 18px/28px var(--f-sans); }
.press-card__title a:hover { color: var(--c-accent); }
.press-card__text { margin-top: 8px; max-width: 580px; }
.press-card .link-arrow { margin-top: 12px; padding: 12px 0; }

.interview { padding: 48px 0; box-shadow: var(--hair-both); }
.interview__lead-m { display: none; }
.interview__media { display: grid; grid-template-columns: minmax(0, 611fr) minmax(0, 645fr); column-gap: 24px; align-items: center; margin-top: 24px; }
.yt-thumb { position: relative; display: block; aspect-ratio: 611 / 330; border-radius: var(--r-8); overflow: hidden; background: var(--c-text); }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-thumb .inline-video__play { pointer-events: none; }
.yt-thumb:hover .inline-video__play { transform: scale(1.04); }
.yt-thumb__badge { position: absolute; left: 23px; top: 16px; display: flex; align-items: center; gap: 8px; height: 41px; padding: 0 12px 0 8px; border-radius: 9.3px; background: rgba(46,46,46,.75); color: var(--c-white); font: 600 18.6px/24.8px var(--f-sans); }
.yt-thumb__mark { position: relative; width: 36px; height: 23px; border-radius: 4px; background: #FF0033; }
.yt-thumb__mark::after { content: ""; position: absolute; left: 14px; top: 6px; border-left: 9px solid var(--c-white); border-top: 5.5px solid transparent; border-bottom: 5.5px solid transparent; }
.yt-thumb__time { display: none; position: absolute; right: 8px; bottom: 8px; padding: 1px 4px; border-radius: 4px; background: var(--c-text); color: var(--c-white); font: 500 11px/14px var(--f-sans); }
.interview__title { max-width: 363px; font: 600 18px/28px var(--f-sans); }
.interview__text { margin-top: 16px; }
.interview__meta { margin-top: 16px; font: 400 14px/20px var(--f-sans); color: var(--c-text-2); }
.interview__link { margin-top: 22px; }

.blog-strip { padding: 48px 0; }
.blog-strip .carousel { margin-top: 24px; }

.hero--cta-single .cta-single { margin-top: 24px; display: inline-flex; flex-direction: column; align-items: center; gap: 8px; }
.hero--cta-single .cta-single .btn { padding-inline: 32px; }

.contact-hero { padding: 48px 0; box-shadow: var(--hair-bottom); }
.contact-hero__grid { display: grid; grid-template-columns: minmax(0, 548fr) minmax(0, 357fr) minmax(0, 375fr); column-gap: 24px; align-items: center; margin-top: 24px; }
.contact-map { position: relative; border-radius: var(--r-8); overflow: hidden; }
.contact-map__img { width: 100%; aspect-ratio: 548 / 269; object-fit: cover; }
.contact-map__btn { position: absolute; left: 16px; top: 16px; gap: 8px; padding: 0 24px; background: var(--c-surface); color: var(--c-accent); font: 600 16px/20px var(--f-sans); }
.contact-map__btn .icon { width: 16px; height: 16px; }
.contact-map__btn:hover { background: #E8E8E8; }
.contact-col { align-self: center; }
.contact-col + .contact-col { padding-left: 24px; box-shadow: inset 1px 0 0 var(--c-line); }
.contact-col__title { font: 600 16px/24px var(--f-sans); color: var(--c-accent); }
.contact-list--lg { gap: 24px; }
.contact-list--lg .contact-link, .contact-list--lg .contact-hours { font: 400 16px/24px var(--f-sans); }
.contact-list--lg > li { line-height: 24px; }
.contact-list--lg .contact-link .icon { width: 20px; height: 20px; }
.contact-list--lg .contact-hours span { line-height: 37px; margin-top: -7px; }
.contact-list--lg .contact-list__social .contact-link { font: 400 14px/20px var(--f-sans); }
.contact-list--lg .contact-list__social .icon { width: 24px; height: 24px; }
.contact-col__cta-m, .contact-reach-m { display: none; }

/* =========================================================================
   Video, rassegna, blog, articolo
   ========================================================================= */
.list-intro__text--narrow { max-width: 760px; }
.video-page { padding: 24px 0 48px; }
.video-page__block { max-width: 959px; margin-inline: auto; }
.video-page__block + .video-page__block { margin-top: 48px; }
.video-page__h { display: flex; align-items: center; gap: 5px; font: 600 18px/28px var(--f-sans); }
.video-page__ico { width: 18px; height: 25px; }
.video-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.video-grid .short-card, .video-grid .short-card__thumb { width: 100%; }
.video-grid .short-card__thumb { height: auto; aspect-ratio: 172.5 / 306.7; }
.video-grid .short-card__title { font-weight: 400; -webkit-line-clamp: unset; }
.video-grid .short-card__meta { display: none; }
.video-grid--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.video-wide video { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-8); background: #000; }
.video-wide figcaption { margin-top: 8px; font: 600 14px/20px var(--f-sans); }

.press-hero { padding-bottom: 48px; box-shadow: var(--hair-bottom); }
.press-hero__eyebrow { margin-top: 24px; font: 600 14px/20px var(--f-sans); color: var(--c-accent); letter-spacing: 0; }
.press-hero__sub { margin-top: 16px; }
.press-hero .press-logos { max-width: none; gap: 24px; margin-top: 16px; }
.press-article { padding: 24px 0 48px; }
.press-article__inner { max-width: 840px; padding-inline: 0; }
.press-article__title { font: 400 32px/40px var(--f-serif); }
.entry { font: 400 16px/26px var(--f-sans); }
.press-article__body { margin-top: 24px; }
.entry > * + * { margin-top: 13px; }
.entry strong { font-weight: 600; }
.entry a { color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }
.entry blockquote { margin: 16px 0; padding: 0 8px 0 10px; box-shadow: inset 2px 0 0 var(--c-accent); }
.entry blockquote p + p { margin-top: 13px; }
.entry h2, .entry h3, .entry h4 { margin-top: 24px; font: 600 18px/28px var(--f-sans); }
.entry h2 + *, .entry h3 + *, .entry h4 + * { margin-top: 8px; }
.entry ul, .entry ol { padding-left: 1.2em; list-style: disc; }
.entry ol { list-style: decimal; }
.entry img { border-radius: var(--r-8); }
.entry figure { margin: 16px 0; }
.entry iframe, .entry video { max-width: 100%; border-radius: var(--r-8); }

.blog-list { padding-top: 51px; }
.blog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-right: 8px; }
.search-field { position: relative; flex: 0 1 629px; }
.search-field input { width: 100%; height: 48px; padding: 12px 44px 12px 16px; border: 1px solid var(--c-line); border-radius: var(--r-8); background: var(--c-white); font: 400 16px/24px var(--f-sans); color: var(--c-text); -webkit-appearance: none; }
.search-field input::placeholder { color: var(--c-text-2); }
.search-field input::-webkit-search-cancel-button { display: none; }
.search-field input:focus { outline: none; border-color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-text); }
.search-field__go, .search-field__clear { position: absolute; right: 8px; top: 8px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--c-text); }
.search-field__go[hidden], .search-field__clear[hidden] { display: none; }
.search-field .icon { width: 16px; height: 16px; }
.blog-toolbar .list-toolbar__actions { gap: 29px; }
.blog-active { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip-active { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: var(--r-8); background: var(--c-surface); color: var(--c-accent); box-shadow: inset 0 0 0 2px var(--c-accent); font: 600 14px/20px var(--f-sans); }
.blog-count { margin-top: 24px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.blog-more { display: flex; justify-content: center; margin-top: 32px; }
.blog-more .btn--ghost span { padding-right: 4px; }
.blog-empty { padding: 72px 0 48px; text-align: center; }
.blog-empty__title { font: 400 32px/40px var(--f-serif); }
.blog-empty__sub { margin-top: 22px; font: 600 18px/28px var(--f-sans); }
.blog-empty__text { max-width: 640px; margin: 16px auto 0; }
.blog-empty .btn--ghost { margin-top: 16px; }
.blog-empty__actions { display: flex; gap: 24px; justify-content: center; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.blog-empty--404 { padding: 96px 0; }

.tags { display: flex; flex-wrap: wrap; gap: 16px; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 12px; border-radius: var(--r-8); background: var(--c-surface); font: 600 14px/20px var(--f-sans); color: var(--c-text); }
.blog-card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 16px; border-radius: var(--r-8); background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); }
.blog-card__media { display: block; aspect-ratio: 328.7 / 188; border-radius: var(--r-8); overflow: hidden; background: var(--c-surface); box-shadow: inset 0 0 0 1px var(--c-line); }
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.blog-card__title { font: 600 16px/24px var(--f-sans); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__title a::after { content: ""; position: absolute; inset: 0; }
.blog-card__title a:hover { color: var(--c-accent); }
.blog-card__meta { font: 400 14px/20px var(--f-sans); }
.blog-card .link-arrow { position: relative; z-index: 1; align-self: flex-start; margin-top: 12px; padding: 12px 0; }
.blog-card--row { display: grid; grid-template-columns: minmax(0, 304fr) minmax(0, 252fr); grid-template-rows: auto 1fr; grid-template-areas: "media body" "media link"; column-gap: 24px; min-height: 328px; padding: 24px; box-shadow: inset 0 0 0 .5px var(--c-line), inset 0 0 0 1px var(--c-hair); }
.blog-card--row .blog-card__media { grid-area: media; aspect-ratio: auto; height: 280px; box-shadow: none; }
.blog-card--row .blog-card__body { grid-area: body; margin-top: 0; }
.blog-card--row .tag { height: 36px; padding: 0 8px; }
.blog-card--row .blog-card__title { -webkit-line-clamp: 3; }
.blog-card--row .link-arrow { grid-area: link; align-self: end; margin-top: 16px; }

.article { padding-bottom: 48px; }
.article__grid { display: grid; grid-template-columns: minmax(0, 701fr) minmax(0, 555fr); column-gap: 24px; align-items: start; margin-top: 24px; }
.tags--lg .tag { height: 44px; padding: 0 16px; }
.tags--lg a.tag:hover { color: var(--c-accent); }
.article__title { margin-top: 16px; font: 400 32px/40px var(--f-serif); }
.article__meta { margin-top: 16px; font: 400 14px/20px var(--f-sans); }
.article__body { margin-top: 16px; font: 400 16px/24px var(--f-sans); }
.article__body > * + * { margin-top: 8px; }
.article__img { border-radius: var(--r-8); overflow: hidden; box-shadow: inset 0 0 0 1px var(--c-line); }
.article__img img { width: 100%; aspect-ratio: 555 / 325; object-fit: cover; }
.article__img--m { display: none; }
.blog-aside { margin-top: 48px; padding: 24px; border-radius: var(--r-8); box-shadow: 0 0 0 .5px var(--c-line); }
.blog-aside .section-head { justify-content: flex-start; padding-left: 72px; }
.blog-aside__title { font: 400 24px/32px var(--f-serif); }
.blog-aside .carousel { margin-top: 24px; }
.carousel--single .carousel__slide { width: 100%; }
.article--page { padding-top: 48px; }
.article--page .container > * { max-width: 840px; }
.article--page .article__title { margin-top: 0; }
.article--page .article__body { margin-top: 24px; }

/* ---------- Mobile pagine ---------- */
@media (max-width: 1023px) {
	.page-hero { padding: 24px 0; }
	.page-hero__grid, .page-hero--chi .page-hero__grid { display: flex; flex-direction: column; align-items: stretch; }
	.page-hero__copy { display: contents; }
	.page-hero .h-section { order: 1; }
	.page-hero__lead { order: 2; font: 400 16px/24px var(--f-sans); }
	.page-hero__img, .page-hero--chi .page-hero__img { order: 3; height: auto; aspect-ratio: 361 / 230; margin-top: 16px; }
	.page-hero--chi .page-hero__img { aspect-ratio: 361 / 280; }
	.page-hero__text { order: 4; }
	.page-hero__cta { order: 5; display: flex; align-items: stretch; }
	.page-hero__cta .btn { width: 100%; }
	.page-hero__ratings { line-height: 16px; gap: 16px; }
	.page-hero__intro { order: 2; }
	.page-hero__h2 { order: 4; }
	.page-hero--chi .page-hero__text { order: 5; }

	.method { padding: 24px 0; }
	.carousel--method .carousel__viewport { flex-direction: column; overflow: visible; gap: 16px; }
	.carousel--method .carousel__slide { width: 100%; }
	.carousel--method .carousel__dots { display: none; }
	.method-card { min-height: 0; }
	.method-card__text { font: 400 16px/24px var(--f-sans); }

	.press { padding: 24px 0; }
	.press__grid { grid-template-columns: 1fr; row-gap: 24px; }
	.press .h-section { font-size: 24px; line-height: 32px; }
	.press__sub { margin-top: 16px; font: 400 16px/24px var(--f-sans); }
	.press-logos { gap: 8px 16px; margin-top: 16px; }
	.press-logos img { width: 72px; height: 21px; }
	.press-card { margin-top: 0; min-height: 0; padding: 16px; }

	.interview { padding: 24px 0; }
	.interview .h-section { font-size: 24px; line-height: 32px; }
	.interview__lead-m { display: block; margin-top: 16px; }
	.interview__media { display: block; margin-top: 16px; border-radius: var(--r-8); box-shadow: 0 0 0 1px var(--c-line); overflow: hidden; }
	.yt-thumb { border-radius: var(--r-8) var(--r-8) 0 0; aspect-ratio: 361 / 200; }
	.yt-thumb.yt-thumb--wide { border-radius: var(--r-8); aspect-ratio: 16 / 9; }
	.yt-thumb__badge { left: 8px; top: 8px; height: 28px; font-size: 12px; line-height: 16px; gap: 6px; padding: 0 8px 0 6px; }
	.yt-thumb__mark { width: 24px; height: 16px; }
	.yt-thumb__mark::after { left: 9px; top: 4px; border-left-width: 7px; border-top-width: 4px; border-bottom-width: 4px; }
	.yt-thumb__time { display: block; }
	.interview__copy { padding: 16px; }
	.interview__title, .interview__link { display: none; }
	.interview__text { margin-top: 0; }
	.interview__meta { margin-top: 8px; }

	.blog-strip { padding: 24px 0; }
	.blog-strip .h-section { font-size: 24px; line-height: 32px; }

	.hero--cta-single .cta-single { display: flex; align-items: stretch; }
	.hero--cta-single .cta-single .btn { width: 100%; }

	.contact-hero { padding: 24px 0; box-shadow: none; }
	.contact-hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 24px; margin-top: 16px; }
	.contact-map, .contact-col__title { display: none; }
	.contact-col + .contact-col { padding-left: 0; box-shadow: none; }
	.contact-col, .contact-hero .contact-list { display: contents; }
	.contact-hero .contact-list > li:has(.icon--map-pin) { order: 1; }
	.contact-hero .contact-list > li.contact-list__row:not(.contact-list__social) { order: 2; }
	.contact-hero .contact-hours { order: 3; }
	.contact-hero .contact-list > li:has(.icon--mail) { order: 4; }
	.contact-hero .contact-list__social { order: 5; }
	.contact-col__cta-m { order: 6; margin-top: 8px !important; }
	.contact-list--lg { gap: 16px; }
	.contact-col__cta-m { display: flex; width: 100%; }
	.contact-reach-m { display: block; margin-top: 24px; padding-top: 24px; box-shadow: var(--hair-top); }
	.contact-reach-m .h-section { font-size: 24px; line-height: 32px; }
	.contact-reach-m img { width: 100%; aspect-ratio: 361 / 180; object-fit: cover; margin-top: 16px; border-radius: var(--r-8); }
	.contact-reach-m .btn { width: 100%; margin-top: 16px; }

	.video-page { padding: 16px 0 24px; }
	.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; margin-top: 16px; }
	.video-grid .short-card__meta { display: block; }
	.video-grid--wide { grid-template-columns: 1fr; }

	.press-hero { padding-bottom: 24px; }
	.press-hero .press-logos { gap: 8px 16px; }
	.press-article { padding: 24px 0; }
	.press-article__inner { padding-inline: var(--gutter); }
	.press-article__title { font-size: 24px; line-height: 32px; }

	.blog-list { padding-top: 24px; }
	.blog-toolbar { flex-wrap: wrap; padding-right: 0; }
	.search-field { flex: 1 1 100%; }
	.blog-toolbar .list-toolbar__actions { width: 100%; margin-top: 0; justify-content: space-between; }
	.blog-toolbar .tool-btn { font: 600 14px/20px var(--f-sans); }
	.blog-grid { grid-template-columns: 1fr; gap: 16px; }
	.blog-count { display: none; }
	.blog-grid { margin-top: 24px; }
	.blog-card--row { display: flex; padding: 16px; min-height: 0; box-shadow: inset 0 0 0 1px var(--c-line); }
	.blog-card--row .blog-card__media { height: auto; aspect-ratio: 329 / 188; }
	.blog-card--row .blog-card__body { margin-top: 16px; }
	.blog-card--row .tag { height: 28px; }
	.blog-card--row .link-arrow { align-self: flex-start; }
	.blog-empty { padding: 48px 0 24px; }
	.blog-empty__title { font-size: 24px; line-height: 32px; }

	.article__grid { display: block; margin-top: 16px; }
	.article__title { font-size: 24px; line-height: 32px; }
	.tags--lg .tag { height: 36px; padding: 0 12px; }
	.article__img--m { display: block; margin-top: 16px; }
	.article__side .article__img { display: none; }
	.blog-aside { margin-top: 32px; padding: 24px 0 0; box-shadow: var(--hair-top); border-radius: 0; }
	.blog-aside .section-head { padding-left: 0; }
	.article--page { padding-top: 24px; }
}

/* =========================================================================
   Overlay con form (Valutazione, Consulenza, Chiedi informazioni)
   ========================================================================= */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ts-slot { width: 100%; max-width: 340px; min-height: 65px; margin-top: 16px; }
.ts-slot:not([data-wid]) { min-height: 0; }
.ts-slot:empty { margin: 0; }

.modal--form { width: min(800px, calc(100% - 32px)); }
.modal--form .modal__box { height: min(760px, calc(100vh - 32px)); max-height: calc(100vh - 32px); }
.modal--form .modal__body { padding: 24px 48px; scroll-behavior: smooth; }
.modal--wizard .modal__body { padding-top: 48px; }
.modal__back { position: absolute; left: 24px; top: 24px; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; color: var(--c-text); }
.modal__back .icon { width: 24px; height: 24px; }
.modal__foot--center { justify-content: center; padding-top: 24px; }
.modal__foot .btn--primary { gap: 0; padding-inline: 32px; }
.modal__foot .btn--primary .icon { width: 24px; height: 24px; margin-right: -8px; }
.modal__foot .btn--ghost { gap: 8px; padding: 0 24px; font-weight: 500; }
.modal__foot .btn[aria-busy="true"] { opacity: .7; cursor: progress; }

.wiz-progress { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 24px; }
.wiz-progress span { height: 4px; border-radius: 2px; background: var(--c-line); transition: background-color .2s; }
.wiz-progress span.is-on { background: var(--c-accent); }
.wiz-title { font: 400 24px/32px var(--f-serif); outline: none; }
.wiz-text { margin-top: 16px; font: 400 14px/20px var(--f-sans); }
.wiz-hint { margin-top: 16px; font: 500 12px/20px var(--f-sans); }
.modal--form [data-fields] > .wiz-hint:first-child, .modal--form .fbanner + .wiz-hint { margin-top: 0; }
.modal--form .fbanner + .wiz-hint { margin-top: 16px; }

.wiz-intro { display: flex; flex-direction: column; align-items: center; }
.wiz-intro__title { font: 400 32px/40px var(--f-serif); text-align: center; }
.info-steps--plain { width: auto; max-width: 384px; margin-top: 48px; padding: 0; box-shadow: none; gap: 34px; }
.info-steps--plain li { gap: 16px; font: 400 16px/24px var(--f-sans); white-space: normal; }
.info-steps--plain li + li::before { left: 14px; }
.info-steps__ico .icon--home { width: 18px; height: 18px; }
.wiz-intro__box { display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 418px; margin-top: 48px; padding: 16px; border-radius: var(--r-8); box-shadow: inset 0 0 0 1px var(--c-line); font: 600 14px/20px var(--f-sans); }
.wiz-intro__icon { width: 20px; height: 20px; color: var(--c-accent); }

/* Campi */
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.fgrid--addr { grid-template-columns: 320fr 168fr 168fr; margin-top: 16px; }
.fgrid--addr .ff--full { grid-column: 1 / -1; }
.fgrid--feat { gap: 24px; }
.fgrid--one { grid-template-columns: minmax(0, 340px); margin-top: 24px; }
.ff { min-width: 0; margin: 0; padding: 0; border: 0; }
.ff--full { grid-column: 1 / -1; }
.ff__label { display: block; margin-bottom: 8px; padding: 0; font: 600 14px/20px var(--f-sans); color: var(--c-text); }
.input--tall { height: 64px; padding-inline: 12px; }
.input--area { height: 132px; padding: 12px 16px; resize: vertical; line-height: 24px; }
.ff.is-error .input, .ff.is-error .select select { border-color: var(--c-error); box-shadow: inset 0 0 0 1px var(--c-error); }
.ff__err { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; font: 400 14px/20px var(--f-sans); color: var(--c-error); }
.ff__err-icon { width: 16px; height: 16px; margin-top: 2px; flex: none; color: var(--c-error); }
.ff--check .ff__err { margin-top: 4px; }
.select--tall select { height: 64px; font: 400 16px/24px var(--f-sans); color: var(--c-text); }
.select--tall select:invalid, .select--tall select option[value=""] { color: var(--c-text-2); }
.select--tall .icon { top: 22px; }
.modal--form .select select { font: 400 16px/24px var(--f-sans); padding-left: 16px; }
.modal--form .select select:has(option[value=""]:checked) { color: var(--c-text-2); }

.fchecks { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.fcheck { display: inline-flex; align-items: flex-start; gap: 8px; font: 400 14px/20px var(--f-sans); cursor: pointer; }
.fcheck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fcheck__box { position: relative; flex: none; width: 16px; height: 16px; margin-top: 2px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--c-line); background: var(--c-white); transition: background-color .15s, box-shadow .15s; }
.fcheck:hover .fcheck__box { box-shadow: inset 0 0 0 1.5px var(--c-text-2); }
.fcheck input:checked + .fcheck__box { background: var(--c-accent); box-shadow: none; }
.fcheck input:checked + .fcheck__box::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid var(--c-white); border-width: 0 1.8px 1.8px 0; rotate: 45deg; }
.fcheck input:focus-visible + .fcheck__box { outline: 2px solid var(--c-accent); outline-offset: 2px; }
.fcheck a { text-decoration: underline; text-underline-offset: 2px; }
.ff.is-error .fcheck { color: var(--c-error); }
.ff.is-error .fcheck__box { box-shadow: inset 0 0 0 1.5px var(--c-error); }

/* Opzioni a card (radio / checkbox) */
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 16px; }
.opts--pair { margin-top: 0; }
.opts--trio { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 0; }
.opts > .ff__err { grid-column: 1 / -1; margin-top: -16px; }
.opt { position: relative; display: flex; align-items: center; gap: 8px; height: 64px; padding: 0 16px; border-radius: var(--r-8); background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); cursor: pointer; transition: box-shadow .15s; }
.opt:hover { box-shadow: inset 0 0 0 .5px var(--c-line), 0 8px 8px rgba(104,104,104,.1); }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt__label { flex: 1; font: 400 16px/24px var(--f-sans); }
.opt--ind-end .opt__ind { order: 2; }
.opt__ind { position: relative; flex: none; width: 20px; height: 20px; }
.opt--radio .opt__ind::before { content: ""; position: absolute; inset: 1.5px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--c-line); }
.opt--radio input:checked ~ .opt__ind::before { box-shadow: inset 0 0 0 1.5px var(--c-accent); }
.opt--radio input:checked ~ .opt__ind::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--c-accent); }
.opt--checkbox .opt__ind::before { content: ""; position: absolute; inset: 1px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px var(--c-line); }
.opt--checkbox input:checked ~ .opt__ind::before { background: var(--c-accent); box-shadow: none; }
.opt--checkbox input:checked ~ .opt__ind::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 10px; border: solid var(--c-white); border-width: 0 1.8px 1.8px 0; rotate: 45deg; }
.opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--c-accent); }
.opt:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--c-accent); outline: 2px solid var(--c-accent); outline-offset: 2px; }
.ff.is-error .opt { box-shadow: inset 0 0 0 2px var(--c-error); }

/* Stepper */
.stepper { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 16px; border-radius: var(--r-8); background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); }
.stepper__label { flex: 1; font: 400 16px/24px var(--f-sans); cursor: text; }
.stepper__btn { width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-surface); font: 400 20px/1 var(--f-sans); color: var(--c-text); transition: box-shadow .15s; }
.stepper__btn:hover { box-shadow: 0 8px 40px rgba(0,0,0,.2); }
.stepper__val { width: 32px; padding: 0; border: 0; background: none; text-align: right; font: 400 16px/24px var(--f-sans); color: var(--c-text-2); -moz-appearance: textfield; }
.stepper__val::-webkit-inner-spin-button, .stepper__val::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__val:focus { outline: none; color: var(--c-text); }
.stepper:focus-within { box-shadow: inset 0 0 0 2px var(--c-accent); }
.stepper__suffix { margin-left: -12px; font: 400 16px/24px var(--f-sans); color: var(--c-text-2); }
.stepper__suffix:empty { display: none; }
[data-stepper] .stepper__val { width: 24px; text-align: center; }
[data-stepper] .stepper__val:has(+ .stepper__suffix:not(:empty)) { width: 16px; text-align: right; }
[data-stepper] .stepper__suffix { margin-left: -12px; margin-right: 4px; }
.stepper--input { cursor: text; }
.stepper__val--wide { width: 80px; }
.stepper--input .stepper__suffix { margin-left: -8px; }
.ff.is-error .stepper { box-shadow: inset 0 0 0 2px var(--c-error); }

/* Banner errore e conferme */
.fbanner { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; padding: 16px; border-radius: var(--r-8); background: var(--c-error-bg); box-shadow: inset 0 0 0 1px var(--c-error); }
.fbanner__title { font: 600 14px/20px var(--f-sans); color: var(--c-error); }
.fbanner__text { font: 400 14px/20px var(--f-sans); }
.fbanner--inline { flex-direction: row; gap: 8px; padding: 0; background: none; box-shadow: none; color: var(--c-error); font: 400 14px/20px var(--f-sans); }

.wiz-status, .fdone { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 100%; padding: 120px 0 0; text-align: center; outline: none; }
.wiz-status__title, .fdone__title { font: 600 24px/32px var(--f-sans); }
.wiz-status__text, .fdone__text { font: 400 16px/24px var(--f-sans); }
.wiz-status__text strong { font-weight: 600; }
.wiz-status__hint { font: 400 14px/20px var(--f-sans); }
.fdone { gap: 8px; padding-top: 158px; }
.fdone__title { margin: 16px 0 8px; }
.fdone__check { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--c-success-bg); color: var(--c-success); }
.fdone__check .icon { width: 36px; height: 36px; }
.loader { width: 80px; height: 80px; border-radius: 50%; border: 6px solid var(--c-surface); border-top-color: var(--c-accent); animation: pc-spin 1s linear infinite; margin-bottom: 8px; }
@keyframes pc-spin { to { rotate: 360deg; } }

.info-ref { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 24px; font: 400 16px/24px var(--f-sans); }
.info-ref__img { width: 128px; height: 76px; object-fit: cover; border-radius: 2px; flex: none; }
.info-ref strong { font-weight: 400; }

@media (max-width: 1023px) {
	.modal--form { width: 100%; max-width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
	.modal--form .modal__box { height: 100%; max-height: 100%; }
	.modal--form .modal__body, .modal--wizard .modal__body { padding: 24px 16px; }
	.modal__foot--center { padding: 16px; box-shadow: var(--hair-top); }
	.modal__foot .btn { width: 100%; }
	.fgrid, .fgrid--addr, .fgrid--one { grid-template-columns: 1fr; gap: 16px; }
	.fgrid--addr { grid-template-columns: 1fr 1fr; }
	.fgrid--addr .ff:nth-child(2) { grid-column: 1 / -1; }
	.opts { grid-template-columns: 1fr; gap: 12px; }
	.opts--pair { grid-template-columns: 1fr 1fr; }
	.opts--trio { grid-template-columns: 1fr; }
	.wiz-progress { gap: 8px; }
	.wiz-intro__title { font-size: 24px; line-height: 32px; }
	.info-steps--plain, .wiz-intro__box { margin-top: 32px; }
	.wiz-status, .fdone { padding-top: 64px; }
	.info-ref { font-size: 14px; line-height: 20px; }
	.info-ref__img { width: 96px; height: 64px; }
}
@media (max-width: 1023px) { .article__img--m + .tags { margin-top: 16px; } }

/* Tablet: griglie fluide (3 → 2 → 1) */
@media (min-width: 640px) and (max-width: 1023px) {
	.list-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}

/* ---------- Pulsanti fluttuanti: WhatsApp + torna su ---------- */
.float-actions { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.float-btn { pointer-events: auto; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: transform .2s ease, opacity .2s ease, background-color .2s ease; }
.float-btn--wa { order: 1; width: 56px; height: 56px; background: var(--c-accent); color: var(--c-white); box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.float-btn--wa .icon { width: 30px; height: 30px; }
.float-btn--wa:hover { transform: scale(1.06); background: var(--c-hover); }
.float-btn--wa:active { background: var(--c-pressed); }
.float-btn--top { order: 2; width: 44px; height: 44px; background: var(--c-white); color: var(--c-text); box-shadow: inset 0 0 0 1px var(--c-line), 0 4px 12px rgba(0, 0, 0, .08); }
.float-btn--top .icon { width: 20px; height: 20px; }
.float-btn--top:hover { color: var(--c-accent); }
.float-btn--top[hidden] { display: flex; visibility: hidden; opacity: 0; transform: translateY(8px); }
@media (max-width: 1023px) {
	.float-actions { right: 16px; bottom: 16px; gap: 10px; }
	.float-btn--wa { width: 52px; height: 52px; }
	.float-btn--wa .icon { width: 28px; height: 28px; }
	.float-btn--top { width: 40px; height: 40px; }
}
@media print { .float-actions { display: none; } }
