/* === RESET & BASE === */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
html {
	font-size: 16px;
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
}
img {
	display: block;
	max-width: 100%;
}
a {
	color: inherit;
	text-decoration: none;
}

/* === DESIGN TOKENS — LUCE ALPINA === */
:root {
	--color-linen: #f2ede6;
	--color-brown: #4a2c2a;
	--color-sage: #6b8f71;
	--color-sage-btn: #4d7054;
	--color-sage-hover: #3d6044;
	--color-taupe: #c4b5a5;
	--color-taupe-mid: #a89688;
	--bg: var(--color-linen);
	--surface: #ffffff;
	--surface-alt: #f8f4ee;
	--text: var(--color-brown);
	--text-muted: #7a5c56;
	--divider: #ddd4c6;
	--border: #d0c4b4;
	--container: 1160px;
	--gutter: clamp(1.25rem, 5vw, 2.5rem);
	--radius: 7px;
	--ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html[data-theme="dark"] {
	--bg: #1e1210;
	--surface: #2a1a18;
	--surface-alt: #321f1d;
	--text: #f2ede6;
	--text-muted: #c4b5a5;
	--divider: #3d2a28;
	--border: #4a3330;
}

body {
	font-family: "Lora", Georgia, serif;
	font-size: 1rem;
	line-height: 1.7;
	background: var(--bg);
	color: var(--text);
}

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

/* === UTILITIES === */
.no-margin {
	margin: 0 !important;
}

.eyebrow {
	font-family: "Outfit", sans-serif;
	font-size: 0.625rem;
	font-weight: 300;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-sage);
}
.section-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 3rem;
}
.section-header__line {
	flex: 1;
	height: 1px;
	background: var(--divider);
}
.section-header__label {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--text-muted);
	white-space: nowrap;
}

.btn-left-aligned {
	display: flex;
	justify-content: flex-start;
}

.btn-right-aligned {
	display: flex;
	justify-content: flex-end;
}

.flex-column-with-gap {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.link-color-sage {
	color: var(--color-sage);
	transition: color 200ms;
}

.link-color-sage:hover {
	color: var(--color-sage-hover);
}

.img-container {
	width: 100%;
	display: flex;
	justify-content: center;
}

/* === BOTANICAL DIVIDER === */
.botanical-divider {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	padding-block: 0.25rem;
}
.botanical-divider__line {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--divider), transparent);
}
.botanical-divider__motif {
	position: relative;
	width: 60px;
	height: 30px;
	flex-shrink: 0;
}
.leaf {
	position: absolute;
	border-radius: 50% 50% 50% 0 / 60% 60% 40% 40%;
	border: 1.5px solid rgba(107, 143, 113, 0.44);
	background: rgba(107, 143, 113, 0.07);
}
.leaf--l1 {
	width: 11px;
	height: 17px;
	top: 7px;
	left: 8px;
	transform: rotate(-40deg);
}
.leaf--l2 {
	width: 9px;
	height: 14px;
	top: 4px;
	left: 17px;
	transform: rotate(-15deg);
}
.leaf--l3 {
	width: 11px;
	height: 17px;
	top: 7px;
	right: 8px;
	transform: rotate(220deg);
}
.leaf--l4 {
	width: 9px;
	height: 14px;
	top: 4px;
	right: 17px;
	transform: rotate(195deg);
}
.leaf--c {
	width: 7px;
	height: 11px;
	top: 10px;
	left: 27px;
	transform: rotate(-90deg);
}

/* === BUTTONS === */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: "Outfit", sans-serif;
	font-weight: 400;
	font-size: 0.875rem;
	letter-spacing: 0.07em;
	border-radius: var(--radius);
	padding: 0.8rem 1.875rem;
	cursor: pointer;
	text-decoration: none;
	transition:
		background 300ms var(--ease),
		box-shadow 300ms var(--ease),
		transform 200ms var(--ease),
		color 200ms;
	border: none;
}
.btn--primary {
	background: var(--color-sage-btn);
	color: #fff;
}
.btn--primary:hover {
	background: var(--color-sage-hover);
	box-shadow: 0 6px 20px rgba(61, 96, 68, 0.28);
	transform: translateY(-1px);
}
.btn--secondary {
	background: transparent;
	color: var(--text);
	border: 1.5px solid var(--color-brown);
}
.btn--secondary:hover {
	background: var(--color-brown);
	color: var(--color-linen);
	transform: translateY(-1px);
}
.btn--ghost {
	background: transparent;
	color: var(--text-muted);
	padding-left: 0;
	padding-right: 0;
	border-radius: 0;
	border-bottom: 1px solid var(--color-taupe-mid);
	font-size: 0.8125rem;
	letter-spacing: 0.1em;
}
.btn--ghost:hover {
	color: var(--text);
	border-bottom-color: var(--color-brown);
}
.btn--ghost .arrow {
	display: inline-block;
	transition: transform 250ms var(--ease);
}
.btn--ghost:hover .arrow {
	transform: translateX(4px);
}

/* === HEADER === */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bg);
	border-bottom: 1px solid var(--divider);
}
.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 72px;
	gap: 2rem;
}
.header-brand {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	flex-shrink: 0;
}
.header-brand__logo {
	height: 40px;
	width: auto;
}
.header-brand__logo--light {
	display: none;
}
html[data-theme="dark"] .header-brand__logo--dark {
	display: none;
}
html[data-theme="dark"] .header-brand__logo--light {
	display: block;
}
.header-brand__text {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}
.header-brand__name {
	font-family: "Outfit", sans-serif;
	font-size: 0.7rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text);
	white-space: nowrap;
}
.header-brand__tagline {
	font-family: "Lora", serif;
	font-size: 0.75rem;
	font-style: italic;
	color: var(--text-muted);
	white-space: nowrap;
}
.site-nav {
	display: flex;
	align-items: center;
	list-style: none;
}
.site-nav__item {
	position: relative;
}
.site-nav__link {
	display: block;
	padding: 0.5rem 0.875rem;
	font-family: "Outfit", sans-serif;
	font-size: 0.8rem;
	font-weight: 300;
	letter-spacing: 0.04em;
	color: var(--text-muted);
	transition: color 0.2s;
	white-space: nowrap;
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"],
.site-nav__link.current {
	color: var(--text);
}
.site-nav__link[aria-current="page"]::after,
.site-nav__link.current::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0.875rem;
	right: 0.875rem;
	height: 1.5px;
	background: var(--color-sage);
	border-radius: 1px;
}
.header-h24 {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	flex-shrink: 0;
}
.header-h24__number {
	font-family: "Outfit", sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--text);
}
.header-h24__badge {
	font-family: "Outfit", sans-serif;
	font-size: 0.55rem;
	font-weight: 400;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-sage-btn);
	border: 1px solid var(--color-sage-btn);
	padding: 0.15rem 0.45rem;
	border-radius: 3px;
}

