/* ==========================================================================
   Humania – direzione «Caldo boutique»
   Token dal foglio Brand del design. Font self-hosted da theme.json.
   ========================================================================== */

:root {
	--navy: #161C34;
	--navy-deep: #10152A;
	--sabbia: #C29F83;
	--sabbia-scura: #85654B;
	--sabbia-chiara: #E3D3C4;
	--crema: #EDDED3;
	--crema-chiara: #F3EAE1;
	--avorio: #FBF8F4;
	--bianco: #FFFFFF;
	--ardesia: #4E545E;
	--giallo: #FDE60F;
	--linea: #E6DACF;
	--linea-tenue: #F0E7DE;
	--piede: #CFC3B8;

	--serif: 'Playfair Display', Georgia, serif;
	--sans: 'Zalando Sans', system-ui, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--shadow-card: 0 26px 48px -32px rgba(22, 28, 52, .45);
	--shadow-float: 0 24px 44px -26px rgba(22, 28, 52, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--avorio);
	color: var(--navy);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.55;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--navy); }
a:hover { color: var(--sabbia-scura); }
:focus-visible { outline: 2px solid var(--sabbia-scura); outline-offset: 3px; border-radius: 4px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; padding: 0; border: 0;
}
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--avorio); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; color: var(--avorio); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* --- Tipografia ricorrente --------------------------------------------- */
.eyebrow {
	margin: 0 0 12px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase;
	color: var(--sabbia-scura); font-weight: 500;
}
.label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--sabbia-scura); font-weight: 500; }
.display {
	font-family: var(--serif); font-style: italic; font-weight: 400;
	font-size: clamp(42px, 5.4vw, 76px); line-height: 1.03; letter-spacing: -.01em;
}
.h-section { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; }
.h-block { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.h-card { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; }
.lead { font-size: 19px; color: var(--ardesia); }
.muted { color: var(--ardesia); }

/* --- Pulsanti ---------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 0;
	font: inherit; font-weight: 500; text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--navy); color: var(--avorio); }
.btn--primary:hover { background: #262E50; color: var(--avorio); }
.btn--sand { background: var(--sabbia); color: var(--navy); font-weight: 600; }
.btn--sand:hover { background: #CDAE95; color: var(--navy); }
.btn--outline { border: 1.5px solid var(--navy); background: transparent; color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--avorio); }
.btn--light { background: var(--avorio); color: var(--navy); }
.btn--soft { background: var(--crema); color: var(--navy); font-weight: 600; font-size: 15px; min-height: 44px; padding: 0 20px; }
.btn--soft:hover { background: var(--sabbia); color: var(--navy); }
.btn--lg { min-height: 52px; padding: 0 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { font-weight: 600; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.link-arrow svg { transition: transform .15s; }
.link-arrow:hover svg { transform: translateX(3px); }

.chip { display: inline-flex; align-items: center; font-size: 14px; padding: 9px 15px; border-radius: 999px; background: var(--crema); text-decoration: none; color: var(--navy); }
a.chip:hover { background: var(--sabbia); color: var(--navy); }
.chip--dark { background: var(--navy); color: var(--avorio); }
a.chip--dark:hover { background: #262E50; color: var(--avorio); }
.chip--line { background: var(--bianco); border: 1px solid var(--linea); font-size: 15px; padding: 9px 16px; }
.chip--light { background: var(--avorio); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* --- Barra servizio + header ------------------------------------------- */
.topbar { background: var(--navy); color: var(--crema); font-size: 14px; }
.topbar a { color: var(--crema); text-decoration: none; }
.topbar a:hover { color: var(--bianco); }
.topbar__inner { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar__group { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; }
.topbar__item { display: inline-flex; gap: 8px; align-items: center; }
.topbar strong { font-weight: 600; }

.site-header { border-bottom: 1px solid var(--linea); background: var(--avorio); position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 22px; padding-bottom: 22px; }
.site-logo { display: block; flex: none; }
.site-logo img { height: 44px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 8px 30px; font-size: 16px; font-weight: 500; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 30px; align-items: center; }
.nav ul a { text-decoration: none; padding: 6px 0; display: inline-block; }
.nav .current-menu-item > a, .nav .current-menu-ancestor > a, .nav .current_page_item > a, .nav .is-current > a {
	box-shadow: inset 0 -2px 0 var(--sabbia);
}
.nav__cta { min-height: 46px; padding: 0 22px; }
.nav-toggle {
	display: none; width: 44px; height: 44px; border: 0; border-radius: 50%;
	background: var(--crema); color: var(--navy); align-items: center; justify-content: center; cursor: pointer;
}

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.site-header__inner { padding-top: 14px; padding-bottom: 14px; }
	.site-logo img { height: 36px; }
	.nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--avorio); border-bottom: 1px solid var(--linea);
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 8px var(--gutter) 24px; box-shadow: 0 30px 40px -30px rgba(22, 28, 52, .35);
	}
	.nav.is-open { display: flex; }
	.nav ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav ul a { display: flex; min-height: 52px; align-items: center; border-bottom: 1px solid var(--linea-tenue); font-size: 18px; }
	.nav .current-menu-item > a, .nav .current_page_item > a, .nav .is-current > a { box-shadow: inset 3px 0 0 var(--sabbia); padding-left: 12px; }
	.nav__cta { margin-top: 16px; }
	.topbar__hide-sm { display: none !important; }
}

