/* La Gallinaia · integrazioni al design di base (sito solo italiano) */
html, body { overflow-x: clip !important; }
.notranslate { font: inherit; }
.nav-brand img, .footer-logo { background: transparent !important; }
.nav-menu { gap: 26px; }
@media (max-width: 1100px) { .nav-menu { gap: 18px; } .nav-menu a { font-size: 12.5px; } }

/* HERO credit */
.hero-credit { position: absolute; right: clamp(14px, 3vw, 32px); bottom: 92px; z-index: 4; font-size: 11px; line-height: 1.4; color: rgba(251,247,238,0.78); text-align: right; max-width: 60vw; }
.hero-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .hero-credit { bottom: 70px; font-size: 10px; } }

/* RECENSIONI: card ad altezza naturale, testo troncato a 9 righe + Leggi tutto */
.letters-grid { align-items: flex-start; }
.letter { align-self: flex-start; }
.letter p.rec-text { display: -webkit-box; -webkit-line-clamp: 9; line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.letter.expanded p.rec-text { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.rec-more { display: none; font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--terracotta); padding: 4px 0; margin-bottom: 14px; cursor: pointer; background: none; border: 0; }
.rec-more.show { display: inline-block; }
.rec-more:hover { color: var(--terracotta-2); }
.letter .sign { justify-content: flex-start; }

/* Postcards come link */
a.postcard { display: block; color: inherit; }
.postcard .pc-body .go { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); }

/* Alloggio in home */
.unit-card { margin-top: 48px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--cream); box-shadow: 0 24px 60px -24px rgba(42,31,25,0.3); border-radius: 4px; overflow: hidden; }
.unit-card .uc-img { min-height: 360px; }
.unit-card .uc-img img { width: 100%; height: 100%; object-fit: cover; }
.unit-card .uc-body { padding: clamp(28px, 4vw, 48px); }
.unit-card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.15; color: var(--ink); }
.unit-card .uc-sub { font-family: var(--font-hand); font-size: 22px; color: var(--terracotta); margin: 6px 0 16px; display: block; }
.unit-card p { font-size: 15.5px; line-height: 1.75; color: var(--ink-80); }
.unit-card .uc-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 26px; }
.unit-card .uc-facts li { background: var(--sand); border: 1px solid var(--ink-20); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.unit-card .uc-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-ghost-dark { display: inline-flex; align-items: center; padding: 15px 26px; border-radius: 999px; border: 1.5px solid var(--ink-20); font-weight: 600; font-size: 14px; color: var(--ink); transition: all .3s var(--ease); }
.btn-ghost-dark:hover { border-color: var(--terracotta); color: var(--terracotta); }
@media (max-width: 800px) { .unit-card { grid-template-columns: 1fr; } .unit-card .uc-img { min-height: 240px; height: 260px; } }

.check-list { list-style: none; margin: 28px 0 0; }
.check-list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px dotted var(--ink-20); font-size: 16.5px; color: var(--ink-80); }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 17px; width: 14px; height: 8px; border-left: 2px solid var(--terracotta); border-bottom: 2px solid var(--terracotta); transform: rotate(-45deg); }

/* Contatti + mappa */
.contact-strip { background: var(--cream); padding: clamp(56px, 8vw, 90px) var(--gutter) 40px; }
.contact-strip .chapter-inner { max-width: 1100px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; }
.contact-item small { display: block; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; margin-bottom: 6px; }
.contact-item span, .contact-item a { font-family: var(--font-display); font-size: 19px; color: var(--ink); word-break: break-word; }
.contact-item a:hover { color: var(--terracotta); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }
.map-container { position: relative; width: 100%; height: 460px; background: var(--sand-2); }
.map-section { padding: 0; background: var(--sand); }
.map-wrap { margin-top: 28px; border-radius: 14px; overflow: hidden; border: 1px solid var(--ink-20); }
.map-wrap .map-container { height: 340px; }
.leaflet-container { font-family: var(--font-sans); }
.leaflet-container img { background: transparent; }

/* Footer: dati identificativi */
.footer-ids { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 36px; font-size: 12.5px; letter-spacing: 0.04em; color: rgba(242,234,217,0.7); }
.footer-legal { margin-top: 22px; }

