/* ============================================================
   PAGINA ALLOGGI v2 — bozza 22/10/2026
   Si aggiunge a style.css del sito (non lo modifica).
   Colori e font sono quelli del sito: verde #4AAB38, verde scuro
   #2b6d1f, marrone #4A392F, beige #c3b9a9, Poppins per i titoli.
   Tutte le classi hanno il prefisso av2- per non toccare il resto.
   ============================================================ */

:root {
	--av2-green: #4AAB38;
	--av2-green-dark: #2b6d1f;
	--av2-brown: #4A392F;
	--av2-beige: #c3b9a9;
	--av2-cream: #F7F5F1;
	--av2-text: #2f2f2f;
	--av2-muted: #6b625b;
}

.av2-section { display: block; clear: both; width: 100%; }

.av2-kicker {
	display: inline-block;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--av2-green);
	margin-bottom: 10px;
}

.av2-section p { font-size: 17px; line-height: 1.65; color: var(--av2-text); }

/* ---------- segnaposto visibili (da togliere prima di pubblicare) ---------- */
.dc {
	background: #fff3b0;
	color: #5a4300;
	border: 1px dashed #c9a400;
	border-radius: 3px;
	padding: 1px 6px;
	font-size: .92em;
	font-weight: 600;
}
.dc::before { content: "DA CONFERMARE CON FRANCO: "; font-weight: 700; }