/* --- Briciole ---------------------------------------------------------- */
.breadcrumb { font-size: 14px; color: var(--ardesia); display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; }
.breadcrumb [aria-current] { color: var(--navy); font-weight: 500; }

/* --- Segnaposto foto e forma «arco» ------------------------------------ */
.photo {
	position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
	background: var(--sabbia); border-radius: 28px;
}
.photo--arch { border-radius: 999px 999px 28px 28px; }
.photo--arch-sm { border-radius: 999px 999px 18px 18px; }
.photo--arch-xs { border-radius: 999px 999px 14px 14px; }
.photo > img.photo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo__mark { width: 40%; max-width: 220px; height: auto; opacity: .55; }
.photo__tag {
	position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px;
	font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--navy);
	background: rgba(251, 248, 244, .9); padding: 7px 12px; border-radius: 999px; white-space: nowrap;
	max-width: calc(100% - 24px); overflow: hidden; text-overflow: ellipsis;
}
.tone-sabbia { background: var(--sabbia); }
.tone-chiaro { background: var(--sabbia-chiara); }
.tone-ardesia { background: var(--ardesia); }
.tone-crema { background: var(--crema); }

/* --- Home: hero -------------------------------------------------------- */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 96px); }
.hero__text { flex: 1 1 480px; min-width: 0; }
.hero__text .lead { margin-top: 26px; max-width: 540px; }
.hero__media { flex: 1 1 420px; min-width: 0; position: relative; }
.hero__media .photo { height: clamp(420px, 44vw, 620px); }
.hero__media .photo__mark { width: 54%; opacity: .5; }

.searchbar {
	margin-top: 36px; display: flex; align-items: center; gap: 8px; background: var(--bianco);
	border: 1px solid var(--linea); border-radius: 999px; padding: 7px 7px 7px 22px;
	box-shadow: 0 22px 44px -28px rgba(22, 28, 52, .4); max-width: 580px;
}
.searchbar input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; font-size: 17px; background: transparent; color: var(--navy); padding: 10px 4px; }
.searchbar input::placeholder { color: var(--ardesia); }
.searchbar button { flex: none; height: 50px; padding: 0 28px; }
.searchbar:focus-within { border-color: var(--sabbia); }
.quicklinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; align-items: center; }
.quicklinks__label { font-size: 14px; color: var(--ardesia); margin-right: 4px; }

.float-card {
	position: absolute; left: 16px; top: 62%; background: var(--bianco); border-radius: 20px;
	padding: 16px 20px 16px 16px; box-shadow: var(--shadow-float); display: flex; gap: 14px; align-items: center;
	max-width: 290px; text-decoration: none;
}
.float-card__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; flex: none; }
.float-card__icon img { width: 24px; height: auto; }
.float-card strong { display: block; font-weight: 600; font-size: 15px; }
.float-card span span { font-size: 14px; color: var(--ardesia); line-height: 1.35; display: block; }

