*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FAF6EF;
  --sand: #F1E8DA;
  --sand-deep: #E6D8C2;
  --ink: #13262F;
  --ink-soft: #3C4F57;
  --muted: #6E7C80;
  --lake: #1A86BD;
  --lake-deep: #0F5E86;
  --sun: #E39B3A;
  --sun-soft: #F6D9A8;
  --white: #FFFFFF;
  --line: rgba(19, 38, 47, .12);
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -24px rgba(19, 38, 47, .28);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
}

html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--sans); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--cream);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 3px; border-radius: 6px; }

/* Tipografia */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lake-deep);
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--sun); border-radius: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.08; letter-spacing: -.015em; font-variation-settings: 'opsz' 120; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); margin: 14px 0 18px; }
h2 em, h1 em { font-style: italic; color: var(--lake-deep); }
h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }
section { padding: clamp(72px, 10vw, 128px) 0; }

/* Bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font-weight: 700; font-size: .95rem; text-decoration: none; white-space: nowrap;
  transition: transform .25s, background .25s, box-shadow .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: var(--lake-deep); box-shadow: 0 14px 30px -12px rgba(15, 94, 134, .6); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #EDAE57; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--cream); }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178A45; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 239, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(19, 38, 47, .35); }
.header-in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo img { height: 46px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 28px; list-style: none; }
.main-nav a { text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-soft); position: relative; padding: 6px 0; }
.main-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sun); transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-cta { padding: 11px 20px; font-size: .88rem; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: var(--sand); border-radius: 50%; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 18px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; transition: transform .3s, background .3s; border-radius: 2px; }
.menu-btn span::before, .menu-btn span::after { content: ''; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.6rem); font-weight: 300; margin: 20px 0 24px; }
.hero h1 em { display: block; font-weight: 300; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .9rem; color: var(--ink-soft); list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lake); }
.hero-visual { position: relative; }
.hero-photo {
  border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--sand);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: var(--white); border-radius: 18px; padding: 12px 16px; box-shadow: var(--shadow);
  font-size: .85rem; line-height: 1.3;
}
.chip strong { display: block; font-size: 1.05rem; }
.chip small { color: var(--muted); }
.chip-rating { left: -28px; bottom: 64px; }
.chip-rating .stars { color: var(--sun); font-size: 1.1rem; letter-spacing: 1px; }
.chip-weather { right: -18px; top: 56px; }
.chip-weather .w-ico { font-size: 1.6rem; line-height: 1; }

/* Barra di prenotazione */
.book-bar {
  margin-top: clamp(40px, 6vw, 72px); background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px; display: grid;
  grid-template-columns: 1.3fr 1fr 1fr .7fr auto; gap: 6px; align-items: stretch;
}
.field { display: flex; flex-direction: column; justify-content: center; padding: 10px 16px; border-radius: 14px; transition: background .2s; min-width: 0; }
.field:hover, .field:focus-within { background: var(--cream); }
.field + .field { border-left: 1px solid var(--line); }
.field label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field select, .field input { border: 0; background: transparent; font-weight: 600; font-size: 1rem; padding: 4px 0; width: 100%; min-width: 0; outline: none; }
.book-bar .btn { border-radius: 16px; padding: 0 30px; min-height: 60px; }
.book-msg { grid-column: 1 / -1; font-size: .86rem; color: #B4441F; padding: 4px 16px 6px; display: none; }
.book-msg.show { display: block; }
.book-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 16px; font-size: .86rem; color: var(--muted); }

/* In breve: blocco fatti, pensato per essere citato da motori di ricerca e assistenti AI */
.facts { padding-top: clamp(64px, 8vw, 96px); padding-bottom: 0; }
.facts-card { background: var(--ink); color: var(--cream); border-radius: calc(var(--radius) + 8px); padding: clamp(28px, 4vw, 52px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 4vw, 64px); }
.facts-card .eyebrow { color: var(--sun-soft); }
.facts-card h2 { color: var(--cream); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.facts-card h2 em { color: var(--sun-soft); }
.facts-card p { color: rgba(250, 246, 239, .75); }
.facts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.facts-list div { padding: 14px 0; border-bottom: 1px solid rgba(250, 246, 239, .14); }
.facts-list dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(250, 246, 239, .55); font-weight: 700; }
.facts-list dd { font-weight: 600; font-size: 1.02rem; margin-top: 2px; }

