* {
	box-sizing: border-box;
}

:root {
	--bg: #f7f8fb;
	--bg-soft: #ffffff;
	--panel: #ffffff;
	--glass: rgba(255, 255, 255, 0.9);
	--text: #0f1b2d;
	--muted: #5a6a85;
	--accent: #ff4d6d;
	--accent-2: #1a56db;
	--accent-3: #6b7bff;
	--stroke: #e6e8ef;
	--radius: 18px;
	--shadow: 0 10px 40px rgba(15, 27, 45, 0.12);
	--font: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body {
	margin: 0;
	font-family: var(--font);
	background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
	color: var(--text);
	line-height: 1.6;
	scroll-behavior: smooth;
}

.bg-texture {
	position: fixed;
	inset: 0;
	background-image: radial-gradient(circle, rgba(15, 27, 45, 0.06) 1px, transparent 0);
	background-size: 28px 28px;
	opacity: 0.25;
	pointer-events: none;
	z-index: -1;
}

.container {
	width: min(1180px, 92vw);
	margin: 0 auto;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--stroke);
}

.nav-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	flex-wrap: wrap;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	letter-spacing: 0.6px;
}

.brand-divider {
	display: block;
	width: 1.5px;
	height: 36px;
	background: var(--stroke);
	border-radius: 2px;
	flex-shrink: 0;
}

.brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1.15;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.4px;
	text-transform: uppercase;
	color: var(--text);
}

.nav-logo {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	object-fit: contain;
	border: 1px solid var(--stroke);
	background: #fff;
	flex-shrink: 0;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 0;
}

.nav-links a {
	display: inline-flex;
	align-items: center;
	padding: 0 10px;
	position: relative;
	color: var(--muted);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.nav-links a + a::before {
	content: "|";
	position: absolute;
	left: -2px;
	color: #a1adbf;
	font-weight: 400;
}

.nav-links a:hover {
	color: var(--text);
}

.nav-links a.active {
	color: #1e3a5f;
	font-weight: 700;
	background: linear-gradient(120deg, #fcd34d, #fde68a);
	border-radius: 8px;
	padding: 4px 10px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-weight: 600;
	text-decoration: none;
	color: var(--text);
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: linear-gradient(120deg, #fcd34d, #fde68a);
	box-shadow: 0 10px 24px rgba(252, 211, 77, 0.4);
	border-color: transparent;
	color: #1e3a5f;
}

.btn-secondary {
	background: #f1f5f9;
	border: 1px solid var(--stroke);
	color: var(--text);
}

.btn-ghost {
	background: transparent;
	border: 1px solid var(--stroke);
	color: var(--text);
}

.btn-whatsapp {
	background: #25D366;
	border-color: transparent;
	color: #fff;
	box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.btn.full {
	width: 100%;
}

main {
	padding: 72px 0 80px;
}

@media (max-width: 640px) {
	main {
		padding-top: 80px;
	}
}

.intro-hero {
	position: relative;
	min-height: 100svh;
	overflow: hidden;
	display: grid;
	place-items: center;
	background: #0b1220;
	margin-bottom: 0;
}

.intro-hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: brightness(0.6) saturate(0.95);
	transform: scale(1.02);
}

.intro-hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 18, 32, 0.32), rgba(11, 18, 32, 0.55));
	z-index: 1;
}

.intro-hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	gap: 18px;
	min-height: 100svh;
	padding-top: max(72px, 10vh);
	text-align: center;
}

.intro-hero-brand-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.intro-hero-logo {
	margin-bottom: 0;
}