@media (max-width: 640px) {
	.hero { gap: 36px; }
	.searchbar { padding-left: 16px; }
	.searchbar button { padding: 0 18px; height: 46px; }
	.searchbar__icon { display: none; }
	.hero__media .photo { height: 400px; }
	.float-card { position: relative; left: auto; top: auto; margin: -48px 16px 0; }
}

/* --- Fascia navy + card sovrapposte ------------------------------------ */
.band { background: var(--navy); color: var(--crema); position: relative; overflow: hidden; }
.band__mark { position: absolute; right: -90px; top: -110px; width: 440px; height: auto; opacity: .14; pointer-events: none; }
.band__inner { display: flex; flex-wrap: wrap; gap: 20px 48px; align-items: flex-end; justify-content: space-between; position: relative; padding-top: 60px; padding-bottom: 150px; }
.band__quote { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; max-width: 820px; color: var(--avorio); }
.band__quote em { font-style: italic; color: var(--sabbia); }
.band a.link-arrow { color: var(--giallo); text-decoration: none; font-weight: 500; }

.pillars { margin-top: -104px; position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.pillar {
	background: var(--bianco); border-radius: 24px; padding: 28px; color: var(--navy); text-decoration: none;
	display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-card); min-height: 230px;
}
.pillar--accent { background: var(--sabbia); box-shadow: 0 26px 48px -32px rgba(22, 28, 52, .55); }
.pillar__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--crema); display: flex; align-items: center; justify-content: center; }
.pillar--accent .pillar__icon { background: var(--navy); color: var(--crema); }
.pillar__title { font-family: var(--serif); font-size: 25px; font-weight: 500; line-height: 1.15; }
.pillar__text { font-size: 15px; color: var(--ardesia); line-height: 1.5; }
.pillar--accent .pillar__text { color: var(--navy); }

/* --- Sezioni ----------------------------------------------------------- */
.section { padding-top: 56px; padding-bottom: 56px; }
.section--first { padding-top: 104px; padding-bottom: 48px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }

/* Griglia specialità */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.spec-tile {
	display: flex; flex-direction: column; gap: 18px; padding: 28px 24px 24px; border-radius: 20px;
	background: var(--crema-chiara); text-decoration: none; min-height: 176px; color: var(--navy);
	transition: background-color .15s, transform .15s;
}
.spec-tile:hover { background: var(--crema); color: var(--navy); transform: translateY(-2px); }
.spec-tile__name { font-size: 19px; font-weight: 500; line-height: 1.3; }
.spec-tile__rule { width: 32px; height: 2px; background: var(--sabbia); margin-top: auto; }
.spec-tile__meta { font-size: 14px; color: var(--ardesia); margin-top: -8px; }

/* Pannello crema (percorsi) */
.panel {
	background: var(--crema); border-radius: 32px; padding: clamp(28px, 5vw, 64px);
	display: flex; flex-wrap: wrap; gap: 40px; position: relative; overflow: hidden;
}
.panel__mark { position: absolute; left: -70px; bottom: -90px; width: 300px; height: auto; opacity: .25; pointer-events: none; }
.panel__col { flex: 1 1 300px; min-width: 0; position: relative; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.panel__col--wide { flex: 2 1 480px; }
.panel .eyebrow { color: var(--navy); margin: 0; }
.panel__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; width: 100%; }
.panel__card { background: var(--bianco); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.panel__card .h-card { font-size: 23px; }

/* Card medico (home / team) */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.doc-portrait { text-decoration: none; display: flex; flex-direction: column; gap: 6px; color: var(--navy); }
.doc-portrait .photo { height: 300px; margin-bottom: 12px; }
.doc-portrait .photo__mark { width: 38%; opacity: .6; }
.doc-portrait__role { font-size: 15px; color: var(--ardesia); }

.doc-card { background: var(--bianco); border-radius: 26px; padding: 14px 14px 22px; display: flex; flex-direction: column; gap: 6px; }
.doc-card .photo { height: 230px; margin-bottom: 12px; }
.doc-card .photo__mark { width: 34%; opacity: .6; }
.doc-card__body { padding: 0 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.doc-card__spec { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--sabbia-scura); }
.doc-card__name { font-family: var(--serif); font-size: 22px; font-weight: 500; line-height: 1.2; }
.doc-card__name a { text-decoration: none; }
.doc-card__focus { font-size: 15px; color: var(--ardesia); }
.doc-card__actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; }
.doc-card__actions .btn { flex: 1; min-height: 44px; font-size: 15px; padding: 0 12px; }
.doc-card__badge { align-self: flex-start; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: var(--crema); }

