/* B&B Angulum — foglio di stile */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* palette dai verdi del logo Angulum */
  --leaf: #4f9835;      /* verde foglia del logo: dettagli e testi grandi */
  --lime: #91b444;      /* verde chiaro del logo: accenti su fondo scuro */
  --sage: #c9deaa;      /* salvia del logo: superfici e accenti tenui */

  --paper: #f6f7ec;
  --paper-2: #e8eedb;
  --ink: #1e2a1b;
  --ink-soft: #4f5c49;
  --olive: #367324;     /* verde leggibile per numeri e testi */
  --olive-deep: #234019;
  --terra: #367324;     /* colore d'azione (pulsanti, prezzi, link) */
  --terra-deep: #2b5d1c;
  --line: rgba(30, 42, 27, 0.13);

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--sage); color: var(--ink); }
input, textarea { caret-color: var(--terra); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
p { margin: 0 0 1em; text-wrap: pretty; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--ink-soft); max-width: 58ch; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px;
}
.skip:focus { left: 8px; }

:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--terra); color: #fff; }
.btn-ghost { border-color: currentColor; }
.btn svg { width: 18px; height: 18px; flex: none; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--terra-deep); }
  .btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
}

/* ---------- header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
  color: #fff;
}
.site-header.is-solid {
  background: rgba(245, 239, 227, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; }
.brand span { font-family: var(--serif); font-size: 1.35rem; line-height: 1; }
.brand small { display: block; font-family: var(--sans); font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
@media (hover: hover) { .nav a:not(.btn):hover::after { transform: scaleX(1); } }
.nav .btn { min-height: 42px; padding: 0 20px; font-size: .92rem; }

.menu-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0; background: transparent; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 2px; background: currentColor; position: relative;
  transition: transform .25s ease, background-color .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    color: var(--ink);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .menu-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; min-height: 50px; }
  .menu-open .site-header { background: var(--paper); color: var(--ink); }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 60%;
  animation: heroZoom 18s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,20,14,.55) 0%, rgba(20,20,14,0) 22%),
    linear-gradient(90deg, rgba(20,20,14,.72) 0%, rgba(20,20,14,.45) 45%, rgba(20,20,14,.05) 80%),
    linear-gradient(0deg, rgba(20,20,14,.75) 0%, rgba(20,20,14,0) 55%);
}
@media (max-width: 700px) {
  .hero::after {
    background:
      linear-gradient(180deg, rgba(20,20,14,.55) 0%, rgba(20,20,14,.35) 30%, rgba(20,20,14,.6) 60%, rgba(20,20,14,.85) 100%);
  }
}
.hero-inner { width: 100%; padding-bottom: clamp(40px, 9vh, 96px); padding-top: calc(var(--header-h) + 40px); }
.hero .eyebrow { color: #dfe8d0; }
.hero h1 {
  font-size: clamp(2.6rem, 7.4vw, 6rem);
  max-width: 14ch;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--sage); }
.hero p { font-size: clamp(1.05rem, 1.7vw, 1.25rem); max-width: 46ch; opacity: .92; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: #fff; }
@media (hover: hover) { .hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; } }

.badges {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.28);
  font-size: .92rem;
}
.badges div { display: flex; align-items: baseline; gap: 8px; }
.badges strong { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; }

/* animazione d'ingresso */
.rise { opacity: 0; transform: translateY(18px); animation: rise .9s cubic-bezier(.2,.7,.2,1) forwards; }
.rise:nth-child(2) { animation-delay: .12s; }
.rise:nth-child(3) { animation-delay: .24s; }
.rise:nth-child(4) { animation-delay: .36s; }
.rise:nth-child(5) { animation-delay: .48s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- sezioni ---------- */
section { position: relative; }
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 64px); max-width: 760px; }

/* intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
}
.intro-photo { position: relative; }
.intro-photo img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.intro-photo .stamp {
  position: absolute; right: -18px; bottom: 28px;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--paper); padding: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  display: grid; place-items: center;
}
.intro-photo .stamp img { aspect-ratio: auto; border-radius: 0; }
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 34px;
}
.facts div { padding: 18px 12px 0 0; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--olive); }
.facts span { font-size: .9rem; color: var(--ink-soft); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.pills li {
  font-size: .88rem; padding: 7px 14px; border-radius: 999px;
  background: var(--paper-2); color: var(--olive-deep); font-weight: 500;
}
@media (max-width: 820px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-photo { order: -1; }
  .intro-photo img { aspect-ratio: 4/3; }
  .intro-photo .stamp { width: 104px; height: 104px; right: 12px; bottom: -30px; }
}

/* ---------- camere ---------- */
.rooms { background: var(--paper-2); }
.room-list { display: grid; gap: clamp(56px, 9vw, 110px); }
.room {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}
.room:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.room:nth-child(even) .room-gallery { order: 2; }
@media (max-width: 860px) {
  .room, .room:nth-child(even) { grid-template-columns: 1fr; }
  .room:nth-child(even) .room-gallery { order: 0; }
}