/* ---------- HERO ---------- */
.av2-hero {
	position: relative;
	display: block;
	width: 100%;
	min-height: 520px;
	height: 72vh;
	max-height: 760px;
	overflow: hidden;
	color: #fff;
	background: var(--av2-brown);
}
.av2-hero-img {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover; object-position: center 62%;
}
.av2-hero::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 45%, rgba(19,11,2,.72) 100%);
}
.av2-hero .grass { z-index: 1; max-width: 46%; bottom: -24px; }
.av2-hero-text {
	position: absolute; z-index: 2;
	left: 0; right: 0; bottom: 70px;
	text-align: center;
	padding: 0 20px;
}
.av2-hero-text .av2-kicker { color: #fff; opacity: .9; }
.av2-hero-text h1 {
	font-size: 64px; line-height: 1.05; color: #fff;
	text-shadow: 0 2px 18px rgba(0,0,0,.35);
	margin-bottom: 14px;
}
.av2-hero-text p {
	color: #fff; font-size: 20px; font-weight: 300; line-height: 1.4;
	max-width: 640px; margin: 0 auto 18px auto;
	text-shadow: 0 1px 10px rgba(0,0,0,.4);
}
.av2-hero-text .mu-btn { display: inline-block; white-space: nowrap; margin: 6px 4px 0 4px; padding: 8px 18px; }

/* ---------- FASCIA DATI ---------- */
.av2-facts { background: #fff; color: var(--av2-muted); border-bottom: 5px solid var(--av2-beige); }
.av2-facts ul {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0;
	max-width: 1140px; margin: 0 auto; padding: 26px 15px;
}
.av2-facts li {
	text-align: center; padding: 6px 10px; font-size: 15px; line-height: 1.35;
	border-left: 1px solid #e7e1d8;
}
.av2-facts li:first-child { border-left: 0; }
.av2-facts .fa { font-size: 24px; display: block; margin-bottom: 8px; color: var(--av2-green); }
.av2-facts b { display: block; font-family: 'Poppins', sans-serif; font-size: 16px; letter-spacing: .3px; color: var(--av2-brown); }

/* ---------- INTRO / LA CASA ---------- */
.av2-intro { padding: 80px 0 60px 0; background: #fff; }
.av2-intro h2, .av2-garden h2, .av2-arrive h2, .av2-book h2 {
	color: var(--av2-brown); font-size: 36px; margin-bottom: 18px;
}
.av2-intro-img { position: relative; }
.av2-intro-img img { width: 100%; height: auto; display: block; border-radius: 2px; }
.av2-caption { font-size: 13px; color: var(--av2-muted); margin-top: 8px; }

/* ---------- TITOLO CAMERE ---------- */
.av2-rooms-head { background: var(--av2-cream); text-align: center; padding: 70px 15px 10px 15px; }
.av2-rooms-head h2 { color: var(--av2-brown); font-size: 45px; }
.av2-rooms-head p { max-width: 720px; margin: 14px auto 0 auto; color: var(--av2-muted); }

/* ---------- CAMERA ---------- */
.av2-room { background: var(--av2-cream); padding: 50px 0 70px 0; }
.av2-room + .av2-room { padding-top: 10px; }
.av2-room-card {
	background: #fff;
	border-top: 5px solid var(--av2-beige);
	box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.av2-room-text { padding: 44px 44px 40px 44px; }
.av2-room-text h3 { font-size: 46px; color: var(--av2-green); margin-bottom: 6px; }
.av2-room-lead {
	font-family: 'Poppins', sans-serif; font-weight: 500;
	font-size: 19px !important; line-height: 1.45 !important;
	color: var(--av2-brown) !important; margin: 10px 0 18px 0;
}

/* scheda dati: tabella densa */
.av2-spec { margin: 22px 0 26px 0; border-top: 1px solid #e7e1d8; }
.av2-spec div {
	display: grid; grid-template-columns: 128px 1fr; gap: 12px;
	padding: 9px 0; border-bottom: 1px solid #e7e1d8; font-size: 15px; line-height: 1.45;
}
.av2-spec dt { font-weight: 700; color: var(--av2-brown); font-family: 'Poppins', sans-serif; font-size: 13px; letter-spacing: .5px; text-transform: uppercase; padding-top: 2px; }
.av2-spec dd { margin: 0; color: var(--av2-text); }

.av2-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.av2-btn {
	display: inline-block;
	font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 14px;
	letter-spacing: 1px; text-transform: uppercase; text-align: center;
	padding: 10px 18px; border: 3px solid var(--av2-green);
	color: #fff; background: var(--av2-green);
	transition: background .3s, border-color .3s, color .3s;
}
.av2-btn:hover, .av2-btn:focus { background: var(--av2-green-dark); border-color: var(--av2-green-dark); color: #fff; }
.av2-btn-ghost { background: transparent; color: var(--av2-green); }
.av2-btn-ghost:hover, .av2-btn-ghost:focus { background: var(--av2-green); color: #fff; }
.av2-btn .fa { margin-right: 6px; }
a.av2-btn:focus-visible, .av2-gallery a:focus-visible, .av2-lb button:focus-visible {
	outline: 3px solid #f5c400; outline-offset: 2px;
}

/* galleria camera */
.av2-gallery { padding: 0; display: flex; flex-direction: column; }
@media (min-width: 992px) { .av2-gallery { position: sticky; top: 16px; } }
.av2-gallery a { display: block; position: relative; overflow: hidden; background: #e9e4dc; }
.av2-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.av2-gallery a:hover img { transform: scale(1.03); }
.av2-gallery-main { aspect-ratio: 3 / 2; }
.av2-gallery-thumbs {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px;
}
.av2-gallery-thumbs a { aspect-ratio: 3 / 2; }
.av2-gallery .av2-more::after {
	content: attr(data-more);
	position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center;
	background: rgba(19,11,2,.55); color: #fff;
	font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px;
}
.av2-gallery .av2-hidden { display: none; }

/* ---------- VISTA (fascia a tutta larghezza) ---------- */
.av2-view { position: relative; overflow: hidden; min-height: 460px; height: 62vh; max-height: 680px; background: #6c8fb3; }
.av2-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.av2-view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,11,2,.62) 0%, rgba(19,11,2,.15) 55%, rgba(19,11,2,0) 100%); }
.av2-view-text { position: absolute; z-index: 2; left: 0; right: 0; top: 50%; transform: translateY(-50%); }
.av2-view-text h2 { color: #fff; font-size: 52px; line-height: 1.08; margin-bottom: 14px; }
.av2-view-text p { color: #fff; font-size: 19px; max-width: 460px; text-shadow: 0 1px 8px rgba(0,0,0,.35); }

/* ---------- GIARDINO ---------- */
.av2-garden { background: #fff; padding: 80px 0 40px 0; }
.av2-garden-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.av2-garden-imgs figure { margin: 0; }
.av2-garden-imgs img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.av2-around {
	margin-top: 26px; padding: 18px 20px;
	border-left: 5px solid var(--av2-beige); background: var(--av2-cream);
}
.av2-around h4 { font-size: 17px; color: var(--av2-brown); margin-bottom: 6px; }
.av2-around p { margin: 0; font-size: 16px; }

/* ---------- ARRIVARE + BUONO A SAPERE ---------- */
.av2-arrive { background: #fff; padding: 40px 0 80px 0; }
.av2-know {
	margin: 0; padding: 0;
	display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px;
}
.av2-know li {
	list-style: none; font-size: 16px; line-height: 1.5;
	padding: 14px 0 14px 34px; border-bottom: 1px solid #e7e1d8; position: relative;
}
.av2-know .fa { position: absolute; left: 2px; top: 17px; color: var(--av2-green); width: 20px; text-align: center; }
.av2-know b { color: var(--av2-brown); }

/* ---------- PRENOTA ---------- */
.av2-book { background: var(--av2-brown); color: #fff; padding: 70px 0; }
.av2-book h2 { color: #fff; }
.av2-book p { color: #f1ebe3; }
.av2-book-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; margin-top: 26px; }
.av2-book-item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); padding: 22px 22px 24px 22px; }
.av2-book-item h4 { color: #fff; font-size: 20px; margin-bottom: 6px; }
.av2-book-item p { font-size: 15px; margin-bottom: 14px; }
.av2-book .av2-btn-ghost { color: #fff; border-color: #fff; }
.av2-book .av2-btn-ghost:hover, .av2-book .av2-btn-ghost:focus { background: #fff; color: var(--av2-brown); }
.av2-book-contact a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.av2-book .av2-codes { margin-top: 28px; font-size: 13px; color: #d9cfc3; letter-spacing: .3px; }
.av2-book .av2-codes b { color: #fff; }

/* ---------- LIGHTBOX ---------- */
.av2-lb {
	border: 0; padding: 0; margin: 0;
	width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh;
	background: rgba(12,8,4,.94); color: #fff;
}
.av2-lb:not([open]) { display: none; }
.av2-lb::backdrop { background: rgba(12,8,4,.94); }
.av2-lb-inner { position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.av2-lb img { max-width: 94vw; max-height: 82vh; object-fit: contain; display: block; }
.av2-lb-cap { margin-top: 12px; font-size: 15px; color: #e8e2da; text-align: center; padding: 0 60px; }
.av2-lb button {
	position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0;
	width: 52px; height: 52px; border-radius: 50%; font-size: 22px; cursor: pointer;
}
.av2-lb button:hover { background: rgba(255,255,255,.25); }
.av2-lb-close { top: 16px; right: 16px; }
.av2-lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.av2-lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.av2-lb-count { position: absolute; top: 28px; left: 24px; font-size: 14px; color: #cfc6bb; }

/* ---------- RESPONSIVE (mobile first nei fatti: qui si scende) ---------- */
@media (max-width: 1199px) {
	.av2-room-text { padding: 36px 32px; }
	.av2-room-text h3 { font-size: 40px; }
}

@media (max-width: 991px) {
	.av2-facts ul { grid-template-columns: repeat(3, 1fr); row-gap: 16px; }
	.av2-facts li:nth-child(4) { border-left: 0; }
	.av2-intro { padding: 56px 0 40px 0; }
	.av2-intro-img { margin-top: 26px; }
	.av2-room { padding: 30px 0 40px 0; }
	.av2-room-text { padding: 30px 24px 34px 24px; }
	.av2-view-text h2 { font-size: 40px; }
	.av2-garden-imgs { margin-top: 24px; }
	.av2-book-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	.av2-hero { height: 78vh; min-height: 460px; }
	.av2-hero-text { bottom: 54px; }
	.av2-hero-text h1 { font-size: 40px; }
	.av2-hero-text p { font-size: 17px; }
	.av2-hero-text .mu-btn { font-size: 14px; padding: 7px 12px; }
	.av2-facts ul { grid-template-columns: 1fr 1fr; padding: 20px 10px; }
	.av2-facts li { border-left: 0; font-size: 14px; }
	.av2-facts li:last-child { grid-column: 1 / -1; }
	.av2-intro h2, .av2-garden h2, .av2-arrive h2, .av2-book h2 { font-size: 28px; }
	.av2-rooms-head { padding: 50px 15px 0 15px; }
	.av2-rooms-head h2 { font-size: 32px; }
	.av2-room > .container { padding-left: 0; padding-right: 0; }
	.av2-room-text h3 { font-size: 34px; }
	.av2-spec div { grid-template-columns: 96px 1fr; gap: 8px; font-size: 14.5px; }
	.av2-gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 4px; }
	.av2-view { height: 56vh; min-height: 380px; }
	.av2-view::after { background: linear-gradient(0deg, rgba(19,11,2,.7) 0%, rgba(19,11,2,.1) 65%); }
	.av2-view-text { top: auto; bottom: 30px; transform: none; }
	.av2-view-text h2 { font-size: 32px; }
	.av2-view-text p { font-size: 16px; }
	.av2-garden { padding: 56px 0 24px 0; }
	.av2-know { grid-template-columns: 1fr; }
	.av2-book { padding: 50px 0; }
	.av2-lb-prev, .av2-lb-next { top: auto; bottom: 18px; transform: none; }
	.av2-lb-cap { padding: 0 16px 70px 16px; }
	.av2-section p { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
	.av2-gallery img { transition: none; }
	.av2-gallery a:hover img { transform: none; }
}
