/* Casa Ferretti — design system (base: template Maris Terra, palette brand Ferretti) */
:root {
  --oro: #c8a35f;
  --oro-2: #96773c;
  --oro-3: #7a6130;
  --crema: #fcf9f3;
  --sabbia: #f1ebe0;
  --sabbia-2: #dfd7ca;
  --bianco: #fbf9f6;
  --terra: #d0745a;
  --salmone: #efa994;
  --salmone-2: #e08f77;
  --terra-2: #ac5238;
  --verde: #6d8a4c;
  --verde-brand: #93b369;
  --ink: #1f1a16;
  --ink-80: rgba(31,26,22,0.82);
  --ink-60: rgba(31,26,22,0.58);
  --ink-40: rgba(31,26,22,0.38);
  --ink-20: rgba(31,26,22,0.18);
  --ink-10: rgba(31,26,22,0.10);
  --font-sans: 'Montserrat', Helvetica, Arial, sans-serif;
  --font-script: 'Caveat', cursive;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* overflow-x: clip (mai hidden): hidden disattiva silenziosamente position:sticky */
html, body { margin: 0 !important; padding: 0 !important; max-width: 100vw !important; width: 100% !important; overflow-x: clip !important; }
body { font-family: var(--font-sans); background: var(--bianco); color: var(--ink); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
main { display: block; width: 100%; }
img { max-width: 100%; display: block; background: var(--sabbia); }
img.broken { background: var(--sabbia-2); }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; letter-spacing: -0.03em; line-height: 1.25; }
::selection { background: var(--oro); color: var(--ink); }
.container { max-width: 1140px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(60px, 9vw, 100px) 0; }

/* ---------- NAV (solida, come le pagine interne) ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 12px var(--gutter);
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: rgba(250,248,245,0.96); backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--ink-10); transition: all 0.4s var(--ease); }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 34px; width: auto; background: none; }
.nav-menu { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-menu a { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--ink-80); transition: color 0.3s; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { color: var(--oro-2); }
.nav-cta { background: var(--oro); color: var(--ink); padding: 11px 22px; border-radius: 6px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.3s, color 0.3s; white-space: nowrap; }
.nav-cta:hover { background: var(--oro-2); color: var(--crema); }
@media (max-width: 980px) { .nav-menu { display: none; } }
@media (max-width: 420px) { .nav-cta { padding: 10px 14px; font-size: 10.5px; } }

/* ---------- TIPOGRAFIA CONDIVISA ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; letter-spacing: 0.26em;
  text-transform: uppercase; font-weight: 700; color: var(--oro-2); margin-bottom: 16px; }
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--oro); }
.h-display { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.h-display em, .h-display i { font-family: var(--font-script); font-style: normal; font-weight: 500;
  color: var(--terra); letter-spacing: 0; font-size: 1.16em; line-height: 0.9; }
.lead { margin-top: 20px; max-width: 62ch; font-size: 16px; line-height: 1.75; color: var(--ink-80); }
.breadcrumb { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; color: var(--ink-60); margin-bottom: 20px; transition: color 0.3s; }
.breadcrumb:hover { color: var(--terra); }

/* ---------- BOTTONI ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 6px;
  font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; transition: all 0.3s var(--ease); }
.btn-fill { background: var(--oro); color: var(--ink); }
.btn-fill:hover { background: var(--oro-2); color: var(--crema); }
.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink-20); }
.btn-line:hover { background: var(--ink); color: var(--crema); border-color: var(--ink); }
.btn-line-inverse { background: transparent; color: var(--crema); border: 1.5px solid rgba(252,249,243,0.4); }
.btn-line-inverse:hover { background: rgba(252,249,243,0.14); border-color: var(--crema); }
/* freccia disegnata via CSS: mai un "→" anche nel testo, altrimenti si vedono due frecce */
.btn .arrow, .go .arrow { width: 18px; height: 1.5px; background: currentColor; position: relative; flex-shrink: 0; }
.btn .arrow::after, .go .arrow::after { content: ''; position: absolute; right: -1px; top: -3px; width: 7px; height: 7px;
  border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 0.3s var(--ease); }
.btn:hover .arrow::after, a:hover .go .arrow::after { transform: rotate(45deg) translate(2px, -2px); }
.go { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---------- FIGURE FOTO LUOGHI ---------- */
.article-figure { margin: 34px 0 8px; }
.article-figure img { width: 100%; height: auto; max-height: 460px; object-fit: cover; border-radius: 8px; }
.article-figure figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.55; color: var(--ink-60); font-style: italic; }
.article-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: var(--crema); padding: 60px var(--gutter) 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand h4 { font-size: 26px; letter-spacing: -0.02em; color: var(--crema); margin-bottom: 12px; }
.footer-brand h4 i { font-family: var(--font-script); font-style: normal; color: var(--oro); font-size: 1.2em; }
.footer-brand p { color: rgba(252,249,243,0.7); font-size: 13.5px; max-width: 32ch; }
.footer-col h5 { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--oro); margin-bottom: 14px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; color: rgba(252,249,243,0.78); font-size: 13.5px; margin-bottom: 6px; transition: color 0.3s; }
.footer-col a:hover { color: var(--oro); }
.footer-legal { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 26px var(--gutter) 0; margin-top: 34px; font-size: 12.5px; color: rgba(252,249,243,0.6);
  border-top: 1px solid rgba(252,249,243,0.12); max-width: var(--max); margin-left: auto; margin-right: auto; }