/* Mobile menu toggle */
.header-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	color: var(--text);
}

/* === HERO === */
.hero {
	position: relative;
	overflow: hidden;
	background: var(--bg);
	border-bottom: 1px solid var(--divider);
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 55% 65% at 85% 35%, rgba(107, 143, 113, 0.11) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 10% 80%, rgba(196, 181, 165, 0.16) 0%, transparent 70%);
}
.hero-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 580px;
	position: relative;
	z-index: 1;
}
.hero-content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: 5rem;
	padding-right: 3.5rem;
}
.hero-content__eyebrow {
	font-family: "Outfit", sans-serif;
	font-size: 0.625rem;
	font-weight: 300;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-sage);
	margin-bottom: 1.25rem;
}
.hero-content__heading {
	font-family: "Outfit", sans-serif;
	font-size: clamp(2.2rem, 3.8vw, 3.2rem);
	font-weight: 200;
	line-height: 1.12;
	letter-spacing: -0.01em;
	color: var(--text);
	margin-bottom: 1.25rem;
	text-wrap: balance;
}
.hero-content__heading em {
	font-family: "Lora", serif;
	font-style: italic;
	font-weight: 400;
	color: var(--color-sage);
}
.hero-rule {
	width: 36px;
	height: 1.5px;
	background: var(--color-taupe);
	margin-bottom: 1.5rem;
	border-radius: 1px;
}
.hero-content__body {
	font-family: "Lora", serif;
	font-size: 1.0625rem;
	line-height: 1.78;
	color: var(--text-muted);
	max-width: 46ch;
	margin-bottom: 2.25rem;
	text-wrap: pretty;
}
.hero-content__actions {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
}
.hero-visual {
	position: relative;
	background: var(--surface-alt);
	border-left: 1px solid var(--divider);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hero-visual__wash {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 65% 55% at 60% 35%, rgba(196, 181, 165, 0.38) 0%, transparent 70%), radial-gradient(ellipse 50% 50% at 25% 70%, rgba(107, 143, 113, 0.18) 0%, transparent 70%), linear-gradient(to bottom right, #ede6dd, #e0d4c6);
}
.hero-visual__placeholder-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-taupe-mid);
	writing-mode: vertical-rl;
}
.hero-visual__embellish {
	position: absolute;
	top: 28px;
	right: 28px;
	width: 110px;
	height: 120px;
	pointer-events: none;
	opacity: 0.52;
	animation: leafSway 8s var(--ease) infinite alternate;
}
@keyframes leafSway {
	0% {
		transform: rotate(-2deg) translateY(0);
	}
	100% {
		transform: rotate(2.5deg) translateY(-5px);
	}
}
.hero-visual__embellish::before {
	content: "";
	position: absolute;
	top: 8px;
	left: 8px;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	border: 2px solid rgba(107, 143, 113, 0.38);
	border-bottom-color: transparent;
	border-left-color: transparent;
	transform: rotate(-25deg);
}
.hlf {
	position: absolute;
	border-radius: 50% 50% 50% 0 / 60% 60% 40% 40%;
	border: 2px solid rgba(107, 143, 113, 0.42);
	background: rgba(107, 143, 113, 0.06);
}
.hlf-a {
	width: 18px;
	height: 28px;
	top: 28px;
	left: 34px;
	transform: rotate(-55deg);
}
.hlf-b {
	width: 14px;
	height: 22px;
	top: 12px;
	left: 48px;
	transform: rotate(-28deg);
}
.hlf-c {
	width: 13px;
	height: 20px;
	top: 40px;
	left: 20px;
	transform: rotate(-75deg);
}
.hlf-d {
	width: 16px;
	height: 25px;
	top: 48px;
	left: 46px;
	transform: rotate(-42deg);
}
.hlf-e {
	width: 11px;
	height: 18px;
	top: 62px;
	left: 62px;
	transform: rotate(-18deg);
}
.hlf-f {
	width: 13px;
	height: 21px;
	top: 70px;
	left: 32px;
	transform: rotate(-88deg);
}
.hero-visual__caption {
	position: relative;
	z-index: 2;
	padding: 1.25rem 1.5rem;
	background: rgba(242, 237, 230, 0.9);
	border-top: 1px solid var(--divider);
}
.hero-visual__caption-label {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 0.25rem;
}
.hero-visual__caption-text {
	font-family: "Lora", serif;
	font-size: 1rem;
	font-style: italic;
	color: var(--text);
}

/* === PAGE HERO (pagine interne) === */
.page-hero {
	background: var(--surface-alt);
	border-bottom: 1px solid var(--divider);
	padding-block: 4rem;
	position: relative;
	overflow: hidden;
}
.page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(ellipse 60% 70% at 85% 20%, rgba(107, 143, 113, 0.1) 0%, transparent 70%), radial-gradient(ellipse 45% 55% at 5% 80%, rgba(196, 181, 165, 0.14) 0%, transparent 70%);
}
.page-hero__inner {
	position: relative;
	z-index: 1;
}
.page-hero__eyebrow {
	font-family: "Outfit", sans-serif;
	font-size: 0.625rem;
	font-weight: 300;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--color-sage);
	margin-bottom: 1rem;
}
.page-hero__heading {
	font-family: "Outfit", sans-serif;
	font-size: clamp(1.9rem, 3.5vw, 2.8rem);
	font-weight: 200;
	line-height: 1.14;
	color: var(--text);
	margin-bottom: 1rem;
	text-wrap: balance;
}
.page-hero__heading em {
	font-family: "Lora", serif;
	font-style: italic;
	font-weight: 400;
	color: var(--color-sage);
}
.page-hero__body {
	font-family: "Lora", serif;
	font-size: 1rem;
	line-height: 1.78;
	color: var(--text-muted);
	text-wrap: pretty;
	margin-bottom: 1.5rem;
}

.page-hero__list {
	font-family: "Lora", serif;
	font-size: 1em;
	color: var(--text-muted);
	padding-left: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	margin-bottom: 1.5rem;
}

