/* ============================================================
   PROPOSTA SITO MULTIPAGINA v2 — bozza 22/10/2026
   Si aggiunge a style.css del sito e ad alloggi-v2.css (non li modifica).
   Componenti ripresi dalla proposta v1 (fascia orari, griglie foto,
   numeri dell'allevamento, mappa al clic, segnaposto) e adattati
   alla grafica della pagina Alloggi v2 approvata.
   Tutte le classi hanno il prefisso sv2-: nessuna regola globale,
   tranne il tasto «Nascondi segnaposto» (body.no-dc).
   ============================================================ */

:root {
	--sv2-green: #4AAB38;
	--sv2-green-dark: #2b6d1f;
	--sv2-green-text: #2f7a22;
	--sv2-brown: #4A392F;
	--sv2-beige: #c3b9a9;
	--sv2-cream: #F7F5F1;
	--sv2-text: #2f2f2f;
	--sv2-muted: #6b625b;
	--sv2-line: #e7e1d8;
}

/* ---------- segnaposto: tasto per nasconderli durante la presentazione ---------- */
body.no-dc .dc { display: none !important; }
.dc-toggle {
	position: fixed; right: 12px; bottom: 12px; z-index: 1001;
	background: #fff3b0; color: #5a4300; border: 1px solid #c9a400; border-radius: 20px;
	font: 600 13px/1 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; padding: 9px 14px; cursor: pointer;
	box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.dc-toggle:focus { outline: 3px solid #f5c400; outline-offset: 2px; border: 1px solid #c9a400; }

/* ---------- hero con più foto (home) ---------- */
.sv2-slides { position: absolute; inset: 0; }
.sv2-slides img {
	position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
	object-fit: cover; opacity: 0; animation: sv2-fade 18s infinite;
}
.sv2-slides img:nth-child(1) { animation-delay: 0s; object-position: center 55%; }
.sv2-slides img:nth-child(2) { animation-delay: 6s; }
.sv2-slides img:nth-child(3) { animation-delay: 12s; }
@keyframes sv2-fade { 0% { opacity: 0; } 5% { opacity: 1; } 33% { opacity: 1; } 39% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
	.sv2-slides img { animation: none; }
	.sv2-slides img:nth-child(1) { opacity: 1; }
}
.av2-hero-text .mu-btn .fa { margin-right: 6px; }

/* ---------- fascia Orari · Prenota · Dove ---------- */
.sv2-info { background: #fff; border-bottom: 5px solid var(--sv2-beige); }
.sv2-info-grid { display: grid; grid-template-columns: 1fr; max-width: 1140px; margin: 0 auto; padding: 0 15px; }
.sv2-info-item { padding: 22px 4px; border-top: 1px solid var(--sv2-line); }
.sv2-info-item:first-child { border-top: 0; }
.sv2-info-item h3 {
	font-size: 16px; letter-spacing: 1px; text-transform: uppercase; color: var(--sv2-brown);
	display: flex; align-items: center; gap: 8px; margin-bottom: 8px;
}
.sv2-info-item h3 .fa { color: var(--sv2-green); font-size: 20px; width: 22px; text-align: center; }
.sv2-info-item p { font-size: 16px; line-height: 1.5; margin-bottom: 10px; color: var(--sv2-text); }
.sv2-info-item .av2-btn { margin: 4px 6px 4px 0; }
.sv2-phone { font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; color: var(--sv2-brown) !important; }
.sv2-btn-wa { background: #1f8f4e !important; border-color: #1f8f4e !important; color: #fff !important; }
.sv2-btn-wa:hover, .sv2-btn-wa:focus { background: #146b39 !important; border-color: #146b39 !important; }
@media (min-width: 860px) {
	.sv2-info-grid { grid-template-columns: repeat(3, 1fr); }
	.sv2-info-item { border-top: 0; border-left: 1px solid var(--sv2-line); padding: 28px 22px; }
	.sv2-info-item:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- sezioni generiche ---------- */
.sv2-sec { padding: 72px 0; background: #fff; }
.sv2-cream { background: var(--sv2-cream); }
.sv2-sec h2 { color: var(--sv2-brown); font-size: 36px; margin-bottom: 18px; }
.sv2-sec .sv2-lead { max-width: 760px; color: var(--sv2-muted); }
.sv2-center { text-align: center; }
.sv2-center .sv2-lead { margin-left: auto; margin-right: auto; }
.sv2-fig { margin: 0; }
.sv2-fig img { width: 100%; height: auto; display: block; }
.sv2-fig figcaption { font-size: 13px; color: var(--sv2-muted); margin-top: 8px; line-height: 1.45; }
.sv2-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 991px) { .sv2-col-img { margin-top: 28px; } }
@media (max-width: 767px) {
	.sv2-sec { padding: 52px 0; }
	.sv2-sec h2 { font-size: 28px; }
}

/* ---------- 4 riquadri della home ---------- */
.sv2-cards { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 34px; }
@media (min-width: 640px) { .sv2-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .sv2-cards { grid-template-columns: repeat(4, 1fr); } }
.sv2-card { background: #fff; border-top: 5px solid var(--sv2-beige); display: flex; flex-direction: column; text-align: left; }
.sv2-card-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9e4dc; }
.sv2-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.sv2-card-img:hover img { transform: scale(1.03); }
.sv2-card-body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.sv2-card h3 { font-size: 22px; color: var(--sv2-green-text); margin-bottom: 8px; }
.sv2-card h3 a { color: inherit; }
.sv2-card p { font-size: 16px !important; line-height: 1.55; flex: 1; }
.sv2-card .av2-btn { align-self: flex-start; margin-top: 6px; }

/* ---------- griglia foto con didascalia (si aprono nel visore) ---------- */
.sv2-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (min-width: 900px) { .sv2-photos.sv2-photos-4 { grid-template-columns: repeat(4, 1fr); } }
.sv2-photos figure { margin: 0; }
.sv2-photos a { display: block; position: relative; overflow: hidden; background: #e9e4dc; aspect-ratio: 3 / 2; }
.sv2-photos img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.sv2-photos a:hover img { transform: scale(1.03); }
.sv2-photos figcaption { font-size: 13px; color: var(--sv2-muted); margin-top: 4px; line-height: 1.4; }
.sv2-photos a:focus-visible { outline: 3px solid #f5c400; outline-offset: 2px; }

/* ---------- fascia con foto di sfondo e frase ---------- */
.sv2-band { position: relative; overflow: hidden; background: var(--sv2-brown); color: #fff; text-align: center; padding: 110px 20px; }
.sv2-band > img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.sv2-band::after { content: ""; position: absolute; inset: 0; background: rgba(19,11,2,.55); }
.sv2-band-text { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.sv2-band h2 { color: #fff; font-size: 36px; line-height: 1.15; margin-bottom: 18px; }
.sv2-band p { color: #fff; font-size: 18px; }
.sv2-band .mu-btn { display: inline-block; padding: 8px 18px; }
.sv2-band-green { background: var(--sv2-green-dark); padding: 64px 20px; }
.sv2-band-green::after { display: none; }
.sv2-band-green p { font-size: 19px; line-height: 1.6; margin: 0; }
@media (max-width: 767px) { .sv2-band { padding: 80px 16px; } .sv2-band h2 { font-size: 27px; } }

/* ---------- menù ---------- */
.sv2-menu { max-width: 760px; margin: 26px auto 0; background: #fff; border-top: 5px solid var(--sv2-green); padding: 26px 26px 20px; text-align: left; }
.sv2-menu ul { margin: 0; padding: 0; }
.sv2-menu li { list-style: none; padding: 12px 0; border-bottom: 1px solid var(--sv2-line); font-size: 16px; line-height: 1.45; }
.sv2-menu li:last-child { border-bottom: 0; }
.sv2-menu b { display: block; font-family: 'Poppins', sans-serif; font-size: 15px; letter-spacing: .5px; color: var(--sv2-brown); text-transform: uppercase; }
.sv2-menu small { color: var(--sv2-muted); font-size: 14px; }
.sv2-menu-note { font-size: 13px; color: var(--sv2-muted); margin-top: 14px; }

/* ---------- la carne: 4 blocchi descrittivi ---------- */
.sv2-meat { background: var(--sv2-brown); color: #fff; padding: 72px 0; }
.sv2-meat h2 { color: #fff; font-size: 36px; margin-bottom: 10px; }
.sv2-meat .av2-kicker { color: #c3e6bb; }
.sv2-meat p { color: #f1ebe3 !important; }
.sv2-meat-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
@media (min-width: 640px) { .sv2-meat-grid { grid-template-columns: 1fr 1fr; } }
.sv2-meat-item { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.18); padding: 20px 20px 18px; }
.sv2-meat-item h3 { color: #fff; font-size: 18px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.sv2-meat-item p { font-size: 15.5px !important; margin: 0; }
.sv2-meat img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; display: block; }
.sv2-meat .av2-btn-ghost { color: #fff; border-color: #fff; }
.sv2-meat .av2-btn-ghost:hover, .sv2-meat .av2-btn-ghost:focus { background: #fff; color: var(--sv2-brown); }
@media (max-width: 767px) { .sv2-meat { padding: 52px 0; } .sv2-meat h2 { font-size: 28px; } }

/* ---------- numeri dell'allevamento ---------- */
.sv2-numbers { list-style: none; margin: 24px 0 8px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .sv2-numbers { grid-template-columns: repeat(4, 1fr); } }
.sv2-numbers li { background: #fff; padding: 16px 10px; text-align: center; border-bottom: 4px solid var(--sv2-green); }
.sv2-numbers b { display: block; font-family: 'Poppins', sans-serif; font-size: 36px; color: var(--sv2-green-text); line-height: 1.1; }
.sv2-numbers span { font-size: 14px; color: var(--sv2-muted); }

/* ---------- video ---------- */
.sv2-video { max-width: 960px; margin: 26px auto 0; }
.sv2-video video { width: 100%; height: auto; display: block; background: #000; }

/* ---------- DOVE SIAMO (mappa caricata solo al clic) ---------- */
.sv2-where { padding: 72px 0; background: var(--sv2-cream); border-top: 5px solid var(--sv2-beige); }
.sv2-where h2 { color: var(--sv2-brown); font-size: 36px; margin-bottom: 16px; }
.sv2-where address { font-style: normal; font-size: 18px; line-height: 1.5; margin-bottom: 14px; color: var(--sv2-text); }
.sv2-map {
	position: relative; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center;
	background: #ddd5ca url("../images/sito-v2/hero-aerea-ristoro-chalet-960.jpg") center / cover no-repeat;
}
.sv2-map::before { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.45); }
.sv2-map button { position: relative; }
.sv2-map iframe { position: absolute; inset: 0; width: 100%; height: 100% !important; border: 0; }
.sv2-map-note { font-size: 13px; color: var(--sv2-muted); margin-top: 6px; }
@media (max-width: 767px) { .sv2-where { padding: 52px 0; } .sv2-where h2 { font-size: 28px; } }

/* ---------- CONTATTI (accanto al modulo del sito) ---------- */
.sv2-contact-info { color: var(--sv2-text); font-size: 16px; line-height: 1.6; }
.sv2-contact-info b { color: var(--sv2-brown); }
.sv2-contact-info a { color: var(--sv2-green-text); font-weight: 700; }
.sv2-contact-info .av2-btn { color: #fff; margin: 6px 6px 0 0; }
.sv2-contact-info .av2-btn-ghost { color: var(--sv2-green); }
.sv2-contact-info .av2-btn-ghost:hover { color: #fff; }
.sv2-contact-note { display: block; margin-top: 10px; font-size: 13px; }

/* ---------- riga in fondo al footer ---------- */
.sv2-foot-legal { border-top: 1px solid rgba(255,255,255,.2); padding: 12px 15px 16px; font-size: 13px; color: #d9cfc3; text-align: center; }

/* ---------- barra fissa sul telefono: Chiama / Camere ---------- */
.sv2-mobile-actions {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
	display: grid; grid-template-columns: 1fr 1fr; background: #fff;
	border-top: 1px solid var(--sv2-line); box-shadow: 0 -2px 10px rgba(0,0,0,.08);
}
.sv2-mobile-actions a {
	display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 52px;
	font: 600 14px 'Poppins', sans-serif; text-transform: uppercase; color: var(--sv2-brown);
}
.sv2-mobile-actions a + a { background: var(--sv2-green); color: #fff; }
body.sv2-has-actions #mu-footer { padding-bottom: 52px; }
body.sv2-has-actions .dc-toggle { bottom: 64px; }
@media (min-width: 860px) {
	.sv2-mobile-actions { display: none; }
	body.sv2-has-actions #mu-footer { padding-bottom: 0; }
	body.sv2-has-actions .dc-toggle { bottom: 12px; }
}

/* ---------- privacy ---------- */
.sv2-privacy { padding: 50px 15px; max-width: 900px; margin: auto; text-align: left; font-size: 16px; line-height: 1.6; }
.sv2-privacy h1 { color: var(--sv2-brown); font-size: 32px; margin-bottom: 20px; }
.sv2-privacy-fix { background: #f1f9ef; border-left: 4px solid var(--sv2-green); padding: 10px 14px; margin: 8px 0 14px; }

/* ---------- testata: «Prenota un tavolo» al centro (incontro 22/10, punto 16) ---------- */
.sv2-topbar {
	background: var(--sv2-brown); color: #fff; text-align: center;
	font: 600 14px/1.4 'Poppins', sans-serif; letter-spacing: .5px; padding: 8px 12px;
}
.sv2-topbar .fa { color: #c3e6bb; margin-right: 4px; }
.sv2-topbar a { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.sv2-topbar-nums { margin-left: 8px; }
@media (max-width: 480px) { .sv2-topbar-nums { display: block; margin: 2px 0 0; } }

/* ---------- Alloggi: due riquadri (Chiedi a noi / Tutta la casa) ---------- */
.av2-book .sv2-book-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 991px) { .av2-book .sv2-book-grid { grid-template-columns: 1fr; } }

/* ---------- esito dell'invio dei moduli ---------- */
.mrc-status { display: none; margin-top: 12px; padding: 10px 14px; font-size: 15px; }
.mrc-status.show { display: block; }
.mrc-status.sending { background: #f4efe8; color: var(--sv2-brown); }
.mrc-status.ok { background: #f1f9ef; color: #1d5a14; border-left: 5px solid var(--sv2-green); }
.mrc-status.err { background: #fdecea; color: #6d1a14; border-left: 5px solid #b3261e; }
.mrc-submit[disabled] { opacity: .6; cursor: wait; }
.sv2-form-msg { padding: 10px 14px; margin-bottom: 12px; font-size: 15px; text-align: left; }
.sv2-form-msg.sending { background: #f4efe8; color: var(--sv2-brown); }
.sv2-form-msg.err { background: #fdecea; color: #6d1a14; border-left: 5px solid #b3261e; }
.sv2-form-msg a { color: #6d1a14; font-weight: 700; text-decoration: underline; }

/* segnaposto: dopo l'incontro del 22/10 le risposte possono arrivare da Stefania, Franco o Luca */
body .dc::before, body .mrc .dc::before { content: "DA CONFERMARE: "; }
/* il footer del sito è flottante: la riga legale va sotto, a tutta larghezza */
#mu-footer .sv2-foot-legal { clear: both; float: left; width: 100%; box-sizing: border-box; }
/* campo email del modulo camere: stesso aspetto degli altri campi */
.mrc input[type=email] {
	width: 100%; min-height: 46px; padding: 10px 12px; border: 2px solid var(--mrc-line); border-radius: 0;
	background: #fff; color: #2f2f2f; font: inherit; font-size: 16px;
}

/* ---------- verifica 22/10: dimensioni esplicite e contrasto ---------- */
/* loghi ed erba hanno width/height nell'HTML (niente salti di impaginazione): l'altezza resta proporzionale */
.top-navbar img, img.grass { height: auto; }
/* testi verdi piccoli (occhielli, pulsanti vuoti, link): verde più scuro, leggibile (contrasto 5,3:1 invece di 2,9:1) */
.av2-kicker { color: var(--sv2-green-text); }
.av2-btn-ghost { color: var(--sv2-green-text); border-color: var(--sv2-green); }
.sv2-contact-info .av2-btn-ghost { color: var(--sv2-green-text); }