.room-gallery { position: relative; }
.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  border-radius: var(--radius);
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.slides::-webkit-scrollbar { display: none; }
.slides img {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  scroll-snap-align: start;
  cursor: zoom-in;
}
.slide-nav {
  position: absolute; bottom: 14px; right: 14px;
  display: flex; gap: 8px;
}
.slide-nav button {
  width: 42px; height: 42px; border-radius: 50%;
  border: 0; cursor: pointer;
  background: rgba(245,239,227,.92); color: var(--ink);
  display: grid; place-items: center;
  transition: background-color .2s, transform .15s;
}
.slide-nav button:active { transform: scale(.94); }
.slide-nav svg { width: 18px; height: 18px; }
.slide-count {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(20,20,14,.6); color: #fff;
  font-size: .8rem; padding: 4px 10px; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

.room h3 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 8px; }
.room .kind { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 22px; }
.room-specs { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.room-specs li { display: flex; gap: 12px; align-items: center; }
.room-specs svg { width: 20px; height: 20px; color: var(--olive); flex: none; }
.price {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.price strong { font-family: var(--serif); font-weight: 400; font-size: 2.4rem; color: var(--terra); line-height: 1; }
.price span { color: var(--ink-soft); }

.room-note {
  margin-top: clamp(48px, 7vw, 80px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border-radius: var(--radius); overflow: hidden;
}
.room-note div { background: var(--paper-2); padding: 24px 22px; }
.room-note h4 { margin: 0 0 6px; font-size: 1rem; font-weight: 700; }
.room-note p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 760px) { .room-note { grid-template-columns: 1fr; } }

/* ---------- giardino ---------- */
.garden { background: var(--paper-2); }
.garden-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.garden-text h2 { margin-bottom: 18px; }
.garden-points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.garden-points li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.garden-points li:first-child { border-top: 1px solid var(--line); }
.garden-points svg { width: 22px; height: 22px; color: var(--leaf); flex: none; }
.garden-photos { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; aspect-ratio: 6/5; }
.garden-photos figure { margin: 0; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.garden-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .garden-photos figure:hover img { transform: scale(1.04); } }
.gp-main { grid-row: 1 / 3; }
@media (max-width: 860px) {
  .garden-grid { grid-template-columns: 1fr; }
  .garden-photos { order: -1; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; aspect-ratio: auto; gap: 8px; }
  .gp-main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4/3; }
  .gp-a, .gp-b { aspect-ratio: 1/1; }
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(90px, 11vw, 150px);
  gap: 12px;
}
.mosaic figure { margin: 0; overflow: hidden; border-radius: 10px; position: relative; cursor: zoom-in; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .mosaic figure:hover img { transform: scale(1.04); } }
.mosaic figcaption {
  position: absolute; left: 12px; bottom: 10px;
  font-size: .82rem; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6);
}
.m1 { grid-column: 1 / 8; grid-row: span 4; }
.m2 { grid-column: 8 / 13; grid-row: span 2; }
.m3 { grid-column: 8 / 13; grid-row: span 2; }
.m4 { grid-column: 1 / 5; grid-row: span 3; }
.m5 { grid-column: 5 / 9; grid-row: span 3; }
.m6 { grid-column: 9 / 13; grid-row: span 3; }
@media (max-width: 760px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 130px; gap: 8px; }
  .m1 { grid-column: 1 / 3; grid-row: span 2; }
  .m2, .m3, .m4, .m5 { grid-column: span 1; grid-row: span 1; }
  .m6 { grid-column: 1 / 3; grid-row: span 2; }
}
.garden-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
  margin-top: clamp(40px, 6vw, 64px);
}
.garden-list h4 { font-family: var(--serif); font-weight: 400; font-size: 1.35rem; margin: 0 0 6px; color: #fff; }
.garden-list p { margin: 0; color: rgba(227,234,214,.78); font-size: .97rem; }
@media (max-width: 760px) { .garden-list { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- bike ---------- */
.bike-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: start;
}
.bike-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bike-photos img { border-radius: 10px; width: 100%; height: 100%; object-fit: cover; }
.bike-photos .tall { aspect-ratio: 3/4; }
.bike-photos .tall + .tall { margin-top: 48px; }
.bike-photos .wide { aspect-ratio: 4/3; }
.bike-head { display: flex; align-items: center; gap: 20px; margin-bottom: 22px; }
.bike-head img { width: 120px; flex: none; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 0; }
.checklist li {
  display: grid; grid-template-columns: 28px 1fr; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.checklist li:first-child { border-top: 1px solid var(--line); }
.checklist svg { width: 22px; height: 22px; color: var(--terra); margin-top: 2px; }
.checklist strong { display: block; font-weight: 600; }
.checklist span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) {
  .bike-grid { grid-template-columns: 1fr; }
  .bike-photos { order: 2; }
}

/* ---------- territorio ---------- */
.territory { background: var(--paper-2); overflow: hidden; }
.places {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.place { margin: 0; }
.place .ph { border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; margin-bottom: 14px; }
.place img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .place:hover img { transform: scale(1.05); } }
.place h4 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; margin: 0 0 4px; }
.place .dist { font-size: .82rem; font-weight: 600; color: var(--terra); letter-spacing: .06em; text-transform: uppercase; }
.place p { font-size: .93rem; color: var(--ink-soft); margin: 6px 0 0; }
@media (max-width: 960px) {
  .places {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 72%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter) 8px;
    scrollbar-width: none;
  }
  .places::-webkit-scrollbar { display: none; }
  .place { scroll-snap-align: start; }
}

/* ---------- recensioni ---------- */
.reviews-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.score { display: flex; gap: 22px 28px; flex-wrap: wrap; margin-top: 26px; }
.score div { min-width: 92px; }
.score strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 3.4rem; line-height: 1; color: var(--olive); }
.score span { font-size: .9rem; color: var(--ink-soft); }
.quotes { display: grid; gap: 18px; }
.quote {
  margin: 0; padding: 26px 28px; background: #fff; border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--line);
}
.quote p { font-family: var(--serif); font-size: 1.18rem; line-height: 1.45; margin-bottom: 12px; }
.quote footer { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 860px) { .reviews-wrap { grid-template-columns: 1fr; } }

/* ---------- info pratiche ---------- */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info-grid div { background: var(--paper); padding: 26px 24px; }
.info-grid svg { width: 26px; height: 26px; color: var(--terra); margin-bottom: 12px; }
.info-grid h4 { margin: 0 0 6px; font-size: 1.05rem; font-weight: 700; }
.info-grid p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .info-grid { grid-template-columns: 1fr; } }