.footer-legal a { color: rgba(252,249,243,0.7); border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color 0.3s, border-color 0.3s; }
.footer-legal a:hover { color: var(--oro); border-bottom-color: var(--oro); }
.footer-legal .sep { width: 3px; height: 3px; background: rgba(252,249,243,0.3); border-radius: 50%; }
.footer-bottom { border-top: 1px solid rgba(252,249,243,0.15); margin-top: 22px; padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 10.5px;
  color: rgba(252,249,243,0.5); letter-spacing: 0.1em; text-transform: uppercase; }
.footer-bottom a { color: var(--oro); }
@media (max-width: 700px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .footer-legal { gap: 12px; } .footer-legal .sep { display: none; } }

/* ===== ANNUNCIO (stile Airbnb) ===== */
.ld-hero-sec { padding: clamp(116px, 16vw, 150px) 0 0; background: var(--bianco); }
.ld-eyebrow { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; color: var(--oro-2); }
.ld-title { font-size: clamp(1.9rem, 4.2vw, 3.1rem); letter-spacing: -0.035em; margin-top: 10px; }
.ld-title em { font-family: var(--font-script); font-style: normal; font-weight: 500; color: var(--terra); font-size: 1.16em; letter-spacing: 0; }
.ld-subline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; font-size: 14.5px; color: var(--ink-80); }
.ld-subline .dot { color: var(--ink-40); }
.ld-badge { margin-left: 6px; padding: 5px 12px; background: var(--sabbia); border: 1px solid var(--ink-20);
  border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--terra); letter-spacing: 0.04em; }

/* mosaico 1 grande + 4 */
.ld-mosaic-sec { padding: 22px 0 0; background: var(--bianco); }
.ld-mosaic { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; border-radius: 10px; overflow: hidden; aspect-ratio: 16/7.4; }
.ld-mosaic-main, .ld-mosaic-cell { position: relative; overflow: hidden; cursor: pointer; background: var(--sabbia-2); display: block; border: 0; padding: 0; }
.ld-mosaic-main img, .ld-mosaic-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ld-mosaic-main:hover img, .ld-mosaic-cell:hover img { transform: scale(1.05); }
.ld-mosaic-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.ld-show-all { position: absolute; right: 14px; bottom: 14px; z-index: 3; background: var(--crema); color: var(--ink);
  border: 1px solid var(--ink); padding: 10px 16px; border-radius: 6px; font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px; box-shadow: 0 8px 20px rgba(31,26,22,0.18); transition: background 0.3s, color 0.3s; }
.ld-show-all svg { width: 15px; height: 15px; }
.ld-show-all:hover { background: var(--ink); color: var(--crema); }
.ld-mosaic-wrap { position: relative; }
@media (max-width: 900px) {
  .ld-mosaic { grid-template-columns: 1fr; aspect-ratio: 4/3; }
  .ld-mosaic-grid { display: none; }
}

/* corpo: colonna principale + card laterale */
.ld-body-sec { padding: 48px 0 8px; background: var(--bianco); }
.ld-body-grid { display: grid; grid-template-columns: 1fr 372px; gap: 60px; align-items: start; }
@media (max-width: 900px) { .ld-body-grid { grid-template-columns: 1fr; gap: 8px; } }
.ld-col-main { min-width: 0; }
.ld-divider { height: 1px; background: var(--ink-10); margin: 30px 0; }
.ld-host-row { display: flex; align-items: center; gap: 16px; }
.ld-host-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--oro); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-script); font-size: 26px; font-weight: 600; flex: none; }
.ld-host-row b { display: block; font-size: 17px; letter-spacing: -0.02em; }
.ld-host-row span { font-size: 12.5px; color: var(--ink-60); }
.ld-highlights { display: flex; flex-direction: column; gap: 20px; }
.ld-highlight { display: flex; gap: 16px; align-items: flex-start; }
.ld-highlight .ico { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--sabbia);
  color: var(--terra); display: flex; align-items: center; justify-content: center; }