.doc-row {
	background: var(--bianco); border-radius: 22px; padding: 18px 20px; text-decoration: none; color: var(--navy);
	display: flex; gap: 16px; align-items: center;
}
.doc-row:hover { color: var(--navy); box-shadow: var(--shadow-card); }
.doc-row .photo { width: 76px; height: 92px; flex: none; }
.doc-row .photo__mark { width: 50%; opacity: .6; }
.doc-row__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.doc-row__name { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.25; }
.doc-row__meta { font-size: 14px; color: var(--ardesia); }
.doc-row__more { font-size: 14px; font-weight: 600; color: var(--sabbia-scura); margin-top: 6px; }
.doc-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }

/* Come raggiungerci */
.visit { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.visit__info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.visit__list { display: flex; flex-direction: column; gap: 16px; font-size: 16px; }
.visit__item { display: flex; gap: 14px; align-items: flex-start; }
.visit__item svg { flex: none; margin-top: 2px; color: var(--sabbia-scura); }
.visit__item strong { font-weight: 600; }
.visit__item span span { color: var(--ardesia); }
.map {
	flex: 1.3 1 420px; min-width: 0; min-height: 440px; border-radius: 28px; position: relative; overflow: hidden;
	background-color: #EAE1D7;
	background-image: linear-gradient(#DFD3C6 1.5px, transparent 1.5px), linear-gradient(90deg, #DFD3C6 1.5px, transparent 1.5px);
	background-size: 64px 64px; display: flex; align-items: center; justify-content: center;
}
.map__road { position: absolute; background: var(--avorio); }
.map__road--a { left: -10%; top: 58%; width: 130%; height: 18px; transform: rotate(-12deg); }
.map__road--b { left: 38%; top: -10%; width: 14px; height: 130%; transform: rotate(8deg); }
.map__pin { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.map__drop { width: 64px; height: 64px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 18px 30px -16px rgba(22, 28, 52, .7); }
.map__drop img { width: 30px; height: auto; transform: rotate(45deg); }
.map__name { background: var(--bianco); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: 0 10px 24px -16px rgba(22, 28, 52, .6); }
.map__consent { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: rgba(251, 248, 244, .94); padding: 12px 14px 12px 18px; border-radius: 18px; font-size: 14px; }
.map__consent .btn { min-height: 44px; font-size: 15px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --- Intestazioni pagine interne --------------------------------------- */
.page-head { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: flex-end; justify-content: space-between; padding-top: 40px; padding-bottom: 32px; }
.page-head .display { font-size: clamp(44px, 5.2vw, 72px); line-height: 1.02; }
.page-head__intro { max-width: 460px; color: var(--ardesia); font-size: 18px; }

.page-hero { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 36px; padding-bottom: 64px; }
.page-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.page-hero__media { flex: 1 1 360px; min-width: 0; }
.page-hero__media .photo { height: 440px; }
.page-hero .display { font-size: clamp(46px, 5.6vw, 80px); line-height: 1; }
.page-hero__kicker { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--sabbia-scura); font-weight: 500; }
.page-hero__kicker span { width: 44px; height: 44px; border-radius: 50%; background: var(--crema); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.stats { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--ardesia); }
.stats strong { color: var(--navy); font-weight: 600; }

/* Layout con colonna laterale */
.with-aside { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; padding-bottom: 88px; }
.with-aside__main { flex: 999 1 600px; min-width: 0; display: flex; flex-direction: column; gap: 72px; }
.with-aside__side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.with-aside--right .with-aside__main { gap: 56px; }
@media (min-width: 900px) { .with-aside__side--sticky { position: sticky; top: 24px; } }
@media (max-width: 899px) { .with-aside--side-last-sm > .with-aside__side { order: 2; } }

.box { background: var(--bianco); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.box--lg { border-radius: 24px; padding: 26px; }
.toc a { padding: 10px 0; border-bottom: 1px solid var(--linea-tenue); text-decoration: none; display: block; }
.toc a:last-child { border-bottom: 0; }
.callout { background: var(--navy); color: var(--crema); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.callout__mark { position: absolute; right: -40px; bottom: -50px; width: 150px; height: auto; opacity: .16; pointer-events: none; }
.callout__title { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--avorio); line-height: 1.25; }
.callout a { color: var(--giallo); font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; position: relative; }
.callout a:hover { color: var(--bianco); }

.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 10px; }
.prose { font-size: 18px; color: var(--ardesia); max-width: 720px; }
.prose p + p { margin-top: 1em; }
.prose strong { color: var(--navy); }

/* Prestazioni */
.service {
	background: var(--bianco); border-radius: 18px; padding: 20px 22px;
	display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center;
}
.service__name { flex: 1 1 280px; min-width: 0; }
.service__name strong { display: block; font-weight: 600; font-size: 18px; }
.service__name span { font-size: 15px; color: var(--ardesia); }
.service__dur { font-size: 14px; color: var(--ardesia); min-width: 90px; }
.service__price { font-weight: 600; min-width: 90px; }

/* Preparazione */
.prep { background: var(--crema); border-radius: 28px; padding: clamp(24px, 4vw, 44px); display: flex; flex-wrap: wrap; gap: 24px 48px; }
.prep h2 { flex: 1 1 220px; }
.prep ol { flex: 2 1 340px; margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; counter-reset: prep; }
.prep li { display: flex; gap: 14px; align-items: flex-start; counter-increment: prep; }
.prep li::before { content: counter(prep); width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--navy); color: var(--crema); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--linea); }
.faq details { border-bottom: 1px solid var(--linea); }
.faq summary { padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-weight: 600; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--sabbia-scura); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 0 0 20px; color: var(--ardesia); max-width: 720px; }