/* Appartamenti */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.section-head .lead { max-width: 46ch; }
.apts { display: grid; gap: clamp(48px, 7vw, 96px); }
.apt { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.apt:nth-child(even) .apt-gallery { order: 2; }
.apt-gallery { position: relative; }
.gallery-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--radius); box-shadow: var(--shadow); background: var(--sand);
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 2; position: relative; }
.gallery-track img { width: 100%; height: 100%; object-fit: cover; }
.gallery-track figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(19, 38, 47, .72); color: #fff; font-size: .78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(6px); }
.gallery-nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.gallery-nav button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); cursor: pointer; font-size: 1.1rem; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .4); transition: transform .2s; }
.gallery-nav button:hover { transform: scale(1.08); }
.gallery-count { position: absolute; top: 16px; right: 16px; background: rgba(255, 255, 255, .92); font-size: .78rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; }
.apt-tag { display: inline-block; background: var(--sun-soft); color: var(--ink); font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.apt h3 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 14px 0 6px; }
.apt-addr { color: var(--muted); font-weight: 600; font-size: .92rem; margin-bottom: 18px; }
.apt p.desc { color: var(--ink-soft); margin-bottom: 22px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.spec { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; }
.spec b { display: block; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.1; }
.spec span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.amenities { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 26px; }
.amenities li { font-size: .84rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--ink-soft); }
.apt-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.price { font-size: .9rem; color: var(--muted); }
.price strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: var(--ink); }

/* Tabella di confronto */
.compare { margin-top: clamp(56px, 8vw, 96px); }
.compare h3 { margin-bottom: 18px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; background: var(--sand); }
tbody th { font-weight: 600; color: var(--muted); width: 30%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }

/* Perché noi: bento */
.why { background: var(--sand); }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.tile { border-radius: var(--radius); padding: 28px; background: var(--white); position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.tile h3 { font-size: 1.5rem; margin-bottom: 8px; }
.tile p { color: var(--ink-soft); font-size: .95rem; }
.tile .big { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 300; line-height: 1; color: var(--lake-deep); margin-bottom: auto; }
.tile-photo { grid-column: span 2; grid-row: span 2; padding: 0; color: #fff; }
.tile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile-photo .tile-text { position: relative; padding: 32px; background: linear-gradient(to top, rgba(19, 38, 47, .85), transparent); }
.tile-photo p { color: rgba(255, 255, 255, .85); }
.tile-wide { grid-column: span 2; }
.tile-ink { background: var(--ink); color: var(--cream); }
.tile-ink p { color: rgba(250, 246, 239, .75); }
.tile-ink .big { color: var(--sun-soft); }
.tile-sun { background: var(--sun-soft); }

/* Posizione */
.loc-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.dist { list-style: none; margin: 28px 0 32px; border-top: 1px solid var(--line); }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dist span:last-child { font-weight: 700; white-space: nowrap; }
.map {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; box-shadow: var(--shadow);
  background: linear-gradient(135deg, #DCEBF2, #F1E8DA);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; padding: 24px; }
.map-facade p { max-width: 36ch; font-size: .88rem; color: var(--ink-soft); }
.map-pins { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; z-index: 2; pointer-events: none; }
.map-pins a { pointer-events: auto; display: flex; gap: 10px; align-items: center; background: rgba(255, 255, 255, .95); border-radius: 14px; padding: 10px 14px; text-decoration: none; font-size: .84rem; box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .35); }
.map-pins b { display: block; }
.pin { width: 12px; height: 12px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px rgba(26, 134, 189, .2); background: var(--lake); }
.pin.sun { background: var(--sun); box-shadow: 0 0 0 4px rgba(227, 155, 58, .25); }

/* Cosa fare */
.todo { background: var(--white); }
.todo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.todo-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--cream); transition: transform .3s, box-shadow .3s; }
.todo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.todo-card .kind { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lake-deep); }
.todo-card h3 { font-size: 1.45rem; margin: 10px 0 8px; }
.todo-card p { color: var(--ink-soft); font-size: .95rem; }