.ld-highlight .ico svg { width: 19px; height: 19px; }
.ld-highlight b { display: block; font-size: 14.5px; font-weight: 700; margin-bottom: 3px; }
.ld-highlight p { font-size: 13.5px; color: var(--ink-60); line-height: 1.55; }
.ld-section h3 { font-size: clamp(20px, 2.2vw, 25px); margin-bottom: 16px; }
.ld-section .prose p { font-size: 15px; color: var(--ink-80); line-height: 1.8; }
.ld-section .prose p + p { margin-top: 15px; }
.ld-sleep-card { display: flex; align-items: center; gap: 16px; border: 1px solid var(--ink-10); border-radius: 10px;
  padding: 18px 20px; background: var(--sabbia); max-width: 430px; }
.ld-sleep-card + .ld-sleep-card { margin-top: 12px; }
.ld-sleep-card .ico { flex: none; width: 40px; height: 40px; border-radius: 8px; background: var(--crema);
  border: 1px solid var(--ink-10); color: var(--terra); display: flex; align-items: center; justify-content: center; }
.ld-sleep-card .ico svg { width: 19px; height: 19px; }
.ld-sleep-card b { display: block; font-size: 14.5px; font-weight: 700; }
.ld-sleep-card p { font-size: 13px; color: var(--ink-60); margin-top: 2px; }
.ld-amenities { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 24px; }
@media (max-width: 560px) { .ld-amenities { grid-template-columns: 1fr; } }
.ld-amenity { display: flex; align-items: center; gap: 13px; font-size: 14px; color: var(--ink-80); }
.ld-amenity .ico { flex: none; width: 26px; height: 26px; color: var(--verde); display: flex; align-items: center; justify-content: center; }
.ld-amenity .ico svg { width: 18px; height: 18px; }

/* colonna laterale sticky: serve align-self:stretch, altrimenti lo sticky non ha spazio */
.ld-col-side { position: relative; align-self: stretch; }
.ld-booking-card { position: sticky; top: 100px; border: 1px solid var(--ink-10); border-radius: 14px; padding: 26px;
  background: var(--sabbia); box-shadow: 0 30px 60px -30px rgba(31,26,22,0.3); }
.ld-booking-title { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 6px; }
.ld-booking-sub { font-size: 12.5px; color: var(--ink-60); margin-bottom: 18px; }
.ld-booking-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink-20); border-radius: 8px; overflow: hidden; background: var(--crema); }
.ld-date-box { padding: 10px 14px; border-right: 1px solid var(--ink-20); }
.ld-date-box:last-child { border-right: 0; }
.ld-date-box label { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 4px; }
.ld-date-box input { border: 0; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); width: 100%; padding: 0; cursor: pointer; }
.ld-date-box input::placeholder { color: var(--ink-40); font-weight: 500; }
.ld-guests { position: relative; margin-top: 10px; }
.ld-guests-toggle { width: 100%; text-align: left; border: 1px solid var(--ink-20); border-radius: 8px; padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between; cursor: pointer; background: var(--crema); }
.ld-guests-toggle .lbl { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 4px; }
.ld-guests-toggle .val { font-size: 13px; font-weight: 600; }
.ld-guests-toggle svg { width: 13px; height: 13px; color: var(--ink-60); transition: transform 0.3s; flex: none; }
.ld-guests.open .ld-guests-toggle svg { transform: rotate(180deg); }
.ld-guests-dropdown { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--crema);
  border: 1px solid var(--ink-10); border-radius: 10px; padding: 16px 20px; box-shadow: 0 24px 50px -12px rgba(31,26,22,0.32);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.25s, transform 0.25s, visibility 0.25s; z-index: 20; }
.ld-guests.open .ld-guests-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.ld-guest-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--ink-10); gap: 16px; }
.ld-guest-row:last-of-type { border-bottom: 0; }
.ld-guest-row b { display: block; font-size: 13.5px; font-weight: 700; }
.ld-guest-row span { font-size: 11.5px; color: var(--ink-60); }
.ld-counter { display: flex; align-items: center; gap: 12px; flex: none; }
.ld-counter button { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink-20); display: flex;
  align-items: center; justify-content: center; font-size: 15px; line-height: 1; transition: border-color 0.3s, color 0.3s, opacity 0.3s; }
.ld-counter button:hover:not(:disabled) { border-color: var(--terra); color: var(--terra); }
.ld-counter button:disabled { opacity: 0.3; cursor: not-allowed; }
.ld-counter span { min-width: 16px; text-align: center; font-size: 13.5px; font-weight: 700; }
.ld-guests-max { font-size: 11.5px; color: var(--ink-60); margin-top: 6px; padding-top: 10px; border-top: 1px dashed var(--ink-10); }
.ld-cta { width: 100%; margin-top: 18px; background: #25D366; color: #fff; border-radius: 8px; padding: 15px 18px;
  font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background 0.3s, transform 0.3s; }