.intro-hero-brand {
	font-size: clamp(34px, 4.5vw, 64px);
	line-height: 1;
	color: #fff;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.intro-hero-content h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(16px, 2.1vw, 26px);
	line-height: 1.02;
	font-weight: 700;
	max-width: 18ch;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.hero {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 40px;
	padding: 72px 0 32px;
	align-items: center;
}

.hero-content h1 {
	font-size: clamp(32px, 5vw, 56px);
	margin: 10px 0 16px;
	line-height: 1.1;
}

.lead {
	color: var(--muted);
	max-width: 560px;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 1.4px;
	font-weight: 700;
	font-size: 12px;
	color: var(--accent-2);
	margin: 0;
}

.cta-group {
	display: flex;
	gap: 12px;
	margin: 22px 0;
	flex-wrap: wrap;
}

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.stats > div {
	text-align: center;
}

.stat-number {
	font-size: 60px;
	font-weight: 700;
	background: linear-gradient(120deg, #ffa600, #fff2bf);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	line-height: 1.1;
}

.stat-label {
	color: var(--muted);
	font-weight: 1000;
	text-align: center;
}

.hero-card {
	padding: 0;
	background: transparent;
	border: none;
	border-radius: var(--radius);
	box-shadow: none;
	position: relative;
	overflow: visible;
}

.hero-card::after {
	content: none;
}

.hero-card h3 {
	margin: 10px 0;
}

.hero-card-head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 10px;
}

.hero-card-copy {
	flex: 1;
}

.hero-card-copy h3 {
	margin: 2px 0 8px;
}

.hero-logo {
	width: 110px;
	height: auto;
	border-radius: 14px;
	margin-bottom: 12px;
	border: 1px solid var(--stroke);
	background: #fff;
	box-shadow: 0 8px 20px rgba(15, 27, 45, 0.14);
}

.hero-logo-large {
	width: 160px;
	flex-shrink: 0;
}

.hero-card-description {
	margin: 0;
	color: var(--text);
	font-weight: 500;
}

.tag-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin: 12px 0 18px;
}

.hero-support-cta {
	display: flex;
	width: 100%;
	margin: 0 auto;
}

.hero-card {
	text-align: center;
}


.hero-card-image {
	display: block;
	width: 100%;
	max-width: 520px;
	height: auto;
	margin: 0 auto;
	border: 0;
	border-radius: 8px;
	box-shadow: 0 0 0 1px #111, 0 10px 24px rgba(15, 27, 45, 0.18);
	box-sizing: border-box;
}

.tag {
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid var(--stroke);
	background: #f7f9fc;
	font-size: 13px;
	color: var(--muted);
}

.pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f7f9fc;
	border: 1px solid var(--stroke);
	color: var(--text);
	font-weight: 600;
	letter-spacing: 0.4px;
}

.pill.subtle {
	background: #f9fafc;
	color: var(--muted);
}

.section {
	padding: 56px 0 12px;
}

section[id] {
	scroll-margin-top: 96px;
}

.section-header {
	max-width: 740px;
}

.section-header.compact {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	max-width: none;
	flex-wrap: wrap;
}

.section-header.compact .eyebrow {
	flex: 1 1 100%;
}

.section-header.compact h2 {
	flex: 1 1 620px;
	margin-right: auto;
}

.section h2 {
	margin: 6px 0 8px;
	font-size: clamp(28px, 4vw, 40px);
}

.section-lead {
	color: var(--muted);
	margin: 0;
}

.grid.three {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.gallery-section .section-header {
	max-width: 820px;
}

.gallery-grid {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: 18px;
	margin-top: 18px;
	align-items: start;
}

.gallery-item {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--stroke);
	background: var(--panel);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	min-height: 100%;
}

.gallery-item.featured {
	border: none;
	background: transparent;
	box-shadow: none;
}

.gallery-item.featured img {
	width: 100%;
	height: 100%;
	min-height: 340px;
	object-fit: cover;
	display: block;
	background: #fff;
}

.gallery-item figcaption {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
	text-align: center;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(249, 250, 252, 1));
}

.gallery-item figcaption strong {
	font-size: 16px;
	font-weight: 700;
}

.gallery-item figcaption span {
	display: block;
	color: var(--muted);
	font-size: 14px;
	max-width: 62ch;
}

.carousel-container {
	position: relative;
	width: 100%;
	height: clamp(420px, 70vw, 820px);
	background: #f1f5f9;
	overflow: hidden;
	border-radius: 0;
}