/* Recensioni */
.reviews-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.score { display: flex; align-items: center; gap: 18px; }
.score b { font-family: var(--serif); font-size: 4.4rem; font-weight: 300; line-height: 1; }
.score .stars { color: var(--sun); font-size: 1.3rem; letter-spacing: 2px; }
.score small { display: block; color: var(--muted); font-size: .86rem; }
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: thin; }
.review { scroll-snap-align: start; background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 18px; }
.review blockquote { font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; flex: 1; }
.review figcaption { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; font-weight: 700; color: var(--lake-deep); }
.review figcaption small { display: block; color: var(--muted); }

/* Chi siamo */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about-photos img { border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.about-photos img:last-child { margin-top: 48px; }
.about-grid p + p { margin-top: 14px; }
.about-grid .lead { margin-bottom: 14px; }

/* FAQ */
.faq { background: var(--cream); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-list details { border-bottom: 1px solid rgba(19, 38, 47, .16); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.04rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--white); display: grid; place-items: center; font-weight: 500; transition: transform .3s, background .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--sun-soft); }
.faq-list details p { padding: 0 48px 22px 0; color: var(--ink-soft); }

/* Contatti */
.contact-card { background: var(--ink); color: var(--cream); border-radius: calc(var(--radius) + 8px); padding: clamp(32px, 5vw, 72px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; }
.contact-card::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 155, 58, .35), transparent 65%); }
.contact-card > * { position: relative; }
.contact-card .eyebrow { color: var(--sun-soft); }
.contact-card h2 { color: var(--cream); }
.contact-card h2 em { color: var(--sun-soft); }
.contact-card p { color: rgba(250, 246, 239, .78); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact-list { list-style: none; display: grid; gap: 12px; align-content: center; }
.contact-list li { background: rgba(250, 246, 239, .07); border: 1px solid rgba(250, 246, 239, .12); border-radius: 16px; padding: 16px 20px; }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(250, 246, 239, .55); font-weight: 700; }
.contact-list a, .contact-list span { font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--sun-soft); }

/* Footer */
.site-footer { padding: 72px 0 110px; font-size: .92rem; color: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer-grid img { height: 52px; width: auto; margin-bottom: 16px; }
.footer-grid h2 { font-family: var(--sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin: 0 0 14px; }
.footer-grid ul { list-style: none; display: grid; gap: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--lake-deep); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: .84rem; color: var(--muted); }
address { font-style: normal; }

/* Barra mobile fissa */
.mobile-bar { display: none; }

/* Animazioni (solo con JS attivo e senza riduzione movimento) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1), transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.in { opacity: 1; transform: none; }
  .hero-photo img { animation: slowzoom 18s ease-out both; }
  @keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .book-bar { grid-template-columns: 1fr 1fr; }
  .field + .field { border-left: 0; }
  .field { background: var(--cream); }
  .book-bar .btn { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .main-nav {
    position: fixed; inset: 76px 0 auto 0; background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px var(--gutter) 24px; transform: translateY(-110%); visibility: hidden; transition: transform .35s, visibility .35s; z-index: -1;
  }
  .nav-open .main-nav { transform: none; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .main-nav a::after { display: none; }
  .menu-btn { display: block; }
  .header-cta { display: none; }
  .hero-grid, .facts-card, .apt, .loc-grid, .about-grid, .faq-grid, .contact-card { grid-template-columns: 1fr; }
  .apt:nth-child(even) .apt-gallery { order: 0; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .hero-photo { aspect-ratio: 1 / 1; }
  .chip-rating { left: 8px; bottom: 20px; }
  .chip-weather { right: 8px; top: 20px; }
  .todo-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(250, 246, 239, .94);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { padding: 14px 12px; }
}
@media (max-width: 600px) {
  .facts-list, .todo-grid, .bento, .book-bar { grid-template-columns: 1fr; }
  .tile-photo, .tile-wide { grid-column: auto; }
  .tile-photo { min-height: 360px; }
  .specs { grid-template-columns: repeat(3, 1fr); }
  .spec { padding: 10px; }
  .spec b { font-size: 1.25rem; }
  .map-pins { grid-template-columns: 1fr; }
  .map { min-height: 520px; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq-list details p { padding-right: 0; }
  .hero-proof { gap: 8px 16px; }
  .logo img { height: 40px; }
}

/* ───────── Pagine appartamento ───────── */
.crumbs { padding: 22px 0 0; font-size: .86rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.crumbs li + li::before { content: '›'; margin-right: 6px; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--lake-deep); }

.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding: 22px 0 28px; }
.detail-head h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 300; margin: 14px 0 8px; }
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); font-weight: 600; font-size: .94rem; list-style: none; }
.detail-meta .stars { color: var(--sun); }
.detail-head .price { text-align: right; }