.ld-cta:hover { background: #1da851; transform: translateY(-2px); }
.ld-cta svg { width: 17px; height: 17px; }
.ld-note { margin-top: 12px; font-size: 11.5px; color: var(--ink-60); text-align: center; line-height: 1.5; }

/* cose da sapere */
.ld-know-sec { padding: 56px 0 104px; background: var(--sabbia); border-top: 1px solid var(--ink-10); margin-top: 42px; }
.ld-know-title { font-size: clamp(23px, 3vw, 31px); margin-bottom: 34px; }
.ld-know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.ld-know-card { background: var(--crema); border: 1px solid var(--ink-10); border-radius: 12px; padding: 28px 26px 20px;
  box-shadow: 0 18px 40px -30px rgba(31,26,22,0.24); }
.ld-know-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--sabbia); border: 1px solid var(--ink-10);
  display: flex; align-items: center; justify-content: center; color: var(--terra); margin-bottom: 15px; }
.ld-know-ico svg { width: 21px; height: 21px; }
.ld-know-grid h4 { font-size: 17px; padding-bottom: 13px; border-bottom: 1px solid var(--ink-10); }
.ld-know-grid ul { list-style: none; display: flex; flex-direction: column; }
.ld-know-grid li { font-size: 13.5px; color: var(--ink-80); line-height: 1.55; padding: 11px 0 11px 22px; position: relative; border-bottom: 1px dashed var(--ink-10); }
.ld-know-grid li:last-child { border-bottom: 0; }
.ld-know-grid li::before { content: ''; position: absolute; left: 4px; top: 18px; width: 6px; height: 6px; border-radius: 50%; background: var(--oro); }
.ld-know-grid a { color: var(--terra-2); text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) { .ld-know-grid { grid-template-columns: 1fr; gap: 16px; } }

/* recensioni */
.ld-reviews { padding: 60px 0 0; }
.ld-reviews-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.ld-score { font-size: 34px; font-weight: 700; letter-spacing: -0.04em; color: var(--terra); }
.ld-reviews-head span { font-size: 13px; color: var(--ink-60); }
.ld-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .ld-reviews-grid { grid-template-columns: 1fr; } }
.ld-review { background: var(--crema); border: 1px solid var(--ink-10); border-radius: 12px; padding: 24px 22px; }
.ld-review p { font-size: 14px; color: var(--ink-80); line-height: 1.65; }
.ld-review .who { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--ink-10); font-size: 12px; color: var(--ink-60); }
.ld-review .who b { color: var(--ink); font-size: 13px; }

/* lightbox */
.ld-lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(31,26,22,0.97); display: none; flex-direction: column; }
.ld-lightbox.open { display: flex; }
.ld-lightbox-top { display: flex; justify-content: flex-end; padding: 18px clamp(16px, 3vw, 32px); }
.ld-lightbox-close { position: relative; width: 44px; height: 44px; border-radius: 50%; background: rgba(252,249,243,0.08); border: 1px solid rgba(252,249,243,0.22); }
.ld-lightbox-close::before, .ld-lightbox-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; background: var(--crema); }
.ld-lightbox-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.ld-lightbox-close::after { transform: translate(-50%,-50%) rotate(-45deg); }
.ld-lightbox-close:hover { background: rgba(252,249,243,0.18); }
.ld-lightbox-scroll { flex: 1; overflow-y: auto; padding-bottom: 60px; }
.ld-lightbox-scroll .row { max-width: 880px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 20px); display: flex; flex-direction: column; gap: 18px; }
.ld-lightbox-scroll img { width: 100%; border-radius: 8px; }
.ld-lightbox-counter { text-align: center; color: rgba(252,249,243,0.55); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 4px 0 18px; }

/* barra fissa mobile */
.ld-mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--sabbia);
  border-top: 1px solid var(--ink-10); box-shadow: 0 -12px 30px rgba(31,26,22,0.14); padding: 12px var(--gutter);
  display: none; align-items: center; justify-content: space-between; gap: 14px; }
