/* Piccolo Paradiso — Erbario mediterraneo (versione B approvata) */
@font-face { font-family: "Gilda Display"; src: url("/assets/fonts/GildaDisplay-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/assets/fonts/Karla-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("/assets/fonts/Karla-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --avorio: #F6F5EF;
  --calce: #ECEFE7;
  --salvia: #8E9C82;
  --salvia-scura: #5F6E57;
  --salvia-chiara: #DCE2D5;
  --bosco: #2E3F33;
  --bosco-scuro: #223027;
  --ocra: #C6963A;
  --onice: #4E7A7C;
  --ink: #1F2A24;
  --muted: #5A665E;
  --line: #D3D8CC;

  --acero: #7F9174;
  --acero-chiaro: #B9C6AE;
  --magnolia: #2E3F33;
  --sakura: #C6963A;

  --serif: "Gilda Display", Georgia, serif;
  --sans: Karla, system-ui, sans-serif;
  --radius: 2px 16px 2px 16px;
  --gutter: 20px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body { background: var(--avorio); color: var(--ink); font: 400 17px/1.75 var(--sans); padding-bottom: 64px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.08; color: var(--bosco); }
figure { margin: 0; }
:focus-visible { outline: 2px solid var(--ocra); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--bosco); color: #fff; padding: 10px 14px; }
.skip:focus { top: 8px; }

.br-desk { display: none; }
.preview-bar { position: absolute; z-index: 37; left: 12px; top: calc(var(--header-h) + 6px); max-width: calc(100% - 24px); background: #FFF6DA; color: #5B4A12; font-size: 12.5px; line-height: 1.4; padding: 6px 12px; border: 1px solid #E7D38F; border-radius: 8px; box-shadow: 0 6px 20px rgba(0, 0, 0, .12); }
.flag { display: inline-block; font: 500 12px/1.3 var(--sans); color: #6A5414; background: #FFF3C9; border: 1px dashed #C8A43A; border-radius: 3px; padding: 2px 6px; vertical-align: middle; }
.flag::before { content: "⚑ "; }

.kicker { font-size: 14px; font-weight: 500; letter-spacing: .06em; color: var(--salvia-scura); margin-bottom: 14px; }
.sprig { width: 120px; height: 24px; color: var(--salvia); display: block; margin: 0 auto 28px; }
.sprig.light { color: rgba(255, 255, 255, .7); }

/* Pulsanti */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 28px; border-radius: var(--radius); font-weight: 500; font-size: 15.5px; letter-spacing: .02em; text-decoration: none; transition: background-color .25s, color .25s, border-color .25s; }
.btn-primary { background: var(--bosco); color: #fff; }
.btn-primary:hover { background: var(--bosco-scuro); }
.btn-book { background: var(--bosco); color: #fff; }
.btn-book:hover { background: var(--bosco-scuro); }
.btn-outline { border: 1px solid var(--bosco); color: var(--bosco); }
.btn-outline:hover { background: var(--bosco); color: #fff; }
.btn-outline-light { border: 1px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--bosco); }
.ext { width: 15px; height: 15px; flex: none; }
.link { color: var(--bosco); font-weight: 500; text-decoration: underline; text-decoration-color: var(--salvia); text-underline-offset: 5px; text-decoration-thickness: 1px; }
.link:hover { text-decoration-color: currentColor; }
.link.light { color: #fff; text-decoration-color: rgba(255, 255, 255, .6); }

/* Header: trasparente sull'apertura, poi chiaro */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 40; color: #fff; transition: background-color .4s, color .4s, box-shadow .4s; }
.site-header.solid { background: rgba(246, 245, 239, .97); color: var(--bosco); box-shadow: 0 1px 0 var(--line); }
.has-bar .site-header { top: 0; }
.header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); padding: 0 var(--gutter); }
.menu-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; justify-self: start; font-size: 14px; letter-spacing: .06em; }
.bars, .bars::before, .bars::after { display: block; width: 26px; height: 1.5px; background: currentColor; transition: transform .3s, background-color .3s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }
.menu-label { display: none; }
.brand { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1.1; }
.brand-leaf { display: none; }
.brand-name { font-family: var(--serif); font-size: 22px; }
.brand-sub { font-size: 11.5px; letter-spacing: .08em; opacity: .85; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.header-actions .btn-book { display: none; }
.site-header:not(.solid) .btn-book { background: var(--avorio); color: var(--bosco); }
.wa-icon { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; justify-content: center; font-size: 14px; letter-spacing: .04em; }
.wa-icon svg { width: 22px; height: 22px; fill: currentColor; }
.wa-text { display: none; }
.lang { position: relative; display: none; }
.lang-btn { min-width: 44px; min-height: 44px; font-size: 14px; letter-spacing: .06em; }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); background: var(--avorio); color: var(--ink); border: 1px solid var(--line); padding: 6px; min-width: 210px; box-shadow: 0 14px 34px rgba(31, 42, 36, .14); }
.lang-list li > * { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; font-size: 15px; }
.lang-list a { text-decoration: none; color: var(--bosco); font-weight: 500; background: var(--calce); }
.lang-list span, .lang-list em { color: var(--muted); }
.lang-list em { font-size: 12px; }

/* Menu a schermo intero */
.overlay-menu { position: fixed; inset: 0; z-index: 39; background: var(--bosco); color: #E7ECE3; overflow-y: auto; }
.om-in { min-height: 100%; display: grid; align-content: center; gap: 40px; padding: calc(var(--header-h) + 24px) var(--gutter) 120px; max-width: 1240px; margin: 0 auto; }
.overlay-menu nav a { display: block; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 52px); line-height: 1.25; color: #fff; text-decoration: none; padding: 4px 0; transition: color .25s, padding-left .35s var(--ease); }
.overlay-menu nav a:hover { color: var(--acero-chiaro); padding-left: 10px; }
.om-photo { display: none; }
.overlay-menu .btn-book { background: var(--avorio); color: var(--bosco); }
.overlay-menu .btn-book:hover { background: #fff; }
.om-contacts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.om-contacts p { width: 100%; font-size: 15px; opacity: .8; }
@media (prefers-reduced-motion: no-preference) {
  .overlay-menu:not([hidden]) { animation: om-in .45s var(--ease); }
  @keyframes om-in { from { opacity: 0; } }
}

/* 1. Apertura a tutto schermo */
.hero { position: relative; height: 100svh; min-height: 560px; max-height: 1100px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 42%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 23, .4) 0%, rgba(20, 28, 23, 0) 20%, rgba(20, 28, 23, 0) 50%, rgba(20, 28, 23, .45) 72%, rgba(20, 28, 23, .78) 100%); }
.hero-content { position: relative; z-index: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter) calc(84px + env(safe-area-inset-bottom)); }
.hero-kicker { font-size: 14px; letter-spacing: .08em; opacity: .9; margin-bottom: 14px; }
.hero h1 { color: #fff; font-size: clamp(40px, 10.5vw, 108px); line-height: 1; letter-spacing: -.005em; text-shadow: 0 2px 30px rgba(0, 0, 0, .2); }
.hero-lead { font-size: 18px; font-weight: 300; margin: 18px 0 28px; max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero .btn-book { background: var(--avorio); color: var(--bosco); }
.hero .btn-book:hover { background: #fff; }
.hero-link { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 6px; font-weight: 500; }
.scroll-cue { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .js .hero-media img { animation: kenburns 9s var(--ease) both; }
  .js .hero-content > * { animation: rise 1.1s var(--ease) both; }
  .js .hero-content > :nth-child(2) { animation-delay: .15s; }
  .js .hero-content > :nth-child(3) { animation-delay: .3s; }
  .js .hero-content > :nth-child(4) { animation-delay: .45s; }
  @keyframes kenburns { from { transform: scale(1.09); } }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
}

/* 2. Benvenuti */
.welcome { padding: 96px 0 72px; }
.statement { font-family: var(--serif); font-size: clamp(26px, 3.3vw, 42px); line-height: 1.32; color: var(--bosco); }
.collage { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 64px; }
.c { overflow: hidden; }
.c img { width: 100%; height: 100%; object-fit: cover; }
.c1 { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.c2 { grid-column: 1 / 3; aspect-ratio: 3 / 4; }
.c3 { grid-column: 3 / -1; aspect-ratio: 4 / 3; align-self: end; }
.c-facts { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 32px; }
.c-facts > div { border-top: 1px solid var(--line); padding-top: 14px; }
.c-facts > div:last-child { grid-column: 1 / -1; }
.c-facts dt { font-family: var(--serif); font-size: 48px; line-height: 1; color: var(--bosco); }
.c-facts dd { font-size: 15px; color: var(--muted); margin-top: 6px; }

/* 3. Appartamenti */
.apartments { padding: 72px 0 40px; background: var(--calce); }
.sec-head { max-width: 760px; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 16px; }
.sec-head p { color: var(--muted); }
.sec-head.center { margin-left: auto; margin-right: auto; }
.apt { max-width: 1240px; margin: 0 auto 88px; padding: 0 var(--gutter); }
.apt-media { position: relative; }
.apt-main { display: block; width: 100%; padding: 0; overflow: hidden; aspect-ratio: 3 / 2; background: var(--salvia-chiara); }
.apt-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.apt-main:hover img { transform: scale(1.03); }
.apt-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.apt-thumbs button { padding: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.apt-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s, transform .8s var(--ease); }
.apt-thumbs button:hover img { transform: scale(1.06); }
.apt-card { position: relative; background: var(--avorio); padding: 32px 24px 34px; margin: -40px 14px 0; z-index: 1; border-top: 3px solid var(--tone); }
.leaf-xl { width: 40px; height: 40px; fill: var(--tone); }
.apt-card h3 { font-size: clamp(44px, 5vw, 64px); margin: 10px 0 12px; }
.apt-card > p { color: var(--muted); }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; margin: 24px 0 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.specs dt { font-size: 13px; color: var(--muted); letter-spacing: .03em; }
.specs dd { color: var(--bosco); font-weight: 500; line-height: 1.45; }
.apt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }

/* 4. Mare */
.sea { position: relative; min-height: min(88svh, 860px); display: flex; align-items: center; justify-content: center; overflow: hidden; color: #fff; text-align: center; }
.sea-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.sea::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20, 28, 23, .45) 0%, rgba(20, 28, 23, .2) 60%, rgba(20, 28, 23, .35) 100%); }
.sea-content { position: relative; z-index: 1; padding: 0 var(--gutter); max-width: 900px; }
.sea h2 { color: #fff; font-size: clamp(40px, 7vw, 96px); text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.sea p { font-size: clamp(17px, 1.6vw, 21px); font-weight: 300; margin-top: 16px; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }

/* 5. Giardino e servizi */
.garden { background: var(--bosco); color: #DCE4D7; padding: 88px 0; }
.garden h2 { color: #fff; font-size: clamp(36px, 5vw, 64px); margin-bottom: 18px; }
.garden .kicker { color: var(--acero-chiaro); }
.garden-in { display: grid; gap: 40px; }
.garden-photo { overflow: hidden; aspect-ratio: 4 / 3; border-radius: 2px 120px 2px 2px; }
.garden-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote { margin-top: 24px; padding-left: 20px; border-left: 2px solid var(--ocra); font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); line-height: 1.4; color: #fff; }
.services { display: grid; gap: 36px; margin-top: 72px; }
.svc { border-top: 1px solid #4A5D4F; padding-top: 20px; }
.svc h3 { color: #fff; font-size: 24px; margin-bottom: 12px; }
.svc li { padding: 8px 0 8px 22px; position: relative; font-size: 16px; }
.svc li::before { content: ""; position: absolute; left: 0; top: 17px; width: 9px; height: 9px; background: var(--salvia); border-radius: 0 8px 0 8px; }
.svc strong { color: #fff; font-weight: 500; }
.svc small { display: block; font-size: 14px; color: #A9BAA4; margin-top: 4px; }
.svc-soon li::before { background: transparent; border: 1px dashed var(--salvia); }
.svc .link { color: #fff; text-decoration-color: var(--salvia); margin-top: 14px; display: inline-block; }

/* 6. Crociere */
.cruise { padding: 96px 0; }
.cruise-in { display: grid; gap: 48px; }
.cruise h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 18px; }
.cruise-text > p { color: var(--muted); max-width: 36em; }
.steps { counter-reset: s; margin: 32px 0 34px; }
.steps li { counter-increment: s; position: relative; padding: 16px 0 16px 58px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 13px; width: 38px; height: 38px; display: grid; place-items: center; font-family: var(--serif); font-size: 19px; color: var(--bosco); border: 1px solid var(--salvia); border-radius: 50%; }
.steps strong { color: var(--bosco); font-weight: 500; }
.cruise-photo { position: relative; align-self: start; }
.cruise-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.cruise-photo figcaption { background: var(--avorio); margin: -60px 14px 0; position: relative; padding: 18px 22px; box-shadow: 0 0 0 1px var(--line); }
.cruise-photo dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.cruise-photo dl > div:last-child { border-bottom: 0; }
.cruise-photo dt { color: var(--muted); }
.cruise-photo dd { color: var(--bosco); font-weight: 500; text-align: right; }

/* 7. Bicicletta */
.bike { background: var(--calce); padding: 80px 0; }
.bike-in { display: grid; gap: 36px; }
.bike-icon { width: 72px; height: 46px; color: var(--bosco); margin-bottom: 16px; }
.bike-head h2 { font-size: clamp(32px, 4.2vw, 52px); margin-bottom: 10px; }
.bike-head p { color: var(--muted); }
.bike-list { display: grid; gap: 0 32px; }
.bike-list li { border-top: 1px solid var(--line); padding: 22px 0; }
.bike-list h3 { font-size: 25px; margin: 12px 0 6px; }
.bike-list p { color: var(--muted); font-size: 16px; }
.status { display: inline-block; font-size: 12.5px; font-weight: 500; letter-spacing: .03em; padding: 3px 11px; border-radius: 999px; }
.status-on { background: var(--bosco); color: #fff; }
.status-soon { border: 1px solid var(--bosco); color: var(--bosco); }
.status-plan { border: 1px dashed var(--muted); color: var(--muted); }

/* 8. Posizione e dintorni */
.location { padding: 96px 0; }
.loc-in { display: grid; gap: 40px; }
.location h2 { font-size: clamp(36px, 5vw, 64px); margin-bottom: 14px; }
.location address { font-style: normal; font-size: 19px; color: var(--bosco); }
.dist { margin: 26px 0 10px; }
.dist li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.dist li span:last-child { color: var(--bosco); font-weight: 500; white-space: nowrap; }
.note { margin-bottom: 18px; }
.map { min-height: 380px; background: var(--calce); border-radius: 2px 160px 2px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 28px; color: var(--bosco); overflow: hidden; }
.map.loaded { padding: 0; }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.around { margin-top: 88px; }
.around-title { font-size: clamp(28px, 3vw, 38px); margin-bottom: 24px; }
.around-list { display: grid; gap: 0 32px; }
.around-list article { border-top: 1px solid var(--line); padding: 20px 0; }
.around-list h4 { font-size: 24px; margin-bottom: 4px; }
.around-list p { color: var(--muted); font-size: 16px; }

/* 9. Chiusura */
.final { position: relative; padding: 120px 0; color: #fff; text-align: center; overflow: hidden; }
.final-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.final::after { content: ""; position: absolute; inset: 0; background: rgba(28, 38, 32, .72); }
.final-content { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); }
.final h2 { color: #fff; font-size: clamp(40px, 6vw, 80px); margin-bottom: 14px; }
.final p { opacity: .9; }
.choices { display: grid; gap: 10px; margin: 36px auto 26px; }
.choice { display: flex; align-items: center; gap: 16px; text-align: left; padding: 18px 22px; text-decoration: none; border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); border-radius: var(--radius); color: #fff; transition: background-color .3s, border-color .3s; }
.choice:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .7); }
.choice .leaf { width: 30px; height: 30px; fill: var(--tone); flex: none; }
.choice > span { flex: 1; display: flex; flex-direction: column; font-size: 14px; opacity: .9; }
.choice strong { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.choices.dark .choice { color: var(--ink); background: #fff; border-color: var(--line); backdrop-filter: none; }
.choices.dark .choice:hover { border-color: var(--bosco); }
.choices.dark strong { color: var(--bosco); }

/* Footer */
.site-footer { background: var(--bosco-scuro); color: #C9D3C5; padding: 72px 0 40px; font-size: 15px; }
.site-footer .sprig { margin: 0 0 18px; }
.site-footer .brand-name { color: #fff; font-size: 30px; }
.site-footer h2 { font-family: var(--sans); font-weight: 500; font-size: 14px; letter-spacing: .06em; color: #fff; margin-bottom: 12px; }
.site-footer address { font-style: normal; margin-top: 12px; }
.site-footer a { color: #fff; text-decoration-color: var(--salvia); text-underline-offset: 3px; overflow-wrap: anywhere; }
.site-footer li { padding: 3px 0; }
.footer-in { display: grid; gap: 36px; }
.legal p + p { margin-top: 10px; }

/* Barra fissa smartphone (come nei migliori siti di ospitalità: sempre visibile) */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 38; display: grid; grid-template-columns: 1.2fr 1fr 1fr; background: var(--avorio); box-shadow: 0 -1px 0 var(--line); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar button { min-height: 60px; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 500; letter-spacing: .02em; color: var(--bosco); }
.mobile-bar button + button { border-left: 1px solid var(--line); }
.mobile-bar .mb-book { background: var(--bosco); color: #fff; }
.mobile-bar svg { width: 20px; height: 20px; fill: #1E8E4E; }

/* Finestre */
.sheet { margin: auto auto 0; width: 100%; max-width: 560px; max-height: 92svh; border: 0; background: var(--avorio); color: var(--ink); padding: 0; border-radius: 20px 20px 0 0; }
.sheet::backdrop { background: rgba(31, 42, 36, .6); }
.sheet-in { padding: 30px 22px calc(28px + env(safe-area-inset-bottom)); position: relative; }
.sheet h2 { font-size: 30px; margin-bottom: 8px; padding-right: 44px; }
.sheet-close { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; font-size: 28px; line-height: 1; border-radius: 50%; color: var(--bosco); }
.sheet-close:hover { background: var(--calce); }
.sheet-foot { font-size: 15px; color: var(--muted); margin-top: 12px; }
.sheet-sub { font-family: var(--sans); font-weight: 500; font-size: 14px; color: var(--muted); margin: 20px 0 8px; }
.wa-pair { display: grid; gap: 8px; margin: 14px 0 4px; }
.wa-card { display: flex; align-items: center; gap: 14px; padding: 15px 16px; background: #fff; border: 1px solid #BFD8C6; border-radius: var(--radius); text-decoration: none; transition: border-color .25s, background-color .25s; }
.wa-card:hover { border-color: #1E8E4E; background: #F3FAF5; }
.wa-card svg { width: 30px; height: 30px; fill: #1E8E4E; flex: none; }
.wa-card > span { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.wa-card strong { color: var(--bosco); font-size: 18px; font-weight: 500; }
.contact-list { display: grid; gap: 6px; }
.contact { display: flex; flex-direction: column; padding: 12px 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.contact strong { color: var(--bosco); font-weight: 500; }
.contact:hover { border-color: var(--bosco); }
@media (prefers-reduced-motion: no-preference) {
  .sheet[open] { animation: sheet-up .35s var(--ease); }
  @keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
}

.lightbox { width: 100vw; height: 100svh; max-width: none; max-height: none; border: 0; background: rgba(20, 28, 23, .97); padding: 0; }
.lightbox[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; }
.lightbox figure { grid-column: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox img { max-height: 82svh; width: auto; object-fit: contain; }
.lightbox figcaption { color: #DCE2D5; font-size: 15px; text-align: center; }
.lb-nav, .lb-close { color: #fff; font-size: 40px; width: 52px; height: 52px; border-radius: 50%; }
.lb-nav:hover, .lb-close:hover { background: rgba(255, 255, 255, .12); }
.lb-close { position: absolute; top: 12px; right: 12px; font-size: 32px; }
.lb-prev { grid-column: 1; } .lb-next { grid-column: 3; }

/* Animazioni discrete allo scorrimento: le foto si svelano, una volta sola */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
  .js .reveal.in { clip-path: inset(0 0 0 0); }
  .js .reveal img { transform: scale(1.08); transition: transform 1.8s var(--ease); }
  .js .reveal.in img { transform: none; }
  .js .reveal-block .apt-card { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease) .25s, transform 1s var(--ease) .25s; }
  .js .reveal-block.in .apt-card { opacity: 1; transform: none; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .lang { display: block; }
  .wa-pair { grid-template-columns: 1fr 1fr; }
  .collage { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 70px; gap: 14px; }
  .c1 { grid-column: 1 / 9; grid-row: 1 / 7; aspect-ratio: auto; }
  .c2 { grid-column: 9 / 13; grid-row: 2 / 9; aspect-ratio: auto; }
  .c3 { grid-column: 3 / 8; grid-row: 7 / 11; aspect-ratio: auto; }
  .c-facts { grid-column: 9 / 13; grid-row: 9 / 12; grid-template-columns: 1fr; margin-top: 12px; align-content: start; gap: 14px; }
  .c-facts > div:last-child { grid-column: auto; }
  .c-facts dt { font-size: 40px; }
  .services, .bike-list, .around-list { grid-template-columns: repeat(3, 1fr); }
  .services { gap: 40px; }
  .choices { grid-template-columns: repeat(3, 1fr); }
  .sheet .choices { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .apt-card { margin: -80px 40px 0; padding: 40px 40px 42px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 960px) {
  :root { --header-h: 84px; --gutter: 48px; }
  body { padding-bottom: 0; }
  .preview-bar { position: fixed; top: auto; bottom: 16px; }
  .br-desk { display: inline; }
  .mobile-bar { display: none; }
  .menu-label { display: inline; }
  .brand-name { font-size: 26px; }
  .wa-text { display: inline; }
  .header-actions { gap: 14px; }
  .header-actions .btn-book { display: inline-flex; min-height: 44px; padding: 10px 22px; }
  .om-in { grid-template-columns: 1.3fr .7fr; align-items: center; gap: 80px; }
  .om-photo { display: block; overflow: hidden; border-radius: 999px 999px 2px 2px; aspect-ratio: 3 / 4; max-width: 340px; margin-bottom: 28px; }
  .om-photo img { width: 100%; height: 100%; object-fit: cover; }

  .hero-content { padding-bottom: 72px; }
  .hero-lead { font-size: 20px; }
  .scroll-cue { display: block; position: absolute; z-index: 1; right: var(--gutter); bottom: 72px; width: 1px; height: 72px; background: rgba(255, 255, 255, .35); overflow: hidden; }
  .scroll-cue span { position: absolute; left: 0; top: 0; width: 1px; height: 30px; background: #fff; }
  @media (prefers-reduced-motion: no-preference) { .scroll-cue span { animation: cue 2.4s var(--ease) infinite; } @keyframes cue { from { transform: translateY(-30px); } to { transform: translateY(72px); } } }

  .welcome { padding: 140px 0 110px; }
  .collage { grid-auto-rows: 80px; gap: 18px; margin-top: 88px; }

  .apartments { padding: 120px 0 40px; }
  .sec-head { margin-bottom: 88px; }
  .apt { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; margin-bottom: 140px; }
  .apt-media { grid-column: 1 / 9; grid-row: 1; }
  .apt-card { grid-column: 8 / 13; grid-row: 1; margin: 0; padding: 52px 48px 50px; box-shadow: 0 30px 60px -30px rgba(31, 42, 36, .25); }
  .apt-rev .apt-media { grid-column: 5 / 13; }
  .apt-rev .apt-card { grid-column: 1 / 6; }

  .garden { padding: 140px 0 120px; }
  .garden-in { grid-template-columns: 1.15fr .85fr; gap: 88px; align-items: center; }
  .services { margin-top: 110px; }
  .cruise { padding: 140px 0; }
  .cruise-in { grid-template-columns: 1.05fr .95fr; gap: 96px; align-items: center; }
  .cruise-photo figcaption { position: absolute; left: -48px; bottom: 40px; margin: 0; width: min(330px, 80%); }
  .bike { padding: 110px 0; }
  .bike-in { grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: start; }
  .bike-list { grid-template-columns: 1fr; }
  .location { padding: 140px 0; }
  .loc-in { grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: stretch; }
  .around { margin-top: 120px; }
  .final { padding: 170px 0; }
  .footer-in { grid-template-columns: 1.4fr 1.3fr .7fr 1fr; }
  .sheet { margin: auto; border-radius: 4px 32px 4px 32px; }
}

/* ═════════════ Pagine interne ═════════════ */
.header-solido .site-header { background: rgba(246, 245, 239, .97); color: var(--bosco); box-shadow: 0 1px 0 var(--line); }
.header-solido main { padding-top: var(--header-h); }
.sec-title { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 18px; }
.sub-title { font-size: 24px; margin: 30px 0 4px; }
.statement-sm { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; color: var(--bosco); }
.sprig.left { margin: 0 0 22px; }
.center { text-align: center; }
.btn-block { width: 100%; }
.wa-ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.muted-light { color: #A9BAA4; font-size: 15px; margin-top: 10px; }
.addr { font-style: normal; font-size: 18px; color: var(--bosco); margin: 18px 0 6px; line-height: 1.6; }
.ticks li { position: relative; padding: 9px 0 9px 26px; border-top: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 10px; background: var(--salvia); border-radius: 0 9px 0 9px; }
.ticks.two-cols { columns: 1; }

/* Apertura delle pagine interne */
.page-hero { position: relative; min-height: min(72svh, 680px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.page-hero .hero-media { position: absolute; inset: 0; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 28, 23, .45) 0%, rgba(20, 28, 23, 0) 26%, rgba(20, 28, 23, .2) 55%, rgba(20, 28, 23, .78) 100%); }
.page-hero .hero-content { padding-bottom: 44px; }
.page-hero h1 { color: #fff; font-size: clamp(44px, 8vw, 96px); line-height: 1; }
.page-hero .hero-lead { margin-bottom: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; margin-bottom: 16px; opacity: .92; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.crumbs a { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); text-underline-offset: 4px; }
@media (prefers-reduced-motion: no-preference) {
  .js .page-hero .hero-media img { animation: kenburns 9s var(--ease) both; }
  .js .page-hero .hero-content > * { animation: rise 1s var(--ease) both; }
}

/* Appartamento */
.apt-intro { padding: 80px 0; }
.apt-intro-in { display: grid; gap: 48px; }
.apt-intro-text .leaf-xl { margin-bottom: 18px; }
.apt-intro-text p + p { margin-top: 18px; color: var(--muted); }
.book-box { background: #fff; border-top: 3px solid var(--tone, var(--bosco)); padding: 30px 26px; box-shadow: 0 30px 60px -36px rgba(31, 42, 36, .3); align-self: start; }
.book-box h2 { font-size: 30px; margin-bottom: 6px; }
.book-box > p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.book-box .btn + .btn { margin-top: 10px; }
.book-box.flat { box-shadow: none; border: 1px solid var(--line); border-top: 3px solid var(--bosco); margin-top: 48px; }
.book-box .choices { margin: 10px 0 0; grid-template-columns: 1fr; }
.apt-gallery { padding: 40px 0 80px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; grid-auto-flow: dense; }
.g-item { padding: 0; overflow: hidden; aspect-ratio: 3 / 2; background: var(--calce); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.04); }
.g-wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.apt-details { background: var(--calce); padding: 80px 0; }
.details-in { display: grid; gap: 56px; }
.photo-slot { margin-top: 20px; min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; border: 1px dashed var(--salvia); padding: 24px; color: var(--muted); background: var(--avorio); }
.photo-slot .sprig { margin: 0; }
.know { padding: 80px 0; }
.know-in { max-width: 860px; }
.others { padding: 40px 0 100px; }
.others-grid { display: grid; gap: 16px; margin-top: 12px; }
.other { display: block; text-decoration: none; background: #fff; border-bottom: 3px solid var(--tone); }
.other-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.other-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.other:hover .other-img img { transform: scale(1.04); }
.other-txt { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; padding: 18px 20px; }
.other-txt .leaf { width: 28px; height: 28px; fill: var(--tone); grid-row: span 2; }
.other-txt strong { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--bosco); line-height: 1.1; }
.other-txt span { font-size: 14.5px; color: var(--muted); }
.apt-strip { padding: 0 0 90px; }

/* Struttura */
.split { padding: 96px 0; }
.split-in { display: grid; gap: 48px; }
.split-in p + p { margin-top: 16px; }
.split-in > div > p { color: var(--muted); }
.split-photo { overflow: hidden; border-radius: 2px 120px 2px 2px; }
.split-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.c-facts.side { grid-template-columns: 1fr; margin: 0; align-content: start; grid-column: auto !important; grid-row: auto !important; }
.c-facts.side > div:last-child { grid-column: auto; }
.garden-collage { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; }
.garden-collage figure { overflow: hidden; }
.garden-collage img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.garden-collage .wide { grid-column: 1 / -1; }
.garden-collage .wide img { aspect-ratio: 16 / 9; }
.garden-text p + p { margin-top: 14px; }
.garden-sub { color: #fff; font-size: 26px; margin-top: 34px; }
.garden .link.light { display: inline-block; margin-top: 24px; }
.services-title { color: #fff; font-size: clamp(30px, 3.6vw, 46px); margin-top: 80px; }
.services-title + .services { margin-top: 28px; }

/* Posizione */
.location.first { padding-top: 88px; }
.loc-text { color: var(--muted); max-width: 34em; }
.location .btn-outline { margin-top: 14px; }
.map-pin { width: 40px; height: 40px; color: var(--salvia-scura); }
.ways { background: var(--calce); padding: 88px 0; }
.ways-grid { display: grid; gap: 14px; }
.way { background: var(--avorio); padding: 26px 24px; border-left: 3px solid var(--salvia); }
.way h3 { font-size: 26px; margin-bottom: 8px; }
.way p { color: var(--muted); }
.way .flag { margin-top: 10px; }

/* Crociere */
.steps-section { background: var(--calce); }
.steps-section .steps strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; margin-bottom: 2px; }
.cta-in .btn { max-width: 100%; text-align: left; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; }
.note-box { margin-top: 10px; padding: 16px 20px; background: var(--avorio); border-left: 3px solid var(--ocra); color: var(--muted); font-size: 15.5px; }
.dist-box { background: #fff; padding: 26px 24px; align-self: start; box-shadow: 0 0 0 1px var(--line); }
.dist-box h3 { font-size: 26px; }
.dist-box .dist { margin-top: 12px; }
.cta-band { background: var(--bosco); color: #fff; padding: 56px 0; }
.cta-in { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.cta-in p { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; max-width: 32em; }
.cta-band .btn-primary { background: var(--avorio); color: var(--bosco); }
.cta-band .btn-primary:hover { background: #fff; }

/* Dintorni */
.places { padding: 80px 0 40px; }
.places-list { border-bottom: 1px solid var(--line); }
.place { display: grid; gap: 8px 48px; padding: 34px 0; border-top: 1px solid var(--line); }
.place h2 { font-size: clamp(30px, 3.6vw, 44px); }
.place-where { color: var(--salvia-scura); font-size: 15px; margin-top: 6px; }
.place > p { color: var(--muted); max-width: 40em; align-self: center; }

/* FAQ */
.faq { padding: 80px 0; }
.faq-in { display: grid; gap: 40px; }
.faq-nav ul { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-nav a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14.5px; color: var(--bosco); background: #fff; }
.faq-nav a:hover { border-color: var(--bosco); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 12px; }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font-weight: 500; color: var(--bosco); font-size: 17.5px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-family: var(--serif); font-size: 28px; color: var(--salvia-scura); transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { padding: 0 0 20px; color: var(--muted); max-width: 46em; }

/* Contatti */
.contact-page { padding: 80px 0 100px; }
.contact-in { display: grid; gap: 56px; }
.contact-col .sec-title { margin-top: 40px; }
.contact-col .sec-title:first-child { margin-top: 0; }
.contact-col > p { color: var(--muted); }
.composer { background: #fff; padding: 30px 24px; box-shadow: 0 0 0 1px var(--line); }
.composer .sec-title { margin-top: 0; }
.composer > p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; }
.field-row { display: flex; gap: 12px; flex-wrap: wrap; }
.field-row .field { min-width: 140px; }
.field label { font-size: 14px; font-weight: 500; color: var(--bosco); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 11px 12px; border: 1px solid #BFC7B7; border-radius: 4px; background: var(--avorio); color: var(--ink); width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ocra); outline-offset: 1px; border-color: var(--bosco); }
.composer-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }

/* Pagine legali e errore */
.legal-page { padding: 72px 0 100px; }
.legal-page h1 { font-size: clamp(40px, 6vw, 72px); margin-bottom: 24px; }
.legal-page section { margin-top: 34px; }
.legal-page h2 { font-size: 26px; margin-bottom: 8px; }
.legal-page p { color: var(--muted); overflow-wrap: anywhere; }
.legal-page .updated { margin-top: 40px; font-size: 14px; }
.legal-page.center .sprig { margin-bottom: 24px; }
.err-langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }

/* Varianti di sezioni già esistenti */
.final.compact { padding: 96px 0; }
.final.light { background: var(--calce); color: var(--ink); }
.final.light::after { display: none; }
.final.light h2 { color: var(--bosco); }
.ticks { margin: 18px 0 24px; }
.cruise .ticks li { border-color: var(--line); }
.om-main > li > a { display: block; }
.om-sub { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 2px 0 10px; }
.overlay-menu .om-sub a { display: inline-flex; align-items: center; gap: 8px; font-size: clamp(20px, 2.2vw, 26px); color: #DCE4D7; }
.om-sub .leaf { width: 20px; height: 20px; fill: var(--acero-chiaro); }
.om-langs { display: flex; gap: 6px; width: 100%; margin-top: 14px; }
.om-langs a { display: inline-block; padding: 6px 10px; font-size: 14px; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .3); border-radius: 4px; }
.om-langs a[aria-current="true"] { background: rgba(255, 255, 255, .15); }
.overlay-menu nav a[aria-current="page"] { color: var(--acero-chiaro); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid #3B4C40; font-size: 14px; }
.f-langs { display: flex; flex-wrap: wrap; gap: 14px; }
.f-langs a[aria-current="true"] { text-decoration: none; opacity: .7; }
.lang-list a { background: none; font-weight: 400; }
.lang-list a[aria-current="true"] { background: var(--calce); font-weight: 500; }

@media (min-width: 640px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .g-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .ticks.two-cols { columns: 2; column-gap: 40px; }
  .ticks.two-cols li { break-inside: avoid; }
  .others-grid { grid-template-columns: repeat(2, 1fr); }
  .others-grid.three { grid-template-columns: repeat(3, 1fr); }
  .ways-grid { grid-template-columns: 1fr 1fr; }
  .composer-actions { flex-direction: row; flex-wrap: wrap; }
  .place { grid-template-columns: minmax(220px, 1fr) 2fr; }
}

@media (min-width: 960px) {
  .page-hero .hero-content { padding-bottom: 64px; }
  .apt-intro { padding: 120px 0; }
  .apt-intro-in { grid-template-columns: 1.4fr .9fr; gap: 96px; }
  .book-box { position: sticky; top: calc(var(--header-h) + 24px); padding: 36px 34px; }
  .apt-gallery { padding: 40px 0 120px; }
  .gallery-grid { gap: 12px; }
  .apt-details { padding: 110px 0; }
  .details-in { grid-template-columns: 1.2fr 1fr; gap: 88px; }
  .split { padding: 130px 0; }
  .split-in { grid-template-columns: 1.3fr .7fr; gap: 96px; align-items: center; }
  .ways { padding: 120px 0; }
  .ways-grid { grid-template-columns: repeat(3, 1fr); }
  .cta-in { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-in .btn { flex: none; white-space: nowrap; }
  .faq-in { grid-template-columns: 260px 1fr; gap: 80px; align-items: start; }
  .faq-nav { position: sticky; top: calc(var(--header-h) + 24px); }
  .faq-nav ul { flex-direction: column; }
  .faq-nav a { border: 0; background: none; padding: 6px 0; border-radius: 0; }
  .faq-nav a:hover { text-decoration: underline; }
  .contact-in { grid-template-columns: 1fr 1fr; gap: 88px; align-items: start; }
  .composer { padding: 40px 36px; }
  .places { padding: 120px 0 60px; }
  .final.compact { padding: 130px 0; }
}