.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(360px, 52vw, 560px); border-radius: var(--radius); overflow: hidden; }
.mosaic a { position: relative; display: block; overflow: hidden; background: var(--sand); }
.mosaic a:first-child { grid-row: span 2; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .3s; }
.mosaic a:hover img { transform: scale(1.04); filter: brightness(1.05); }
.mosaic .more { position: absolute; right: 14px; bottom: 14px; background: rgba(255, 255, 255, .94); font-size: .82rem; font-weight: 700; padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 18px -6px rgba(0, 0, 0, .4); }

.detail { padding-top: clamp(48px, 6vw, 72px); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail-body > * + * { margin-top: clamp(48px, 6vw, 64px); }
.detail-body h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin-top: 10px; }
.detail-body p + p { margin-top: 14px; }
.detail-body .lead { margin-bottom: 14px; }

.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.highlight { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.highlight h3 { font-size: 1.3rem; margin-bottom: 6px; }
.highlight p { font-size: .94rem; color: var(--ink-soft); }

.facts-light { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 18px; border-top: 1px solid var(--line); }
.facts-light div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts-light dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.facts-light dd { font-weight: 600; margin-top: 2px; }

.amen-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 22px; }
.amen-groups h3 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--lake-deep); margin-bottom: 10px; }
.amen-groups ul { list-style: none; display: grid; gap: 8px; }
.amen-groups li { display: flex; gap: 10px; align-items: baseline; font-size: .95rem; }
.amen-groups li::before { content: '✓'; color: var(--sun); font-weight: 700; }

.book-card { position: sticky; top: 100px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border: 1px solid var(--line); }
.book-card .price { margin-bottom: 4px; }
.book-card .sub { font-size: .86rem; color: var(--muted); margin-bottom: 20px; }
.book-card .btn { width: 100%; margin-top: 10px; }
.book-card ul { list-style: none; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 8px; font-size: .9rem; color: var(--ink-soft); }
.book-card li::before { content: '✓ '; color: var(--lake); font-weight: 700; }
.book-card .cin { margin-top: 16px; font-size: .78rem; color: var(--muted); }

.calendar { background: var(--sand); }
.calendar-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.calendar-box iframe { display: block; width: 100%; height: 900px; border: 0; }
.calendar-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-top: 18px; font-size: .88rem; color: var(--ink-soft); }