.ld-mobile-bar-dates { font-size: 12px; color: var(--ink-60); line-height: 1.3; }
.ld-mobile-bar-dates b { display: block; font-size: 13px; color: var(--ink); }
.ld-mobile-bar-btn { flex: none; background: #25D366; color: #fff; padding: 13px 20px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
@media (max-width: 900px) {
  .ld-mobile-bar { display: flex; }
  .ld-booking-card { position: static; margin-top: 32px; }
  body { padding-bottom: 82px; }
}
body.no-scroll { overflow: hidden; }

/* flatpickr sul tema Maris Terra */
.flatpickr-calendar { background: var(--crema)!important; border-radius: 10px!important; border: 1px solid var(--ink-20)!important;
  font-family: var(--font-sans)!important; box-shadow: 0 24px 50px -12px rgba(31,26,22,0.32)!important; }
.flatpickr-current-month { color: var(--ink)!important; font-weight: 700!important; }
.flatpickr-weekday { color: var(--oro-2)!important; font-weight: 700!important; }
.flatpickr-day { color: var(--ink)!important; }
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange { background: var(--oro)!important; border-color: var(--oro)!important; color: var(--ink)!important; }
.flatpickr-day.inRange { background: rgba(200,163,95,0.2)!important; border-color: transparent!important;
  box-shadow: -5px 0 0 rgba(200,163,95,0.2), 5px 0 0 rgba(200,163,95,0.2)!important; }
.flatpickr-day:hover { background: rgba(200,163,95,0.2)!important; }
.flatpickr-day.today { border-color: var(--oro)!important; }
.flatpickr-day.flatpickr-disabled { color: var(--ink-20)!important; }

/* ==========================================================================
   AGGIUNTE CASA FERRETTI — accessibilità, home, hub camere, dintorni, mappa
   ========================================================================== */

/* --- accessibilità (difetti 6-7 del report template) --- */
:focus-visible { outline: 3px solid var(--oro-2) !important; outline-offset: 3px !important; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }
.skip-link { position: fixed; top: -140px; left: 12px; z-index: 999; background: var(--ink); color: var(--crema);
  padding: 14px 24px; border-radius: 0 0 6px 6px; font-size: 13px; font-weight: 700; transition: top 0.2s ease; }
.skip-link:focus { top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* --- logo brand --- */
.brand-tile { display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--salmone); color: #fff; width: 46px; height: 46px; border-radius: 4px; flex: none;
  font-weight: 800; font-size: 10.5px; line-height: 1.05; letter-spacing: -0.02em; text-transform: none;
  box-shadow: 0 6px 14px -8px rgba(31,26,22,0.5); }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name b { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; }
.brand-name span { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-60); font-weight: 600; }
footer .brand-name span { color: rgba(252,249,243,0.6); }
@media (max-width: 420px) { .brand-name b { font-size: 13.5px; } .brand-tile { width: 40px; height: 40px; font-size: 9.5px; } }

/* --- nav: burger + drawer --- */
.nav-burger { display: none; width: 42px; height: 42px; align-items: center; justify-content: center; }
.nav-burger span { display: block; width: 20px; height: 1.6px; background: var(--ink); position: relative; transition: background 0.2s; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 1.6px;
  background: var(--ink); transition: transform 0.35s var(--ease); }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
body.menu-open .nav-burger span { background: transparent; }
body.menu-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }
.drawer { position: fixed; inset: 0 0 auto 0; z-index: 99; background: var(--crema); padding: 92px var(--gutter) 40px;
  transform: translateY(-101%); visibility: hidden; pointer-events: none;
  transition: transform 0.55s var(--ease), visibility 0s 0.55s; border-bottom: 1px solid var(--ink-10); }
body.menu-open .drawer { transform: translateY(0); visibility: visible; pointer-events: auto; transition: transform 0.55s var(--ease), visibility 0s 0s; }
.drawer a { display: block; padding: 13px 0; font-size: 17px; font-weight: 600; letter-spacing: -0.02em; border-bottom: 1px solid var(--ink-10); }
.drawer a:last-child { border-bottom: 0; }
@media (max-width: 980px) { .nav-burger { display: flex; } }
@media (min-width: 981px) { .drawer { display: none; } }

/* --- hero home --- */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end;
  padding: 150px var(--gutter) clamp(48px, 7vw, 84px); overflow: hidden; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,26,22,0.52) 0%, rgba(31,26,22,0.20) 34%, rgba(31,26,22,0.55) 62%, rgba(31,26,22,0.86) 100%); }
.hero-inner { position: relative; z-index: 2; max-width: 1140px; margin: 0 auto; width: 100%; color: var(--crema); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: 10.5px; letter-spacing: 0.28em;
  text-transform: uppercase; font-weight: 700; color: var(--salmone); margin-bottom: 18px; }
.hero-eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--salmone); }
.hero-eyebrow, .hero h1, .hero p { text-shadow: 0 2px 18px rgba(31,26,22,0.45); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); line-height: 1.03; letter-spacing: -0.04em; color: var(--crema); max-width: 16ch; }
.hero h1 em { font-family: var(--font-script); font-style: normal; font-weight: 500; color: var(--salmone); font-size: 1.18em; letter-spacing: 0; }
.hero p { margin-top: 20px; max-width: 54ch; font-size: 16px; line-height: 1.7; color: rgba(252,249,243,0.9); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 40px; padding-top: 26px;
  border-top: 1px solid rgba(252,249,243,0.22); }