/* === EMERGENCY STRIP === */
.emergency-strip {
	background: #3d2422;
	color: var(--color-linen);
	border-bottom: 1px solid #5a3530;
}
.emergency-strip-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 0.875rem;
	gap: 1.5rem;
	flex-wrap: wrap;
}
.emergency-strip__label {
	font-family: "Outfit", sans-serif;
	font-size: 0.625rem;
	font-weight: 300;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #c4a09a;
	display: flex;
	align-items: center;
	gap: 0.6rem;
}
.emergency-strip__label::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	background: var(--color-sage);
	border-radius: 50%;
}
.emergency-strip__contacts {
	display: flex;
	align-items: center;
	gap: 2rem;
	flex-wrap: wrap;
}
.emergency-strip__item {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
}
.emergency-strip__item-label {
	font-family: "Outfit", sans-serif;
	font-size: 0.55rem;
	font-weight: 300;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #8a6a62;
}
.emergency-strip__item-value {
	font-family: "Outfit", sans-serif;
	font-size: 0.9rem;
	font-weight: 400;
	color: var(--color-linen);
}
.emergency-strip__badge {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 400;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #3d2422;
	background: var(--color-linen);
	padding: 0.3rem 0.75rem;
	border-radius: 3px;
	flex-shrink: 0;
}

/* === SERVICES === */
.services {
	padding-block: 5rem;
	background: var(--bg);
}
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.service-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0 0 1.75rem;
	overflow: hidden;
	transition:
		box-shadow 350ms var(--ease),
		transform 300ms var(--ease);
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.06);
}
.service-card:hover {
	box-shadow: 0 10px 30px rgba(74, 44, 42, 0.13);
	transform: translateY(-3px);
}
.service-card__image {
	height: 340px;
	background: radial-gradient(ellipse 55% 55% at 25% 40%, rgba(107, 143, 113, 0.22) 0%, transparent 70%), radial-gradient(ellipse 45% 45% at 75% 60%, rgba(196, 181, 165, 0.3) 0%, transparent 70%), linear-gradient(to bottom right, #ede6dc, #ddd0c2);
	position: relative;
	overflow: hidden;
	margin-bottom: 1.5rem;
}
.service-card__body-wrap {
	padding-inline: 1.75rem;
}
.service-card__tag {
	font-family: "Outfit", sans-serif;
	font-weight: 300;
	font-size: 0.6rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-sage);
	display: block;
	margin-bottom: 0.5rem;
}
.service-card__title {
	font-family: "Outfit", sans-serif;
	font-weight: 300;
	font-size: 1.175rem;
	line-height: 1.3;
	color: var(--text);
	margin-bottom: 0.875rem;
}
.service-card__text {
	font-family: "Lora", serif;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
	text-wrap: pretty;
}

/* === ABOUT STRIP === */
.about-strip {
	background: var(--surface-alt);
	border-top: 1px solid var(--divider);
	border-bottom: 1px solid var(--divider);
	padding-block: 5rem;
	position: relative;
	overflow: hidden;
}
.about-strip::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 70% at 92% 20%, rgba(107, 143, 113, 0.08) 0%, transparent 70%), radial-gradient(ellipse 50% 60% at 5% 80%, rgba(196, 181, 165, 0.12) 0%, transparent 70%);
	pointer-events: none;
}
.about-strip-inner {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 5rem;
	align-items: center;
	position: relative;
	z-index: 1;
}
.about-strip__stat-block {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}
.stat-item__number {
	font-family: "Outfit", sans-serif;
	font-size: 3.2rem;
	font-weight: 200;
	line-height: 1;
	color: var(--text);
	margin-bottom: 0.3rem;
}
.stat-item__label {
	font-family: "Outfit", sans-serif;
	font-size: 0.7rem;
	font-weight: 300;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.stat-divider {
	width: 20px;
	height: 1.5px;
	background: var(--color-taupe);
	border-radius: 1px;
}
.about-strip__content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.about-strip__heading {
	font-family: "Outfit", sans-serif;
	font-size: clamp(1.5rem, 2.5vw, 2.1rem);
	font-weight: 200;
	line-height: 1.22;
	color: var(--text);
	text-wrap: balance;
}
.about-strip__heading em {
	font-family: "Lora", serif;
	font-style: italic;
	font-weight: 400;
	color: var(--color-sage);
}
.about-strip__body {
	font-family: "Lora", serif;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text-muted);
	max-width: 54ch;
	text-wrap: pretty;
}

/* === STORIA (chi siamo) === */
.storia {
	padding-block: 5rem;
	background: var(--bg);
}
.storia-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: start;
}
.storia__img-placeholder {
	border-radius: 10px;
	border: 1px solid var(--border);
	position: relative;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(74, 44, 42, 0.1);
}
.storia__content {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.storia__heading {
	font-family: "Outfit", sans-serif;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 200;
	line-height: 1.22;
	color: var(--text);
}
.storia__heading em {
	font-family: "Lora", serif;
	font-style: italic;
	font-weight: 400;
	color: var(--color-sage);
}
.storia__body {
	font-family: "Lora", serif;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text-muted);
	text-wrap: pretty;
}

/* === MILESTONES === */
.milestones {
	padding-block: 5rem;
	background: var(--surface-alt);
	border-top: 1px solid var(--divider);
	border-bottom: 1px solid var(--divider);
}
.milestones-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.milestone-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 2rem 1.75rem;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.05);
}
.milestone-card__year {
	font-family: "Outfit", sans-serif;
	font-size: 2rem;
	font-weight: 200;
	color: var(--color-sage);
	line-height: 1;
	margin-bottom: 0.75rem;
}
.milestone-card__title {
	font-family: "Outfit", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	color: var(--text);
	margin-bottom: 0.5rem;
}
.milestone-card__text {
	font-family: "Lora", serif;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--text-muted);
}

/* === COMUNI / TERRITORIO === */
.territorio {
	padding-block: 5rem;
	background: var(--bg);
}
.territorio-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 5rem;
	align-items: start;
}
.territori-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}
.territorio-tag {
	font-family: "Outfit", sans-serif;
	font-size: 0.75rem;
	font-weight: 300;
	letter-spacing: 0.04em;
	color: var(--text-muted);
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.3rem 0.75rem;
}