/* Fascia CTA sabbia */
.cta-band { background: var(--sabbia); position: relative; overflow: hidden; }
.cta-band__mark { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); width: 220px; height: auto; opacity: .12; pointer-events: none; }
.cta-band__inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; position: relative; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; max-width: 640px; }

/* --- Team: ricerca e filtri -------------------------------------------- */
.finder { background: var(--bianco); border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 24px 48px -36px rgba(22, 28, 52, .45); }
.finder__search { display: flex; align-items: center; gap: 12px; background: var(--avorio); border: 1px solid var(--linea); border-radius: 999px; padding: 4px 20px; }
.finder__search:focus-within { border-color: var(--sabbia); }
.finder__search input { flex: 1; min-width: 0; border: 0; outline: none; font: inherit; background: transparent; color: var(--navy); padding: 12px 0; }
.filter { background: var(--bianco); color: var(--navy); border: 1px solid var(--linea); border-radius: 999px; padding: 0 16px; min-height: 44px; font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; }
.filter:hover { border-color: var(--sabbia); }
.filter[aria-pressed="true"] { background: var(--navy); color: var(--avorio); border-color: var(--navy); }
.result-count { margin: 0 0 22px; font-size: 15px; color: var(--ardesia); }
.empty { background: var(--crema); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.empty__title { font-family: var(--serif); font-style: italic; font-size: 28px; }
[hidden] { display: none !important; }

/* --- Scheda medico ----------------------------------------------------- */
.doc-hero { background: var(--crema); border-radius: 36px; padding: clamp(24px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.doc-hero__mark { position: absolute; right: -80px; top: -90px; width: 360px; height: auto; opacity: .22; pointer-events: none; }
.doc-hero .photo { flex: 0 1 320px; min-width: 240px; height: 400px; }
.doc-hero .photo__mark { width: 42%; }
.doc-hero__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; position: relative; }
.doc-hero .display { font-size: clamp(40px, 5vw, 68px); line-height: 1.04; }
.doc-hero__role { font-size: 19px; }
.doc-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; color: var(--ardesia); }
@media (max-width: 640px) { .doc-hero .photo { flex-basis: 100%; height: 340px; } }

.timeline { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; border-left: 2px solid var(--linea); }
.timeline li { padding: 0 0 22px 24px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ''; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sabbia); }
.timeline li:last-child::before { background: var(--navy); }
.timeline strong { font-weight: 600; }
.timeline span { color: var(--ardesia); font-size: 15px; }