.hero-fact b { display: block; font-size: 19px; letter-spacing: -0.02em; color: var(--crema); }
.hero-fact span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(252,249,243,0.66); }

/* --- blocchi generici home --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.rev .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }
.split-media img { width: 100%; height: 100%; max-height: 560px; object-fit: cover; border-radius: 10px; }
.split-media figcaption { margin-top: 9px; font-size: 12px; color: var(--ink-60); font-style: italic; }
.sec-head { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 46px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.bg-sand { background: var(--sabbia); }
.bg-cream { background: var(--crema); }
.bg-ink { background: var(--ink); color: var(--crema); }
.bg-ink h2, .bg-ink h3 { color: var(--crema); }
.bg-ink .lead, .bg-ink p { color: rgba(252,249,243,0.82); }
.bg-ink .eyebrow { color: var(--salmone); }
.bg-ink .eyebrow::before { background: var(--salmone); }

/* --- card camere --- */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .rooms { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }
.room { background: var(--crema); border: 1px solid var(--ink-10); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.room:hover { transform: translateY(-5px); box-shadow: 0 28px 50px -34px rgba(31,26,22,0.55); }
.room-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.room:hover .room-img img { transform: scale(1.05); }
.room-tag { position: absolute; left: 12px; top: 12px; background: var(--crema); color: var(--ink);
  padding: 6px 12px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.room-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 21px; letter-spacing: -0.03em; }
.room-meta { margin-top: 10px; font-size: 12.5px; color: var(--ink-60); display: flex; flex-wrap: wrap; gap: 6px 10px; }
.room-meta .dot { color: var(--ink-40); }
.room-body p { margin-top: 14px; font-size: 14px; color: var(--ink-80); line-height: 1.65; flex: 1; }
.room-foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ink-10); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.room-foot .go { color: var(--terra-2); }

/* --- griglia servizi --- */
.svc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .svc { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .svc { grid-template-columns: 1fr; } }
.svc-card { background: var(--crema); border: 1px solid var(--ink-10); border-radius: 12px; padding: 26px 24px; }
.svc-card .ico { width: 44px; height: 44px; border-radius: 50%; background: var(--sabbia); color: var(--terra-2);
  display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.svc-card .ico svg { width: 20px; height: 20px; }
.svc-card h3 { font-size: 16px; letter-spacing: -0.02em; }
.svc-card p { margin-top: 8px; font-size: 13.5px; color: var(--ink-60); line-height: 1.6; }
.svc-note { margin-top: 22px; font-size: 12.5px; color: var(--ink-60); }

/* --- lista comfort a colonne --- */
.comfort { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 30px; }
@media (max-width: 860px) { .comfort { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .comfort { grid-template-columns: 1fr; } }
.comfort li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 14px; color: var(--ink-80); padding: 7px 0; }
.comfort li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--verde); }

/* --- galleria a mosaico --- */
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 10px; }
.gal a { display: block; overflow: hidden; border-radius: 8px; background: var(--sabbia-2); }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gal a:hover img { transform: scale(1.06); }
.gal .w2 { grid-column: span 2; } .gal .h2 { grid-row: span 2; }
@media (max-width: 860px) { .gal { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .gal .w2 { grid-column: span 2; } }

/* --- FAQ --- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--ink-10); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative;
  font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 27px; width: 9px; height: 9px;
  border-right: 1.8px solid var(--terra); border-bottom: 1.8px solid var(--terra); transform: rotate(45deg); transition: transform 0.3s; }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { padding: 0 0 20px; font-size: 14.5px; color: var(--ink-80); line-height: 1.75; max-width: 72ch; }

/* --- mappa + contatti --- */
.map-wrap { border-radius: 12px; overflow: hidden; border: 1px solid var(--ink-10); }
#mappa { height: 420px; width: 100%; background: var(--sabbia-2); }
.leaflet-container { font-family: var(--font-sans); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; }
.contact-list .ico { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--sabbia);
  color: var(--terra-2); display: flex; align-items: center; justify-content: center; }
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list b { display: block; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 3px; }
.contact-list a, .contact-list p { font-size: 15px; color: var(--ink); }
.contact-list a:hover { color: var(--terra-2); }
.form-card { background: var(--sabbia); border: 1px solid var(--ink-10); border-radius: 14px; padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 30px 60px -40px rgba(31,26,22,0.4); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--ink-20); border-radius: 8px;
  background: var(--crema); padding: 12px 14px; font: inherit; font-size: 14px; color: var(--ink); }
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--oro-2); }
.form-card .btn-wa { width: 100%; justify-content: center; background: #25D366; color: #fff; border-radius: 8px;
  padding: 15px 18px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 10px; transition: background 0.3s, transform 0.3s; }