/* Card con immagine (dintorni hub + blog) */
.mag-card .mag-img { margin: -24px -24px 18px; aspect-ratio: 16/10; overflow: hidden; border-radius: 10px 10px 0 0; }
.mag-card .mag-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mag-card:hover .mag-img img { transform: scale(1.04); }
.blog-card .bc-img { margin: -1px -1px 16px; aspect-ratio: 16/10; overflow: hidden; }
.blog-card .bc-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured .bf-img { margin-bottom: 20px; aspect-ratio: 21/9; overflow: hidden; border-radius: 6px; }
.blog-featured .bf-img img { width: 100%; height: 100%; object-fit: cover; }
figure.article-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Pagine legali */
.legal-page { padding: 40px 0 90px; }
.legal-page .container { max-width: 820px; }
.legal-page h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; color: var(--ink); margin: 36px 0 12px; }
.legal-page h3 { font-family: var(--font-sans); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin: 22px 0 8px; }
.legal-page p, .legal-page li { font-size: 15.5px; line-height: 1.75; color: var(--ink-80); }
.legal-page p { margin-bottom: 12px; }
.legal-page ul { padding-left: 22px; margin-bottom: 14px; }
.legal-page a { color: var(--terracotta-2); text-decoration: underline; text-underline-offset: 3px; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 12px 0 22px; font-size: 14px; }
.legal-page th, .legal-page td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--ink-20); vertical-align: top; }
.legal-page th { background: var(--sand-2); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.legal-page .callout { background: var(--sand-2); border-left: 3px solid var(--terracotta); padding: 14px 18px; margin: 18px 0; border-radius: 2px; }
.table-scroll { overflow-x: auto; }

/* Pagina casa: blocco senza foto */
.note-box { margin-top: 32px; padding: 26px 30px; background: var(--cream); border: 1px dashed var(--ink-20); border-radius: 4px; }
.note-box h4 { font-family: var(--font-display); font-weight: 500; font-size: 22px; margin-bottom: 8px; color: var(--ink); }
.note-box p { font-size: 15.5px; color: var(--ink-80); line-height: 1.7; }

/* 404 */
.nf-page { padding: 170px var(--gutter) 120px; text-align: center; }
.nf-page h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.4rem); color: var(--ink); }
.nf-page h1 em { color: var(--terracotta); }
.nf-page p { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--ink-80); margin: 16px auto 32px; max-width: 46ch; }
.nf-page .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* to-top (dove il css della pagina non lo prevede) */
.to-top { position: fixed; right: 24px; bottom: 96px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.in { opacity: 1; pointer-events: auto; transform: none; }
.footer-logo { filter: brightness(1.45); }

/* HERO home: titolo più lungo del donatore → scala ridotta e spazio sotto la nav */
.hero .hero-content { padding-top: 120px; padding-bottom: 60px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); max-width: 19ch; }
.hero .subtitle { max-width: 46ch; margin-bottom: 30px; }
@media (max-height: 760px) { .hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.6rem) !important; } }
@media (max-width: 700px) { .hero .hero-content { padding-top: 96px; } .hero h1 { font-size: clamp(2.1rem, 9vw, 2.8rem); } .hero .subtitle { font-size: 1.05rem; } }

/* Cartoline: timbro che contiene la categoria, link su riga propria */
.postcard .pc-stamp { width: auto; min-width: 64px; height: auto; min-height: 64px; padding: 8px 9px; }
.postcard .pc-stamp .min { font-size: 15px; white-space: nowrap; }
.postcard .pc-body .go { display: block; }
/* Voucher: pulsanti con icona accanto al testo */
.voucher-side .vs-bottom a.vs-btn { display: flex; flex-direction: row; }
.voucher-side .vs-bottom a.vs-btn > span { display: inline; font-family: var(--font-sans); font-style: normal; font-size: 13px; }
.voucher-side .vs-bottom a.vs-btn .btn-stack { display: flex; flex-direction: column; align-items: center; }
.voucher-side .vs-bottom a.vs-btn .btn-stack span, .voucher-side .vs-bottom a.vs-btn .btn-stack small { display: block; font-family: var(--font-sans); font-style: normal; }
.voucher-side .vs-bottom a.vs-btn .btn-stack small { font-size: 11px; word-break: break-all; }

/* Annuncio: breadcrumb su riga propria; chatbot sopra la barra mobile dell'annuncio */
.pd-hero-sec .breadcrumb { display: flex; width: fit-content; margin-bottom: 12px; }
@media (max-width: 980px) { html body[data-unit] #azc-launcher { bottom: calc(var(--pp-cta-h, 0px) + 92px) !important; } }

/* ===== La Gallinaia · Sicilia Due Coste ===== */
.nav-brand img { height: 62px; width: auto; background: rgba(251,247,238,0.92) !important; border-radius: 12px; padding: 5px 9px; box-shadow: 0 4px 18px rgba(0,0,0,0.12); }
.nav.scrolled .nav-brand img { height: 52px; box-shadow: none; background: transparent !important; padding: 2px 4px; }
@media (max-width: 700px) { .nav-brand img { height: 50px; } .nav.scrolled .nav-brand img { height: 44px; } }
.footer-logo { height: 92px; width: auto; filter: brightness(2.05); }
.footer-col .f-sub { margin-top: 14px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.footer-cin { margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(242,234,217,0.14); }
.footer-cin h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; font-weight: 700; }
.footer-cin ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 26px; padding: 0; }
.footer-cin li { font-size: 13px; color: rgba(242,234,217,0.78); }
.footer-cin li a { color: rgba(242,234,217,0.95); font-weight: 600; margin-right: 6px; }
.footer-cin li span { white-space: nowrap; letter-spacing: 0.03em; }
@media (max-width: 900px) { .footer-cin ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-cin ul { grid-template-columns: 1fr; } }