.carousel-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.carousel-controls {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.7));
	padding: 16px 12px 12px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	z-index: 5;
}

.gallery-image-carousel .carousel-controls {
	top: 0;
	padding: 0;
	background: transparent;
	z-index: 6;
}

.carousel-progress {
	width: 100%;
	height: 3px;
	background: rgba(255,255,255,0.2);
	border-radius: 2px;
	overflow: hidden;
}

.carousel-progress-bar {
	height: 100%;
	background: #fff;
	width: 0%;
	transition: width 0.1s linear;
}

.carousel-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	justify-content: space-between;
}

.carousel-play-btn {
	background: rgba(255,255,255,0.9);
	border: none;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #000;
	transition: background 0.2s ease;
	flex-shrink: 0;
	padding: 0;
}

.carousel-play-btn:hover {
	background: #fff;
}

.carousel-play-btn.paused svg {
	transform: none;
}

.carousel-play-btn .icon-play {
	display: none;
	font-size: 18px;
	line-height: 1;
	margin-left: 2px;
}

.carousel-play-btn .icon-pause {
	display: block;
	font-size: 18px;
	line-height: 1;
	letter-spacing: -1px;
}

.carousel-play-btn.paused .icon-play {
	display: block;
}

.carousel-play-btn.paused .icon-pause {
	display: none;
}

.carousel-indicators {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	justify-content: center;
	flex: 1;
	max-width: 220px;
	padding: 10px 14px 12px;
	border-radius: 18px;
	background: rgba(15, 23, 42, 0.34);
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
	pointer-events: auto;
}

.carousel-indicator-loader {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	opacity: 0.42;
	transition: opacity 0.2s ease, transform 0.2s ease;
	transform: translateY(2px);
	pointer-events: none;
}

.gallery-image-carousel.is-hovering .carousel-indicator-loader {
	opacity: 1;
	transform: translateY(0);
}

.carousel-indicator-loader-label {
	color: rgba(255, 255, 255, 0.9);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-align: center;
}

.carousel-indicator-loader-track {
	width: 100%;
	height: 4px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.18);
	overflow: hidden;
}

.carousel-indicator-loader-fill {
	display: block;
	height: 100%;
	width: 0%;
	border-radius: inherit;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), #ffffff);
	box-shadow: 0 0 10px rgba(255, 255, 255, 0.35);
}

.carousel-indicator-dots {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.carousel-indicator {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.4);
	cursor: pointer;
	transition: background 0.2s ease;
	padding: 0;
}

.carousel-indicator.active {
	background: #fff;
}