.form-card .btn-wa:hover { background: #1da851; transform: translateY(-2px); }
.form-card .btn-wa svg { width: 17px; height: 17px; }
.form-note { margin-top: 12px; font-size: 11.5px; color: var(--ink-60); text-align: center; line-height: 1.55; }

/* --- hub camere (righe alternate) --- */
.rowcard { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.rowcard + .rowcard { margin-top: clamp(48px, 7vw, 86px); }
.rowcard:nth-child(even) .rowcard-media { order: 2; }
@media (max-width: 900px) { .rowcard { grid-template-columns: 1fr; } .rowcard:nth-child(even) .rowcard-media { order: 0; } }
.rowcard-media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3; }
.rowcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.rowcard:hover .rowcard-media img { transform: scale(1.04); }
.rowcard h3 { font-size: clamp(24px, 3vw, 33px); letter-spacing: -0.035em; }
.rowcard .kv { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 6px; }
.rowcard .kv span { background: var(--sabbia); border: 1px solid var(--ink-10); border-radius: 999px;
  padding: 6px 13px; font-size: 11.5px; font-weight: 600; color: var(--ink-80); }
.rowcard p { margin-top: 14px; font-size: 14.5px; color: var(--ink-80); line-height: 1.75; }
.rowcard .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* --- dintorni: griglia magazine --- */
.dest-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .dest-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .dest-grid { grid-template-columns: 1fr; } }
.dest { background: var(--crema); border: 1px solid var(--ink-10); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.dest:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -32px rgba(31,26,22,0.5); }
.dest-img { position: relative; aspect-ratio: 3/2; overflow: hidden; background: var(--sabbia-2); }
.dest-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.dest:hover .dest-img img { transform: scale(1.05); }
.dest-km { position: absolute; right: 12px; top: 12px; background: rgba(31,26,22,0.86); color: var(--crema);
  padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; }
.dest-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.dest-body h3 { font-size: 19px; letter-spacing: -0.03em; }
.dest-body p { margin-top: 10px; font-size: 13.5px; color: var(--ink-60); line-height: 1.65; flex: 1; }
.dest-body .go { margin-top: 18px; color: var(--terra-2); }
.dest-cta a.btn-fill { color: var(--ink); }

/* --- pagina dintorno / articolo --- */
.page-hero { padding: clamp(120px, 15vw, 156px) 0 clamp(34px, 5vw, 54px); background: var(--sabbia); border-bottom: 1px solid var(--ink-10); }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .tips { grid-template-columns: 1fr; } }
.tip { background: var(--crema); border: 1px solid var(--ink-10); border-radius: 12px; padding: 24px 22px; }
.tip h4 { font-size: 15.5px; margin-bottom: 8px; }
.tip p { font-size: 13.5px; color: var(--ink-80); line-height: 1.65; }
.prose h2 { font-size: clamp(21px, 2.6vw, 28px); margin: 38px 0 14px; letter-spacing: -0.03em; }
.prose h3 { font-size: 18px; margin: 26px 0 10px; }
.prose p { font-size: 15.5px; line-height: 1.85; color: var(--ink-80); }
.prose p + p { margin-top: 15px; }
.prose ul, .prose ol { margin: 14px 0 14px 20px; }
.prose li { font-size: 15px; line-height: 1.75; color: var(--ink-80); margin-bottom: 7px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--terra-2); text-decoration: underline; text-underline-offset: 2px; }
.callout { margin: 30px 0; background: var(--sabbia); border-left: 3px solid var(--oro); border-radius: 0 10px 10px 0; padding: 20px 24px; }
.callout p { font-size: 14.5px; color: var(--ink-80); }
.cta-box { margin: 40px 0 0; background: var(--ink); color: var(--crema); border-radius: 14px; padding: clamp(28px, 4vw, 40px); }
.cta-box h3 { color: var(--crema); font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -0.03em; }
.cta-box p { margin-top: 12px; color: rgba(252,249,243,0.8); font-size: 14.5px; max-width: 60ch; }
.cta-box .actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta-box .btn-fill { color: var(--ink); }

/* --- barra sticky "prenota" su pagine interne --- */
.sticky-cta { position: fixed; right: 20px; bottom: 20px; z-index: 80; background: #25D366; color: #fff;
  padding: 14px 20px; border-radius: 999px; font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 9px;
  box-shadow: 0 16px 34px -14px rgba(31,26,22,0.6); transition: transform 0.3s, background 0.3s; }