/* === GALLERY SLIDER (chi siamo) === */
.gallery-slider {
	padding-block: 5rem;
	background: var(--surface-alt);
	border-top: 1px solid var(--divider);
	border-bottom: 1px solid var(--divider);
}
.gallery-slider__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.gallery-slider__viewport::-webkit-scrollbar {
	display: none;
}
.gallery-slider__track {
	display: flex;
	gap: 1.25rem;
}
.gallery-slider__slide {
	flex: 0 0 320px;
	scroll-snap-align: start;
}
.gallery-slider__slide img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	border-radius: 10px;
	border: 1px solid var(--border);
	box-shadow: 0 4px 20px rgba(74, 44, 42, 0.1);
	cursor: zoom-in;
}
.gallery-slider__controls {
	display: flex;
	justify-content: flex-end;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
.gallery-slider__lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(30, 20, 18, 0.9);
	align-items: center;
	justify-content: center;
	padding: 2rem;
}
.gallery-slider__lightbox.is-active {
	display: flex;
}
.gallery-slider__lightbox-img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.gallery-slider__lightbox-close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}
.gallery-slider__lightbox-close:hover {
	background: rgba(255, 255, 255, 0.25);
}
.gallery-slider__btn {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: var(--surface);
	color: var(--text);
	font-size: 1.1rem;
	cursor: pointer;
	transition:
		background 200ms var(--ease),
		color 200ms var(--ease),
		border-color 200ms var(--ease);
}
.gallery-slider__btn:hover {
	background: var(--color-sage);
	border-color: var(--color-sage);
	color: #fff;
}

/* === CREMAZIONE === */
.icrem-strip {
	background: #3d2422;
	color: var(--color-linen);
	padding-block: 2.5rem;
	border-bottom: 1px solid #5a3530;
}
.icrem-strip-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
	flex-wrap: wrap;
}
.icrem-strip__text {
	max-width: 56ch;
}
.icrem-strip__label {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #c4a09a;
	margin-bottom: 0.5rem;
}
.icrem-strip__heading {
	font-family: "Outfit", sans-serif;
	font-size: 1.25rem;
	font-weight: 300;
	color: var(--color-linen);
	margin-bottom: 0.5rem;
}
.icrem-strip__body {
	font-family: "Lora", serif;
	font-size: 0.9rem;
	line-height: 1.7;
	color: #c4a09a;
}
.icrem-badge {
	border: 1px solid rgba(242, 237, 230, 0.2);
	background: rgba(242, 237, 230, 0.06);
	padding: 1.25rem 1.75rem;
	text-align: center;
	flex-shrink: 0;
	border-radius: 10px;
}
.icrem-badge__logo {
	width: 250px;
	height: auto;
}
.icrem-badge__sub {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #c4a09a;
	line-height: 1.5;
}

.options-section {
	padding-block: 5rem;
	background: var(--surface-alt);
}
.options-grid {
	margin-top: 2.5rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.option-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1.75rem;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.05);
}
.option-card__icon {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}
.option-card__title {
	font-family: "Outfit", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	color: var(--text);
	margin-bottom: 0.5rem;
}
.option-card__text {
	font-family: "Lora", serif;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--text-muted);
}

#opzioni-heading {
	margin-bottom: 1.5rem;
}

.ceneri-section {
	padding-block: 5rem;
	background: var(--bg);
	border-top: 1px solid var(--divider);
	border-bottom: 1px solid var(--divider);
}
.ceneri-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
	margin-top: 2.5rem;
}
.faq-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}
.cenere-item {
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1.25rem;
	background: var(--surface);
}
.cenere-item__title {
	font-family: "Outfit", sans-serif;
	font-size: 0.9rem;
	font-weight: 300;
	color: var(--text);
	margin-bottom: 0.4rem;
}
.cenere-item__text {
	font-family: "Lora", serif;
	font-size: 0.8rem;
	line-height: 1.65;
	color: var(--text-muted);
}

.checklist-section {
	padding-block: 5rem;
	background: var(--bg);
}
.checklist-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}
.checklist {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
.checklist-small {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	font-family: "Lora", serif;
	font-size: 0.9375rem;
	color: var(--text-muted);
	line-height: 1.6;
}
.checklist-small li {
	display: flex;
	align-items: flex-start;
	gap: 0;
	font-size: 0.875rem;
	color: var(--text-muted);
	line-height: 1.6;
}
.checklist li::before {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	background: var(--color-sage-btn);
	border-radius: 50%;
	margin-top: 0.45em;
	flex-shrink: 0;
}
.checklist-small li::before {
	content: "";
	display: block;
	width: 6px;
	height: 6px;
	background: var(--color-sage-btn);
	border-radius: 50%;
	margin-top: 0.6em;
	margin-right: 0.5rem;
	flex-shrink: 0;
}

/* === IN CASO DI DECESSO === */
.steps-section {
	padding-block: 5rem;
	background: var(--bg);
}
.steps-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-top: 2.5rem;
}
.step-item {
	display: grid;
	grid-template-columns: 2.5rem 1fr;
	gap: 1.5rem;
	align-items: start;
}
.step-number {
	font-family: "Outfit", sans-serif;
	font-size: 1.5rem;
	font-weight: 200;
	color: var(--color-sage);
	line-height: 1;
	padding-top: 0.2rem;
}
.step-content__title {
	font-family: "Outfit", sans-serif;
	font-size: 1.1rem;
	font-weight: 300;
	color: var(--text);
	margin-bottom: 0.5rem;
}
.step-content__text {
	font-family: "Lora", serif;
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--text-muted);
}

.scenari-section {
	padding-block: 5rem;
	background: var(--surface-alt);
	border-top: 1px solid var(--divider);
	border-bottom: 1px solid var(--divider);
}
.scenari-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 2.5rem;
}
.scenario-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1.75rem;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.05);
}
.scenario-card__tag {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--color-sage);
	margin-bottom: 0.625rem;
	display: block;
}
.scenario-card__title {
	font-family: "Outfit", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	color: var(--text);
	margin-bottom: 0.625rem;
}
.scenario-card__text {
	font-family: "Lora", serif;
	font-size: 0.875rem;
	line-height: 1.7;
	color: var(--text-muted);
}

.h24-callout {
	background: #3d2422;
	color: var(--color-linen);
	border-radius: 10px;
	padding: 1.5rem 2rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-top: 2rem;
}
.h24-callout__badge {
	font-family: "Outfit", sans-serif;
	font-size: 1.25rem;
	font-weight: 300;
	letter-spacing: 0.06em;
	color: var(--color-linen);
	background: rgba(242, 237, 230, 0.1);
	border: 1px solid rgba(242, 237, 230, 0.2);
	padding: 0.4rem 0.875rem;
	border-radius: var(--radius);
	flex-shrink: 0;
}
.h24-callout__text {
	flex: 1;
}
.h24-callout__title {
	font-family: "Outfit", sans-serif;
	font-size: 1rem;
	font-weight: 300;
	color: var(--color-linen);
	margin-bottom: 0.25rem;
}
.h24-callout__sub {
	font-family: "Lora", serif;
	font-size: 0.875rem;
	font-style: italic;
	color: #c4a09a;
}

