/* =========================================================
   Villa Ferrari Oriella · Andrea Affittacamere e B&B
   Mobile-first stylesheet — no frameworks, no external deps
   ========================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --cream: #faf7f2;
  --cream-2: #f1efe9;
  --sand: #e4e0d8;
  --ink: #3d342c;
  --ink-soft: #5c534c;
  --terracotta: #7c7874;
  --terracotta-dark: #65615e;
  --olive: #7c7874;
  --olive-dark: #65615e;
  --gold: #c8923a;
  --white: #fff;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 1px 0 rgba(28, 25, 23, .04);
  --shadow-lg: 0 20px 60px rgba(42, 36, 32, .18);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); background: #faf7f2; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta-dark); text-underline-offset: .18em; }
a:hover { color: var(--terracotta); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 6px #fff; border-radius: 4px; }
/* On dark / coloured backgrounds: white ring with a dark halo (≥3:1 on both sides) */
.hero :focus-visible, .section--dark :focus-visible, .contact :focus-visible, .site-footer :focus-visible, .lightbox :focus-visible { outline-color: #fff; box-shadow: 0 0 0 6px var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 560; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 6.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section--alt { background: var(--cream-2); }
.section--dark { background: #f3eee6; color: var(--ink); }
.section--dark h2, .section--dark h3 { color: var(--ink); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 650; letter-spacing: .16em; text-transform: uppercase;
  color: var(--terracotta); margin-bottom: .9rem;
}
.section--dark .eyebrow { color: #7c7874; }
.lead { font-size: clamp(1.1rem, 2vw, 1.25rem); color: var(--ink-soft); max-width: 46rem; }
.section--dark .lead { color: var(--ink-soft); }
.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--terracotta); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font: 600 1rem/1.2 var(--sans); text-decoration: none;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; cursor: pointer;
}
.btn:hover { background: var(--terracotta-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(162, 72, 43, .28); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--whatsapp { --bg: #25D366; }
.btn--whatsapp:hover { background: #1ebe5a; box-shadow: none; }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { background: transparent; color: var(--terracotta-dark); border-color: var(--terracotta); }
.btn--outline:hover { background: var(--terracotta); color: #fff; }
.btn--sm { min-height: 44px; padding: .55rem 1rem; font-size: .95rem; }
.btn--outline-wa { background: transparent; color: #65615e; border-color: #7c7874; }
.btn--outline-wa:hover { background: #7c7874; color: #fff; box-shadow: none; }
.btn--xl { min-height: 64px; padding: .9rem 1.8rem; font-size: 1.15rem; width: 100%; max-width: 30rem; justify-content: flex-start; text-align: left; }
.btn--xl svg { width: 1.6em; height: 1.6em; }
.btn--xl small { display: block; font-size: .85rem; font-weight: 500; opacity: .9; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 247, 241, .92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid rgba(42, 36, 32, .08);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 48px; height: 48px; flex: none; border-radius: 8px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-sub { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid rgba(42, 36, 32, .15); background: #fff; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.site-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; background: var(--cream); border-bottom: 1px solid var(--sand);
  padding: 1rem 1.25rem 1.5rem; box-shadow: var(--shadow-lg); display: none;
  max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
}
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.site-nav a:not(.btn) { display: block; padding: .7rem .5rem; color: var(--ink); text-decoration: none; font-weight: 550; border-radius: 10px; }
.site-nav a:not(.btn):hover { background: var(--cream-2); }
.nav-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .9rem; }
.lang-switch { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; line-height: 1; font-weight: 650; font-size: .9rem; text-decoration: none; text-align: center; border: 1px solid var(--sand); border-radius: 999px; color: var(--ink); flex: none; }
.lang-switch span[aria-hidden="true"] { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; line-height: 1; }
.lang-switch .visually-hidden { position: absolute !important; }
.lang-switch:hover { background: var(--cream-2); color: var(--ink); }
.lang-group { display: inline-flex; align-items: center; gap: .35rem; flex: none; }
.lang-switch.is-current { background: var(--ink); border-color: var(--ink); color: var(--cream); }

@media (min-width: 1040px) {
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; align-items: center; gap: 1.25rem; background: none; border: 0; padding: 0; box-shadow: none; max-height: none; overflow: visible; }
  .site-nav ul { display: flex; gap: .1rem; }
  .site-nav a:not(.btn) { padding: .5rem .65rem; font-size: .95rem; }
  .nav-actions { margin-top: 0; flex-wrap: nowrap; }
}

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; min-height: calc(100svh - var(--header-h)); display: flex; align-items: flex-start; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero-media picture { display: block; width: 100%; height: 100%; }
@media (orientation: portrait) and (max-width: 899px) { .hero-media img { object-position: 50% 50%; } }
@media (min-width: 900px) { .hero-media img { object-position: 50% 45%; } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, .62) 0%, rgba(20, 16, 12, .34) 34%, rgba(20, 16, 12, .08) 62%),
    linear-gradient(0deg, rgba(20, 16, 12, .55) 0%, rgba(20, 16, 12, .18) 40%, rgba(20, 16, 12, 0) 68%);
}
.hero .container { padding: 1.15rem 0 2.25rem; }
@media (min-width: 600px) { .hero .container { padding: 1.6rem 0 3rem; } }
.hero h1 { color: #fff; max-width: 22ch; text-wrap: balance; font-size: clamp(2rem, 5.4vw, 3.7rem); }
.hero h1 em { display: block; }
.hero h1 em { font-style: italic; font-weight: 450; color: #f3cf97; }
.hero p.lead { color: #f2ece4; max-width: 38rem; }
.hero .eyebrow { color: #f3cf97; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-direct, .direct-note {
  margin: .9rem 0 0; max-width: 34rem; padding: .8rem .95rem; border-radius: 14px;
  font-size: 1.05rem; line-height: 1.4;
}
.hero-direct { background: rgba(255, 255, 255, .16); color: #f7f2eb; }
.hero-direct strong, .direct-note strong { display: block; margin-bottom: .15rem; font-weight: 700; }
.hero-direct strong { color: #fff; }
.direct-note { background: #f3eee6; color: var(--ink); }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.badge {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem; border-radius: 999px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); font-size: .9rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.badge strong { font-weight: 700; }
@media (max-width: 599px) { .badge--extra { display: none; } .hero-badges { margin-top: 1.4rem; } }
.badge svg { width: 1em; height: 1em; color: #f3cf97; }

/* ---------- Intro / story ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } .split--rev > :first-child { order: 2; } }
.photo-stack { position: relative; }
.photo-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; }
.photo-stack .photo-stack__small { position: absolute; width: 42%; right: .75rem; bottom: -10%; border: 6px solid var(--cream); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
@media (max-width: 599px) { .photo-stack .photo-stack__small { display: none; } }
@media (min-width: 1240px) { .photo-stack .photo-stack__small { right: -4%; } }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--terracotta-dark); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.facts li { background: #fff; border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.facts strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--terracotta-dark); line-height: 1.1; }
.facts span { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Properties ---------- */
.properties { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .properties { grid-template-columns: 1fr 1fr; } }
.property { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.property-media { aspect-ratio: 16 / 10; background: var(--sand); overflow: hidden; }
.property-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.property-body { padding: clamp(1.4rem, 3vw, 2rem); display: flex; flex-direction: column; flex: 1; }
.property-kicker { font-size: .8rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); }
.property-addr { display: flex; gap: .4rem; align-items: center; color: var(--ink-soft); font-size: .95rem; margin-bottom: 1rem; }
.property-addr svg { width: 1em; height: 1em; color: var(--terracotta); flex: none; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .45rem; }
.checklist li { position: relative; padding-left: 1.7rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--olive) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.property-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between; }
.property-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.rating-inline { display: inline-flex; align-items: center; gap: .35rem; font-size: .95rem; color: var(--ink-soft); }
.rating-inline strong { color: var(--ink); }
.stars { color: var(--gold); letter-spacing: .05em; }

/* ---------- Placeholder media (photos to be supplied) ---------- */
.ph-media {
  width: 100%; height: 100%; min-height: 220px; display: grid; place-items: center; text-align: center; padding: 1.5rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, .55), transparent 55%),
    linear-gradient(135deg, #eadfce 0%, #dccab1 100%);
  color: var(--ink-soft);
}
.ph-media svg { width: 54px; height: 54px; margin: 0 auto .5rem; color: var(--terracotta); opacity: .75; }
.ph-media span { font-size: .9rem; letter-spacing: .04em; }

/* ---------- Rooms ---------- */
.rooms { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .rooms { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .rooms { grid-template-columns: repeat(4, 1fr); } }
.room { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.room-media { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.room:hover .room-media img { transform: scale(1.04); }
.room-body { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.room-tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 999px; background: var(--cream-2); color: var(--olive); margin-bottom: .7rem; }
.room h3 { margin-bottom: .35rem; }
.room p { color: var(--ink-soft); font-size: .98rem; }
.room-specs { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.room-cta { margin: 1rem 0 0; }
.room-cta .btn { width: 100%; }
.room-specs li { font-size: .83rem; padding: .25rem .6rem; border: 1px solid var(--sand); border-radius: 999px; color: var(--ink-soft); }

/* ---------- Breakfast ---------- */
.breakfast-list { columns: 2; column-gap: 2rem; padding-left: 1.1em; color: var(--ink); }
@media (max-width: 599px) { .breakfast-list { columns: 1; } }
.breakfast-list li { margin-bottom: .3rem; break-inside: avoid; }
.breakfast-img img { border-radius: var(--radius-lg); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }

/* ---------- Amenities ---------- */
.amenities { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.amenity { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.amenity-icon { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--cream-2); color: var(--terracotta); }
.amenity-icon svg { width: 24px; height: 24px; }
.amenity h3 { font-family: var(--sans); font-size: 1rem; font-weight: 650; margin: .1rem 0 .15rem; letter-spacing: 0; }
.amenity p { margin: 0; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
.note { font-size: .88rem; color: var(--ink-soft); margin-top: 1.25rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); grid-auto-flow: dense; }
@media (min-width: 800px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; } }
.gallery-item { position: relative; display: block; border: 0; padding: 0; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand); cursor: zoom-in; aspect-ratio: 1; }
@media (min-width: 800px) {
  .gallery-item { aspect-ratio: auto; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 2; }
  .gallery-item--big { grid-column: span 2; grid-row: span 2; }
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.5rem .8rem .6rem; font-size: .85rem; color: #fff; text-align: left;
  background: linear-gradient(0deg, rgba(0, 0, 0, .6), transparent);
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100%; max-height: 100vh; max-height: 100dvh; width: 100%; height: 100vh; height: 100dvh; }
.lightbox::backdrop { background: rgba(14, 11, 9, .92); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 3.5rem 1rem; }
.lightbox img { max-width: min(100%, 1400px); max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lightbox-caption { position: absolute; bottom: 1rem; left: 0; right: 0; text-align: center; color: #eee; font-size: .95rem; margin: 0; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: rgba(255, 255, 255, .28); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Reviews ---------- */
.scores { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); margin-bottom: 2.5rem; }
.score { background: #fff; border-radius: var(--radius); padding: 1.25rem 1.4rem; box-shadow: var(--shadow); }
.score-value { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; line-height: 1; color: var(--ink); }
.score-value small { font-size: 1rem; color: var(--ink-soft); font-weight: 400; }
.score p { margin: .4rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.reviews { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.review { margin: 0; background: #fff; border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow); position: relative; display: flex; flex-direction: column; }
.review::before { content: "\201C"; position: absolute; top: .2rem; right: 1.2rem; font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--sand); }
.review blockquote { margin: 0 0 1rem; font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--ink); position: relative; }
.review .translation { font-size: .92rem; color: var(--ink-soft); font-style: italic; margin: -.4rem 0 1rem; }
.review figcaption { margin-top: auto; font-size: .9rem; color: var(--ink-soft); }
.review figcaption strong { color: var(--ink); }

/* ---------- Nearby ---------- */
.nearby { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none; padding: 0; margin: 0; }
.place { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius); padding: 1.25rem 1.3rem; }
.place h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.place p { margin: 0; color: #d9d2c7; font-size: .95rem; }
.place .time { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .6rem; font-size: .82rem; font-weight: 650; letter-spacing: .04em; color: #f3cf97; }
.place .time svg { width: 1em; height: 1em; }
.section--dark .note { color: #c9c1b5; }

/* ---------- Location ---------- */
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--sand); aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .map-wrap { aspect-ratio: auto; min-height: 460px; height: 100%; } }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .9rem; padding: 1.5rem;
  background:
    linear-gradient(rgba(244, 236, 224, .82), rgba(244, 236, 224, .92)),
    repeating-linear-gradient(45deg, #e6d8c4 0 2px, transparent 2px 22px),
    repeating-linear-gradient(-45deg, #e6d8c4 0 2px, transparent 2px 22px);
}
.map-consent > svg { width: 48px; height: 48px; color: var(--terracotta); flex: none; }
.map-consent .btn { max-width: 100%; }
.map-consent .btn svg { width: 1.2em; height: 1.2em; flex: none; color: currentColor; }
.map-consent p { max-width: 30rem; margin: 0; font-size: .92rem; color: var(--ink-soft); }
.how-to { display: grid; gap: 1rem; margin: 1.5rem 0; }
.how { display: flex; gap: .9rem; align-items: flex-start; }
.how .amenity-icon { background: #fff; }
.how h3 { font-family: var(--sans); font-size: 1rem; font-weight: 650; margin: .15rem 0 .2rem; letter-spacing: 0; }
.how p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.addr-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.addr-list li { background: #fff; padding: .9rem 1rem; border-radius: var(--radius); box-shadow: var(--shadow); font-size: .95rem; }
.addr-list .btn { margin-top: .6rem; }

/* ---------- Contact ---------- */
.contact { background: #f3eee6; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); box-shadow: none; border: 1px solid var(--sand); }
.contact h2 { color: var(--ink); }
.contact .lead { color: var(--ink-soft); }
.contact .eyebrow { color: #7c7874; }
.contact-primary { margin-top: 2rem; }
.price-grid { display: grid; gap: .75rem; }
.price-card {
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius-lg);
  padding: 1.05rem 1.15rem 1.15rem;
}
.price-card h3 { font-family: var(--serif); font-size: 1.45rem; font-weight: 500; margin: 0 0 .7rem; }
.price-card dl { margin: 0; }
.price-card div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .4rem 0; border-top: 1px solid var(--sand);
}
.price-card dt { margin: 0; font-weight: 650; }
.price-card dd { margin: 0; font-family: var(--serif); font-size: 1.85rem; font-weight: 560; letter-spacing: -.02em; }
.price-note { margin: 1rem 0 0; color: var(--ink-soft); }
@media (min-width: 800px) { .price-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.contact-extra { margin-top: 1.35rem; display: grid; gap: .15rem; }
.contact-extra p { margin: 0; font-size: .95rem; color: var(--ink); }
.contact-extra-label { margin-top: .85rem; font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: #7c7874; }
.contact-extra-label:first-child { margin-top: 0; }
.contact-extra a { color: var(--ink); font-weight: 650; display: inline; padding: .35rem 0; text-underline-offset: .15em; }
.contact-grid { display: grid; gap: 1rem; margin-top: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.contact-card {
  display: flex; gap: .9rem; align-items: center; padding: 1.1rem 1.2rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--sand); color: var(--ink); text-decoration: none; transition: background-color .15s ease, transform .15s ease;
}
a.contact-card:hover { background: #faf7f2; color: var(--ink); transform: translateY(-2px); }
.contact-card svg { width: 28px; height: 28px; flex: none; }
.contact-card small { display: block; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #7c7874; }
.contact-card span { font-weight: 650; font-size: 1.05rem; overflow-wrap: anywhere; }
.contact-card--mail span { font-size: clamp(.86rem, 3.7vw, 1rem); overflow-wrap: normal; word-break: normal; }
.policies { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--sand); }
.policies dt { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #7c7874; }
.policies dd { margin: .2rem 0 0; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: #3d342c; color: #f3eee6; padding: 1.25rem 0 calc(.9rem + env(safe-area-inset-bottom)); font-size: .88rem; }
.site-footer a { color: #f0e6d9; text-underline-offset: .15em; }
.legal-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem .7rem; margin: 0; }
.legal-pair p { margin: 0; font-size: .68rem; line-height: 1.35; color: #c9c0b5; }
.legal-pair .addr { display: block; font-size: .58rem; line-height: 1.25; white-space: nowrap; letter-spacing: -.01em; }
.legal-addr { display: block; font-size: .58rem; line-height: 1.2; white-space: nowrap; letter-spacing: -.015em; }
.legal { margin: .55rem 0 0; line-height: 1.4; color: #c9c0b5; font-size: .72rem; }
.footer-bottom { display: block; margin: .85rem 0 0; padding-top: .85rem; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8rem; color: #a99f93; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { display: inline; padding: 0; }

/* ---------- Simple pages (404, privacy) ---------- */
.page-simple { min-height: 70vh; display: flex; align-items: center; }
.page-simple .container { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.big-404 { font-family: var(--serif); font-size: clamp(5rem, 18vw, 9rem); line-height: 1; color: var(--terracotta); margin: 0; }

/* Reveal-on-scroll (progressive enhancement; content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

.wa-float { display: none; }
@media (max-width: 899px) {
  .wa-float {
    display: inline-flex; align-items: center; justify-content: center;
    position: fixed; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom));
    z-index: 40; width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: #fff; box-shadow: 0 8px 22px rgba(18, 90, 42, .28);
  }
  .wa-float svg { width: 28px; height: 28px; }
}
@media print { .site-header, .map-wrap, .hero-ctas, .wa-float { display: none !important; } .hero { color: #000; min-height: auto; } }

/* Breakfast guest quotes */
.bf-quotes { display: grid; gap: .9rem; margin-top: 1.75rem; }
@media (min-width: 600px) { .bf-quotes { grid-template-columns: 1fr 1fr; } }
.bf-quote { margin: 0; padding: 1rem 1.1rem; border-radius: var(--radius); background: #f3eee6; border-left: 3px solid #7c7874; }
.bf-quote blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.45; color: #3d342c; }
.bf-quote blockquote p { margin: 0; }
.bf-quote .translation { margin: .4rem 0 0; font-size: .88rem; color: #5c534c; }
.bf-quote figcaption { margin-top: .5rem; font-size: .8rem; letter-spacing: .04em; color: #6b5e52; }

/* Andrea Affittacamere photos (portrait originals): focus the crop */
.room-media { position: relative; }
.media-note { position: absolute; left: .6rem; bottom: .6rem; font-size: .72rem; letter-spacing: .03em; padding: .2rem .55rem; border-radius: 999px; background: rgba(20, 16, 12, .62); color: #fff; pointer-events: none; }
img.pos-andrea-ingresso { object-position: 50% 44%; }
img.pos-andrea-cortile { object-position: 50% 40%; }
img.pos-andrea-esterno { object-position: 50% 45%; }
img.pos-andrea-facciata { object-position: 50% 45%; }
img.pos-colazione-salato { object-position: center 22%; }
img.pos-cani { object-position: center 68%; }

/* Inline availability CTA (after reviews) */
.inline-cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding: 1.4rem 1.6rem; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.inline-cta p { margin: 0; font-family: var(--serif); font-size: 1.2rem; max-width: 38rem; }

/* Property cards → property pages */
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: var(--terracotta-dark); text-decoration: underline; }
.more-link { margin: -.4rem 0 1.1rem; }
.more-link a { display: inline-block; padding: .6rem 0; font-weight: 650; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 52rem; }
.faq-item { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1rem 3rem 1rem 1.2rem; min-height: 44px; font-weight: 650; position: relative; border-radius: var(--radius); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.4rem; line-height: 1; color: var(--terracotta); }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0; padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }

/* Property pages */
.breadcrumb { padding-top: 1rem; font-size: .9rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.breadcrumb li { display: inline-flex; align-items: center; line-height: 1; }
.breadcrumb li + li::before { content: "›"; margin-right: .35rem; color: var(--ink-soft); }
.breadcrumb a { display: inline-flex; align-items: center; padding: 0; line-height: 1; text-underline-offset: .15em; }
.prop-hero { padding-top: clamp(1.5rem, 4vw, 3rem); }
.prop-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.prop-hero-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--sand); }
.prop-hero-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .rooms--two { grid-template-columns: repeat(2, 1fr); max-width: 760px; } }
@media (min-width: 1100px) { .rooms--two { grid-template-columns: repeat(2, 1fr); } }
.nap { font-style: normal; background: #fff; padding: 1rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1rem; line-height: 1.7; }
.nap a { display: inline-block; padding: .3rem 0; }
.other-prop { margin: 1.5rem 0 0; font-size: 1.05rem; }
.other-prop a { font-weight: 650; display: inline-block; padding: .5rem 0; }

/* Short one-pager home */
.section--tight { padding: clamp(3rem, 7vw, 5rem) 0; }
.story-short { max-width: 46rem; text-align: center; }
.story-short p { margin: 0 0 .9rem; max-width: 42rem; }
.story-short .lead { margin-inline: auto; }
.strip-title { font-size: 1.35rem; margin: clamp(2.5rem, 6vw, 3.5rem) 0 1rem; }
.amen-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.amen-strip li { display: flex; align-items: center; gap: .65rem; background: #fff; border-radius: var(--radius); padding: .7rem .9rem; box-shadow: var(--shadow); font-weight: 600; font-size: .95rem; }
.amen-strip svg { width: 22px; height: 22px; flex: none; color: var(--terracotta); }
.section--dark .bf-quote { margin-top: 1.25rem; }
.dir-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.near-title { font-family: var(--sans); font-size: 1rem; font-weight: 650; margin: 1.5rem 0 .5rem; letter-spacing: 0; }
.near-short { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-width: 28rem; }
.near-short li { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--sand); }
.near-short li span:last-child { color: var(--ink-soft); white-space: nowrap; }
.eat-list { margin-top: .4rem; }
.near-short a, .eat-list a { color: var(--ink); font-weight: 400; text-decoration: none; }
.near-short a:hover, .eat-list a:hover { text-decoration: none; color: var(--ink); }
@media (min-width: 600px) { .amen-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .amen-strip { grid-template-columns: repeat(3, 1fr); } }

/* Gallery page + short property galleries */
.gallery--page, .gallery--short { grid-auto-rows: auto; grid-auto-flow: row; }
.gallery.gallery--page {
  display: flex; gap: .7rem; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: .1rem;
  padding-bottom: .55rem; -webkit-overflow-scrolling: touch;
}
.gallery--page::-webkit-scrollbar { height: 8px; }
.gallery--page::-webkit-scrollbar-thumb { background: #7c7874; border-radius: 99px; }
.gallery--page { scrollbar-width: thin; scrollbar-color: #7c7874 transparent; }
.gallery--page .gal-fig { flex: 0 0 78%; max-width: 280px; scroll-snap-align: start; }
@media (min-width: 800px) {
  .gallery.gallery--page { display: flex; overflow-x: auto; grid-template-columns: none; grid-auto-rows: auto; }
  .gallery--page .gal-fig { flex-basis: 280px; }
}
@media (min-width: 800px) { .gallery--short { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }
.gallery--page .gallery-item, .gallery--short .gallery-item { aspect-ratio: 4 / 3; }
.gal-fig { margin: 0; }
.gal-fig figcaption { font-size: .78rem; line-height: 1.3; color: var(--ink-soft); margin-top: .4rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gal-intro h1 { font-size: clamp(2rem, 5vw, 3rem); }
.gal-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.gal-sec { padding: 1.6rem 0 1.2rem; }

/* Breakfast photos on the villa page */
.bf-photos { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 1.75rem 0; max-width: 46rem; }
.bf-photos img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }


/* Telefono: meno scroll, pulsanti a tutta larghezza, niente fuori schermo */
@media (max-width: 699px) {
  body { overflow-x: clip; }
  .section { padding: 2.4rem 0; }
  .section--tight { padding: 1.6rem 0; }
  .site-header { padding-top: env(safe-area-inset-top); height: calc(var(--header-h) + env(safe-area-inset-top)); }
  .hero { min-height: calc(100svh - var(--header-h) - env(safe-area-inset-top)); }
  .hero h1 { font-size: clamp(1.85rem, 8.4vw, 2.4rem); }
  .hero p.lead, .hero-note { font-size: 1.02rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .badges { gap: .45rem; }
  .badge { max-width: 100%; }
  .site-nav a:not(.btn) { min-height: 44px; display: flex; align-items: center; }
  .story-short p { font-size: 1.02rem; }
  .contact-card, .policies { overflow-wrap: anywhere; }
  .legal-pair p { overflow-wrap: anywhere; }
  .gal-links { flex-direction: column; align-items: stretch; }
  .gal-links .btn { justify-content: center; }
  .property-actions, .card-actions { flex-direction: column; align-items: stretch; }
  .property-actions .btn, .card-actions .btn { width: 100%; justify-content: center; }
}


/* Ispirazione Hotel Le Ville: tela bianca, pulsanti netti, foto che comanda */
.site-header { background: rgba(247, 246, 244, .96); border-bottom: 1px solid rgba(28, 25, 23, .08); }
.brand-sub { letter-spacing: .14em; font-size: .68rem; }
.nav-toggle { border-radius: 8px; }
.btn { border-radius: 6px; letter-spacing: .04em; font-weight: 650; text-transform: none; box-shadow: none; }
.btn:hover { transform: none; }
.eyebrow { letter-spacing: .22em; font-size: .72rem; }
h1, h2 { letter-spacing: -.02em; }
.hero::before { background: linear-gradient(180deg, rgba(20, 16, 14, .35) 0%, rgba(20, 16, 14, .28) 40%, rgba(20, 16, 14, .62) 100%); }
.badge { border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); }
.property, .room, .review, .amenity, .contact-card { border: 1px solid var(--sand); box-shadow: none; }
.section--alt { background: #f3f1ec; }
.site-footer { background: #3d342c; }


/* Colazione: chiara, ariosa, due colonne */
.bf-modern { background: #faf6f1; color: #3d342c; }
.bf-modern h2, .bf-modern h3 { color: #3d342c; }
.bf-modern .eyebrow { color: #7c7874; }
.bf-wrap { max-width: 760px; }
.bf-wrap .lead { font-size: 1.15rem; line-height: 1.7; color: #4a4038; }
.bf-collage { margin: 1.5rem 0 1.25rem; }
.bf-stage { margin: 0; }
.bf-stage img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 18px; box-shadow: 0 12px 28px rgba(61, 52, 44, .12); transition: opacity .18s ease; }
.bf-peeks { display: flex; justify-content: flex-end; margin: -2.6rem .6rem 0 0; position: relative; z-index: 1; }
.bf-peek { width: 74px; height: 74px; padding: 0; margin-left: -16px; border: 3px solid #faf6f1; border-radius: 12px; background: #fff; overflow: hidden; cursor: pointer; box-shadow: 0 8px 16px rgba(61, 52, 44, .16); }
.bf-peek:nth-child(1) { transform: rotate(-8deg); }
.bf-peek:nth-child(2) { transform: rotate(5deg); }
.bf-peek:nth-child(3) { transform: rotate(-3deg); }
.bf-peek:nth-child(4) { transform: rotate(7deg); }
.bf-peek:nth-child(5) { transform: rotate(-5deg); }
.bf-peek:nth-child(6) { transform: rotate(4deg); }
.bf-peek:nth-child(7) { transform: rotate(-6deg); }
.bf-peek.is-on { z-index: 2; border-color: #fff; box-shadow: 0 0 0 2px #7c7874, 0 8px 16px rgba(61, 52, 44, .16); }
.bf-peek img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (min-width: 720px) {
  .bf-collage { display: grid; grid-template-columns: 1.4fr .78fr; gap: 1rem; align-items: center; }
  .bf-stage img { aspect-ratio: 4 / 3; min-height: 300px; }
  .bf-peeks { flex-direction: column; align-items: stretch; justify-content: center; margin: 0; }
  .bf-peek { width: auto; height: 96px; margin: -12px 0 0; }
  .bf-peek:nth-child(1) { margin-top: 0; margin-left: 22px; }
  .bf-peek:nth-child(2) { margin-left: 0; }
  .bf-peek:nth-child(3) { margin-left: 34px; }
  .bf-peek:nth-child(4) { margin-left: 8px; }
  .bf-peek:nth-child(5) { margin-left: 20px; }
  .bf-peek:nth-child(6) { margin-left: 4px; }
  .bf-peek:nth-child(7) { margin-left: 26px; }
}
.bf-cols { display: grid; gap: 1.25rem; margin: 0 0 1.75rem; }
@media (min-width: 640px) { .bf-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.bf-cols h3 { font-family: var(--serif, Georgia, serif); font-size: 1.35rem; letter-spacing: 0; text-transform: none; color: var(--ink); margin: 0 0 .75rem; font-weight: 560; }
.bf-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.bf-cols li { display: flex; align-items: flex-start; gap: .65rem; text-align: left; }
.bf-cols svg { width: 22px; height: 22px; flex: none; color: #7c7874; margin-top: .1rem; }
.bf-box { margin: 0 0 1.75rem; padding: 1.25rem 1.35rem; background: #f3eee6; border-radius: 12px; }
.bf-box blockquote { margin: 0 0 .6rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; line-height: 1.45; color: #3d342c; }
.bf-box blockquote::before { content: "\201C"; color: #7c7874; font-size: 1.6rem; margin-right: .15rem; }
.bf-box figcaption { display: flex; align-items: center; gap: .55rem; font-size: .9rem; color: #6b5e52; }
.ta-dots { display: inline-flex; gap: 3px; }
.ta-dots i { width: 10px; height: 10px; border-radius: 50%; background: #00aa6c; display: block; }
.bf-cta { margin: 0; }
.bf-cta .btn { background: #7c7874; border-color: #7c7874; }
.bf-cta .btn:hover { background: #65615e; }


/* Palette chiara su tutte le pagine: avorio, moro, salvia */
.btn { background: #7c7874; border-color: #7c7874; color: #fff; }
.btn:hover { background: #65615e; }
.btn--whatsapp, .btn--whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe5a; }
.bf-modern h2 { font-size: clamp(2rem, 5vw, 2.8rem); }

.ta-logo { display: inline-flex; align-items: center; }
.ta-logo img { display: block; width: 28px; height: 28px; }

/* Apple HIG: system type, 44pt targets, grouped lists, materials */
:root {
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  --serif: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --separator: rgba(60, 52, 44, .16);
  --radius: 10px;
  --radius-lg: 12px;
}
body {
  font-size: 17px;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .brand-name, .price-card h3, .price-card dd, .facts strong, .signature, .bf-cols h3, .bf-box blockquote {
  font-family: var(--sans);
  font-style: normal;
}
h1, h2 { font-weight: 700; letter-spacing: -0.022em; }
h3 { font-weight: 600; letter-spacing: -0.015em; }
.eyebrow, .property-kicker, .policies dt, .brand-sub {
  letter-spacing: .04em;
  font-weight: 600;
  text-transform: uppercase;
}
.hero h1 em { font-style: normal; font-weight: 560; color: rgba(255, 255, 255, .92); }
.site-header {
  background: rgba(250, 247, 242, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--separator);
}
.nav-toggle, .btn, .lang-switch, .price-card, .property, .room, .faq, .contact-card, .bf-box {
  border-radius: 12px;
}
.btn {
  min-height: 44px;
  border-width: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: none;
}
.btn:hover { transform: none; box-shadow: none; }
.btn:active, .nav-toggle:active, .lang-switch:active, .faq-item summary:active { opacity: .65; }
.site-nav a:not(.btn) { min-height: 44px; display: flex; align-items: center; }
.faq { background: #fff; border: 0.5px solid var(--separator); overflow: hidden; }
.faq-item { background: transparent; border-radius: 0; box-shadow: none; border-bottom: 0.5px solid var(--separator); }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { min-height: 44px; }
.near-short {
  background: #fff;
  border: 0.5px solid var(--separator);
  border-radius: 12px;
  padding: 0 14px;
  max-width: 36rem;
}
.near-short li { min-height: 44px; align-items: center; border-bottom: 0.5px solid var(--separator); }
.near-short li:last-child { border-bottom: 0; }
.price-card dd, .facts strong { font-variant-numeric: tabular-nums; font-weight: 650; }
.price-card { border: 0.5px solid var(--separator); box-shadow: none; }

/* Contatti: blocco centrato, da telefono e da computer */
section[id="contatti"],
section[id="contact"],
section[id="kontakt"] {
  scroll-margin-top: calc(var(--header-h) + env(safe-area-inset-top));
  padding: clamp(1.25rem, 6vh, 2.75rem) 0 clamp(2rem, 6vh, 3.5rem);
}
section[id="contatti"] > .container,
section[id="contact"] > .container,
section[id="kontakt"] > .container {
  width: min(100% - 2rem, 40rem);
}
.contact { text-align: center; }
.contact .lead,
.contact .direct-note,
.contact .contact-extra,
.contact .policies,
.contact .policies div { margin-inline: auto; text-align: center; }
.contact-primary { display: flex; flex-direction: column; align-items: center; }
.contact .btn--xl { justify-content: center; text-align: center; width: min(100%, 22rem); }
.contact-grid { width: min(100%, 36rem); margin-inline: auto; }
.contact-extra { justify-items: center; }

/* PIN gate — the site stays hidden until main.js adds .pin-open.
   Inline script/style cannot do this: CSP allows only same-origin files. */
html:not(.pin-open) body > :not(.pin-gate) { display: none !important; }
html:not(.pin-open) .pin-gate { display: flex !important; }
.pin-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: #faf7f2;
}
.pin-card {
  width: min(100%, 22rem);
  margin: 0;
  padding: 1.5rem 1.35rem 1.35rem;
  text-align: center;
  background: #fff;
  border: 0.5px solid var(--separator, rgba(60, 52, 44, .16));
  border-radius: 16px;
}
.pin-card h1 { font-size: 1.7rem; margin-bottom: .35rem; }
.pin-card p { color: var(--ink-soft); }
.pin-card input {
  width: 8rem;
  margin: .25rem auto 1rem;
  display: block;
  min-height: 48px;
  border: 0.5px solid var(--separator, rgba(60, 52, 44, .16));
  border-radius: 12px;
  background: #faf7f2;
  color: var(--ink);
  font: 600 1.4rem/1 var(--sans);
  letter-spacing: .28em;
  text-align: center;
}
.pin-error { color: #8a3d32 !important; font-size: .95rem; margin: -.4rem 0 .8rem; }
.pin-needjs { margin: 1rem 0 0; text-align: center; }