/* ---------- richiesta ---------- */
.request { background: var(--terra); color: #fff; }
.request .eyebrow { color: #ffe1c7; }
.request-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.request .lead { color: rgba(255,255,255,.88); }
.notice {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(0,0,0,.14); border-radius: 12px; padding: 16px 18px; margin: 24px 0;
  font-size: .95rem;
}
.notice svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.direct { display: grid; gap: 10px; margin-top: 8px; }
.direct a {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 14px 18px; border-radius: 12px; background: rgba(255,255,255,.1);
  transition: background-color .2s;
}
@media (hover: hover) { .direct a:hover { background: rgba(255,255,255,.2); } }
.direct svg { width: 22px; height: 22px; flex: none; }
.direct small { display: block; opacity: .8; font-size: .8rem; }
.direct b { font-weight: 600; word-break: break-word; }

.form {
  background: var(--paper); color: var(--ink);
  border-radius: 18px; padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 30px 60px rgba(20, 40, 15, .25);
}
.form h3 { margin-bottom: 20px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 16px; /* evita lo zoom su iOS */
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(38,37,31,.18);
  border-radius: 10px;
  padding: 12px 14px;
  min-height: 48px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%2326251f' stroke-width='1.8'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(54,115,36,.2);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b3261e; }
.field .err { color: #b3261e; font-size: .82rem; min-height: 0; }
.consent { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; margin-top: 4px; }
.consent input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--terra); flex: none; }
.form .btn { width: 100%; margin-top: 18px; }
.form-msg { margin-top: 14px; font-size: .95rem; }
.form-msg.error { color: #b3261e; }
.form-done { text-align: center; padding: 30px 6px; }
.form-done svg { width: 54px; height: 54px; color: var(--olive); margin: 0 auto 14px; }
.form-done h3 { margin-bottom: 10px; }
.form-done p { color: var(--ink-soft); }
@media (max-width: 860px) { .request-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .fields { grid-template-columns: 1fr; } }

/* ---------- dove siamo ---------- */
.where-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.where-grid img { border-radius: var(--radius); aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.address { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.3; margin: 18px 0 22px; }
.distances { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 0; }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.distances li span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .where-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: rgba(245,239,227,.78); padding: 64px 0 120px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; font-weight: 600; }
.site-footer p { margin: 0 0 6px; }
.site-footer a { text-decoration: none; }
@media (hover: hover) { .site-footer a:hover { color: #fff; text-decoration: underline; } }
.footer-brand { font-family: var(--serif); font-size: 1.8rem; color: #fff; margin-bottom: 10px; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
@media (min-width: 921px) { .site-footer { padding-bottom: 40px; } }

/* ---------- barra mobile ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: none;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(245,239,227,.96);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%);
  transition: transform .3s ease;
}
.mobile-bar.show { transform: none; }
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: .92rem;
  background: var(--paper-2); color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
.mobile-bar a.cta { background: var(--terra); color: #fff; }
.mobile-bar svg { width: 18px; height: 18px; }
@media (max-width: 920px) { .mobile-bar { display: grid; } }

/* ---------- lightbox ---------- */
.lightbox {
  border: 0; padding: 0; margin: 0; max-width: none; max-height: none;
  width: 100vw; height: 100dvh; background: rgba(15,15,10,.94);
  color: #fff;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { display: grid; place-items: center; animation: fade .2s ease; }
.lightbox img { max-width: 94vw; max-height: 86dvh; object-fit: contain; border-radius: 6px; }
.lightbox button {
  position: absolute; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer;
  display: grid; place-items: center;
}
.lightbox button svg { width: 22px; height: 22px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@keyframes fade { from { opacity: 0; } }

/* ---------- comparsa allo scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .rise { opacity: 1; transform: none; animation: none; transition: none; }
  .hero-media img { animation: none; }
}

/* ---------- pagine legali ---------- */
.legal { padding: calc(var(--header-h) + 60px) 0 90px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 30px; }
.legal h2 { font-size: 1.5rem; margin: 36px 0 12px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 6px; }
.page-sub .site-header { background: rgba(245,239,227,.94); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }

/* =========================================================
   FASE 1 — navigazione, prenotazione, contenuti nuovi
   ========================================================= */

/* nav */
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; }
.nav-phone svg { width: 16px; height: 16px; }
.nav button.btn { min-height: 42px; padding: 0 22px; font-size: .92rem; }
@media (max-width: 1060px) and (min-width: 921px) { .nav-phone { display: none; } }
@media (max-width: 920px) { .nav button.btn { margin-top: 18px; min-height: 50px; } }

/* pulsanti extra */
.btn-ghost-dark { border-color: rgba(38,37,31,.25); color: var(--ink); background: transparent; }
@media (hover: hover) { .btn-ghost-dark:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); } }
.btn-wa { background: #1f8f4e; color: #fff; }
@media (hover: hover) { .btn-wa:hover { background: #17733e; } }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 1.08rem; }
.btn-mini {
  border: 0; cursor: pointer; font-weight: 600; font-size: .88rem;
  padding: 9px 16px; border-radius: 999px; background: var(--ink); color: var(--paper);
  transition: background-color .2s, transform .15s;
}
.btn-mini:active { transform: scale(.96); }
@media (hover: hover) { .btn-mini:hover { background: var(--terra); } }
.btn svg + *, .btn > svg:last-child { flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--terra); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .25s ease; }
@media (hover: hover) { .link-arrow:hover svg { transform: translateX(4px); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.small { font-size: .92rem; color: var(--ink-soft); }

/* barra di prenotazione nell'hero */
.page-home .hero h1 { max-width: 15ch; }
.quickbook {
  display: grid;
  grid-template-columns: 1fr 1fr 0.7fr auto;
  gap: 6px;
  max-width: 760px;
  padding: 8px;
  border-radius: 20px;
  background: rgba(245,239,227,.96);
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.qb-field { display: grid; gap: 2px; padding: 8px 14px; border-radius: 14px; transition: background-color .2s; min-width: 0; }
.qb-field input, .book input[type="date"] { min-width: 0; }
.qb-field:focus-within { background: #fff; }
.qb-field label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.qb-field input, .qb-field select {
  border: 0; background: transparent; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink);
  padding: 2px 0; min-height: 30px; width: 100%; -webkit-appearance: none; appearance: none; outline: none;
}
.quickbook .btn { min-height: 60px; border-radius: 14px; }
.qb-note { display: flex; align-items: center; gap: 8px; font-size: .92rem !important; margin: 14px 0 0 !important; opacity: .92; }
.qb-note svg { width: 18px; height: 18px; color: var(--sage); flex: none; }
@media (max-width: 760px) {
  .quickbook { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .qb-field { padding: 8px 10px; }
  .qb-guests { grid-column: 1 / -1; }
  .quickbook .btn { grid-column: 1 / -1; min-height: 52px; }
  .page-home .hero p { margin-bottom: 22px; }
}

/* comfort */
.comforts { background: var(--ink); color: var(--paper); padding: 26px 0; }
.chips {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 24px;
}
.chips li { display: flex; align-items: center; gap: 12px; }
.chips svg { width: 26px; height: 26px; color: var(--lime); flex: none; }
.chips b { display: block; font-weight: 600; font-size: .98rem; }
.chips span { font-size: .85rem; color: rgba(245,239,227,.7); line-height: 1.35; }
@media (max-width: 860px) { .chips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .chips { gap: 14px; } .chips svg { width: 22px; height: 22px; } }

.stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .06s; }
.stagger.in > *:nth-child(3) { transition-delay: .12s; }
.stagger.in > *:nth-child(4) { transition-delay: .18s; }
.stagger.in > *:nth-child(5) { transition-delay: .24s; }
.stagger.in > *:nth-child(6) { transition-delay: .30s; }
.stagger.in > *:nth-child(7) { transition-delay: .36s; }
.stagger.in > *:nth-child(8) { transition-delay: .42s; }

/* intestazioni divise */
.split-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; max-width: none; flex-wrap: wrap; }

/* card camere home */
.room-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.room-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 0 var(--line);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
  position: relative;
}
@media (hover: hover) {
  .room-card:hover { transform: translateY(-6px); box-shadow: 0 24px 40px rgba(38,37,31,.12); }
  .room-card:hover img { transform: scale(1.05); }
}
.room-card-img { display: block; aspect-ratio: 4/3; overflow: hidden; }
.room-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.room-card-body { padding: 20px 22px 22px; }
.room-card h3 { font-size: 1.7rem; margin-bottom: 4px; }
.room-card p { color: var(--ink-soft); margin: 0 0 16px; }
.room-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.room-card-foot b { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; color: var(--terra); }
@media (max-width: 860px) {
  .room-cards {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(250px, 80%);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
  }
  .room-cards::-webkit-scrollbar { display: none; }
  .room-card { scroll-snap-align: start; }
}

/* teaser bici */
.bike-teaser { background: var(--paper); }
.bike-teaser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.bike-teaser-photo { position: relative; }
.bike-teaser-photo > img:first-child { border-radius: var(--radius); aspect-ratio: 5/4; object-fit: cover; width: 100%; }
.bike-teaser-logo {
  position: absolute; right: -14px; bottom: -22px; width: 118px; height: auto;
  background: var(--paper); border-radius: 16px; padding: 10px;
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  transform: rotate(-4deg);
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; border-top: 1px solid var(--line); }
.stats div { padding-top: 16px; }
.stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--olive); line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 860px) { .bike-teaser-grid { grid-template-columns: 1fr; } .bike-teaser-logo { right: 10px; width: 96px; } }

/* profilo altimetrico: banda compatta, si disegna mentre scorri */
.profile { background: var(--paper-2); }
.profile-head { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 60px; align-items: end; margin-bottom: clamp(18px, 3vw, 30px); }
.profile-head .lead { margin: 0; }
.profile-chart { position: relative; margin: 0; aspect-ratio: 5/2; max-height: 360px; width: 100%; }
.profile-chart svg { width: 100%; height: 100%; overflow: visible; display: block; }
.pf-line { fill: none; stroke: var(--terra); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); }
.pf-sea { stroke: #5fa8bd; stroke-width: 6; vector-effect: non-scaling-stroke; }
.pf-area { opacity: calc(var(--p, 0) * 1.3); }
.pf-pin {
  position: absolute; transform: translate(-50%, calc(-100% - 12px));
  font-size: .78rem; font-weight: 600; white-space: nowrap;
  background: #fff; color: var(--ink); padding: 4px 10px; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(30,42,27,.12);
  opacity: 0; transition: opacity .35s ease, transform .35s ease;
}
.pf-pin::after {
  content: ""; position: absolute; left: 50%; top: 100%; width: 9px; height: 9px; border-radius: 50%;
  background: var(--leaf); transform: translate(-50%, 7px); box-shadow: 0 0 0 4px rgba(79,152,53,.2);
}
.pf-pin.on { opacity: 1; transform: translate(-50%, calc(-100% - 16px)); }
.pf-home { background: var(--terra); color: #fff; }
.pf-top { background: var(--ink); color: #fff; }
.pf-below { transform: translate(-50%, 14px); }
.pf-below.on { transform: translate(-50%, 20px); }
.pf-below::after { top: auto; bottom: 100%; transform: translate(-50%, -7px); }
.profile-stops { list-style: none; margin: clamp(30px, 4vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.profile-stops li { border-top: 2px solid var(--line); padding-top: 12px; opacity: .45; transition: opacity .4s ease, border-color .4s ease; }
.profile-stops li.on { opacity: 1; border-color: var(--terra); }
.profile-stops b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.2rem; line-height: 1.25; }
.profile-stops span { font-size: .88rem; color: var(--ink-soft); }
.profile-note { margin: 14px 0 0; font-size: .75rem; color: var(--ink-soft); text-align: right; }
@media (max-width: 760px) {
  .profile-head { grid-template-columns: 1fr; }
  .profile-chart { aspect-ratio: 2/1; }
  .pf-pin { font-size: .72rem; padding: 3px 8px; }
  .pf-opt { display: none; }
  .profile-stops { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .profile-stops b { font-size: 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .profile-chart { --p: 1; }
  .pf-pin { opacity: 1; }
  .profile-stops li { opacity: 1; }
}

/* mosaico a 4 */
.mosaic-4 .m1 { grid-column: 1 / 7; grid-row: span 4; }
.mosaic-4 .m2 { grid-column: 7 / 13; grid-row: span 2; }
.mosaic-4 .m3 { grid-column: 7 / 10; grid-row: span 2; }
.mosaic-4 .m4 { grid-column: 10 / 13; grid-row: span 2; }
@media (max-width: 760px) {
  .mosaic-4 .m1 { grid-column: 1 / 3; grid-row: span 2; }
  .mosaic-4 .m2 { grid-column: 1 / 3; grid-row: span 1; }
  .mosaic-4 .m3, .mosaic-4 .m4 { grid-column: span 1; grid-row: span 1; }
}

/* recensioni scorrevoli */
.reviews { overflow: hidden; }
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 40px; }
.reviews-head .score { margin-top: 0; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; padding: 6px 0; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .quote { width: min(380px, 78vw); flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; }
  .marquee-track { animation: none; }
}

/* vicino a */
.near { background: var(--paper-2); }
.near-grid, .around-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.near-list { list-style: none; margin: 0; padding: 0; }
.near-list li { display: grid; grid-template-columns: 92px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.near-list li:first-child { border-top: 1px solid var(--line); }
.near-list b { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; color: var(--terra); }
.near-list span { color: var(--ink-soft); }
@media (max-width: 860px) { .near-grid, .around-grid { grid-template-columns: 1fr; } }

/* CTA finale */
.final-cta { padding: clamp(70px, 10vw, 120px) 0; background: var(--terra); color: #fff; text-align: center; position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%;
  background: radial-gradient(ellipse at center, rgba(201,222,170,.3), transparent 60%);
  pointer-events: none;
}
.final-cta-inner { position: relative; display: grid; justify-items: center; gap: 16px; }
.final-cta h2 { max-width: 18ch; }
.final-cta p { opacity: .9; margin: 0 0 10px; }
.final-cta .btn-primary { background: var(--paper); color: var(--ink); }
@media (hover: hover) { .final-cta .btn-primary:hover { background: #fff; } }

/* hero delle pagine interne */
.page-hero { padding: calc(var(--header-h) + clamp(50px, 8vw, 100px)) 0 clamp(40px, 6vw, 70px); position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: 20px; }
.page-hero .lead { max-width: 60ch; }
.page-hero-photo { color: #fff; min-height: min(78vh, 720px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero-photo .page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 18s ease-out both; }
.page-hero-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,20,14,.82), rgba(20,20,14,.25) 60%, rgba(20,20,14,.45)); }
.page-hero-photo .eyebrow { color: #dfe8d0; }
.page-hero-photo .lead { color: rgba(255,255,255,.88); }
.mini-chips { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mini-chips li { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .9rem; font-weight: 500; box-shadow: 0 1px 0 var(--line); }
.mini-chips svg { width: 18px; height: 18px; color: var(--terra); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.jump a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 9px 16px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); transition: background-color .2s, color .2s; }
@media (hover: hover) { .jump a:hover { background: #fff; color: var(--ink); } }

/* camere: colore per camera */

.price-note-section { background: var(--paper-2); }
.price-note { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px 60px; align-items: center; }
.price-note .actions { grid-column: 1 / -1; margin-top: 0; }
.price-extras { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--radius); padding: 8px 22px; }
.price-extras li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.price-extras li:last-child { border-bottom: 0; }
.price-extras span { color: var(--ink-soft); }
@media (max-width: 860px) { .price-note { grid-template-columns: 1fr; } }

/* anelli */
.routes { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 20px; align-items: start; }
.route-tabs { display: grid; gap: 8px; }
.route-tabs button {
  display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 12px;
  text-align: left; cursor: pointer; border: 1.5px solid var(--line); background: #fff;
  padding: 14px 16px; border-radius: 14px; transition: border-color .2s, background-color .2s, transform .2s;
}
.route-tabs button:active { transform: scale(.98); }
.route-tabs button[aria-selected="true"] { border-color: var(--terra); background: #eef3e3; }
@media (hover: hover) { .route-tabs button:hover { border-color: rgba(54,115,36,.5); } }
.rt-code { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--paper-2); font-weight: 700; color: var(--olive-deep); transition: background-color .2s, color .2s; }
.route-tabs button[aria-selected="true"] .rt-code { background: var(--terra); color: #fff; }
.rt-name { font-family: var(--serif); font-size: 1.2rem; }
.rt-km { font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.route-panel { background: #fff; border-radius: 18px; padding: clamp(22px, 3.5vw, 36px); box-shadow: 0 1px 0 var(--line); position: sticky; top: calc(var(--header-h) + 20px); }
.route-panel.swap > * { animation: panelIn .45s cubic-bezier(.2,.7,.2,1) both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.route-top { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.route-level, .route-cai { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.route-level { background: var(--olive); color: #fff; }
.route-level[data-level="2"] { background: #c8902e; }
.route-level[data-level="3"] { background: #c0612b; }
.route-level[data-level="4"] { background: #8c2f1a; }
.route-cai { background: var(--paper-2); color: var(--ink-soft); }
.route-panel h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 18px; }
.route-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.route-stats div { background: var(--paper); border-radius: 12px; padding: 14px; }
.route-stats strong { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1; color: var(--terra); font-variant-numeric: tabular-nums; }
.route-stats span { font-size: .82rem; color: var(--ink-soft); }
.route-diff { display: flex; gap: 6px; margin-bottom: 18px; }
.route-diff i { flex: 1; height: 6px; border-radius: 3px; background: var(--paper-2); transition: background-color .4s ease; }
.route-diff i.on { background: var(--terra); }
.route-panel p { color: var(--ink-soft); }
.route-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.route-map { margin-top: 18px; border-radius: 12px; overflow: hidden; background: var(--paper-2); }
.route-map iframe { display: block; width: 100%; height: 460px; border: 0; }
.route-note { display: flex; gap: 14px; margin-top: 28px; padding: 18px 20px; border-radius: 14px; background: var(--paper-2); }
.route-note svg { width: 22px; height: 22px; color: var(--terra); flex: none; margin-top: 3px; }
.route-note p { margin: 0; color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 860px) {
  .routes { grid-template-columns: 1fr; }
  .route-tabs { grid-auto-flow: column; grid-auto-columns: minmax(170px, 1fr); overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 2px var(--gutter) 6px; scroll-snap-type: x mandatory; }
  .route-tabs::-webkit-scrollbar { display: none; }
  .route-tabs button { grid-template-columns: 40px 1fr; scroll-snap-align: start; }
  .rt-code { width: 40px; height: 40px; }
  .rt-km { grid-column: 2; font-size: .85rem; margin-top: -6px; }
  .route-panel { position: static; }
  .route-map iframe { height: 380px; }
}

/* MAGS */
.mags { background: #1d2a2b; color: #e8efe9; }
.mags .eyebrow { color: #f2c94c; }
.mags .lead { color: rgba(232,239,233,.8); }
.mags h2 { color: #fff; }
.mags-head { display: grid; grid-template-columns: auto 1fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: 48px; }
.mags-head img { width: clamp(100px, 14vw, 150px); height: auto; background: #fff; border-radius: 22px; padding: 12px; }
.mags-routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mags-routes article { border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 22px; background: rgba(255,255,255,.03); transition: background-color .3s, transform .3s; }
@media (hover: hover) { .mags-routes article:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); } }
.mags-routes span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #9fc3a8; font-weight: 600; }
.mags-routes h3 { font-size: 1.5rem; color: #fff; margin: 8px 0; }
.mags-routes p { margin: 0; color: rgba(232,239,233,.75); }
.mags-routes b { font-family: var(--serif); font-weight: 400; color: #f2c94c; font-size: 1.4rem; }
.mags-gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 12px; margin: 40px 0; }
.mags-gallery img { width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; cursor: zoom-in; }
.basecamp { display: grid; grid-template-columns: 1.3fr auto; gap: 20px 40px; align-items: center; background: #f2c94c; color: #1d2a2b; border-radius: 20px; padding: clamp(24px, 4vw, 40px); }
.basecamp .eyebrow { color: #5e4500; }
.basecamp h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 10px; }
.basecamp p { margin: 0 0 10px; }
.basecamp .small { color: #4a4a3a; }
.basecamp .actions { margin-top: 0; }
.basecamp .btn-primary { background: #1d2a2b; }
.basecamp .btn-ghost { color: #1d2a2b; }
@media (hover: hover) { .basecamp .btn-ghost:hover { color: #f2c94c; } }
@media (max-width: 960px) {
  .mags-routes { grid-template-columns: 1fr 1fr; }
  .mags-gallery { grid-template-columns: 1fr 1fr; }
  .basecamp { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .mags-head { grid-template-columns: 1fr; } }

/* servizi bici */
.bike-services { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.service-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.service-grid li { background: #fff; border-radius: 16px; padding: 22px; display: grid; gap: 4px; box-shadow: 0 1px 0 var(--line); }
.service-grid svg { width: 28px; height: 28px; color: var(--terra); margin-bottom: 6px; }
.service-grid b { font-size: 1.05rem; }
.service-grid span { color: var(--ink-soft); font-size: .93rem; }
@media (max-width: 860px) { .bike-services { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .service-grid { grid-template-columns: 1fr; } }

/* noleggio */
.rental { background: var(--paper-2); }
.rental-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.rental-photo img { border-radius: var(--radius); aspect-ratio: 3/4; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .rental-inner { grid-template-columns: 1fr; } .rental-photo img { aspect-ratio: 4/3; } }

/* territorio: righe racconto */
.story { display: grid; gap: clamp(56px, 9vw, 110px); }
.story-row { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.story-row:nth-child(even) .story-img { order: 2; }
.story-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.story-row.in .story-img img { transform: scale(1.03); }
.story-txt h2 { margin: 6px 0 16px; }
.story-txt p { color: var(--ink-soft); }
.dist { font-size: .82rem; font-weight: 700; color: var(--terra); letter-spacing: .08em; text-transform: uppercase; }
.friends { display: grid; gap: 10px; margin-top: 18px; }
.friends h3 { margin: 0 0 4px; font-family: var(--sans); font-weight: 700; font-size: .9rem; }
.friends a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; text-decoration: none; background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 1px 0 var(--line); transition: transform .2s; }
@media (hover: hover) { .friends a:hover { transform: translateX(4px); } }
.friends a span { grid-column: 1; font-size: .88rem; color: var(--ink-soft); }
.friends a svg { grid-column: 2; grid-row: 1 / 3; width: 20px; height: 20px; color: var(--terra); align-self: center; }
.around { background: var(--paper-2); }
@media (max-width: 860px) {
  .story-row { grid-template-columns: 1fr; }
  .story-row:nth-child(even) .story-img { order: 0; }
}

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 20px); }
.faq-card { background: var(--ink); color: var(--paper); border-radius: 18px; padding: 26px; }
.faq-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.faq-card ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.faq-card li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.faq-card svg { width: 18px; height: 18px; color: var(--sage); flex: none; }
.faq-card .btn { width: 100%; }
.faq-group { font-size: 1.5rem; margin: 40px 0 12px; }
.faq-group:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--terra); border-bottom: 2px solid var(--terra);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details > div { padding: 0 0 20px; color: var(--ink-soft); }
.faq details[open] > div { animation: faqIn .35s ease; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } }
.faq ul { padding-left: 20px; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-side { position: static; order: 2; } }

.assist { background: var(--olive-deep); color: #e3ead6; }
.assist .eyebrow { color: var(--sage); }
.assist h2 { color: #fff; }
.assist .lead { color: rgba(227,234,214,.82); }
.assist-inner { display: grid; grid-template-columns: 1.4fr auto; gap: 20px 50px; align-items: center; }
.assist .btn-ghost { color: #fff; }
@media (max-width: 860px) { .assist-inner { grid-template-columns: 1fr; } }

/* footer CTA */
.footer-cta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta p { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; margin: 0; }
.footer-cta div { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-cta .btn-ghost { color: #fff; }

/* barra mobile: pulsante */
.mobile-bar button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 12px; border: 0; font-weight: 600; font-size: .92rem; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.mobile-bar .cta { background: var(--terra); color: #fff; }

/* =========================================================
   PANNELLO DI PRENOTAZIONE
   ========================================================= */
.book {
  border: 0; padding: 0; margin: 0 0 0 auto; max-width: none; max-height: none;
  width: min(560px, 100vw); height: 100dvh; background: transparent; color: var(--ink);
}
.book::backdrop { background: rgba(20,20,14,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.book[open] { animation: bookIn .38s cubic-bezier(.2,.8,.2,1); }
.book[open]::backdrop { animation: fade .3s ease; }
@keyframes bookIn { from { transform: translateX(40px); opacity: 0; } }
.book-panel { height: 100%; display: flex; flex-direction: column; background: var(--paper); box-shadow: -20px 0 60px rgba(0,0,0,.2); }
.book-head { position: relative; padding: 22px 24px 16px; border-bottom: 1px solid var(--line); background: var(--paper); }
.book-kicker { margin: 0 0 4px; padding-right: 50px; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); }
.book-head h2 { font-size: 1.7rem; padding-right: 50px; }
.book-close { position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--paper-2); cursor: pointer; display: grid; place-items: center; }
.book-close svg { width: 20px; height: 20px; }
.book-steps { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.book-steps li { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; color: var(--ink-soft); position: relative; padding-bottom: 10px; }
.book-steps li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--paper-2); }
.book-steps li::before { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; border-radius: 2px; background: var(--terra); z-index: 1; transition: width .4s ease; }
.book-steps li.is-on::before, .book-steps li.is-done::before { width: 100%; }
.book-steps li.is-on { color: var(--ink); }
.book-steps span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); font-size: .75rem; flex: none; }
.book-steps li.is-on span, .book-steps li.is-done span { background: var(--terra); color: #fff; }
@media (max-width: 420px) { .book-steps li { font-size: .7rem; } }

.book-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 22px 24px 28px; overscroll-behavior: contain; }
.book-step { animation: stepIn .35s cubic-bezier(.2,.7,.2,1); }
.book-step.back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } }
.book .field label { font-size: .82rem; }
.bk-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-nights { margin: 10px 0 0; min-height: 1.4em; font-weight: 600; color: var(--olive); }
.bk-avail { margin: 6px 0 0; font-size: .92rem; color: var(--ink-soft); }
.bk-avail:empty { display: none; }
.bk-avail.is-full { color: #a3361f; font-weight: 600; }
.bk-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bk-counters { margin-top: 14px; border-top: 1px solid var(--line); }
.counter { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.counter b { display: block; }
.counter small { color: var(--ink-soft); font-size: .84rem; }
.stepper { display: flex; align-items: center; gap: 4px; }
.stepper button {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(38,37,31,.2); background: #fff; cursor: pointer;
  display: grid; place-items: center; transition: border-color .2s, transform .15s, opacity .2s;
}
.stepper button:active { transform: scale(.9); }
.stepper button:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .stepper button:not(:disabled):hover { border-color: var(--terra); } }
.stepper svg { width: 16px; height: 16px; }
.stepper output { min-width: 32px; text-align: center; font-weight: 700; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.stepper output.bump { animation: bump .25s ease; }
@keyframes bump { 50% { transform: scale(1.3); color: var(--terra); } }
.bk-hint { font-size: .85rem; color: var(--ink-soft); margin: 10px 0 0; }
.bk-bike { border: 0; padding: 0; margin: 18px 0 0; }
.bk-bike legend { font-weight: 700; margin-bottom: 10px; }
.bk-bike { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-bike legend { width: 100%; }
.bk-bike label { cursor: pointer; }
.bk-bike input { position: absolute; opacity: 0; pointer-events: none; }
.bk-bike span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid rgba(38,37,31,.2); background: #fff; font-weight: 500; font-size: .93rem; transition: all .2s; }
.bk-bike input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bk-bike input:focus-visible + span { outline: 2.5px solid var(--terra); outline-offset: 2px; }
.bk-check { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; font-size: .92rem; cursor: pointer; }
.bk-check input { width: 22px; height: 22px; accent-color: var(--terra); flex: none; margin: 1px 0 0; }
.bk-check small { color: var(--ink-soft); }

.bk-sub { color: var(--ink-soft); margin-bottom: 16px; }
.bk-pref { background: var(--paper-2); border-radius: 12px; padding: 12px 14px; font-size: .92rem; margin: 0 0 12px; }
.bk-options { display: grid; gap: 10px; }
.bk-opt {
  display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center;
  padding: 10px 16px 10px 10px; border-radius: 16px; background: #fff; cursor: pointer;
  border: 2px solid transparent; box-shadow: 0 1px 2px rgba(30,42,27,.08); position: relative;
  transition: border-color .2s, background-color .2s, transform .15s;
  -webkit-tap-highlight-color: transparent;
}
.bk-opt:active { transform: scale(.99); }
.bk-opt input { position: absolute; opacity: 0; pointer-events: none; }
.bk-opt-imgs { position: relative; width: 76px; height: 76px; }
.bk-opt-imgs img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.bk-opt.multi .bk-opt-imgs img:nth-child(2) { inset: auto -6px -6px auto; width: 42px; height: 42px; border: 3px solid #fff; border-radius: 9px; }
.bk-opt-txt b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; line-height: 1.2; }
.bk-opt-txt small { display: block; color: var(--ink-soft); font-size: .84rem; line-height: 1.35; margin-top: 2px; }
.bk-opt-tag { display: inline-block; margin-bottom: 4px; padding: 2px 8px; border-radius: 999px; background: var(--sage); color: var(--olive-deep); font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bk-opt-tag.soft { background: var(--paper-2); color: var(--ink-soft); }
.bk-opt-price { text-align: right; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bk-opt-price small { display: block; font-weight: 400; font-size: .78rem; color: var(--ink-soft); }
.bk-opt:has(input:checked) { border-color: var(--terra); background: #f1f6e8; }
.bk-opt:has(input:checked)::after {
  content: ""; position: absolute; top: -8px; left: -8px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--terra) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
  animation: bump .3s ease;
}
.bk-opt:has(input:focus-visible) { outline: 2.5px solid var(--terra); outline-offset: 2px; }
@media (max-width: 420px) {
  .bk-opt { grid-template-columns: 64px 1fr; gap: 12px; }
  .bk-opt-imgs { width: 64px; height: 64px; }
  .bk-opt-price { grid-column: 2; text-align: left; display: flex; gap: 6px; align-items: baseline; }
}

.bk-bill { margin-top: 20px; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: 0 1px 0 var(--line); }
.bk-bill h3 { font-size: 1.25rem; margin-bottom: 10px; }
.bk-bill ul { list-style: none; padding: 0; margin: 0; }
.bk-bill li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; animation: faqIn .3s ease both; }
.bk-bill li small { grid-column: 1 / -1; color: var(--ink-soft); font-size: .8rem; }
.bk-bill li b { font-variant-numeric: tabular-nums; }
.bk-bill li.free b { color: var(--olive); }
.bk-bill-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 8px; }
.bk-bill-total span { font-weight: 700; }
.bk-bill-total strong { font-family: var(--serif); font-weight: 400; font-size: 2rem; color: var(--terra); font-variant-numeric: tabular-nums; }
.bk-bill-note { font-size: .84rem; color: var(--ink-soft); margin: 0; }

.bk-send { display: grid; gap: 10px; margin-top: 18px; }
.bk-send .btn { width: 100%; }
.bk-call { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); text-decoration: none; font-size: .93rem; }
.bk-call svg { width: 22px; height: 22px; color: var(--terra); flex: none; }
.bk-legal { font-size: .8rem; color: var(--ink-soft); margin: 12px 0 0; }

.book-done { text-align: center; padding: 50px 10px; }
.book-done svg { width: 64px; height: 64px; color: #fff; background: var(--olive); border-radius: 50%; padding: 14px; margin: 0 auto 18px; animation: bump .5s ease; }
.book-done h3 { font-size: 2rem; margin-bottom: 10px; }
.book-done p { color: var(--ink-soft); margin-bottom: 22px; }

.book-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.book-total span { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.book-total strong { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; color: var(--terra); font-variant-numeric: tabular-nums; }
.book-nav { display: flex; gap: 8px; }
.book-nav .btn { min-height: 48px; padding: 0 20px; }
.book-nav .btn svg { width: 18px; height: 18px; }

@media (max-width: 600px) {
  .book { width: 100vw; height: 100dvh; margin: 0; }
  .book[open] { animation-name: sheetIn; }
  .book-panel { margin-top: 0; }
  @keyframes sheetIn { from { transform: translateY(40px); opacity: 0; } }
  .book-head { padding: 18px 18px 14px; }
  .book-body { padding: 18px 18px 24px; }
  .book-foot { padding-left: 18px; padding-right: 18px; }
  .book-total strong { font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) {
  .book[open], .book-step, .stagger > * { animation: none !important; transition: none !important; }
  .stagger > * { opacity: 1; transform: none; }
}

/* =========================================================
   NAVIGAZIONE INTERNA, SERVIZI, TERRITORIO, OTTIMIZZAZIONE MOBILE
   ========================================================= */
:root:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 62px); }
.subnav {
  position: sticky; top: var(--header-h); z-index: 30;
  background: rgba(246,247,236,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a {
  flex: none; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink-soft);
  padding: 9px 16px; border-radius: 999px; transition: background-color .25s ease, color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.subnav a.on { background: var(--ink); color: var(--paper); }
@media (hover: hover) { .subnav a:not(.on):hover { background: var(--paper-2); color: var(--ink); } }

/* servizi bici: elenco a due colonne */
.service-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.service-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 18px 0; border-top: 1px solid var(--line); }
.service-list svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--sage); color: var(--olive-deep); }
.service-list b { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.service-list span { color: var(--ink-soft); font-size: .93rem; line-height: 1.45; }
@media (max-width: 560px) { .service-list { grid-template-columns: 1fr; } }

/* territorio: distanza sulla foto */
.story-img { position: relative; }
.story-chip {
  position: absolute; left: 14px; top: 14px; z-index: 1;
  background: rgba(246,247,236,.95); color: var(--olive-deep); font-weight: 700; font-size: .82rem;
  padding: 6px 12px; border-radius: 999px; box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

/* MAGS: galleria a scorrimento su telefono */
@media (max-width: 760px) {
  .mags-gallery {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 28px calc(var(--gutter) * -1); padding: 0 var(--gutter);
  }
  .mags-gallery::-webkit-scrollbar { display: none; }
  .mags-gallery img { scroll-snap-align: start; }
  .mags-routes { gap: 10px; }
  .mags-routes article { padding: 16px; }
  .mags-routes h3 { font-size: 1.25rem; }
}

/* ottimizzazione telefono */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 28px; }
  h2 { font-size: clamp(1.85rem, 8vw, 2.4rem); }
  .lead { font-size: 1.02rem; }
  .page-hero { padding: calc(var(--header-h) + 36px) 0 32px; }
  .page-hero h1 { font-size: clamp(2.1rem, 9.5vw, 2.8rem); }
  .page-hero-photo { min-height: 62svh; }
  .room-list { gap: 56px; }
  .story { gap: 48px; }
  .story-row { gap: 18px; }
  .story-img { aspect-ratio: 16/10; }
  .story-txt h2 { margin: 0 0 10px; }
  .rental-photo img { aspect-ratio: 16/10; }
  .final-cta { padding: 64px 0; }
  .route-panel { padding: 20px; }
  .route-stats div { padding: 12px 10px; }
  .basecamp { padding: 22px; border-radius: 16px; }
  .actions .btn { flex: 1 1 auto; }
  .footer-cta { padding-bottom: 28px; margin-bottom: 28px; }
}
@media (max-width: 760px) {
  .mags-routes span { letter-spacing: .05em; font-size: .72rem; }
  .mags-routes b { display: block; }
  .book-total span { white-space: nowrap; }
  .book-nav .btn { padding: 0 16px; }
}

/* =========================================================
   CONVERSIONE: prezzo, vantaggi, voti, bus
   ========================================================= */
.hero-offer {
  display: inline-flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
  margin: 0 0 18px !important; padding: 8px 16px; border-radius: 999px;
  background: rgba(246,247,236,.94); color: var(--ink); font-size: .98rem !important; opacity: 1 !important;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.hero-offer b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; color: var(--terra); line-height: 1; }
.qb-perks { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .93rem; }
.qb-perks li { display: inline-flex; align-items: center; gap: 7px; }
.qb-perks svg { width: 17px; height: 17px; color: var(--sage); flex: none; }
.hero-rating { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin: 12px 0 0 !important; font-size: .9rem !important; opacity: .92; }
.hero-rating b { font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: #f2c94c; }
.stars svg { width: 15px; height: 15px; }
.pf-bike { display: inline-flex; align-items: center; gap: 5px; background: var(--terra); color: #fff; }
.pf-bike svg { width: 14px; height: 14px; }
.section-head.split-head .lead { margin: 10px 0 0; max-width: 52ch; }
@media (max-width: 760px) {
  .hero-offer { font-size: .9rem !important; padding: 7px 14px; margin-bottom: 14px !important; }
  .hero-offer b { font-size: 1.15rem; }
  .qb-perks { flex-direction: column; gap: 5px; font-size: .88rem; }
}
.bk-trust { list-style: none; margin: 4px 0 10px; padding: 12px 14px; border-radius: 12px; background: #f1f6e8; display: grid; gap: 7px; }
.bk-trust li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: .88rem; line-height: 1.4; }
.bk-trust svg { width: 16px; height: 16px; color: var(--terra); margin-top: 2px; }
.bk-trust li:last-child svg { color: #e0a800; }
.profile-chart .pf-pin svg { width: 14px; height: 14px; flex: none; }
@media (max-width: 760px) {
  .pf-top { transform: translate(-82%, calc(-100% - 12px)); }
  .pf-top.on { transform: translate(-82%, calc(-100% - 16px)); }
  .pf-top::after { left: 82%; }
}
@media (max-width: 760px) { .hero-offer { border-radius: 14px; } }

/* =====================================================================
   TELEFONO — meno cose, tutto trovabile (v2)
   ===================================================================== */
.m-only { display: none; }
.hero-cta-m { display: none; }

/* calendario nel pannello di prenotazione */
.bk-cal, .bk-picked { display: none; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal-head b { font-family: var(--serif); font-weight: 400; font-size: 1.25rem; }
.cal-head button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; color: var(--ink); }
.cal-head button:disabled { opacity: .3; }
.cal-head svg { width: 18px; height: 18px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.cal-dow { text-align: center; font-size: .72rem; font-weight: 700; color: var(--ink-soft); padding: 4px 0 6px; }
.cal-day {
  height: 44px; border: 0; background: transparent; font: inherit; font-weight: 600; font-size: 1rem; color: var(--ink);
  border-radius: 12px; -webkit-tap-highlight-color: transparent; position: relative;
}
.cal-day.is-today { box-shadow: inset 0 0 0 1.5px var(--line); }
.cal-day.is-past { color: #b9b6aa; font-weight: 400; }
.cal-day.is-full { color: #b9b6aa; text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(0,0,0,.05) 5px 10px); }
.cal-day.is-mid { background: rgba(122,139,89,.22); border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--olive); color: #fff; text-decoration: none; }
.cal-day.is-start { border-radius: 12px 0 0 12px; }
.cal-day.is-end { border-radius: 0 12px 12px 0; }
.cal-day.is-start:not(.is-end):last-child { border-radius: 12px; }
.bk-picked { margin: 12px 0 0; font-weight: 600; text-align: center; }

@media (max-width: 920px) {
  .bk-cal, .bk-picked { display: block; }
  .bk-dates { display: none; }

  /* inizio: titolo, offerta, un solo pulsante */
  .hero-desc, .quickbook { display: none !important; }
  .hero-cta-m { display: inline-flex; width: 100%; max-width: 420px; margin-top: 6px; }
  .page-home .hero h1 { margin-bottom: 18px; }
  .hero-rating { margin-top: 16px !important; }

  /* meno cose */
  .m-hide { display: none !important; }
  .m-only { display: flex; }
  .page-home .section { padding: 52px 0; }
  .chips { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .bike-teaser .stats, .bike-teaser-logo { display: none; }
  .bike-teaser .actions .btn-ghost { display: none; }

  /* recensioni: si scorrono col dito, ferme, la prima intera */
  .marquee {
    overflow-x: auto; -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none; mask-image: none;
    scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    padding: 6px 0 14px; touch-action: pan-x pan-y; overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .marquee::-webkit-scrollbar { display: none; }
  .marquee-track { animation: none !important; padding: 0 var(--gutter); }
  .marquee .quote { width: 82vw; max-width: 340px; scroll-snap-align: start; }
  .marquee .quote[aria-hidden="true"] { display: none; }
  .reviews-head .score { width: 100%; }

  /* barra in basso: sempre visibile, quattro voci */
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .mobile-bar { grid-template-columns: 1fr 1fr 1fr 1.5fr; gap: 6px; align-items: stretch; }
  .mobile-bar > a, .mobile-bar > .tab-contact {
    flex-direction: column; gap: 3px; min-height: 52px; font-size: .74rem; font-weight: 600; line-height: 1;
    background: transparent; color: var(--ink-soft); border: 0; border-radius: 12px; font-family: inherit; cursor: pointer;
    display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent;
  }
  .mobile-bar svg { width: 22px; height: 22px; }
  .mobile-bar .is-here { color: var(--olive-deep); background: var(--paper-2); }
  .mobile-bar .cta {
    flex-direction: row; gap: 8px; font-size: .98rem; background: var(--terra); color: #fff; border: 0;
    border-radius: 14px; font-weight: 700; min-height: 52px; display: flex; align-items: center; justify-content: center; font-family: inherit;
  }
  .mobile-bar .cta svg { width: 20px; height: 20px; }
  .mobile-bar { transform: none; }
  .contact-pop {
    position: absolute; right: 12px; left: 12px; bottom: calc(100% + 10px);
    display: grid; gap: 8px; padding: 12px; border-radius: 18px; background: var(--paper); box-shadow: 0 18px 50px rgba(0,0,0,.25);
  }
  .contact-pop[hidden] { display: none; }
  .contact-pop .btn { min-height: 52px; width: 100%; }
  .site-footer { padding-bottom: 20px; }
}
@media (max-width: 920px) { .contact-pop .btn-wa { background: #1f8f4e; color: #fff; border-color: transparent; } }
/* percorsi: nomi lunghi dentro il riquadro, su telefono */
@media (max-width: 860px) {
  .route-tabs { grid-auto-columns: minmax(200px, 1fr); }
  .route-tabs button { grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; row-gap: 0; }
  .route-tabs .rt-code { grid-row: 1 / 3; }
  .rt-name { font-size: 1.08rem; line-height: 1.15; min-width: 0; overflow-wrap: anywhere; }
  .rt-km { margin-top: 2px; }
}
/* giardino su telefono: foto grande e testo breve */
@media (max-width: 920px) {
  .garden-points li { padding: 11px 0; }
  .garden .gp-b { display: none; }
  .garden-photos { grid-template-columns: 1fr; }
  .gp-a { display: none; }
}

/* ---------- una giornata ad Angulum: scorrimento con carte in 3D ---------- */
.day { --sky: #1f3a24; position: relative; height: 420vh; background: var(--sky); color: #f4eee1; transition: background-color .4s linear; }
.day-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr auto; padding: calc(var(--header-h) + 14px) 0 calc(24px + env(safe-area-inset-bottom)); }
.day .eyebrow { color: #d9b878; }
.day-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 16px; }
.day-clock b { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.day-arc { grid-column: 1 / -1; width: 100%; height: auto; max-height: 70px; color: rgba(244,238,225,.35); }
.day-sun { fill: #f2c56b; filter: drop-shadow(0 0 10px rgba(242,197,107,.8)); }
.day-stage { position: relative; perspective: 1100px; perspective-origin: 50% 40%; display: grid; place-items: center; min-height: 0; }
.day-card {
  position: absolute; margin: 0; width: min(74vw, 400px); aspect-ratio: 4 / 5; max-height: 100%;
  border-radius: 22px; overflow: hidden; background: #0e1f12;
  box-shadow: 0 30px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
  transform-style: preserve-3d; will-change: transform, opacity; backface-visibility: hidden;
}
.day-card img { width: 100%; height: 100%; object-fit: cover; }
.day-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.18), transparent 40%); pointer-events: none; }
.day-steps { list-style: none; margin: 0; padding-top: 14px; display: grid; min-height: 7.2em; }
.day-steps li { grid-area: 1 / 1; opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.day-steps li.on { opacity: 1; transform: none; }
.day-steps h3 { font-size: clamp(1.4rem, 3.4vw, 2rem); margin: 0 0 6px; color: #fff; }
.day-steps p { margin: 0; color: rgba(244,238,225,.8); max-width: 40ch; }
@media (max-width: 920px) {
  .day-sticky { padding-bottom: calc(92px + env(safe-area-inset-bottom)); padding-top: calc(var(--header-h) + 8px); }
  .day-card { width: min(70vw, 340px); }
  .day-steps { min-height: 6.4em; }
  .day-steps p { font-size: .95rem; }
}
@media (min-width: 921px) {
  .day-sticky { grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 40px; max-width: 1100px; margin: 0 auto; }
  .day-head { grid-column: 1 / -1; }
  .day-stage { grid-row: 2; }
  .day-steps { grid-row: 2; align-self: center; }
  .day-card { width: min(34vw, 380px); }
}
/* senza animazioni: le cinque scene una sotto l'altra */
@media (prefers-reduced-motion: reduce) {
  .day { height: auto; }
  .day-sticky { position: static; height: auto; display: block; padding: 64px 0; }
  .day-arc, .day-clock { display: none; }
  .day-stage { display: none; }
  .day-steps li { grid-area: auto; opacity: 1; transform: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
}

/* ---------- correzioni della revisione (20/10) ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (min-width: 921px) { .profile-chart { max-width: 900px; margin-inline: auto; } }
/* tablet e iPad: niente campi data nativi nell'hero, come sul telefono */
@media (hover: none) and (pointer: coarse) {
  .hero-desc, .quickbook { display: none !important; }
  .hero-cta-m { display: inline-flex; width: 100%; max-width: 420px; margin-top: 6px; }
}
@media (max-width: 860px) { .route-map iframe { height: 320px; } }
.site-footer p, .site-footer a { overflow-wrap: anywhere; }
.room-card-foot { flex-wrap: wrap; gap: 8px; }
.room-card-foot span { white-space: nowrap; }
@media (max-width: 760px) { .page-hero h1 br { display: none; } }
@media (max-width: 920px) {
  .nav { max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; overscroll-behavior: contain; }
  .mobile-bar > a, .mobile-bar > .tab-contact { font-size: .78rem; }
}
.cal-legend { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .82rem; color: var(--ink-soft); }
.cal-legend i { width: 18px; height: 14px; border-radius: 4px; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(0,0,0,.12) 4px 8px); flex: none; }