.other-apt { display: grid; grid-template-columns: 1fr 1fr; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; transition: box-shadow .3s, transform .3s; }
.other-apt:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.other-apt img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }
.other-apt > div { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.other-apt h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.other-apt p { color: var(--ink-soft); }
.other-apt .link { font-weight: 700; color: var(--lake-deep); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(10, 20, 26, .92); }
.lightbox figure { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 72px; pointer-events: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); border-radius: 12px; object-fit: contain; pointer-events: auto; }
.lightbox figcaption { color: #fff; font-size: .9rem; font-weight: 600; white-space: pre; }
.lightbox button { position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 1.3rem; cursor: pointer; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .detail-grid, .other-apt { grid-template-columns: 1fr; }
  .book-card { position: static; }
  .detail-head .price { text-align: left; }
  .mosaic { display: flex; height: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 8px; border-radius: var(--radius); }
  .mosaic::-webkit-scrollbar { display: none; }
  .mosaic a { flex: 0 0 88%; aspect-ratio: 4 / 3; scroll-snap-align: start; border-radius: var(--radius-sm); }
  .mosaic .more { display: none; }
  .amen-groups { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .highlights, .facts-light, .amen-groups { grid-template-columns: 1fr; }
  .calendar-box iframe { height: 980px; }
  .lightbox figure { padding: 70px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}

/* Selettore lingua */
.lang { display: flex; gap: 2px; background: var(--sand); border-radius: 999px; padding: 3px; }
.lang a { text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: 6px 10px; border-radius: 999px; color: var(--ink-soft); transition: background .2s, color .2s; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px -4px rgba(19, 38, 47, .4); }
@media (max-width: 900px) {
  .lang { margin-left: auto; }
  .header-in { gap: 10px; }
  .lang ~ .menu-btn { margin-left: 0; }
}
@media (max-width: 380px) { .lang a { padding: 6px 7px; } }

/* Mosaico: su desktop si vedono le prime 5 foto, le altre restano nella lightbox */
@media (min-width: 901px) { .mosaic a:nth-child(n+6) { display: none; } }

/* ───────── Guide, testi lunghi, privacy ───────── */
.page-head { padding: 22px 0 clamp(28px, 4vw, 44px); }
.page-head h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); font-weight: 300; margin: 14px 0 16px; max-width: 18ch; }
.page-head .lead { font-size: 1.15rem; max-width: 62ch; }
.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: .88rem; color: var(--muted); font-weight: 600; list-style: none; }
.guide-hero { border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; background: var(--sand); box-shadow: var(--shadow); }
.guide-hero img { width: 100%; height: 100%; object-fit: cover; }

.guide-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(56px, 7vw, 96px); }
.toc-box { position: sticky; top: 100px; font-size: .9rem; }
.toc-box p { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.toc-box ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc-box a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.toc-box a:hover { color: var(--ink); border-left-color: var(--sun); }

.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.9em; scroll-margin-top: 100px; }
.prose h3 { font-size: 1.35rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose a { color: var(--lake-deep); font-weight: 600; text-underline-offset: 3px; }
.prose .table-wrap { margin-top: 1.4em; }
.prose table { min-width: 520px; }
.prose td, .prose th { vertical-align: top; }
.note { background: var(--sun-soft); border-radius: var(--radius-sm); padding: 16px 20px; font-size: .95rem; }
.note p { color: var(--ink); }
.facts-box { background: var(--ink); color: var(--cream); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.facts-box p.eyebrow { color: var(--sun-soft); margin-bottom: 8px; }
.facts-box dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.facts-box dl div { padding: 11px 0; border-bottom: 1px solid rgba(250, 246, 239, .14); }
.facts-box dt { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(250, 246, 239, .55); font-weight: 700; }
.facts-box dd { font-weight: 600; margin-top: 2px; color: var(--cream); }
.sources { font-size: .9rem; }
.sources li { color: var(--muted); }
.guide-cta { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; background: var(--sand); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.guide-cta h2 { margin: 0 0 6px; font-size: 1.6rem; }
.guide-cta p { margin: 0; }

.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.guide-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: transform .3s, box-shadow .3s; }
.guide-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.guide-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.guide-card div { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide-card .kind { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lake-deep); }
.guide-card h3 { font-size: 1.4rem; }
.guide-card p { color: var(--ink-soft); font-size: .94rem; flex: 1; }
.guide-card .link { font-weight: 700; color: var(--lake-deep); font-size: .92rem; }

@media (max-width: 900px) {
  .guide-grid { grid-template-columns: 1fr; }
  .toc-box { position: static; }
  .guide-cards { grid-template-columns: 1fr 1fr; }
  .guide-hero { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .guide-cards, .facts-box dl { grid-template-columns: 1fr; }
  .guide-cta { grid-template-columns: 1fr; }
}

/* Header con 4 lingue: niente a capo e spazi ridotti sugli schermi medi */
.main-nav a, .header-cta { white-space: nowrap; }
@media (max-width: 1240px) and (min-width: 901px) {
  .header-in { gap: 18px; }
  .main-nav ul { gap: 18px; }
  .main-nav a { font-size: .88rem; }
  .header-cta { padding: 10px 16px; font-size: .84rem; }
  .logo img { height: 40px; }
}
@media (max-width: 1080px) and (min-width: 901px) { .header-cta { display: none; } }