/* Hero: tagline del cliente */
.hero .hero-tagline { display: block; font-family: var(--font-hand); font-size: clamp(24px, 2.6vw, 34px); color: var(--gold); margin-bottom: 10px; }

/* Gruppi delle dimore (home + camere.html) */
.coast-group { margin-top: 64px; }
.coast-group:first-of-type { margin-top: 24px; }
.coast-h { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: clamp(24px, 2.8vw, 32px); color: var(--terracotta); text-align: center; padding-bottom: 12px; border-bottom: 1px dashed var(--ink-20); margin-bottom: 10px; }
.coast-sub { text-align: center; color: var(--ink-60); font-size: 15px; margin-bottom: 34px; }
.dimore-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
@media (max-width: 1000px) { .dimore-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .dimore-grid { grid-template-columns: 1fr; } }
.dimora-card { background: var(--cream); box-shadow: 0 10px 34px -14px rgba(42,31,25,0.32); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; color: inherit; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.dimora-card:hover { transform: translateY(-6px); box-shadow: 0 22px 50px -16px rgba(42,31,25,0.38); }
.dimora-card .dc-img { aspect-ratio: 16/11; overflow: hidden; }
.dimora-card .dc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.dimora-card:hover .dc-img img { transform: scale(1.04); }
.dimora-card .dc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.dimora-card .dc-kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--olive); font-weight: 700; }
.dimora-card h3, .dimora-card h4 { font-family: var(--font-display); font-weight: 500; font-size: 28px; line-height: 1.15; color: var(--ink); margin: 6px 0 4px; }
.dimora-card .dc-sub { font-family: var(--font-hand); font-size: 20px; color: var(--terracotta); line-height: 1.2; margin-bottom: 12px; }
.dimora-card p { font-size: 14.5px; line-height: 1.7; color: var(--ink-80); margin-bottom: 16px; }
.dimora-card .dc-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 20px; }
.dimora-card .dc-facts li { font-size: 11.5px; font-weight: 600; color: var(--terracotta); background: rgba(194,94,58,0.08); border: 1px solid rgba(194,94,58,0.25); padding: 5px 11px; border-radius: 999px; }
.dimora-card .dc-go { margin-top: auto; display: inline-flex; align-self: flex-start; background: var(--terracotta); color: var(--cream); padding: 11px 22px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.dimora-card:hover .dc-go { background: var(--terracotta-2); }

/* Recensioni senza stelle/date */
.letter .sign .name { font-family: var(--font-hand); font-size: 26px; color: var(--terracotta); }

/* Altri luoghi da visitare (dintorni.html) */
.altri-sec { padding: clamp(40px, 6vw, 80px) 0; }
.altri-sec .container { max-width: 1200px; }
.altri-h { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); color: var(--ink); margin: 8px 0 10px; }
.altri-h em { color: var(--terracotta); }
.altri-intro { color: var(--ink-80); max-width: 62ch; margin-bottom: 30px; }
.altri-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 1000px) { .altri-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .altri-grid { grid-template-columns: 1fr; } }
.altro-card { background: var(--cream); border-radius: 10px; overflow: hidden; box-shadow: 0 8px 26px -14px rgba(42,31,25,0.3); display: flex; flex-direction: column; color: inherit; }
.altro-card figure { margin: 0; }
.altro-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.altro-card figcaption { font-size: 10.5px; line-height: 1.4; color: var(--ink-60); padding: 6px 14px 0; }
.altro-card figcaption a { text-decoration: underline; }
.altro-card .ac-body { padding: 10px 16px 20px; display: flex; flex-direction: column; flex: 1; }
.altro-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 22px; color: var(--ink); margin: 4px 0 6px; }
.altro-card .ac-km { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--olive); font-weight: 700; }
.altro-card p { font-size: 14px; color: var(--ink-80); line-height: 1.65; margin-bottom: 12px; }
.altro-card .go { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--terracotta); }

/* Annuncio: riquadro indirizzo + CIN */
.pd-idbox { margin-top: 18px; padding: 16px 18px; background: var(--cream); border: 1px dashed var(--ink-20); border-radius: 8px; font-size: 14.5px; color: var(--ink-80); line-height: 1.6; }
.pd-idbox strong { color: var(--ink); }
.pd-period { width: 100%; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ink); outline: none; padding: 2px 0 0; }
.pd-date-box.full { grid-column: 1 / -1; }
.voucher-form select { width: 100%; }
.contact-item .lbl2 { display: block; font-family: var(--font-sans); font-size: 12px; color: var(--ink-60); margin-top: 6px; }
/* header: logo a colori leggibile (il donatore lo rendeva bianco con un filtro) */
.nav .nav-brand img, .nav.scrolled .nav-brand img { filter: none !important; }
.dimora-card .dc-go { display: inline-block; }
.duo-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 1100px; margin: 0 auto; }
.duo-photos > div { aspect-ratio: 4/3; overflow: hidden; border-radius: 3px; box-shadow: 0 18px 44px -22px rgba(42,31,25,0.35); }
.duo-photos img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
@media (max-width: 640px) { .duo-photos { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .hero-credit { left: 16px; right: 84px; max-width: none; text-align: left; } }