.documenti-section {
	padding-block: 5rem;
	background: var(--bg);
}
.documenti-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}
.doc-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid var(--divider);
	margin-top: 1.5rem;
}
.doc-list li {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--divider);
	font-family: "Lora", serif;
	font-size: 0.9375rem;
	color: var(--text-muted);
}
.doc-list li::before {
	content: "";
	display: block;
	width: 5px;
	height: 5px;
	background: var(--color-taupe);
	border-radius: 50%;
	flex-shrink: 0;
}

/* === I TUOI CARI — HERO A DUE COLONNE === */
.memorial-hero {
	position: relative;
	overflow: hidden;
	background: var(--bg);
	border-bottom: 1px solid var(--divider);
	padding-block: 4rem;
}
.memorial-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 50% 70% at 90% 30%, rgba(107, 143, 113, 0.1) 0%, transparent 70%), radial-gradient(ellipse 40% 50% at 5% 80%, rgba(196, 181, 165, 0.14) 0%, transparent 70%);
	pointer-events: none;
}
.memorial-hero__inner {
	position: relative;
	z-index: 1;
	align-items: center;
}
.memorial-hero__heading {
	font-family: "Outfit", sans-serif;
	font-size: clamp(2rem, 3.5vw, 3rem);
	font-weight: 200;
	line-height: 1.12;
	color: var(--text);
	margin-bottom: 1.25rem;
	text-wrap: balance;
}
.memorial-hero__heading em {
	font-family: "Lora", serif;
	font-style: italic;
	font-weight: 400;
	color: var(--color-sage);
}
.memorial-hero__body {
	font-family: "Lora", serif;
	font-size: 1.0625rem;
	line-height: 1.78;
	color: var(--text-muted);
	margin-bottom: 2rem;
	text-wrap: pretty;
}
.memorial-search__note {
	font-family: "Outfit", sans-serif;
	font-size: 0.7rem;
	font-weight: 300;
	color: var(--text-muted);
	margin-top: 0.75rem;
}

/* === I TUOI CARI — GRIGLIA PROFILI === */
.profili-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.profilo-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.06);
	transition:
		box-shadow 350ms var(--ease),
		transform 300ms var(--ease);
	cursor: pointer;
	text-decoration: none;
	display: block;
	color: inherit;
}
.profilo-card:hover {
	box-shadow: 0 8px 24px rgba(74, 44, 42, 0.12);
	transform: translateY(-2px);
}
.profilo-card__photo {
	height: 260px;
	background: radial-gradient(ellipse 55% 55% at 30% 40%, rgba(107, 143, 113, 0.22) 0%, transparent 70%), radial-gradient(ellipse 45% 45% at 70% 65%, rgba(196, 181, 165, 0.3) 0%, transparent 70%), linear-gradient(to bottom right, #ede6dc, #ddd0c2);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.profilo-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.profilo-card__initial {
	font-family: "Lora", serif;
	font-size: 3rem;
	font-weight: 400;
	color: rgba(74, 44, 42, 0.45);
	letter-spacing: 0.08em;
	line-height: 1;
}
.profilo-card__body {
	padding: 1.25rem;
}
.profilo-card__name {
	font-family: "Lora", serif;
	font-size: 1.0625rem;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 0.25rem;
}
.profilo-card__dates {
	font-family: "Outfit", sans-serif;
	font-size: 0.75rem;
	font-weight: 300;
	color: var(--text-muted);
	letter-spacing: 0.04em;
	margin-bottom: 0.75rem;
}
.profilo-card__tributes {
	font-family: "Outfit", sans-serif;
	font-size: 0.7rem;
	font-weight: 300;
	color: var(--color-sage-btn);
	letter-spacing: 0.06em;
}

/* === I TUOI CARI — SCHEDA ESPANSA === */
.expanded-grid {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 4rem;
	align-items: start;
}
.expanded-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.06);
}
.expanded-card__photo {
	height: 400px;
	background: radial-gradient(ellipse 55% 55% at 30% 40%, rgba(107, 143, 113, 0.22) 0%, transparent 70%), radial-gradient(ellipse 45% 45% at 70% 65%, rgba(196, 181, 165, 0.3) 0%, transparent 70%), linear-gradient(to bottom right, #ede6dc, #ddd0c2);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.expanded-card__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.expanded-card__initial {
	font-family: "Lora", serif;
	font-size: 4rem;
	font-weight: 400;
	color: rgba(74, 44, 42, 0.3);
}
.expanded-card__info {
	padding: 1.75rem;
}
.expanded-card__name {
	font-family: "Lora", serif;
	font-size: 1.375rem;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 0.25rem;
}
.expanded-card__dates {
	font-family: "Outfit", sans-serif;
	font-size: 0.8rem;
	font-weight: 300;
	color: var(--text-muted);
	letter-spacing: 0.04em;
	margin-bottom: 1.25rem;
}
.expanded-card__bio {
	font-family: "Lora", serif;
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--text-muted);
	font-style: italic;
	border-left: 2px solid var(--color-taupe);
	padding-left: 1rem;
}

.scheda-left {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

/* === I TUOI CARI — MANIFESTO FUNEBRE === */
.manifesto-thumb {
	display: block;
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.06);
	cursor: pointer;
	padding: 0;
	text-align: left;
	font: inherit;
}
.manifesto-thumb img {
	display: block;
	width: 100%;
	height: auto;
}
.manifesto-thumb__label {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	padding: 0.875rem 1rem;
	font-family: "Outfit", sans-serif;
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--text);
	border-top: 1px solid var(--border);
}
.manifesto-thumb__hint {
	font-size: 0.7rem;
	font-weight: 300;
	color: var(--text-muted);
}
.manifesto-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1000;
	background: rgba(30, 20, 18, 0.9);
	align-items: center;
	justify-content: center;
	padding: 2rem;
}
.manifesto-lightbox.is-active {
	display: flex;
}
.manifesto-lightbox__img {
	max-width: 90vw;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 6px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.manifesto-lightbox__close {
	position: absolute;
	top: 1.5rem;
	right: 1.5rem;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}
.manifesto-lightbox__close:hover {
	background: rgba(255, 255, 255, 0.25);
}

/* === I TUOI CARI — TRIBUTI === */
.tributes-col {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.tributes-eyebrow {
	margin-bottom: -0.5rem;
}
.tribute {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1.5rem;
	box-shadow: 0 1px 4px rgba(74, 44, 42, 0.05);
}
.tribute__header {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.875rem;
}
.tribute__avatar {
	width: 36px;
	height: 36px;
	background: var(--surface-alt);
	border: 1px solid var(--border);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Lora", serif;
	font-size: 0.875rem;
	color: var(--text-muted);
	flex-shrink: 0;
}
.tribute__meta {
	flex: 1;
}
.tribute__author {
	font-family: "Outfit", sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--text);
}
.tribute__date {
	font-family: "Outfit", sans-serif;
	font-size: 0.7rem;
	font-weight: 300;
	color: var(--text-muted);
	letter-spacing: 0.04em;
}
.tribute__text {
	font-family: "Lora", serif;
	font-size: 0.9375rem;
	line-height: 1.75;
	color: var(--text-muted);
	font-style: italic;
}
.tribute-form {
	background: var(--surface-alt);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1.75rem;
}
.tribute-form__title {
	font-family: "Outfit", sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--text);
	margin-bottom: 1.25rem;
}