.sticky-cta:hover { background: #1da851; transform: translateY(-2px); }
.sticky-cta svg { width: 17px; height: 17px; }
@media (max-width: 900px) { .sticky-cta { display: none; } }

/* --- modali legali --- */
.legal-modal { position: fixed; inset: 0; z-index: 400; background: rgba(31,26,22,0.72); display: none; padding: 5vh 16px; overflow-y: auto; }
.legal-modal.open { display: block; }
.legal-inner { max-width: 780px; margin: 0 auto; background: var(--crema); border-radius: 14px; padding: clamp(26px, 4vw, 42px); }
.legal-inner h2 { font-size: 24px; margin-bottom: 6px; }
.legal-inner h3 { font-size: 15px; margin: 22px 0 8px; }
.legal-inner p, .legal-inner li { font-size: 13.5px; line-height: 1.7; color: var(--ink-80); }
.legal-inner ul { margin: 8px 0 8px 20px; }
.legal-close { float: right; margin: -8px -6px 0 0; width: 38px; height: 38px; border-radius: 50%; background: var(--sabbia); position: relative; }
.legal-close::before, .legal-close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 15px; height: 1.5px; background: var(--ink); }
.legal-close::before { transform: translate(-50%,-50%) rotate(45deg); }
.legal-close::after { transform: translate(-50%,-50%) rotate(-45deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 32px; }
.blog-filters button { border: 1px solid var(--ink-20); background: var(--crema); border-radius: 999px;
  padding: 9px 17px; font-size: 12px; font-weight: 600; color: var(--ink-80); transition: all 0.25s var(--ease); }
.blog-filters button:hover { border-color: var(--terra); color: var(--terra-2); }
.blog-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--crema); }

.blog-featured { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 46px);
  align-items: center; background: var(--crema); border: 1px solid var(--ink-10); border-radius: 14px;
  overflow: hidden; margin-bottom: clamp(34px, 5vw, 52px); }
@media (max-width: 860px) { .blog-featured { grid-template-columns: 1fr; } }
.blog-featured .fig { aspect-ratio: 16/11; overflow: hidden; }
.blog-featured .fig img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured .txt { padding: clamp(22px, 3vw, 40px) clamp(22px, 3vw, 44px) clamp(28px, 3vw, 40px) 0; }
@media (max-width: 860px) { .blog-featured .txt { padding: 26px 24px 32px; } }
.blog-featured h2 { font-size: clamp(24px, 3.2vw, 34px); letter-spacing: -0.035em; margin: 12px 0 12px; }
.blog-featured p { font-size: 14.5px; color: var(--ink-80); line-height: 1.7; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }
.post { background: var(--crema); border: 1px solid var(--ink-10); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.post:hover { transform: translateY(-5px); box-shadow: 0 26px 46px -32px rgba(31,26,22,0.5); }
.post-img { aspect-ratio: 3/2; overflow: hidden; background: var(--sabbia-2); display: block; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post:hover .post-img img { transform: scale(1.05); }
.post-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.post-cat { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 700; color: var(--oro-2); }
.post-body h3 { font-size: 17.5px; letter-spacing: -0.03em; margin: 9px 0 9px; line-height: 1.3; }
.post-body p { font-size: 13.5px; color: var(--ink-60); line-height: 1.6; flex: 1; }
.post-meta { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ink-10);
  font-size: 11.5px; color: var(--ink-40); display: flex; gap: 8px; }
.post.hidden { display: none; }

.article-head { padding: clamp(118px, 15vw, 150px) 0 26px; background: var(--sabbia); border-bottom: 1px solid var(--ink-10); }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center;
  font-size: 12px; color: var(--ink-60); margin-top: 16px; }
.article-head .meta .cat { color: var(--oro-2); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 10.5px; }
.article-body { max-width: 760px; margin: 0 auto; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .related { grid-template-columns: 1fr; } }

/* --- crediti fotografici nel footer --- */
.photo-credits { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(252,249,243,0.12); }
.photo-credits summary { cursor: pointer; list-style: none; font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 700; color: var(--oro); }
.photo-credits summary::-webkit-details-marker { display: none; }
.photo-credits summary::after { content: ' +'; }
.photo-credits[open] summary::after { content: ' –'; }
.photo-credits ul { margin: 12px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 34px; }
@media (max-width: 700px) { .photo-credits ul { columns: 1; } }
.photo-credits li { font-size: 11.5px; line-height: 1.6; color: rgba(252,249,243,0.6); margin-bottom: 5px; break-inside: avoid; }
.photo-credits a { color: rgba(252,249,243,0.8); text-decoration: underline; text-underline-offset: 2px; }
.photo-credits a:hover { color: var(--oro); }