.gallery-image-carousel.is-hovering .carousel-indicator.active {
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.carousel-indicator:hover {
	background: rgba(255,255,255,0.7);
}

.carousel-nav-btn {
	position: absolute;
	top: 44%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border-radius: 999px;
	border: none;
	background: rgba(255, 255, 255, 0.88);
	color: var(--text);
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
	transition: transform 0.2s ease, background 0.2s ease;
	z-index: 7;
	padding: 0;
}

.carousel-nav-btn:hover {
	background: #fff;
	transform: translateY(-50%) scale(1.04);
}

.carousel-nav-prev {
	left: 14px;
}

.carousel-nav-next {
	right: 14px;
}

.gallery-image-carousel .carousel-actions {
	position: absolute;
	inset: 0;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
}

.gallery-image-carousel .carousel-indicators {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	flex: 0;
	pointer-events: auto;
}

.gallery-image-carousel .carousel-indicator {
	width: 9px;
	height: 9px;
	background: rgba(255,255,255,0.45);
}

.gallery-image-carousel .carousel-indicator.active {
	background: #fff;
}

.gallery-image-carousel .carousel-nav-btn {
	pointer-events: auto;
}


.gallery-item.featured {
	grid-column: 1 / -1;
}

.carousel-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.gallery-item.featured img.carousel-image {
	object-fit: contain;
}

.gallery-item.featured img.carousel-image-rotated {
	top: 28px;
	right: auto;
	bottom: auto;
	left: 50%;
	width: auto;
	height: calc(100% - 56px);
	max-width: 100%;
	object-position: center center;
	transform: translateX(-50%);
}

.gallery-item.placeholder {
	justify-content: space-between;
	background: linear-gradient(160deg, rgba(252, 211, 77, 0.18), rgba(107, 123, 255, 0.08));
	min-height: 340px;
}

.gallery-note {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	background: linear-gradient(160deg, rgba(22, 166, 182, 0.08), rgba(252, 211, 77, 0.12));
	min-height: 100%;
	padding: 24px;
}

.gallery-note h3 {
	margin: 0;
}

.gallery-note p {
	margin: 0;
	color: var(--muted);
}

.gallery-placeholder-icon {
	display: grid;
	place-items: center;
	flex: 1;
	font-size: 42px;
	color: var(--accent-2);
	background: radial-gradient(circle at top, rgba(255, 255, 255, 0.75), rgba(255, 255, 255, 0.2));
}

.card {
	background: var(--panel);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	padding: 18px;
	box-shadow: var(--shadow);
	position: relative;
	overflow: hidden;
}

.card.highlight {
	background: linear-gradient(160deg, rgba(107, 123, 255, 0.08), rgba(22, 166, 182, 0.08));
}

.card.glass {
	background: var(--glass);
	backdrop-filter: blur(10px);
}

.hero-card.card,
.hero-card.card.glass {
	padding: 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.card .icon {
	font-size: 24px;
}

.mission-card {
	text-align: center;
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	padding-left: 0;
	padding-right: 0;
}

.mission-card .icon {
	margin-bottom: 10px;
}

.mission-card .icon img {
	width: 92px;
	height: 92px;
	object-fit: contain;
}

.mission-card .pill {
	margin: 10px auto 0;
}

.list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.list-item {
	background: var(--panel);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	padding: 18px;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: center;
	box-shadow: var(--shadow);
}

.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	align-items: center;
}

.donation-options {
	display: grid;
	gap: 12px;
	margin: 14px 0 18px;
}

.donation-options div {
	padding: 12px;
	border: 1px solid var(--stroke);
	border-radius: 12px;
	background: #f9fafc;
}

.bullets {
	list-style: none;
	padding: 0;
	color: var(--muted);
}

.bullets li {
	margin: 6px 0;
}

.cinque-x-mille {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-top: 28px;
	padding: 20px 28px;
	border-radius: 14px;
	background: #fffbe6;
	border: 1px solid #ffe066;
	width: 100%;
	box-sizing: border-box;
}

.cinque-x-mille-badge {
	flex-shrink: 0;
	background: #ffd700;
	color: #333;
	font-weight: 700;
	font-size: 13px;
	padding: 4px 10px;
	border-radius: 8px;
	margin-top: 2px;
}

.cinque-x-mille p {
	margin: 4px 0 0;
	font-size: 14px;
	color: var(--muted);
}

.donate-card {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 6px;
	padding: 18px 16px;
}

.donate-cta {
	margin-top: 4px;
	font-size: 0.95rem;
	padding: 12px 16px;
}

.paypal-hosted-button {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 10px auto 0;
	padding: 0;
	max-width: 320px;
}

.paypal-hosted-button iframe {
	width: 100% !important;
	border-radius: 10px;
}

.paypal-hosted-button > div {
	width: 100% !important;
}

.paypal-hosted-button input[type="image"] {
	display: block;
	max-width: 100%;
	border-radius: 12px;
	box-shadow: 0 10px 22px rgba(15, 27, 45, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paypal-hosted-button input[type="image"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(15, 27, 45, 0.22);
}

.paypal-donate-form {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}

.paypal-donate-button {
	width: 100%;
	max-width: 260px;
	border: none;
	border-radius: 12px;
	padding: 12px 18px;
	font-weight: 700;
	font-size: 16px;
	color: #1e3a5f;
	background: linear-gradient(120deg, #fcd34d, #fde68a);
	box-shadow: 0 10px 22px rgba(252, 211, 77, 0.4);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.paypal-donate-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 28px rgba(252, 211, 77, 0.45);
}

.paypal-donate-logos {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.paypal-donate-logos img {
	display: block;
	height: 28px;
	width: auto;
	max-width: 140px;
	opacity: 0.95;
}

.paypal-donate-logos .paypal-cards {
	height: 28px;
	max-width: 180px;
}

.text-link {
	color: var(--accent);
	text-decoration: none;
	font-weight: 600;
}

.testimonial .quote {
	font-style: italic;
	color: var(--muted);
}

.testimonial .author {
	font-weight: 700;
	margin-top: 10px;
}

.newsletter {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	align-items: center;
}

.newsletter-form {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin: 12px 0;
}

.newsletter-form input {
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--stroke);
	background: #fff;
	color: var(--text);
	min-width: 220px;
}

.newsletter-form input::placeholder {
	color: var(--muted);
}

.social-links {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--text);
	padding: 10px 14px;
	border-radius: 12px;
	border: none;
	background: var(--social-gradient);
	text-decoration: none;
	flex: 1 1 0;
	justify-content: center;
	transition: none;
}

.social-links a svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

.social-links a:hover {
}

.contact-primary-links,
.contact-social-links {
	margin-top: 0.75rem;
}

.contact-primary-links a {
	--social-gradient: linear-gradient(120deg, #fccb29, #ffeca0);
	color: #1e3a5f;
}

.contact-primary-links a:hover {
}

.social-links a.social-instagram {
	--social-gradient: radial-gradient(circle at 30% 110%, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: #fff;
}

.social-links a.social-facebook {
	--social-gradient: linear-gradient(120deg, #0f5fcd, #1877f2 55%, #47a0ff);
	color: #fff;
}

.social-links a.social-whatsapp {
	--social-gradient: linear-gradient(120deg, #18b957, #25d366 55%, #58e18f);
	color: #fff;
}

.volontari-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 28px;
}

.volontari-header > div:first-child {
	flex: 1;
}

.cta-group-right {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 0 !important;
}

@media (max-width: 900px) {
	.volontari-header {
		flex-direction: column;
		align-items: flex-start;
	}
}

.small {
	color: var(--muted);
	font-size: 14px;
}

.map-card {
	margin-top: 16px;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	border: 1px solid var(--stroke);
	background: var(--panel);
}

.map-frame {
	width: 100%;
	height: 380px;
	border: 0;
	display: none;
}

.map-frame.is-active {
	display: block;
}

.map-consent-placeholder {
	padding: 26px;
	background: linear-gradient(160deg, rgba(107, 123, 255, 0.08), rgba(252, 211, 77, 0.12));
	display: grid;
	gap: 10px;
}

.map-consent-placeholder h3 {
	margin: 0;
}

.map-consent-placeholder p {
	margin: 0;
	color: var(--muted);
}

.map-consent-placeholder.is-hidden {
	display: none;
}

.map-consent-actions {
	margin: 8px 0 0;
}

.footer-link-button {
	background: transparent;
	border: 0;
	padding: 0;
	font: inherit;
	color: var(--muted);
	cursor: pointer;
}

.footer-link-button:hover {
	color: var(--text);
}

.cookie-banner {
	position: fixed;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	width: min(980px, calc(100vw - 24px));
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid var(--stroke);
	border-radius: 16px;
	box-shadow: 0 12px 36px rgba(15, 27, 45, 0.2);
	z-index: 40;
	display: none;
}

.cookie-banner.is-visible {
	display: block;
}

.cookie-banner-content {
	padding: 18px;
}

.cookie-banner-content h3 {
	margin: 6px 0 6px;
	font-size: 22px;
}

.cookie-banner-copy {
	margin: 0;
	color: var(--muted);
}

.cookie-banner-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 14px;
}

.cookie-modal {
	position: fixed;
	inset: 0;
	z-index: 50;
	background: rgba(15, 27, 45, 0.45);
	display: grid;
	place-items: center;
	padding: 16px;
}

.cookie-modal[hidden] {
	display: none;
}

.cookie-modal-panel {
	width: min(640px, 100%);
	background: #fff;
	border: 1px solid var(--stroke);
	border-radius: 16px;
	box-shadow: 0 20px 45px rgba(15, 27, 45, 0.22);
	padding: 22px;
}

.cookie-modal-panel h3 {
	margin: 0 0 8px;
}

.cookie-modal-panel p {
	margin: 0;
	color: var(--muted);
}

.cookie-options {
	display: grid;
	gap: 12px;
	margin-top: 16px;
}

.cookie-option {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 12px;
	border: 1px solid var(--stroke);
	border-radius: 12px;
	align-items: center;
	background: #f9fafc;
}

.cookie-option span {
	display: grid;
	gap: 4px;
}

.cookie-option small {
	color: var(--muted);
}

.cookie-option input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: #1a56db;
}

.cookie-option.is-required {
	background: #f1f5f9;
}

.cookie-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-top: 18px;
	flex-wrap: wrap;
}

.site-footer {
	border-top: 1px solid var(--stroke);
	padding: 24px 0 32px;
	background: #f9fafb;
}

.legal-page main {
	padding-top: 24px;
}

.legal-content {
	max-width: 860px;
	background: var(--panel);
	border: 1px solid var(--stroke);
	border-radius: var(--radius);
	padding: 28px;
	box-shadow: var(--shadow);
}

.legal-content h1 {
	margin: 8px 0 10px;
	font-size: clamp(30px, 5vw, 44px);
	line-height: 1.1;
}

.legal-content h2 {
	font-size: 22px;
	margin: 28px 0 8px;
}

.legal-content p,
.legal-content li {
	color: var(--text);
}

.legal-content ul {
	padding-left: 20px;
}

.legal-note {
	margin-top: 22px;
	padding-top: 14px;
	border-top: 1px solid var(--stroke);
}

.footer-content {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.footer-links {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.footer-links a {
	color: var(--muted);
	text-decoration: none;
}

.footer-links a:hover {
	color: var(--text);
}

@media (max-width: 900px) {
	main {
		padding-top: 120px;
	}
	section[id] {
		scroll-margin-top: 120px;
	}
	.hero {
		grid-template-columns: 1fr;
	}
	.gallery-grid {
		grid-template-columns: 1fr;
	}
	.nav-links {
		order: 3;
		flex: 0 0 100%;
		overflow-x: auto;
		padding: 4px 0 8px;
		border-top: 1px solid var(--stroke);
	}
	.nav-links a {
		white-space: nowrap;
		padding: 4px 10px;
	}
	.header-actions .btn-ghost {
		display: none;
	}
}

@media (max-width: 600px) {
	.legal-content {
		padding: 20px;
	}
	section[id] {
		scroll-margin-top: 120px;
	}
	.hero {
		padding-top: 34px;
		padding-bottom: 24px;
		gap: 24px;
	}
	.list-item {
		flex-direction: column;
		align-items: flex-start;
	}
	.carousel-container {
		height: clamp(260px, 85vw, 420px);
	}
	.gallery-item.featured img,
	.gallery-item.placeholder {
		min-height: 240px;
	}
	.gallery-note {
		min-height: auto;
	}
	.hero-card-head {
		flex-direction: column;
	}
	.cta-group {
		flex-direction: column;
	}
	.cta-group .btn {
		width: 100%;
		justify-content: center;
	}
	.cookie-banner {
		bottom: 10px;
		width: calc(100vw - 16px);
	}
	.cookie-banner-actions {
		flex-direction: column;
	}
	.cookie-banner-actions .btn {
		width: 100%;
	}
	.map-consent-actions {
		margin-top: 12px;
	}
	.map-consent-actions .btn {
		width: 100%;
	}
	.footer-link-button {
		text-align: left;
	}
	.btn {
		padding: 10px 16px;
	}
}