.hours { display: flex; flex-direction: column; }
.hours div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--linea-tenue); }
.hours div:last-child { border-bottom: 0; }
.hours span:first-child { font-weight: 600; }
.hours span:last-child { color: var(--ardesia); text-align: right; }

.tinted { background: var(--crema-chiara); }

/* --- Pagine editoriali (Chi siamo, La struttura, generiche) ------------- */
.editorial { padding-bottom: 88px; }
.editorial__grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.editorial__body { flex: 999 1 560px; min-width: 0; }
.editorial__side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }

.entry { font-size: 18px; color: var(--ardesia); }
.entry > * + * { margin-top: 1.1em; }
.entry > :first-child { margin-top: 0; }
.entry h2 { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(32px, 3.2vw, 42px); line-height: 1.1; color: var(--navy); margin-top: 1.8em; }
.entry h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.25; color: var(--navy); margin-top: 1.6em; }
.entry strong { color: var(--navy); font-weight: 600; }
.entry a { color: var(--navy); text-underline-offset: 3px; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry blockquote, .entry .is-style-highlight {
	margin-left: 0; margin-right: 0; padding: 28px 32px; background: var(--crema); border-radius: 24px;
	font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.35; color: var(--navy);
}
.entry blockquote p { margin: 0; }
.entry .wp-block-image img { border-radius: 24px; }
.entry .wp-block-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry .wp-block-table td, .entry .wp-block-table th { padding: 12px 14px; border-bottom: 1px solid var(--linea); text-align: left; }
.entry .wp-block-table th { color: var(--navy); }
.entry .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.entry .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--navy); color: var(--avorio); text-decoration: none; font-weight: 500; }
.entry .is-style-outline .wp-block-button__link { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.entry .wp-block-separator { border: 0; border-top: 1px solid var(--linea); margin: 2.4em 0; }
.entry .has-crema-background-color, .entry .has-avorio-background-color, .entry .has-bianco-background-color { padding: 24px 28px; border-radius: 22px; }

.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.founder { background: var(--bianco); border-radius: 28px; padding: 18px 18px 28px; display: flex; flex-direction: column; gap: 10px; }
.founder .photo { height: 320px; margin-bottom: 12px; }
.founder .photo__mark { width: 34%; opacity: .6; }
.founder__body { padding: 0 10px; display: flex; flex-direction: column; gap: 10px; }
.founder__name { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1.1; }
.founder__role { font-weight: 600; }
.founder__bio { color: var(--ardesia); font-size: 16px; }
.founder__bio p + p { margin-top: .8em; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 240px; gap: 16px; }
.gallery .photo { height: auto; border-radius: 24px; }
.gallery .photo:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 640px) {
	.gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
	.gallery .photo:first-child { grid-row: span 1; }
	.gallery .photo__tag { font-size: 10px; letter-spacing: .12em; bottom: 10px; }
}

/* Mappa aree/professionisti */
.areas { display: flex; flex-direction: column; border-top: 1px solid var(--linea); }
.areas__row { display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 16px 0; border-bottom: 1px solid var(--linea); align-items: baseline; text-decoration: none; }
.areas__row:hover .areas__name { color: var(--sabbia-scura); }
.areas__name { flex: 1 1 260px; font-weight: 600; font-size: 18px; color: var(--navy); }
.areas__docs { flex: 2 1 320px; color: var(--ardesia); }