/* === I TUOI CARI — RESPONSIVE === */
@media (max-width: 1000px) {
	.memorial-hero__inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.expanded-grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
}
@media (max-width: 700px) {
	.profili-grid {
		grid-template-columns: 1fr 1fr;
	}
}
@media (max-width: 480px) {
	.profili-grid {
		grid-template-columns: 1fr;
	}
}

/* === I TUOI CARI / MEMORIALE === */
.memorial {
	padding-block: 5rem;
	background: var(--surface-alt);
}
.memorial-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4.5rem;
	align-items: start;
}
.memorial-content__heading {
	font-family: "Outfit", sans-serif;
	font-size: clamp(1.7rem, 2.8vw, 2.3rem);
	font-weight: 200;
	line-height: 1.15;
	color: var(--text);
	margin-bottom: 1rem;
	text-wrap: balance;
}
.memorial-content__heading em {
	font-family: "Lora", serif;
	font-style: italic;
	font-weight: 400;
	color: var(--color-sage);
}
.memorial-content__body {
	font-family: "Lora", serif;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text-muted);
	margin-bottom: 1.75rem;
	text-wrap: pretty;
}
.memorial-search {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 1.5rem;
	margin-top: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.05);
}
.memorial-search__label {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 0.75rem;
	display: block;
}
.memorial-search__row {
	display: flex;
	gap: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--bg);
}
.memorial-search__input {
	flex: 1;
	padding: 0.75rem 1rem;
	font-family: "Lora", serif;
	font-size: 0.9375rem;
	color: var(--text);
	background: transparent;
	border: none;
	outline: none;
}
.memorial-search__input::placeholder {
	color: var(--color-taupe-mid);
	font-style: italic;
}
.memorial-search__btn {
	padding: 0.75rem 1.25rem;
	background: var(--color-sage-btn);
	color: #fff;
	border: none;
	cursor: pointer;
	font-family: "Outfit", sans-serif;
	font-size: 0.75rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background 0.2s;
}
.memorial-search__btn:hover {
	background: var(--color-sage-hover);
}
.memorial-cards {
	display: flex;
	flex-direction: column;
	gap: 1px;
	background: var(--divider);
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.05);
}
.memorial-card {
	background: var(--surface);
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	transition: background 0.2s;
	text-decoration: none;
}
.memorial-card:hover {
	background: var(--color-sage);
}
.memorial-card__avatar {
	width: 40px;
	height: 40px;
	background: var(--surface-alt);
	border: 1px solid var(--border);
	border-radius: 50%;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Lora", serif;
	font-size: 1rem;
	color: var(--text-muted);
	overflow: hidden;
}
.memorial-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.memorial-card__info {
	flex: 1;
	min-width: 0;
}
.memorial-card__name {
	font-family: "Lora", serif;
	font-size: 1rem;
	color: var(--text);
	margin-bottom: 0.1rem;
}
.memorial-card__dates {
	font-family: "Outfit", sans-serif;
	font-size: 0.72rem;
	font-weight: 300;
	color: var(--text-muted);
	letter-spacing: 0.04em;
}
.memorial-card__arrow {
	font-size: 0.8rem;
	color: var(--color-taupe-mid);
	transition:
		transform 0.2s,
		color 0.2s;
}
.memorial-card:hover .memorial-card__arrow {
	transform: translateX(3px);
	color: var(--color-sage-btn);
}
.memorial-cards__footer {
	background: var(--surface-alt);
	border-top: 1px solid var(--divider);
	padding: 0.75rem 1.25rem;
	font-family: "Outfit", sans-serif;
	font-size: 0.7rem;
	font-weight: 300;
	color: var(--text-muted);
	text-align: center;
}

/* Profilo defunto espanso */
.defunto-profile {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 16px rgba(74, 44, 42, 0.08);
}
.defunto-profile__header {
	background: var(--surface-alt);
	border-bottom: 1px solid var(--divider);
	padding: 2rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.defunto-profile__photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--divider);
	border: 2px solid var(--border);
	overflow: hidden;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: "Lora", serif;
	font-size: 1.75rem;
	color: var(--text-muted);
}
.defunto-profile__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.defunto-profile__info__name {
	font-family: "Lora", serif;
	font-size: 1.4rem;
	color: var(--text);
	margin-bottom: 0.25rem;
}
.defunto-profile__info__dates {
	font-family: "Outfit", sans-serif;
	font-size: 0.8rem;
	font-weight: 300;
	color: var(--text-muted);
	letter-spacing: 0.04em;
}
.defunto-profile__body {
	padding: 2rem;
}
.tribute-form {
	background: var(--surface-alt);
	border: 1px solid var(--divider);
	border-radius: 10px;
	padding: 1.5rem;
}
.tribute-form__title {
	font-family: "Outfit", sans-serif;
	font-size: 0.8rem;
	font-weight: 300;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1rem;
}
.tribute-form__field {
	width: 100%;
	font-family: "Lora", serif;
	font-size: 0.9375rem;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.75rem 1rem;
	margin-bottom: 0.75rem;
	resize: vertical;
	outline: none;
	transition: border-color 0.2s;
}
.tribute-form__field:focus {
	border-color: var(--color-sage-btn);
}

/* === PARTNER / ICREM STRIP (home) === */
.partner-strip {
	background: var(--bg);
	border-top: 1px solid var(--divider);
	border-bottom: 1px solid var(--divider);
	padding-block: 3rem;
}
.partner-strip-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.5rem;
	flex-wrap: wrap;
}
.partner-strip__text {
	max-width: 54ch;
}
.partner-strip__label {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-sage);
	margin-bottom: 0.5rem;
}
.partner-strip__heading {
	font-family: "Outfit", sans-serif;
	font-size: 1.35rem;
	font-weight: 300;
	color: var(--text);
	margin-bottom: 0.5rem;
}
.partner-strip__body {
	font-family: "Lora", serif;
	font-size: 0.9rem;
	line-height: 1.7;
	color: var(--text-muted);
}
.partner-badge {
	border: 1px solid var(--border);
	background: var(--surface);
	padding: 1.5rem 2rem;
	text-align: center;
	flex-shrink: 0;
	border-radius: 10px;
	text-decoration: none;
	transition:
		box-shadow 0.3s,
		transform 0.3s;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.06);
}
.partner-badge:hover {
	box-shadow: 0 6px 20px rgba(74, 44, 42, 0.12);
	transform: translateY(-2px);
}
.partner-badge__logo {
	font-family: "Outfit", sans-serif;
	font-size: 1.5rem;
	font-weight: 300;
	letter-spacing: 0.1em;
	color: var(--text);
	margin-bottom: 0.3rem;
}
.partner-badge__sub {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--color-sage);
	line-height: 1.5;
}

