/* =====================================================================
   La casetta dei 3 Caru — palette toscana: cotto, oliva, lino
   ===================================================================== */
:root {
  --cotto: #a4492a;
  --cotto-dark: #7f3519;
  --cotto-soft: #f3e2d6;
  --oliva: #56603f;
  --oliva-soft: #e6e8dc;
  --lino: #f8f3ec;
  --sabbia: #efe6da;
  --ink: #2b2420;
  --ink-soft: #5e534b;
  --line: #e2d7c9;
  --white: #fff;
  --booking: #003b95;
  --airbnb: #ff385c;
  --star: #e8a53c;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --hand: "Patrick Hand SC", "Patrick Hand", "Comic Neue", var(--sans);
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -20px rgba(43, 36, 32, .35);
  --shadow-sm: 0 6px 20px -10px rgba(43, 36, 32, .3);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--lino); color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--cotto); text-decoration: none; }
a:hover { color: var(--cotto-dark); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--cotto) 55%, white); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-top: 36px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.ico { width: 22px; height: 22px; flex: none; }

/* ------------------------------------------------------------ tipografia */
.eyebrow {
  margin: 0 0 14px; font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--cotto);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--light { color: #f0c6a8; }
.h2 {
  font: 500 clamp(2.1rem, 4.2vw, 3.3rem)/1.08 var(--serif); margin: 0 0 22px; letter-spacing: -.01em; color: var(--ink);
}
.h2 em, .hero__title em { font-style: italic; color: var(--cotto); }
.lead { font-size: 1.15rem; color: var(--ink); }
p { margin: 0 0 1em; color: var(--ink-soft); }

/* ------------------------------------------------------------ bottoni */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em; transition: all .25s ease; white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover .ico { transform: translateX(4px); }
.btn--primary { background: var(--cotto); color: #fff; box-shadow: 0 10px 24px -10px rgba(164, 73, 42, .7); }
.btn--primary:hover { background: var(--cotto-dark); color: #fff; transform: translateY(-1px); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); background: rgba(255,255,255,.08); }
.btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn--outline { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: .9rem; }

/* ------------------------------------------------------------ navigazione */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; transition: background .3s, box-shadow .3s, height .3s;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.is-home .nav:not(.is-solid) { color: #fff; }
.nav.is-solid, .is-page .nav { background: rgba(248, 243, 236, .92); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); color: var(--ink); }
.logo { display: flex; align-items: center; gap: 12px; color: inherit; }
.logo:hover { color: inherit; }
.logo__mark {
  width: 54px; height: 50px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: #fff; box-shadow: 0 4px 14px -6px rgba(0,0,0,.35);
}
.logo__mark img { width: 44px; height: auto; }
.logo__text { font: 400 1.5rem/1 var(--hand); letter-spacing: .01em; display: flex; flex-direction: column; }
.logo__text small { font: 600 .66rem/1.6 var(--sans); letter-spacing: .2em; text-transform: uppercase; opacity: .75; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: .93rem; font-weight: 500; }
.nav__links > a:not(.btn) { color: inherit; position: relative; padding: 4px 0; }
.nav__links > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: currentColor; transform: scaleX(0); transition: transform .25s; transform-origin: left; }
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); }
.nav__links > a, .logo__text { white-space: nowrap; }
.lang { position: relative; }
.lang summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor;
}
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 170px; padding: 6px; border-radius: 14px;
  background: var(--white); box-shadow: var(--shadow); display: grid; z-index: 5;
}
.lang__menu a { color: var(--ink); font-size: .9rem; padding: 8px 12px; border-radius: 9px; display: flex; gap: 10px; }
.lang__menu a b { width: 22px; font-size: .74rem; letter-spacing: .05em; color: var(--ink-soft); padding-top: 2px; }
.lang__menu a:hover { background: var(--lino); color: var(--ink); }
.lang__menu a.is-active { background: var(--cotto-soft); color: var(--cotto-dark); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; color: inherit; }
.nav__toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .3s, opacity .3s; border-radius: 2px; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: -40px 0 0; background: #6b5d52 center/cover no-repeat; transform: scale(1.06); animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(28,22,18,.55) 0%, rgba(28,22,18,.05) 30%, rgba(28,22,18,.25) 55%, rgba(28,22,18,.85) 100%); }
.hero__inner { position: relative; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 110px; }
.hero .eyebrow { color: #f6d3b9; }
.hero__title { font: 500 clamp(3rem, 8.5vw, 6.6rem)/.95 var(--serif); margin: 0 0 22px; letter-spacing: -.02em; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__title em { display: block; color: #f6d3b9; }
.hero__lead { color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; margin-bottom: 30px; }
.hero__ratings { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.rating-chip {
  display: flex; align-items: center; gap: 14px; padding: 10px 18px 10px 10px; border-radius: 16px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(12px); color: #fff;
  transition: background .25s, transform .25s;
}
.rating-chip:hover { background: rgba(255,255,255,.22); color: #fff; transform: translateY(-2px); }
.rating-chip__score { min-width: 52px; height: 52px; padding: 0 8px; display: grid; place-items: center; font-weight: 700; font-size: 1.15rem; border-radius: 12px 12px 12px 3px; color: #fff; }
.rating-chip__score--booking { background: var(--booking); }
.rating-chip__score--airbnb { background: var(--airbnb); border-radius: 12px; }
.rating-chip__text { display: flex; flex-direction: column; line-height: 1.25; font-size: .9rem; }
.rating-chip__text small { opacity: .8; font-size: .78rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: #fff; border-radius: 3px; animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------ stelle */
.stars { display: inline-flex; gap: 3px; vertical-align: middle; margin: 4px 0; }
.star { position: relative; width: 18px; height: 18px; background: rgba(160,150,140,.35);
  -webkit-mask: var(--star-svg) center/contain no-repeat; mask: var(--star-svg) center/contain no-repeat; }
.star__fill { position: absolute; inset: 0 auto 0 0; background: var(--star); }
.stars--sm .star { width: 13px; height: 13px; }
:root { --star-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87L18.18 21 12 17.77 5.82 21 7 14.14l-5-4.87 6.91-1.01z'/%3E%3C/svg%3E"); }
.hero .star, .section--dark .star { background: rgba(255,255,255,.28); }

/* ------------------------------------------------------------ numeri */
.facts { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 2; }
.facts__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.fact { display: flex; align-items: center; gap: 14px; padding: 28px 18px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact .ico { width: 30px; height: 30px; color: var(--cotto); }
.fact span { display: flex; flex-direction: column; line-height: 1.25; font-size: .85rem; color: var(--ink-soft); }
.fact strong { font: 600 1.25rem/1.2 var(--serif); color: var(--ink); }

/* ------------------------------------------------------------ sezioni */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section--tint { background: var(--sabbia); }
.section--dark { background: #2b2420; color: #fff; }
.section--dark .h2 { color: #fff; }
.section--dark .h2 em { color: #f0a77f; }
.section__head { max-width: 680px; margin-bottom: 50px; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--rev .split__text { order: 2; }

.rooms { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rooms li { display: flex; gap: 14px; padding: 18px; background: var(--white); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.rooms .ico { color: var(--cotto); width: 26px; height: 26px; margin-top: 2px; }
.rooms strong { display: block; font-size: .98rem; }
.rooms span { font-size: .86rem; color: var(--ink-soft); line-height: 1.45; display: block; }

.split__media { position: relative; }
.stack { position: relative; margin: 0; padding-bottom: 22%; }
.stack img { border-radius: var(--radius); object-fit: cover; box-shadow: var(--shadow); background: var(--sabbia); }
.stack__a { width: 82%; aspect-ratio: 4/3.4; }
.stack__b { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4/3.2; border: 8px solid var(--lino); }
.host-card {
  display: flex; align-items: center; gap: 14px; margin-top: 26px; padding: 16px 18px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); max-width: 440px;
}
.host-card__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--oliva); color: #fff; display: grid; place-items: center; font: italic 600 1.6rem var(--serif); flex: none; }
.host-card__name { margin: 0; font-weight: 700; color: var(--ink); }
.host-card__meta { margin: 0; font-size: .84rem; }
.host-card__score { margin-left: auto; text-align: center; line-height: 1.1; }
.host-card__score span { display: block; font: 600 1.8rem var(--serif); color: var(--booking); }
.host-card__score small { font-size: .66rem; color: var(--ink-soft); display: block; max-width: 90px; }

/* ------------------------------------------------------------ galleria */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.gallery__item { position: relative; overflow: hidden; border-radius: var(--radius-sm); background: #d9cdbd; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .4s; }
.gallery__item:hover img { transform: scale(1.06); filter: brightness(1.05); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(0,0,0,.25)); opacity: 0; transition: opacity .3s; }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(4) { grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item.is-extra { display: none; }
.gallery.is-open .gallery__item.is-extra { display: block; }

/* ------------------------------------------------------------ servizi */
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.amenity { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 500; font-size: .95rem; transition: border-color .25s, transform .25s, box-shadow .25s; }
.amenity:hover { border-color: var(--cotto); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.amenity .ico { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--cotto-soft); color: var(--cotto); }

/* ------------------------------------------------------------ recensioni */
.scores { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.score-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 30px; }
.score-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.brand--booking { color: #fff; } .brand--booking b { color: #4ea4ff; font-weight: 800; }
.brand--airbnb { color: var(--airbnb); font-size: 1.35rem; }
.score-card__link { color: #f0c6a8; font-size: .86rem; display: inline-flex; align-items: center; gap: 6px; }
.score-card__link .ico { width: 16px; height: 16px; }
.score-card__link:hover { color: #fff; }
.score-card__main { display: flex; align-items: center; gap: 22px; padding-bottom: 24px; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 22px; }
.big-score { min-width: 92px; height: 92px; padding: 0 10px; display: grid; place-items: center; font: 700 2.3rem var(--sans); color: #fff; letter-spacing: -.03em; }
.big-score--booking { background: var(--booking); border-radius: 18px 18px 18px 4px; }
.big-score--airbnb { background: var(--airbnb); border-radius: 50%; font-size: 1.9rem; }
.score-card__verdict { margin: 0; font: 600 1.7rem/1.1 var(--serif); color: #fff; }
.score-card .stars .star { width: 20px; height: 20px; }
.muted-light { color: rgba(255,255,255,.6); font-size: .85rem; margin: 0; }
.bars { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.bars li { display: grid; grid-template-columns: 130px 1fr 38px; align-items: center; gap: 14px; font-size: .88rem; color: rgba(255,255,255,.82); }
.bars b { text-align: right; color: #fff; }
.bar { height: 6px; background: rgba(255,255,255,.12); border-radius: 6px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, #d9774c, #f0a77f); border-radius: 6px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.is-visible .bar span { transform: scaleX(1); }

.quotes { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
.quotes::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; margin: 0; padding: 30px; border-radius: var(--radius); background: #f8f3ec; color: var(--ink); display: flex; flex-direction: column; }
.quote blockquote { margin: 12px 0 20px; font: 500 1.28rem/1.4 var(--serif); flex: 1; }
.quote figcaption { font-size: .88rem; color: var(--ink-soft); }
.quote figcaption strong { color: var(--ink); }
.quote figcaption span { display: block; font-size: .76rem; margin-top: 2px; color: var(--booking); font-weight: 600; }
.quotes__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.quotes__nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; display: grid; place-items: center; transition: background .2s; }
.quotes__nav button:hover { background: rgba(255,255,255,.12); }
.note-light { color: rgba(255,255,255,.45); font-size: .78rem; margin: 20px 0 0; }

/* ------------------------------------------------------------ posizione */
.distances { list-style: none; padding: 0; margin: 26px 0 0; }
.distances li { display: grid; grid-template-columns: 26px 1fr auto; gap: 14px; align-items: center; padding: 13px 0; border-bottom: 1px dashed var(--line); font-size: .96rem; }
.distances .ico { color: var(--oliva); }
.distances b { font-weight: 600; font-size: .9rem; color: var(--ink); text-align: right; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/4.4; box-shadow: var(--shadow);
  background: var(--oliva-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%2356603f' stroke-opacity='.13' stroke-width='2'%3E%3Cpath d='M0 30h120M0 90h120M30 0v120M90 0v120'/%3E%3Cpath d='M0 0l120 120' stroke-width='5'/%3E%3C/g%3E%3C/svg%3E"); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; gap: 14px; }
.map__ph > .ico { width: 54px; height: 54px; color: #fff; background: var(--cotto); padding: 13px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); box-shadow: var(--shadow-sm); }
.map__addr { margin: 0; color: var(--ink); font-size: 1.05rem; background: rgba(255,255,255,.85); padding: 10px 18px; border-radius: 12px; }
.map__ph small { color: var(--ink-soft); font-size: .76rem; max-width: 280px; }

/* ------------------------------------------------------------ info */
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--line); }
.info-card .ico { width: 30px; height: 30px; color: var(--cotto); }
.info-card h3 { margin: 14px 0 4px; font: 600 1.4rem var(--serif); }
.info-card p { margin: 0 0 6px; color: var(--ink); font-weight: 600; }
.info-card small { color: var(--ink-soft); font-size: .82rem; }
.rules { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.rules li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.rules .ico { width: 18px; height: 18px; color: var(--cotto); }

/* ------------------------------------------------------------ prenota */
.book { color: #fff; overflow: hidden; background: #2b2420; }
.book__bg { position: absolute; inset: 0; background: center/cover no-repeat; opacity: .28; filter: saturate(.8); }
.book::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(43,36,32,.97) 30%, rgba(127,53,25,.75)); }
.book__grid { position: relative; display: grid; grid-template-columns: 1fr 520px; gap: clamp(40px, 6vw, 80px); align-items: start; }
.book .h2 { color: #fff; } .book .h2 em { color: #f0a77f; }
.book .lead { color: rgba(255,255,255,.85); }
.ticks { list-style: none; padding: 0; margin: 24px 0 36px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 34px; color: rgba(255,255,255,.88); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--cotto) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat; }
.book__alt { padding-top: 26px; border-top: 1px solid rgba(255,255,255,.15); }
.book__alt p { color: rgba(255,255,255,.7); font-size: .92rem; margin-bottom: 12px; }
.book__alt-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; color: #fff; border: 1px solid rgba(255,255,255,.25); transition: background .2s; }
.pill--booking:hover { background: var(--booking); color: #fff; }
.pill--airbnb:hover { background: var(--airbnb); color: #fff; }
.book__widget { background: var(--white); border-radius: 22px; padding: 10px; box-shadow: 0 30px 70px -25px rgba(0,0,0,.6); color: var(--ink); min-height: 200px; }
.book__widget [data-portineria-key] { max-width: 100%; }
.widget-fallback { padding: 30px; text-align: center; }
.widget-fallback h3 { font: 600 1.7rem var(--serif); margin: 0 0 8px; }
.widget-fallback .btn { margin: 6px 4px; }

/* ------------------------------------------------------------ footer */
.footer { background: #1f1a17; color: rgba(255,255,255,.7); padding: 70px 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.logo--light { color: #fff; }
.footer__claim { margin-top: 18px; color: rgba(255,255,255,.6); max-width: 300px; }
.footer h4 { color: #fff; font: 600 1.15rem var(--serif); margin: 6px 0 14px; }
.footer p { color: rgba(255,255,255,.7); }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #f0a77f; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__list li { display: flex; align-items: center; gap: 10px; }
.footer__list .ico { width: 16px; height: 16px; color: #f0a77f; }
.footer__small { font-size: .82rem; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding: 22px 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; color: rgba(255,255,255,.45); }
.footer__bottom a { color: rgba(255,255,255,.65); }

/* ------------------------------------------------------------ lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(20,16,14,.95); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: min(1200px, 90vw); text-align: center; }
.lightbox__fig img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__fig figcaption { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: 14px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ------------------------------------------------------------ pagine interne */
.page { padding: calc(var(--nav-h) + 60px) 0 90px; }
.page .wrap { max-width: 820px; }
.page h1 { font: 500 clamp(2.4rem, 5vw, 3.4rem)/1.1 var(--serif); margin: 0 0 10px; }
.page h2 { font: 600 1.6rem var(--serif); margin: 40px 0 10px; }
.page li { color: var(--ink-soft); margin-bottom: 6px; }
.page .muted { font-size: .9rem; }

.table-wrap { overflow-x: auto; margin: 16px 0; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .93rem; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--sabbia); font-weight: 600; }
.legal-table tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------ CTA mobile */
.mobile-cta { display: none; }

/* ------------------------------------------------------------ animazioni */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .bar span { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__bg, .hero__scroll span { animation: none; transform: none; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .facts__grid { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(3) { border-right: 0; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--line); }
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .book__grid { grid-template-columns: 1fr; }
  .book__widget { max-width: 560px; }
  .quotes { grid-auto-columns: calc((100% - 24px) / 2); }
}
@media (max-width: 1140px) {
  .nav__toggle { display: block; position: relative; z-index: 2; }
  .lang__menu { position: static; box-shadow: none; background: transparent; grid-template-columns: repeat(5, auto); gap: 4px; margin-top: 10px; min-width: 0; }
  .lang__menu a { font-size: 0; padding: 8px 12px; border: 1px solid var(--line); }
  .lang__menu a b { font-size: .85rem; width: auto; color: inherit; padding: 0; }
  .lang summary { display: none; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 22px; font-size: 1.3rem;
    background: var(--lino); color: var(--ink); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open, .is-home .nav.is-open { color: var(--ink); }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 920px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split__text { order: 0; }
  .scores { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  :root { --nav-h: 66px; }
  .logo__text { font-size: 1.3rem; }
  .logo__mark { width: 46px; height: 42px; border-radius: 12px; }
  .logo__mark img { width: 37px; }
  .hero__inner { padding-bottom: 90px; }
  .hero__scroll { display: none; }
  .rating-chip { flex: 1 1 100%; }
  .hero__cta .btn { flex: 1 1 100%; }
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact { border-right: 0 !important; border-top: 1px solid var(--line); padding: 18px 8px; }
  .fact:nth-child(-n+2) { border-top: 0; }
  .fact:last-child { grid-column: span 2; }
  .rooms { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .gallery__item:nth-child(4) { grid-row: span 1; }
  .amenities { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amenity { flex-direction: column; align-items: flex-start; padding: 16px; font-size: .88rem; }
  .info-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .info-card { padding: 20px 16px; }
  .score-card { padding: 22px; }
  .big-score { min-width: 74px; height: 74px; font-size: 1.8rem; }
  .big-score--airbnb { font-size: 1.5rem; }
  .bars li { grid-template-columns: 110px 1fr 34px; gap: 10px; }
  .quotes { grid-auto-columns: 88%; }
  .map { aspect-ratio: 1; }
  .book__widget { padding: 4px; border-radius: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .mobile-cta {
    display: block; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40; text-align: center;
    padding: 15px; border-radius: 999px; background: var(--cotto); color: #fff; font-weight: 700; box-shadow: 0 12px 30px -8px rgba(0,0,0,.45);
    transform: translateY(120px); transition: transform .35s;
  }
  .mobile-cta:hover { color: #fff; }
  .mobile-cta.is-shown { transform: none; }
}
