:root {
  --ottanio: #0f7f83;
  --ottanio-dark: #075f63;
  --ottanio-soft: #dff3f2;
  --cream: #fbfbf8;
  --sand: #fff8e8;
  --white: #ffffff;
  --text: #263238;
  --muted: #6f7d80;
  --gold: #caa75d;
  --shadow: 0 18px 50px rgba(0, 70, 75, .16);
  --radius: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', system-ui, sans-serif; background: var(--cream); color: var(--text); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Pacifico', cursive; font-weight: 400; color: var(--ottanio-dark); line-height: 1.18; }

.site-header { min-height: auto; background: transparent; position: relative; }
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(1160px, calc(100% - 28px)); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px; background: rgba(255, 255, 255, .93); border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; box-shadow: 0 10px 28px rgba(0, 70, 75, .16); backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ottanio-dark); white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ottanio); color: #fff; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { padding: 9px 11px; border-radius: 999px; color: var(--ottanio-dark); font-size: 12px; font-weight: 800; }
.nav-links a:hover, .nav-links .nav-cta { background: var(--ottanio); color: #fff; }
.nav-toggle { display: none; border: 0; background: var(--ottanio); color: #fff; border-radius: 999px; width: 40px; height: 40px; font-size: 22px; }

.hero { min-height: 100vh; display: flex; align-items: flex-end; padding: 140px 18px 72px; position: relative; overflow: hidden; background: #0f7f83; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 80, 85, .18), rgba(0, 80, 85, .72)); pointer-events: none; }
.hero-carousel { position: absolute; inset: 0; z-index: 0; background: #0f7f83; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.2s ease, transform 7s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-content { width: min(1120px, 100%); margin: 0 auto; color: #fff; position: relative; z-index: 2; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--ottanio-dark); background: var(--ottanio-soft); border-radius: 999px; padding: 7px 14px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hero .eyebrow { background: rgba(255, 255, 255, .9); color: var(--ottanio-dark); margin-bottom: 16px; }
.hero h1 { color: #fff; font-size: clamp(56px, 10vw, 116px); text-shadow: 0 8px 28px rgba(0,0,0,.35); }
.hero-text { max-width: 760px; margin: 18px 0 26px; font-size: clamp(17px, 2vw, 23px); text-shadow: 0 4px 18px rgba(0,0,0,.35); }
.hero-actions, .contact-actions-main, .review-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-actions { justify-content: flex-start; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-badges span { background: rgba(255,255,255,.9); color: var(--ottanio-dark); border-radius: 999px; padding: 8px 13px; font-size: 13px; font-weight: 800; }

.btn { display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; border-radius: 999px; padding: 13px 20px; font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 14px; text-align: center; transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--ottanio); color: #fff; box-shadow: 0 12px 30px rgba(0, 80, 85, .22); }
.btn.secondary { background: #fff; color: var(--ottanio-dark); border: 1px solid rgba(15,127,131,.24); }
.hero .btn.secondary { border: 0; }
.btn.full { width: 100%; }

.hero .btn .material-symbols-outlined { font-size: 18px; vertical-align: middle; margin-right: 4px; }

.hero-badges span .material-symbols-outlined { font-size: 14px; vertical-align: middle; margin-right: 3px; }

main { width: min(1160px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 70px; }
.section { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 34px; margin: 24px 0; border: 1px solid rgba(176,136,80,.16); }
.section-heading { margin-bottom: 22px; }
.section-heading.centered { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.section-heading h2 { margin-top: 12px; font-size: clamp(34px, 5vw, 56px); }
.section-heading p { color: var(--muted); margin-top: 10px; }

.intro-grid, .location-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; align-items: start; }
.intro-grid p { color: var(--muted); font-size: 17px; margin-bottom: 12px; }
.highlight-card, .map-card, .request-card { background: var(--ottanio-soft); border-radius: 24px; padding: 22px; }
.highlight-card strong, .map-card h3, .request-card h3, .location-grid h3 { display: block; color: var(--ottanio-dark); font-size: 25px; margin-bottom: 10px; }
.highlight-card ul, .clean-list { list-style: none; display: grid; gap: 10px; }
.highlight-card li, .clean-list li { background: rgba(255,255,255,.72); border-radius: 14px; padding: 10px 12px; }

.calm-section { background: linear-gradient(135deg, #ffffff 0%, #fff8e8 48%, var(--ottanio-soft) 100%); overflow: hidden; }
.calm-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; }
.calm-copy h2 { margin-top: 12px; font-size: clamp(36px, 5vw, 58px); }
.calm-copy p { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 700px; }
.calm-points { display: grid; gap: 12px; }
.calm-points article { display: grid; grid-template-columns: 48px 1fr; gap: 6px 12px; align-items: start; background: rgba(255,255,255,.74); border: 1px solid rgba(15,127,131,.14); border-radius: 22px; padding: 18px; box-shadow: 0 10px 26px rgba(0,80,85,.08); }
.calm-points span { grid-row: span 2; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--ottanio); color: #fff; font-size: 24px; }
.calm-points strong { color: var(--ottanio-dark); font-size: 20px; line-height: 1.2; }
.calm-points p { color: var(--muted); font-size: 14px; line-height: 1.45; }


/* Sezione rifugio + fresco unita */
.refuge-section {
  background: linear-gradient(135deg, #ffffff 0%, #fff8e8 48%, var(--ottanio-soft) 100%);
}

.refuge-section .calm-copy p strong {
  color: var(--ottanio-dark);
}

.refuge-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 10px;
  margin-top: 20px;
  max-width: 720px;
}

.refuge-chips > span {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,.88);
  color: var(--ottanio-dark);
  border: 1px solid rgba(15,127,131,.16);
  border-radius: 18px;
  padding: 11px 12px;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  line-height: 1.25;
  box-shadow: 0 8px 18px rgba(0,80,85,.07);
}

.refuge-chips > span > .material-symbols-outlined {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ottanio-soft);
  color: var(--ottanio-dark);
  font-size: 17px;
}

@media (max-width: 720px) {
  .refuge-chips {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 16px;
  }

  .refuge-chips > span {
    min-height: 48px;
    padding: 9px 8px;
    font-size: 11px;
    border-radius: 16px;
  }

  .refuge-chips > span > .material-symbols-outlined {
    width: 23px;
    height: 23px;
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .refuge-chips {
    grid-template-columns: repeat(2, 1fr);
  }
}

.guide-section { background: linear-gradient(135deg, #ffffff 0%, var(--ottanio-soft) 58%, #fff8e8 100%); overflow: hidden; }
.guide-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 26px; align-items: center; }
.guide-copy h2 { margin-top: 12px; font-size: clamp(36px, 5vw, 58px); }
.guide-copy p { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 680px; }
.guide-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.guide-actions span { color: var(--ottanio-dark); font-size: 13px; font-weight: 800; max-width: 280px; }
.guide-preview { display: flex; justify-content: center; }
.phone-mockup { width: min(100%, 360px); border-radius: 34px; padding: 14px; background: #173b43; box-shadow: 0 22px 52px rgba(0,70,75,.24); transform: rotate(2deg); }
.phone-top { width: 90px; height: 5px; margin: 0 auto 12px; border-radius: 999px; background: rgba(255,255,255,.55); }
.guide-app { background: #fbfbf8; border-radius: 24px; padding: 18px; min-height: 430px; }
.guide-label { display: inline-flex; padding: 6px 10px; border-radius: 999px; background: var(--ottanio-soft); color: var(--ottanio-dark); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.guide-app h3 { font-size: 34px; margin: 12px 0; }
.guide-search { border: 1px solid rgba(15,127,131,.18); background: #fff; border-radius: 16px; padding: 11px 12px; color: var(--muted); font-size: 12px; font-weight: 700; }
.guide-preview-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
.guide-preview-grid article { background: #fff; border: 1px solid rgba(15,127,131,.12); border-radius: 16px; padding: 12px; min-height: 104px; }
.guide-preview-grid span { display: block; font-size: 24px; margin-bottom: 8px; }
.guide-preview-grid strong { display: block; color: var(--ottanio-dark); font-size: 13px; line-height: 1.25; }
.guide-preview-grid p { color: var(--muted); font-size: 11px; margin-top: 3px; line-height: 1.35; }
.locked-tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px; border-radius: 16px; background: var(--sand); color: var(--ottanio-dark); }
.locked-tip span { font-size: 20px; }
.locked-tip p { font-size: 12px; line-height: 1.45; margin: 0; color: var(--ottanio-dark); font-weight: 700; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { background: linear-gradient(180deg, var(--ottanio-soft), #fff); border-radius: 24px; padding: 22px; text-align: center; border: 1px solid rgba(15,127,131,.12); }
.stat-value { display: block; color: var(--ottanio-dark); font-weight: 900; font-size: 28px; }
.stat-label { color: var(--gold); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.stat-card p { margin-top: 8px; color: var(--muted); font-size: 13px; }

.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-card, .sleep-card, .info-card { background: var(--ottanio-soft); border-radius: 20px; padding: 16px; box-shadow: 0 8px 20px rgba(0,80,85,.07); }
.feature-card span, .sleep-card span, .info-card span { font-size: 28px; }
.feature-card h3, .sleep-card h3, .info-card h3 { font-size: 22px; margin: 8px 0 4px; }
.feature-card p, .sleep-card p, .info-card p { color: var(--muted); font-size: 14px; }
.sleep-grid, .info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sleep-card { background: var(--sand); }
.info-card { background: #fff; border: 1px solid rgba(15,127,131,.12); }

.gallery-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 14px; }
.gallery-trigger { border: 0; padding: 0; background: none; cursor: pointer; border-radius: 22px; overflow: hidden; position: relative; }
.gallery-trigger::after { content: "🔍"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; background: rgba(0,0,0,.34); color: #fff; opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.gallery-trigger:hover::after, .gallery-trigger:focus-visible::after { opacity: 1; }
.gallery-grid img { width: 100%; height: 230px; object-fit: cover; border-radius: 22px; box-shadow: 0 12px 28px rgba(0,70,75,.12); }
.gallery-grid .gallery-trigger img { border-radius: 0; box-shadow: none; }
.gallery-grid button:first-child { grid-row: span 2; }
.gallery-grid button:first-child img { height: 474px; }

.availability-section { background: linear-gradient(180deg,#ffffff,#fffaf0); }
.custom-calendar-card { background: var(--ottanio-soft); border-radius: 28px; padding: 22px; margin-bottom: 22px; box-shadow: 0 12px 30px rgba(0,70,75,.08); }
.calendar-head { display: grid; grid-template-columns: 54px 1fr 54px; align-items: center; gap: 12px; text-align: center; }
.calendar-nav-btn { width: 54px; height: 54px; border-radius: 50%; border: 0; background: #fff; color: var(--ottanio-dark); font-size: 34px; font-weight: 700; cursor: pointer; box-shadow: 0 8px 18px rgba(0,70,75,.08); }
.calendar-title-wrap h3 { font-size: 34px; }
.mini-label { display: inline-flex; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; color: var(--ottanio-dark); opacity: .75; }
.calendar-tools { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 18px 0; }
.chip-btn { border: 0; background: #fff; color: var(--ottanio-dark); border-radius: 999px; padding: 10px 14px; font-weight: 900; cursor: pointer; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13px; font-weight: 700; }
.calendar-legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 11px; height: 11px; display: inline-block; border-radius: 50%; }
.dot.free { background: #ffffff; border: 2px solid var(--ottanio); }
.dot.busy { background: #9d5b5b; }
.dot.past { background: #c9d2d1; }
.calendar-status { background: #fff; border-radius: 16px; padding: 12px 14px; margin-bottom: 14px; color: var(--ottanio-dark); font-size: 14px; font-weight: 800; }
.weekday-row, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.weekday-row { margin-bottom: 8px; color: var(--ottanio-dark); font-weight: 900; font-size: 12px; text-align: center; text-transform: uppercase; }
.day-cell { min-height: 82px; border: 0; border-radius: 18px; padding: 9px; background: #fff; color: var(--ottanio-dark); text-align: left; cursor: pointer; box-shadow: 0 8px 18px rgba(0,70,75,.06); }
.day-cell.empty { background: transparent; box-shadow: none; }
.day-cell.free { border: 2px solid rgba(15,127,131,.22); }
.day-cell.busy { background: #9d5b5b; color: #fff; cursor: not-allowed; }
.day-cell.past { background: #eef3f2; color: #9aa7a8; cursor: not-allowed; }
.day-cell.selected { outline: 4px solid rgba(202,167,93,.42); transform: translateY(-2px); }
.day-number { display: block; font-weight: 900; font-size: 18px; }
.day-state { display: block; font-size: 11px; font-weight: 800; margin-top: 12px; }
.calendar-note { margin-top: 14px; color: #435357; font-size: 14px; line-height: 1.55; }

.request-card { background: var(--sand); max-width: 820px; margin: 0 auto; }
.request-card label { display: block; margin: 12px 0 6px; color: var(--ottanio-dark); font-size: 13px; font-weight: 900; }
.request-card input, .request-card select, .request-card textarea { width: 100%; border: 1px solid rgba(15,127,131,.24); border-radius: 16px; padding: 12px 13px; font: inherit; font-size: 14px; color: var(--text); background: #fff; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.small-note { color: var(--muted); font-size: 13px; margin-top: 12px; }
.hidden { display: none !important; }
.children-box { background: rgba(255,255,255,.65); border-radius: 18px; padding: 14px; margin-top: 14px; border: 1px solid rgba(15,127,131,.14); }
.children-title { color: var(--ottanio-dark); font-weight: 900; margin-bottom: 6px; }
.children-ages { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cot-box { margin-top: 12px; }
.checkbox-line { display: flex !important; gap: 10px; align-items: flex-start; background: #fff; border-radius: 14px; padding: 12px; }
.checkbox-line input { width: auto; margin-top: 3px; }

.location-grid article:first-child { background: var(--ottanio-soft); border-radius: 24px; padding: 22px; }
.map-embed { width: 100%; overflow: hidden; border-radius: 18px; border: 1px solid rgba(15,127,131,.16); background: #fff; margin: 10px 0 12px; aspect-ratio: 16 / 10; box-shadow: 0 8px 20px rgba(0,80,85,.08); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.review-summary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 16px; }
.review-score-card { border-radius: 24px; padding: 24px; text-align: center; color: #fff; }
.review-score-card.airbnb { background: var(--ottanio); }
.review-score-card.booking { background: #1a3a4a; }
.review-score-card .platform { display: block; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; opacity: .85; }
.review-score-card strong { display: block; font-size: 42px; line-height: 1; margin: 10px 0; }
.review-score-card p { opacity: .92; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: var(--sand); border-radius: 24px; padding: 22px; border: 1px solid rgba(202,167,93,.25); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 18px; margin-bottom: 10px; }
.review-card p { color: var(--text); }
.review-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; margin-top: 14px; }
.review-links { margin-top: 18px; }

.footer { background: #1a3a4a; color: #fff; text-align: center; padding: 30px 18px; }
.footer p { margin: 4px 0; }
.floating-whatsapp { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #25D366; color: #fff; font-size: 27px; box-shadow: 0 14px 34px rgba(0,80,85,.24); }
.floating-whatsapp .material-symbols-outlined { font-size: 26px; }

.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  animation: scrollBounce 2s ease-in-out infinite;
  transition: background .2s;
}

.scroll-hint:hover { background: rgba(255,255,255,.32); }

.scroll-hint .material-symbols-outlined { font-size: 22px; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

.brand-mark .material-symbols-outlined { font-size: 20px; }
.nav-toggle .material-symbols-outlined { font-size: 22px; }

.feature-card span .material-symbols-outlined { font-size: inherit; }
.sleep-card span .material-symbols-outlined { font-size: inherit; }
.info-card span .material-symbols-outlined { font-size: inherit; }
.calm-points span .material-symbols-outlined { font-size: inherit; }
.guide-preview-grid span .material-symbols-outlined { font-size: inherit; }
.locked-tip span .material-symbols-outlined { font-size: 20px; }

.contact-actions-main .btn .material-symbols-outlined { font-size: 18px; vertical-align: middle; margin-right: 4px; }

@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sleep-grid, .info-grid, .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav { border-radius: 26px; align-items: flex-start; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: rgba(255,255,255,.98); border-radius: 24px; padding: 12px; box-shadow: 0 12px 30px rgba(0,70,75,.14); }
  .nav-links.show { display: flex; }
  .nav-links a { text-align: center; font-size: 14px; }
  main { width: min(100% - 20px, 1120px); }
  .section { padding: 22px; border-radius: 24px; }
  .intro-grid, .location-grid, .form-row, .review-summary-grid { grid-template-columns: 1fr; }
  .calm-layout { grid-template-columns: 1fr; gap: 16px; }
  .calm-copy p { font-size: 14px; }
  .calm-points { gap: 10px; }
  .calm-points article { grid-template-columns: 40px 1fr; padding: 14px; border-radius: 18px; }
  .calm-points span { width: 40px; height: 40px; font-size: 20px; }
  .calm-points strong { font-size: 17px; }
  .calm-points p { font-size: 12px; }
  .guide-layout { grid-template-columns: 1fr; gap: 18px; }
  .guide-copy p { font-size: 14px; }
  .guide-actions { align-items: stretch; }
  .guide-actions .btn { width: 100%; }
  .guide-actions span { max-width: none; text-align: center; }
  .phone-mockup { max-width: 320px; transform: none; }
  .guide-app { min-height: auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-grid img, .gallery-grid button:first-child img { height: 180px; }
  .gallery-grid button:first-child { grid-row: auto; }
  .hero-actions, .contact-actions-main { flex-direction: column; }
  .hero-actions .btn, .contact-actions-main .btn { width: 100%; }
  .calendar-head { grid-template-columns: 46px 1fr 46px; }
  .calendar-nav-btn { width: 46px; height: 46px; font-size: 30px; }
  .weekday-row, .calendar-grid { gap: 5px; }
  .day-cell { min-height: 64px; border-radius: 13px; padding: 7px; }
  .day-number { font-size: 15px; }
  .day-state { font-size: 9px; margin-top: 6px; }
  .children-ages { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .brand span:last-child { font-size: 14px; }
  .section-heading h2 { font-size: 34px; }
  .gallery-grid img, .gallery-grid button:first-child img { height: 145px; }
  .feature-card, .highlight-card, .map-card, .request-card, .sleep-card, .info-card { padding: 18px; border-radius: 20px; }
  .custom-calendar-card { padding: 14px; border-radius: 22px; }
  .calendar-title-wrap h3 { font-size: 26px; }
  .calendar-tools { align-items: stretch; }
  .chip-btn { width: 100%; }
  .calendar-legend { justify-content: center; width: 100%; }
  .day-cell { min-height: 56px; }
  .day-state { display: none; }
  .review-score-card strong { font-size: 34px; }
}


/* ==========================================================
   OTTIMIZZAZIONE MOBILE + GRIGLIE COMPATTE
   ========================================================== */

.guest-limit-note {
  margin-top: -2px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(15,127,131,.12);
  border-radius: 14px;
  padding: 10px 12px;
}

@media (max-width: 860px) {
  body {
    font-size: 13px;
    line-height: 1.50;
  }

  main {
    width: min(100% - 16px, 1120px);
    padding-top: 18px;
  }

  .section {
    padding: 18px;
    margin: 16px 0;
    border-radius: 20px;
  }

  .section-heading {
    margin-bottom: 16px;
  }

  .section-heading h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .section-heading p {
    font-size: 13px;
  }

  .section-kicker,
  .eyebrow {
    font-size: 10px;
    padding: 6px 11px;
  }

  .calm-copy h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .btn {
    min-height: 44px;
    padding: 11px 15px;
    font-size: 13px;
  }

  .stats-grid,
  .features-grid,
  .sleep-grid,
  .info-grid,
  .review-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .feature-card,
  .sleep-card,
  .info-card,
  .stat-card,
  .review-score-card {
    padding: 13px;
    border-radius: 17px;
  }

  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-card span,
  .sleep-card span,
  .info-card span {
    font-size: 24px;
  }

  .feature-card h3,
  .sleep-card h3,
  .info-card h3 {
    font-size: 18px;
    margin: 7px 0 5px;
    line-height: 1.14;
  }

  .feature-card p,
  .sleep-card p,
  .info-card p,
  .stat-card p,
  .review-score-card p {
    font-size: 12px;
    line-height: 1.42;
  }

  .stat-value {
    font-size: 22px;
  }

  .stat-label {
    font-size: 10px;
  }

  .intro-grid,
  .location-grid {
    gap: 12px;
  }

  .intro-grid p {
    font-size: 14px;
  }

  .highlight-card,
  .map-card,
  .request-card {
    padding: 16px;
    border-radius: 18px;
  }

  .highlight-card strong,
  .map-card h3,
  .request-card h3,
  .location-grid h3 {
    font-size: 21px;
  }

  .highlight-card li,
  .clean-list li {
    padding: 8px 10px;
    font-size: 13px;
  }

  .custom-calendar-card {
    padding: 12px;
    border-radius: 18px;
  }

  .calendar-head {
    grid-template-columns: 42px 1fr 42px;
    gap: 8px;
  }

  .calendar-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 26px;
  }

  .calendar-title-wrap h3 {
    font-size: 24px;
  }

  .calendar-status {
    font-size: 12px;
    padding: 10px 11px;
  }

  .calendar-tools {
    margin: 12px 0;
    gap: 8px;
  }

  .chip-btn {
    padding: 9px 12px;
    font-size: 12px;
  }

  .calendar-legend {
    font-size: 11px;
    gap: 8px;
  }

  .weekday-row,
  .calendar-grid {
    gap: 4px;
  }

  .weekday-row {
    font-size: 10px;
  }

  .day-cell {
    min-height: 50px;
    border-radius: 11px;
    padding: 6px 4px;
    text-align: center;
  }

  .day-number {
    font-size: 14px;
  }

  .day-state {
    display: none;
  }

  .calendar-note,
  .small-note,
  .guest-limit-note {
    font-size: 12px;
  }

  .request-card input,
  .request-card select,
  .request-card textarea {
    font-size: 13px;
    padding: 10px 11px;
    border-radius: 13px;
  }

  .request-card label {
    font-size: 12px;
    margin-top: 10px;
  }

  .children-ages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid img,
  .gallery-grid button:first-child img {
    height: 150px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card {
    padding: 16px;
    border-radius: 18px;
  }

  .review-card p {
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .nav {
    top: 8px;
    width: calc(100% - 16px);
    padding: 9px 10px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }
  .brand-mark .material-symbols-outlined { font-size: 18px; }

  .brand span:last-child {
    font-size: 13px;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
  }
  .nav-toggle .material-symbols-outlined { font-size: 20px; }

  .section {
    padding: 14px;
    border-radius: 18px;
  }

  .section-heading h2 {
    font-size: 26px;
  }

  .guide-copy h2 {
    font-size: 27px;
  }

  .guide-copy p {
    font-size: 13px;
  }

  .phone-mockup {
    max-width: 100%;
    padding: 10px;
    border-radius: 28px;
  }

  .guide-app {
    padding: 14px;
    border-radius: 20px;
  }

  .guide-app h3 {
    font-size: 26px;
  }

  .guide-preview-grid {
    gap: 8px;
  }

  .guide-preview-grid article {
    padding: 10px;
    min-height: 94px;
    border-radius: 14px;
  }

  .guide-preview-grid span {
    font-size: 21px;
  }

  .guide-preview-grid strong {
    font-size: 12px;
  }

  .guide-preview-grid p,
  .locked-tip p {
    font-size: 10.5px;
  }

  .stats-grid,
  .features-grid,
  .sleep-grid,
  .info-grid,
  .review-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .feature-card,
  .sleep-card,
  .info-card,
  .stat-card,
  .review-score-card {
    padding: 11px;
    border-radius: 15px;
  }

  .feature-card span,
  .sleep-card span,
  .info-card span {
    font-size: 22px;
  }

  .feature-card h3,
  .sleep-card h3,
  .info-card h3 {
    font-size: 16px;
  }

  .feature-card p,
  .sleep-card p,
  .info-card p,
  .stat-card p,
  .review-score-card p {
    font-size: 11.5px;
  }

  .review-score-card strong {
    font-size: 28px;
  }

  .custom-calendar-card {
    padding: 10px;
  }

  .calendar-head {
    grid-template-columns: 36px 1fr 36px;
  }

  .calendar-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 23px;
  }

  .calendar-title-wrap h3 {
    font-size: 21px;
  }

  .mini-label {
    font-size: 9px;
  }

  .day-cell {
    min-height: 42px;
    border-radius: 9px;
    padding: 5px 2px;
  }

  .day-number {
    font-size: 13px;
  }

  .form-row,
  .children-ages {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .gallery-grid button:first-child img {
    height: 126px;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    right: 14px;
    bottom: 14px;
  }
  .floating-whatsapp .material-symbols-outlined { font-size: 24px; }
}

@media (max-width: 380px) {
  .feature-card h3,
  .sleep-card h3,
  .info-card h3 {
    font-size: 15px;
  }

  .feature-card p,
  .sleep-card p,
  .info-card p {
    font-size: 11px;
  }

  .day-cell {
    min-height: 38px;
  }
}


/* ==========================================================
   HERO CAROSELLO - FULLSCREEN MOBILE
   ========================================================== */

@media (max-width: 860px) {
  .site-header {
    min-height: auto;
    background: transparent;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 80px 20px 60px;
    margin: 0;
    align-items: center;
  }

  .hero::after {
    background: linear-gradient(180deg,
      rgba(0, 80, 85, .12) 0%,
      rgba(0, 80, 85, .30) 50%,
      rgba(0, 80, 85, .55) 100%);
  }

  .hero-content {
    text-align: center;
  }

  .hero .eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(40px, 11vw, 56px);
    text-shadow: 0 6px 24px rgba(0,0,0,.36);
    margin-bottom: 6px;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 22px;
    gap: 10px;
  }

  .hero-actions .btn {
    min-height: 48px;
    padding: 13px 24px;
    font-size: 14px;
  }

  .hero-badges {
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
  }

  .hero-badges span {
    font-size: 11px;
    padding: 7px 11px;
  }

  .hero-badges span .material-symbols-outlined {
    font-size: 15px;
  }

  .scroll-hint {
    bottom: 18px;
    width: 32px;
    height: 32px;
  }

  .scroll-hint .material-symbols-outlined {
    font-size: 20px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 70px 16px 50px;
  }

  .hero::after {
    background: linear-gradient(180deg,
      rgba(0, 80, 85, .10) 0%,
      rgba(0, 80, 85, .28) 50%,
      rgba(0, 80, 85, .58) 100%);
  }

  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-actions {
    margin-top: 18px;
    gap: 8px;
  }

  .hero-actions .btn {
    min-height: 46px;
    padding: 12px 20px;
    font-size: 13px;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-top: 16px;
  }

  .hero-badges span {
    text-align: center;
    font-size: 10px;
    padding: 7px 10px;
  }

  .hero-badges span .material-symbols-outlined {
    font-size: 14px;
  }

  .hero-slide {
    object-position: center center;
  }

  .scroll-hint {
    bottom: 14px;
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 380px) {
  .hero {
    padding: 60px 12px 42px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-actions {
    margin-top: 16px;
  }

  .hero-actions .btn {
    min-height: 42px;
    padding: 11px 18px;
    font-size: 13px;
  }

  .hero-badges {
    gap: 5px;
    margin-top: 14px;
  }

  .hero-badges span {
    font-size: 9px;
    padding: 6px 8px;
  }

  .hero-badges span .material-symbols-outlined {
    font-size: 13px;
  }
}

/* ==========================================================
   VERSIONE PIU PULITA: TESTI BREVI, SERVIZI COMPATTI, MAPPA
   ========================================================== */

.intro-grid p,
.calm-copy p,
.guide-copy p {
  max-width: 660px;
}

#servizi .section-heading {
  margin-bottom: 18px;
}

#servizi .section-heading p {
  font-weight: 700;
  color: var(--ottanio-dark);
}

#servizi .feature-card {
  min-height: 124px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#servizi .feature-card h3 {
  font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

#servizi .feature-card p {
  line-height: 1.35;
}

.map-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 12px;
}

@media (max-width: 860px) {
  .intro-grid p,
  .calm-copy p,
  .guide-copy p {
    font-size: 13.5px;
    line-height: 1.45;
  }

  #servizi .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  #servizi .feature-card {
    min-height: 96px;
    padding: 11px;
    border-radius: 15px;
  }

  #servizi .feature-card span {
    font-size: 21px;
    line-height: 1;
  }

  #servizi .feature-card h3 {
    font-size: 13.5px;
    margin: 6px 0 3px;
  }

  #servizi .feature-card p {
    font-size: 11px;
    line-height: 1.28;
  }

  .map-embed {
    aspect-ratio: 4 / 3;
    border-radius: 15px;
  }
}

@media (max-width: 380px) {
  #servizi .feature-card {
    min-height: 88px;
  }

  #servizi .feature-card h3 {
    font-size: 13px;
  }
}

/* ==========================================================
   LIGHTBOX GALLERIA FOTO
   ========================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  -webkit-tap-highlight-color: transparent;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  transition: transform .3s ease, opacity .3s ease;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 201;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background .2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,.30);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  z-index: 201;
  transform: translateY(-50%);
  width: 48px;
  height: 60px;
  border: 0;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background .2s;
  border-radius: 10px;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,.28);
}

.lightbox-counter {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  font-weight: 700;
  background: rgba(0,0,0,.50);
  padding: 6px 14px;
  border-radius: 999px;
  pointer-events: none;
}

@media (max-width: 520px) {
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 48px;
    font-size: 34px;
  }

  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }

  .lightbox-close {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .lightbox-counter {
    bottom: 12px;
    font-size: 11px;
    padding: 5px 11px;
  }

  .lightbox-img {
    max-width: 96vw;
    max-height: 80vh;
    border-radius: 8px;
  }
}


/* SEZIONE SPAZI INTERATTIVA */
.sleep-section {
  background: linear-gradient(135deg, #ffffff 0%, #fff8e8 56%, var(--ottanio-soft) 100%);
}

.spaces-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.space-card {
  border: 0;
  padding: 0;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 26px rgba(0,80,85,.10);
  transition: transform .18s ease, box-shadow .18s ease;
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text);
}

.space-card:hover,
.space-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0,80,85,.16);
  outline: none;
}

.space-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.space-card-content {
  padding: 16px;
}

.space-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ottanio);
  color: #fff;
  margin-bottom: 10px;
}

.space-icon .material-symbols-outlined {
  font-size: 23px;
}

.space-card h3 {
  font-size: 24px;
  margin: 0 0 6px;
}

.space-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.space-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.space-tags span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 9px;
  background: var(--ottanio-soft);
  color: var(--ottanio-dark);
  font-size: 11px;
  font-weight: 900;
}

.space-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(9, 42, 46, .72);
  backdrop-filter: blur(8px);
}

.space-modal.open {
  display: flex;
}

.space-dialog {
  width: min(960px, 100%);
  max-height: min(92vh, 820px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0,0,0,.32);
  position: relative;
}

.space-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--ottanio-dark);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
}

.space-modal-gallery {
  min-height: 500px;
  position: relative;
  background: var(--ottanio-soft);
}

.space-modal-gallery img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.space-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.90);
  color: var(--ottanio-dark);
  font-size: 38px;
  cursor: pointer;
  z-index: 2;
}

.space-modal-nav.prev { left: 10px; }
.space-modal-nav.next { right: 10px; }

.space-modal-counter {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  background: rgba(0,0,0,.55);
  color: #fff;
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 12px;
  font-weight: 800;
}

.space-modal-content {
  padding: 34px;
  overflow: auto;
}

.space-modal-content h3 {
  font-size: clamp(34px, 4vw, 52px);
  margin: 14px 0 12px;
}

.space-modal-content p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.space-modal-list {
  display: grid;
  gap: 10px;
}

.space-modal-list div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--ottanio-soft);
  border-radius: 16px;
  padding: 12px;
  color: var(--text);
  font-size: 14px;
}

.space-modal-list .material-symbols-outlined {
  color: var(--ottanio-dark);
  font-size: 21px;
  flex: 0 0 auto;
}

@media (max-width: 920px) {
  .spaces-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .space-dialog {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .space-modal-gallery,
  .space-modal-gallery img {
    min-height: 310px;
    height: 310px;
  }
}

@media (max-width: 520px) {
  .sleep-section .section-heading p {
    font-size: 13px;
  }

  .spaces-grid {
    gap: 10px;
  }

  .space-card {
    border-radius: 18px;
  }

  .space-card img {
    height: 112px;
  }

  .space-card-content {
    padding: 11px;
  }

  .space-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 7px;
  }

  .space-icon .material-symbols-outlined {
    font-size: 19px;
  }

  .space-card h3 {
    font-size: 17px;
    line-height: 1.2;
  }

  .space-card p {
    font-size: 11px;
  }

  .space-tags span {
    font-size: 10px;
    padding: 5px 7px;
  }

  .space-modal {
    padding: 10px;
  }

  .space-dialog {
    border-radius: 22px;
    max-height: 94vh;
  }

  .space-modal-gallery,
  .space-modal-gallery img {
    min-height: 260px;
    height: 260px;
  }

  .space-modal-content {
    padding: 22px;
  }

  .space-modal-content h3 {
    font-size: 34px;
  }

  .space-modal-content p {
    font-size: 14px;
  }

  .space-modal-list div {
    font-size: 13px;
    padding: 10px;
  }
}