/* === CTA STRIP === */
.cta-strip {
	background: var(--color-sage-btn);
	color: #fff;
	padding-block: 3.5rem;
}
.cta-strip-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
}
.cta-strip__content {
}
.cta-strip__heading {
	font-family: "Outfit", sans-serif;
	font-size: clamp(1.3rem, 2.5vw, 1.75rem);
	font-weight: 200;
	line-height: 1.25;
	color: #fff;
	margin-bottom: 0.5rem;
}
.cta-strip__body {
	font-family: "Lora", serif;
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.8);
}
.cta-strip .btn--primary {
	background: #fff;
	color: var(--color-sage-btn);
}
.cta-strip .btn--primary:hover {
	background: #f0ede8;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.cta-strip .btn--ghost {
	color: rgba(255, 255, 255, 0.85);
	border-bottom-color: rgba(255, 255, 255, 0.4);
}
.cta-strip .btn--ghost:hover {
	color: #fff;
	border-bottom-color: #fff;
}

/* === CONTACT / CONTATTI === */
.contact-section {
	padding-block: 5rem;
	background: var(--bg);
}
.contact-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}
.contact-info__heading {
	font-family: "Outfit", sans-serif;
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	font-weight: 200;
	line-height: 1.25;
	color: var(--text);
	margin-bottom: 2rem;
}
.contact-detail-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	border-top: 1px solid var(--divider);
}
.contact-detail {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 1rem;
	align-items: baseline;
	padding: 0.875rem 0;
	border-bottom: 1px solid var(--divider);
}
.contact-detail__label {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.contact-detail__value {
	font-family: "Lora", serif;
	font-size: 0.9375rem;
	color: var(--text);
	line-height: 1.5;
}
.contact-detail__value a {
	color: var(--color-sage-btn);
	border-bottom: 1px solid rgba(77, 112, 84, 0.3);
	padding-bottom: 1px;
	transition: border-color 0.2s;
}
.contact-detail__value a:hover {
	border-bottom-color: currentColor;
}
.contact-form {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 2rem;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.05);
}
.contact-form__title {
	font-family: "Outfit", sans-serif;
	font-size: 0.8rem;
	font-weight: 300;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}
.form-field {
	margin-bottom: 1rem;
}
.form-label {
	display: block;
	font-family: "Outfit", sans-serif;
	font-size: 0.65rem;
	font-weight: 300;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 0.4rem;
}
.form-input,
.form-textarea {
	width: 100%;
	font-family: "Lora", serif;
	font-size: 0.9375rem;
	color: var(--text);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 0.75rem 1rem;
	outline: none;
	transition: border-color 0.2s;
}
.form-input:focus,
.form-textarea:focus {
	border-color: var(--color-sage-btn);
}
.form-textarea {
	resize: vertical;
	min-height: 120px;
}
.map-placeholder {
	position: relative;
	aspect-ratio: 4/3;
	background: var(--surface-alt);
	border: 1px solid var(--border);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(74, 44, 42, 0.06);
}
.map-placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(var(--divider) 1px, transparent 1px), linear-gradient(90deg, var(--divider) 1px, transparent 1px);
	background-size: 36px 36px;
	opacity: 0.6;
}
.map-placeholder::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(107, 143, 113, 0.06) 0%, transparent 70%);
}
.map-placeholder__pin {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}
.map-placeholder__dot {
	width: 12px;
	height: 12px;
	background: var(--color-sage-btn);
	border-radius: 50%;
	border: 2px solid #fff;
	box-shadow:
		0 0 0 1px var(--color-sage-btn),
		0 0 12px rgba(77, 112, 84, 0.3);
}
.map-placeholder__label {
	background: var(--surface);
	border: 1px solid var(--border);
	padding: 0.35rem 0.75rem;
	border-radius: var(--radius);
	font-family: "Outfit", sans-serif;
	font-size: 0.65rem;
	font-weight: 400;
	letter-spacing: 0.06em;
	color: var(--text);
	box-shadow: 0 2px 6px rgba(74, 44, 42, 0.1);
}

.h24-box {
	background: #3d2422;
	color: var(--color-linen);
	border-radius: 10px;
	padding: 2rem;
	margin-top: 2rem;
}
.h24-box__title {
	font-family: "Outfit", sans-serif;
	font-size: 0.7rem;
	font-weight: 300;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #c4a09a;
	margin-bottom: 0.75rem;
}
.h24-box__number {
	font-family: "Outfit", sans-serif;
	font-size: 1.5rem;
	font-weight: 300;
	color: var(--color-linen);
	margin-bottom: 0.25rem;
}
.h24-box__sub {
	font-family: "Lora", serif;
	font-size: 0.875rem;
	font-style: italic;
	color: #c4a09a;
}
.pec-block {
	margin-top: 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--border);
	border-radius: 10px;
	background: var(--surface);
}
.pec-block__label {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 0.5rem;
}
.pec-block__value {
	font-family: "Lora", serif;
	font-size: 0.9375rem;
	color: var(--color-sage-btn);
}