/* Contatti */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.contact-card { background: var(--bianco); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.contact-card__value { font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.25; word-break: break-word; }
.contact-card__value a { text-decoration: none; }

/* Prenota */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--bianco); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 10px; counter-increment: step; }
.step::before { content: counter(step); width: 36px; height: 36px; border-radius: 50%; background: var(--crema); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.step strong { font-family: var(--serif); font-weight: 500; font-size: 21px; }
.step span { color: var(--ardesia); font-size: 15px; }

/* Ricerca e notizie */
.search-results { display: flex; flex-direction: column; gap: 12px; }
.result { background: var(--bianco); border-radius: 18px; padding: 20px 22px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.result:hover { box-shadow: var(--shadow-card); color: var(--navy); }
.result__type { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sabbia-scura); font-weight: 500; }
.result__title { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.result__text { color: var(--ardesia); font-size: 15px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.news { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.news .photo { height: 220px; border-radius: 22px; margin-bottom: 10px; background: #DCCBBB; }
.news__meta { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sabbia-scura); font-weight: 500; }
.news__title { font-family: var(--serif); font-size: 23px; font-weight: 500; line-height: 1.25; }

/* --- Footer ------------------------------------------------------------ */
.site-footer { background: var(--navy); color: var(--crema); font-size: 15px; }
.site-footer a { color: var(--crema); text-decoration: none; }
.site-footer a:hover { color: var(--bianco); text-decoration: underline; }
.site-footer__inner { display: flex; flex-wrap: wrap; gap: 40px 56px; padding-top: 72px; padding-bottom: 48px; }
.site-footer__brand { flex: 1.4 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.site-footer__brand img { height: 40px; width: auto; }
.site-footer__brand p { max-width: 320px; line-height: 1.6; }
.site-footer__brand .btn { color: var(--navy); }
.site-footer__brand .btn:hover { color: var(--navy); text-decoration: none; }
.site-footer__col { flex: 1 1 170px; display: flex; flex-direction: column; gap: 10px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer__title { margin: 0 0 6px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--sabbia); font-weight: 500; }
.site-footer__legal { background: var(--navy-deep); }
.site-footer__legal .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; padding-top: 18px; padding-bottom: 18px; font-size: 13px; color: var(--piede); }
.site-footer__legal a { color: var(--piede); text-decoration: underline; }
.site-footer__legal nav, .site-footer__legal ul { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }
.entry .is-style-card { background: var(--bianco); padding: 24px 28px; border-radius: 22px; }

/* Titoli di card: Playfair dritto (theme.json rende i titoli corsivi di default) */
.pillar__title, .h-card, .doc-card__name, .news__title, .result__title, .doc-row__name, .step strong { font-style: normal; }

/* --- Telefono ---------------------------------------------------------- */
@media (max-width: 640px) {
	body { font-size: 16.5px; }
	.hero__media .photo { height: 340px; }
	.pillars { gap: 14px; }
	.pillar { min-height: 0; padding: 24px; }
	.spec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.spec-tile { min-height: 136px; padding: 20px 16px 16px; gap: 12px; border-radius: 18px; }
	.spec-tile svg { width: 30px; height: 30px; }
	.spec-tile__name { font-size: 16px; }
	.doc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
	.doc-portrait .photo { height: 200px; }
	.doc-portrait .h-card { font-size: 18px; }
	.doc-portrait__role { font-size: 14px; }
	.doc-card { padding: 10px 10px 16px; border-radius: 22px; }
	.doc-card .photo { height: 190px; }
	.doc-card__body { padding: 0 4px; }
	.doc-card__name { font-size: 18px; }
	.doc-card__focus { font-size: 14px; }
	.doc-card__actions { flex-direction: column; }
	.doc-card__spec { letter-spacing: .08em; font-size: 11px; overflow-wrap: anywhere; }
	.finder { padding: 16px; border-radius: 22px; }
	.finder .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: thin; scroll-snap-type: x proximity; }
	.finder .filter { flex: none; scroll-snap-align: start; }
	.section { padding-top: 40px; padding-bottom: 40px; }
	.section--first { padding-top: 64px; }
	.section-head { margin-bottom: 24px; }
	.map { min-height: 300px; }
	.panel { border-radius: 26px; }
	.page-hero__media .photo { height: 320px; }
	.cta-band__inner { padding-top: 44px; padding-bottom: 44px; }
	.founder .photo { height: 280px; }
}

/* --- Utility ----------------------------------------------------------- */
.mt-0 { margin-top: 0; }
.pb-88 { padding-bottom: 88px; }
.center { text-align: center; }
.gallery .photo__mark { width: 30%; max-width: 140px; }