/* === FOOTER === */
.site-footer {
	background: #2a1a18;
	color: var(--color-linen);
	padding-block: 3.5rem 2rem;
}
.footer-inner {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 3rem;
	padding-bottom: 2.5rem;
	border-bottom: 1px solid rgba(242, 237, 230, 0.1);
	margin-bottom: 2rem;
}
.footer-brand__logo {
	height: 36px;
	width: auto;
	margin-bottom: 1rem;
}
.footer-brand__name {
	font-family: "Outfit", sans-serif;
	font-size: 0.65rem;
	font-weight: 300;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--color-taupe-mid);
	margin-bottom: 0.5rem;
}
.footer-brand__tagline {
	font-family: "Lora", serif;
	font-size: 0.9rem;
	font-style: italic;
	color: #c4b5a5;
	margin-bottom: 1.25rem;
}
.footer-brand__contact {
	font-family: "Outfit", sans-serif;
	font-size: 0.8rem;
	font-weight: 300;
	color: #a89688;
	line-height: 1.9;
}
.footer-brand__contact a {
	color: var(--color-linen);
	transition: color 0.2s;
}
.footer-brand__contact a:hover {
	color: var(--color-sage);
}
.footer-nav-title {
	font-family: "Outfit", sans-serif;
	font-size: 0.6rem;
	font-weight: 300;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--color-taupe-mid);
	margin-bottom: 1.25rem;
}
.footer-nav-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
}
.footer-nav-list a {
	font-family: "Outfit", sans-serif;
	font-size: 0.85rem;
	font-weight: 300;
	color: #a89688;
	transition: color 0.2s;
}
.footer-nav-list a:hover {
	color: var(--color-linen);
}
.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}
.footer-bottom__copy {
	font-family: "Outfit", sans-serif;
	font-size: 0.72rem;
	font-weight: 300;
	color: #6b5050;
}
.footer-bottom__legal {
	display: flex;
	gap: 1.25rem;
}
.footer-bottom__legal a {
	font-family: "Outfit", sans-serif;
	font-size: 0.72rem;
	font-weight: 300;
	color: #6b5050;
	transition: color 0.2s;
}
.footer-bottom__legal a:hover {
	color: #a89688;
}

/* === THEME TOGGLE === */
#theme-toggle {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 999;
	width: 42px;
	height: 42px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 50%;
	cursor: pointer;
	font-size: 1rem;
	box-shadow: 0 2px 10px rgba(74, 44, 42, 0.18);
	transition:
		background 300ms,
		border-color 300ms,
		transform 180ms;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}
#theme-toggle:hover {
	transform: scale(1.12);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
	.milestones-grid,
	.ceneri-grid,
	.faq-grid,
	.options-grid,
	.scenari-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.site-nav {
		display: none;
	}
	.header-menu-toggle {
		display: flex;
	}
}
@media (max-width: 900px) {
	.hero-inner {
		grid-template-columns: 1fr;
	}
	/* La visual passa sopra il testo e sborda i gutter del container,
	   così l'immagine resta a tutta larghezza sotto l'header. */
	.hero-visual {
		order: -1;
		border-left: 0;
		border-bottom: 1px solid var(--divider);
		margin-inline: calc(var(--gutter) * -1);
	}
	.hero-visual img {
		width: 100%;
		max-height: 260px;
		object-fit: cover;
	}
	.hero-content {
		padding-right: 0;
		padding-block: 2.5rem 4rem;
	}
	.about-strip-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.memorial-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.contact-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.footer-inner {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.storia-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.territorio-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.checklist-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.documenti-inner {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.cta-strip-inner {
		flex-direction: column;
		align-items: flex-start;
	}
	.icrem-strip-inner {
		flex-direction: column;
	}
}
@media (max-width: 700px) {
	.services-grid,
	.milestones-grid,
	.ceneri-grid,
	.faq-grid,
	.options-grid,
	.scenari-grid {
		grid-template-columns: 1fr;
	}
	.about-strip__stat-block {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 1.5rem;
	}
	.gallery-slider__slide {
		flex-basis: 78vw;
	}
}
@media (max-width: 480px) {
	.header-h24 {
		display: none;
	}
}

/* === SKIP LINK === */
.skip-link {
	position: absolute;
	top: -40px;
	left: 1rem;
	background: var(--color-sage-btn);
	color: #fff;
	padding: 0.5rem 1rem;
	border-radius: 0 0 var(--radius) var(--radius);
	transition: top 0.2s;
	z-index: 999;
	font-family: "Outfit", sans-serif;
	font-size: 0.875rem;
}
.skip-link:focus {
	top: 0;
}

/* === NECROLOGI — PAGE-SPECIFIC === */

.eyebrow--mb {
	margin-bottom: 1rem;
}

.info-banner {
	background: var(--surface-alt);
	border-top: 1px solid var(--divider);
	border-bottom: 1px solid var(--divider);
	padding-block: 3rem;
}
.info-banner .container {
	max-width: 640px;
}
.info-banner .eyebrow {
	margin-bottom: 0.75rem;
}
.info-banner__heading {
	font-family: "Outfit", sans-serif;
	font-size: 1.5rem;
	font-weight: 200;
	color: var(--text);
	margin-bottom: 1rem;
}
.info-banner__heading em {
	font-family: "Lora", serif;
	font-style: italic;
	color: var(--color-sage);
}
.info-banner__body {
	font-family: "Lora", serif;
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}
.info-banner__link {
	color: var(--color-sage-btn);
}

.profili-section {
	padding-block: 5rem;
}

.grid-message {
	font-family: "Lora", serif;
	font-size: 0.9rem;
	color: var(--text-muted);
	padding: 2rem 0;
	grid-column: 1 / -1;
	text-align: center;
}

.memorial-pagination {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 2.5rem;
	flex-wrap: wrap;
}
.pagination-btn {
	padding: 0.5rem 1rem;
	font-family: "Outfit", sans-serif;
	font-size: 0.8rem;
	background: var(--surface);
	color: var(--text-muted);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	cursor: pointer;
	transition:
		background 0.2s,
		color 0.2s;
}
.pagination-btn--active {
	background: var(--color-sage-btn);
	color: #fff;
}

.scheda-nav {
	background: var(--surface-alt);
	border-bottom: 1px solid var(--divider);
	padding-block: 1.25rem;
}
.back-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: "Outfit", sans-serif;
	font-size: 0.8rem;
	font-weight: 300;
	color: var(--text-muted);
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: color 0.2s;
}
.back-link:hover {
	color: var(--text);
}
.back-link__arrow {
	font-size: 0.9rem;
}
.scheda-section {
	padding-block: 4rem;
}

.tribute-form__disclaimer {
	font-family: "Outfit", sans-serif;
	font-size: 0.7rem;
	font-weight: 300;
	color: var(--text-muted);
	margin-bottom: 1rem;
	line-height: 1.6;
}
.btn--full {
	width: 100%;
	justify-content: center;
}
.tribute-success {
	padding: 1.5rem;
	background: rgba(107, 143, 113, 0.1);
	border: 1px solid rgba(107, 143, 113, 0.3);
	border-radius: var(--radius);
}
.tribute-success__text {
	font-family: "Lora", serif;
	color: var(--color-sage-btn);
	font-style: italic;
}
.not-found {
	text-align: center;
	padding: 3rem 0;
}
.not-found__text {
	font-family: "Lora", serif;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}

/* === WP overrides === */
.wp-site-blocks {
	padding: 0 !important;
}
.wp-block-template-part {
	display: contents;
}
