/* =========================================================
   App Ospiti — stili specifici (mobile-first)
   ========================================================= */

.app-shell {
  max-width: 640px;
  margin: 0 auto;
  min-height: 100dvh;
  padding-bottom: calc(100px + env(safe-area-inset-bottom));
}
@media (min-width: 1024px) {
  .app-shell { max-width: 1120px; padding-bottom: 60px; }
}

/* ---------- Header sticky glass ---------- */
.app-header {
  padding: calc(18px + env(safe-area-inset-top)) 22px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, rgba(250, 248, 243, 0.95) 0%, rgba(250, 248, 243, 0.85) 100%);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.app-header.scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: 0 4px 20px rgba(22, 35, 63, 0.05);
}

/* ---------- Search bar ---------- */
.search-bar {
  position: sticky;
  top: calc(72px + env(safe-area-inset-top));
  z-index: 45;
  padding: 8px 20px 14px;
  background: linear-gradient(180deg, rgba(250, 248, 243, 0.96) 0%, rgba(250, 248, 243, 0.86) 100%);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  display: flex;
  gap: 10px;
  align-items: center;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.search-bar.expanded {
  position: fixed;
  top: env(safe-area-inset-top);
  left: 0;
  right: 0;
  z-index: 200;
  padding: 14px 20px;
  border-bottom-color: var(--border-soft);
  box-shadow: 0 6px 24px rgba(22, 35, 63, 0.08);
}
.search-input-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--ink-mute);
  pointer-events: none;
  z-index: 2;
}
#search-input {
  width: 100%;
  min-height: 46px;
  padding: 12px 40px 12px 42px;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#search-input::placeholder { color: var(--ink-mute); }
#search-input::-webkit-search-cancel-button,
#search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
#search-input:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(185, 138, 53, 0.15);
}
.search-clear {
  position: absolute;
  right: 12px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.search-clear:hover { background: var(--border); color: var(--navy-900); }
.search-cancel {
  background: none;
  border: none;
  color: var(--gold-600);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  padding: 8px 4px;
  cursor: pointer;
  white-space: nowrap;
}
.search-cancel:hover { color: var(--gold-700); }

/* Pannello ricerca full-screen */
.search-panel {
  position: fixed;
  top: calc(74px + env(safe-area-inset-top));
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 190;
  background: var(--cream-50);
  overflow-y: auto;
  padding: 20px;
  animation: fadeInUp 0.22s var(--ease-out);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.search-suggestions {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.suggest-block h4 {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 10px;
}
.suggest-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.suggest-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  min-height: 42px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  color: var(--navy-900);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s var(--ease-out);
}
.suggest-chip:hover { border-color: var(--gold-500); background: var(--gold-50); transform: translateY(-1px); }
.suggest-chip svg { width: 14px; height: 14px; color: var(--gold-600); }
.suggest-recent-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.suggest-recent-item:hover { border-color: var(--gold-500); transform: translateX(2px); }
.suggest-recent-item svg { width: 16px; height: 16px; color: var(--ink-mute); flex-shrink: 0; }
.suggest-recent-item .recent-remove {
  margin-left: auto;
  color: var(--ink-mute);
  padding: 4px;
}

/* Risultati ricerca */
.search-results { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.search-result-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  align-items: center;
}
.search-result-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.search-result-thumb {
  width: 74px;
  height: 74px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  position: relative;
}
.search-result-thumb.no-photo { background: var(--cream-100); }
.search-result-body { flex: 1; min-width: 0; }
.search-result-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 3px;
  color: var(--navy-900);
}
.search-result-body .search-cat {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 4px;
}
.search-result-body .search-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.search-result-price {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy-900);
  white-space: nowrap;
}
.hl { background: linear-gradient(180deg, transparent 55%, rgba(212, 160, 74, 0.4) 55%); color: var(--gold-700); font-weight: 700; padding: 0 1px; }
.search-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-mute);
}
.search-empty svg { width: 42px; height: 42px; color: var(--gold-400); margin: 0 auto 12px; }
.search-empty h3 { font-size: 18px; margin-bottom: 4px; }
.search-empty p { font-size: 14px; }

/* ---------- Skeleton loader ---------- */
.skel-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border-soft);
  padding: 0;
}
.skel-visual, .skel-line {
  background: linear-gradient(90deg, var(--cream-100) 0%, var(--cream-200) 50%, var(--cream-100) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 4px;
}
.skel-visual { height: 200px; border-radius: 0; }
.skel-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.skel-line { height: 14px; }
.skel-line.w-70 { width: 70%; }
.skel-line.w-40 { width: 40%; }
.skel-line.w-100 { width: 100%; }
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ---------- Staggered card fade-in ---------- */
.svc-card {
  animation: cardIn 0.4s var(--ease-out) both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.svc-card:nth-child(1) { animation-delay: 0ms; }
.svc-card:nth-child(2) { animation-delay: 60ms; }
.svc-card:nth-child(3) { animation-delay: 120ms; }
.svc-card:nth-child(4) { animation-delay: 180ms; }
.svc-card:nth-child(5) { animation-delay: 240ms; }
.svc-card:nth-child(6) { animation-delay: 300ms; }
.svc-card:nth-child(n+7) { animation-delay: 360ms; }

/* ---------- Scroll progress bar sul modal ---------- */
.modal-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-700));
  width: 0;
  z-index: 10;
  transition: width 0.1s linear;
  border-radius: 0 3px 3px 0;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: auto; filter: drop-shadow(0 2px 6px rgba(22, 35, 63, 0.22)); }
.brand .eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: block;
  margin-bottom: 1px;
}
.brand h1 {
  font-size: 25px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.avatar-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(22, 35, 63, 0.28), inset 0 1px 0 rgba(255,255,255,0.15);
  letter-spacing: 0.02em;
  border: 2px solid var(--white);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.avatar-btn:hover { transform: scale(1.06); box-shadow: 0 10px 24px rgba(22, 35, 63, 0.36); }
.avatar-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold-500);
  border: 2px solid var(--cream-50);
}
.avatar-btn { position: relative; }

/* ---------- Hero cinematografico ---------- */
.hero {
  margin: 12px 20px 24px;
  border-radius: var(--radius-lg);
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  background: var(--navy-900);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/tramonto-torre.jpg') center 35% / cover no-repeat;
  animation: kenburns 22s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(22, 35, 63, 0.15) 0%, rgba(22, 35, 63, 0.20) 45%, rgba(13, 23, 41, 0.88) 100%),
    linear-gradient(90deg, rgba(13, 23, 41, 0.45) 0%, transparent 55%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
  z-index: 2;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.09) translate(-1.5%, -1%); }
}
.hero-content {
  padding: 70px 26px 28px;
  position: relative;
  z-index: 3;
  max-width: 520px;
  margin-top: auto;
}
.hero { flex-direction: column; }
.hero-stats {
  position: absolute;
  top: 22px;
  left: 22px;
  right: 22px;
  z-index: 4;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-stat .stat-num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--gold-400);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 22px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--navy-900);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
  cursor: pointer;
  border: none;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32); }
.hero-cta .cta-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-cta .cta-arrow svg { width: 14px; height: 14px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 12px;
}
.hero-eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--gold-400);
  opacity: 0.7;
}
.hero h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 34px;
  line-height: 1.05;
  margin-bottom: 12px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  letter-spacing: -0.01em;
}
.hero h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-400);
}
.hero p {
  font-size: 15px;
  line-height: 1.55;
  opacity: 0.94;
  max-width: 40ch;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
@media (min-width: 768px) {
  .hero { min-height: 420px; }
  .hero h2 { font-size: 44px; }
  .hero-content { padding: 40px 40px 44px; }
}
@media (min-width: 1024px) {
  .hero { min-height: 480px; }
  .hero h2 { font-size: 52px; }
  .hero p { font-size: 16px; }
}

/* ---------- Sezione ---------- */
.section-head {
  padding: 22px 20px 4px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}
.section-head .lead h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-900);
  margin-top: 4px;
  line-height: 1.15;
}
.section-head .lead h3 em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-600);
  font-weight: 400;
}
.section-head .caps {
  color: var(--gold-600);
  font-size: 11px;
  letter-spacing: 0.3em;
}
.section-count {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--ink-mute);
  font-weight: 600;
  padding-bottom: 6px;
}
@media (min-width: 1024px) {
  .section-head .lead h3 { font-size: 28px; }
}

/* ---------- Selettore strutture fotografico ---------- */
.struct-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
  margin: -2px;
}
.struct-row::-webkit-scrollbar { display: none; }
.struct-card {
  flex-shrink: 0;
  width: 148px;
  height: 92px;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  background-size: cover;
  background-position: center;
  border: 2.5px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  text-align: left;
}
.struct-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 35, 63, 0) 30%, rgba(22, 35, 63, 0.78) 100%);
  transition: background 0.18s ease;
}
.struct-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.struct-card.active {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(185, 138, 53, 0.25), var(--shadow-md);
}
.struct-card .struct-name {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.struct-card.struct-all {
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
  width: 92px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.struct-card.struct-all::before { display: none; }
.struct-card.struct-all .struct-name { font-size: 15px; }
.struct-card .struct-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
}
.struct-card .struct-check svg { width: 13px; height: 13px; }
.struct-card.active .struct-check { display: flex; }

/* ---------- Filtri ---------- */
.filters { padding: 0 20px; margin-bottom: 4px; }
.filters .caps {
  display: block;
  margin: 22px 4px 10px;
  color: var(--ink-mute);
}
.chip-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px;
  margin: -4px;
}
.chip-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  padding: 9px 18px;
  min-height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--navy-900);
  font-weight: 600;
  font-size: 14.5px;
  transition: all 0.22s var(--ease-out);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chip svg { width: 16px; height: 16px; opacity: 0.72; }
.chip:hover { border-color: var(--gold-500); transform: translateY(-1px); }
.chip.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(22, 35, 63, 0.22);
}
.chip.active svg { opacity: 1; color: var(--gold-400); }

/* ---------- Sezione consigliate (scroll orizzontale) ---------- */
.featured-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 12px 20px 8px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.featured-scroll::-webkit-scrollbar { display: none; }
.featured-scroll .svc-card {
  flex-shrink: 0;
  width: 280px;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .featured-scroll .svc-card { width: 320px; }
}

/* ---------- Griglia servizi ---------- */
.services-grid {
  display: grid;
  gap: 18px;
  padding: 12px 20px 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; gap: 22px; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: 1fr 1fr 1fr; gap: 26px; } }

.svc-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 8px rgba(22, 35, 63, 0.04), 0 12px 32px -8px rgba(22, 35, 63, 0.06);
  border: 1px solid var(--border-soft);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  padding: 0;
  position: relative;
}
.svc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(22, 35, 63, 0.08), 0 24px 48px -8px rgba(22, 35, 63, 0.18);
}
.svc-card:hover .svc-visual { transform: scale(1.06); }
.svc-card:hover .svc-cta-arrow { background: var(--gold-500); color: var(--white); transform: translateX(3px); }
.svc-card [data-open] { cursor: pointer; }

.svc-visual-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.svc-visual {
  height: 116px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  background-size: cover;
  background-position: center;
  transition: transform 0.55s var(--ease-out);
}
.svc-visual svg { width: 44px; height: 44px; opacity: 0.9; }
.svc-visual.has-photo { height: 220px; }
.svc-visual.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 23, 41, 0.05) 30%, rgba(13, 23, 41, 0.72) 100%);
}
.svc-visual.has-photo > svg { display: none; }
.svc-cat-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.svc-cat-line svg { width: 15px; height: 15px; color: var(--gold-400); }

/* Struttura chip glass in basso a destra della foto */
.svc-struct-chip {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

/* Ribbon sconto diagonale */
.ribbon-discount {
  position: absolute;
  top: 14px;
  left: -34px;
  z-index: 4;
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 50%, var(--gold-700) 100%);
  color: var(--white);
  padding: 6px 40px;
  transform: rotate(-38deg);
  box-shadow: 0 4px 14px rgba(163, 118, 42, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  min-width: 130px;
}
.ribbon-discount b {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ribbon-discount span {
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-top: 2px;
  opacity: 0.95;
}
.ribbon-discount.ribbon-detail { top: 22px; left: -40px; padding: 8px 46px; }
.ribbon-discount.ribbon-detail b { font-size: 20px; }
.ribbon-discount.ribbon-detail span { font-size: 9.5px; }
.svc-quick-save {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  transition: transform 0.25s var(--ease-out), background 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: none;
  cursor: pointer;
}
.svc-quick-save svg { width: 18px; height: 18px; transition: fill 0.25s ease; fill: none; stroke: currentColor; stroke-width: 1.8; }
.svc-quick-save:hover { transform: scale(1.08); background: var(--white); }
.svc-quick-save.saved { color: var(--danger-600); }
.svc-quick-save.saved svg { fill: var(--danger-600); stroke: var(--danger-600); animation: heartPop 0.4s var(--ease-out); }
@keyframes heartPop {
  0% { transform: scale(1); }
  30% { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.svc-visual.cat-mare { background: linear-gradient(135deg, #2a6f97, #1e3a5f); }
.svc-visual.cat-escursioni { background: linear-gradient(135deg, #5a7d4f, #33502c); }
.svc-visual.cat-gusto { background: linear-gradient(135deg, #b98a35, #8a5a22); }
.svc-visual.cat-esperienze { background: linear-gradient(135deg, #7d5a9e, #46316b); }
.svc-visual .discount-tag { display: none; } /* sostituito da .ribbon-discount */
.old-price {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.82em;
}
.discount-note {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-600);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 2px;
}
.svc-visual .pkg-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(13, 23, 41, 0.85);
  color: var(--gold-400);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 12px 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 160, 74, 0.35);
  z-index: 3;
}
.svc-visual .pkg-tag::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
}
.svc-long { font-family: var(--font-body); }
.svc-long p { margin-bottom: 14px; font-size: 15.5px; line-height: 1.65; color: var(--ink); }
.svc-long p:first-of-type {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy-900);
  font-weight: 400;
  letter-spacing: -0.005em;
}
.svc-long strong, .svc-long em, .svc-long b {
  font-weight: 700;
  color: var(--navy-900);
}
.booking-block {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 20px 20px;
  margin-top: 22px;
  box-shadow: var(--shadow-sm);
}
.booking-block h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}
.booking-block .booking-lead {
  color: var(--ink-mute);
  font-size: 14px;
  margin-bottom: 16px;
}
.booking-block .booking-note {
  text-align: center;
  color: var(--ink-mute);
  font-size: 13px;
  margin-top: 12px;
  font-style: italic;
}
.divider-fancy {
  border: none;
  height: 1px;
  background: var(--border-soft);
  margin: 22px 0;
  position: relative;
}
.divider-fancy::after {
  content: '✦';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--cream-50);
  padding: 0 12px;
  color: var(--gold-500);
  font-size: 14px;
}
.svc-section {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 18px 0 8px;
}
.svc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.svc-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 15px;
  border-top: 1px solid var(--border);
}
.svc-list li:first-child { border-top: none; }
.svc-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}
.svc-visual .featured-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--gold-700);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 12px 5px;
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-visual .featured-tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
}

.svc-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.svc-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-600);
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.svc-cat-badge svg { width: 13px; height: 13px; }
.svc-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin-top: 2px;
}
.svc-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.svc-rating strong { color: var(--navy-900); font-weight: 700; font-size: 13.5px; }
.svc-rating .rating-count { color: var(--ink-mute); font-size: 12.5px; }
.stars { display: inline-flex; gap: 1px; }
.stars-mini { display: inline-flex; gap: 1px; }
.star { width: 15px; height: 15px; fill: var(--gold-500); }
.stars-mini .star { width: 13px; height: 13px; }
.star.empty { fill: rgba(185, 138, 53, 0.22); }
.star.half {
  fill: var(--gold-500);
  clip-path: inset(0 50% 0 0);
  position: relative;
}
.star.half::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(185, 138, 53, 0.22);
  clip-path: inset(0 0 0 50%);
}
/* Wrapper span per half star che mostra base grigia + overlay oro a metà */
.star-wrap {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
}
.star-wrap .star-bg { position: absolute; inset: 0; fill: rgba(185, 138, 53, 0.22); }
.star-wrap .star-fg { position: absolute; inset: 0; fill: var(--gold-500); clip-path: inset(0 100% 0 0); }
.star-wrap.f100 .star-fg { clip-path: inset(0 0 0 0); }
.star-wrap.f50 .star-fg { clip-path: inset(0 50% 0 0); }
.stars-mini .star-wrap { width: 13px; height: 13px; }
.svc-body .svc-short { font-size: 14px; color: var(--ink-soft); line-height: 1.45; margin-top: 2px; }
.svc-info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px 4px 8px;
  background: var(--cream-100);
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
}
.info-pill svg { width: 13px; height: 13px; color: var(--gold-600); flex-shrink: 0; }
.svc-meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}
.svc-price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1;
}
.svc-price-block .old-price {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 3px;
}
.svc-price {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-900);
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.svc-price .price-unit {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: var(--ink-mute);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-left: 4px;
}
.svc-cta-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cream-100);
  color: var(--navy-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s var(--ease-out), color 0.25s ease, transform 0.25s var(--ease-out);
  flex-shrink: 0;
}
.svc-cta-arrow svg { width: 16px; height: 16px; }

/* ---------- Dettaglio servizio (modal magazine) ---------- */
.svc-sticky-cta {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin: 0 -22px;
  padding: 12px 22px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 248, 243, 0.94);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(0);
  transition: transform 0.3s var(--ease-out);
}
.svc-sticky-cta.hidden { transform: translateY(120%); }
.svc-sticky-cta .cta-price {
  flex: 1;
  min-width: 0;
}
.svc-sticky-cta .cta-price-label {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: block;
}
.svc-sticky-cta .cta-price-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.1;
}
.svc-sticky-cta .cta-price-value .price-unit-big {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
}
.svc-sticky-cta .btn-gold {
  min-height: 50px;
  padding: 12px 22px;
  font-size: 14.5px;
  white-space: nowrap;
}

.svc-detail-hero {
  position: relative;
  margin: 0 0 0;
  height: 320px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  color: var(--white);
  display: flex;
  align-items: flex-end;
}
.svc-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 23, 41, 0.05) 20%, rgba(13, 23, 41, 0.8) 100%);
}
.svc-detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 22px 22px 24px;
  width: 100%;
}
.svc-detail-hero .svc-cat-line {
  position: static;
  padding: 0;
  margin-bottom: 8px;
}
.svc-detail-hero h2 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}
.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}
.detail-rating strong { font-weight: 700; font-size: 14px; color: var(--gold-400); }
.detail-rating span { opacity: 0.9; }

/* Trust row (badges di garanzia sotto il hero) */
.trust-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 22px 0;
  margin-bottom: 4px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: var(--cream-100);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-900);
}
.trust-item svg { width: 15px; height: 15px; color: var(--success-600); flex-shrink: 0; }
.trust-item:nth-child(2) svg { color: var(--gold-600); }
.trust-item:nth-child(3) svg { color: var(--navy-800); }
@media (min-width: 640px) {
  .svc-detail-hero { height: 340px; }
  .svc-detail-hero h2 { font-size: 38px; }
}
.svc-detail-visual {
  display: none;
}
.detail-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 8px 0 20px;
}
.detail-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink);
  padding: 12px 14px;
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  line-height: 1.4;
}
.detail-row svg {
  width: 20px;
  height: 20px;
  color: var(--gold-600);
  flex-shrink: 0;
  margin-top: 1px;
}
.detail-row strong {
  display: block;
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 2px;
}
.detail-row-value {
  font-weight: 600;
  color: var(--navy-900);
  font-size: 14px;
}
@media (min-width: 640px) {
  .detail-rows { grid-template-columns: repeat(3, 1fr); }
}
.detail-price-box {
  background: linear-gradient(135deg, var(--cream-100), var(--gold-50));
  border: 1px solid var(--gold-100);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 22px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.detail-price-box.has-discount {
  background: linear-gradient(135deg, var(--gold-50), var(--gold-100));
  border-color: var(--gold-400);
}
.detail-price-box.has-discount::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(212,160,74,0.28), transparent 70%);
  pointer-events: none;
}
.detail-price-left { flex: 1; min-width: 0; position: relative; }
.detail-price-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.detail-price-line .old-price {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-color: var(--gold-500);
  text-decoration-thickness: 2px;
  font-weight: 500;
}
.detail-discount-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 6px 18px rgba(163, 118, 42, 0.35);
  position: relative;
  z-index: 2;
}
.discount-pct {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
}
.discount-saving {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-top: 3px;
  opacity: 0.95;
}
.discount-saving b { font-weight: 800; }
.detail-price-box .price-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-700);
  display: block;
  margin-bottom: 4px;
}
.detail-price {
  font-size: 30px;
  font-weight: 600;
  color: var(--navy-900);
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1;
}
.detail-price .price-unit-big {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 4px;
}
.detail-price .old-price { font-family: var(--font-body); font-size: 15px; font-weight: 500; margin-left: 8px; }
.detail-price .discount-note { display: none; }
.detail-price-box .discount-badge {
  background: linear-gradient(135deg, var(--gold-500), var(--gold-700));
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(163, 118, 42, 0.3);
}

/* ---------- Prenotazioni ---------- */
.page-title { padding: 18px 20px 6px; }
.page-title h2 { font-size: 26px; }
.page-title p { color: var(--ink-soft); font-size: 15px; }

.bookings-list { display: flex; flex-direction: column; gap: 14px; padding: 14px 20px 28px; }
.booking-card { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.booking-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.booking-top h3 { font-size: 18px; }
.booking-info { font-size: 14.5px; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.booking-reply {
  background: var(--gold-100);
  border-left: 3px solid var(--gold-500);
  padding: 10px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px;
}
.booking-reply strong { color: var(--gold-600); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 2px; }

/* ---------- Review CTA nella card prenotazione ---------- */
.review-cta {
  margin-top: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--gold-50), var(--gold-100));
  border: 1px dashed var(--gold-400);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.review-cta-text { display: flex; flex-direction: column; }
.review-cta-text strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--navy-900); }
.review-cta-text span { font-size: 13px; color: var(--ink-soft); }
.review-cta .btn-gold { flex-shrink: 0; }

.review-shown {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--gold-50);
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.review-shown-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.review-shown-head strong { font-size: 12px; font-weight: 800; color: var(--gold-700); text-transform: uppercase; letter-spacing: 0.14em; }
.review-shown-head .review-date { font-size: 12px; color: var(--ink-mute); }
.review-shown-head .review-edit {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--gold-600);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 4px 6px;
}
.review-shown p { font-size: 14px; color: var(--ink); line-height: 1.5; margin-top: 4px; font-style: italic; }

/* ---------- Modal recensione: star picker ---------- */
.review-svc {
  padding: 12px 14px;
  background: var(--cream-100);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.review-svc strong { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--navy-900); }
.review-svc span { font-size: 13px; color: var(--ink-soft); }

.star-picker {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 14px 0 6px;
}
.star-btn {
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: rgba(185, 138, 53, 0.22);
  transition: transform 0.18s var(--ease-out), color 0.18s ease;
}
.star-btn svg { width: 38px; height: 38px; display: block; }
.star-btn:hover { transform: scale(1.15); }
.star-btn.active { color: var(--gold-500); }
.star-btn.active:hover { color: var(--gold-600); }
.star-label { text-align: center; font-size: 14px; color: var(--ink-mute); margin: 0 0 10px; transition: color 0.2s ease; }
.star-label.has-val { color: var(--gold-700); font-weight: 700; }

/* ---------- Sezione "Voci degli ospiti" nel dettaglio ---------- */
.reviews-block {
  margin: 20px 22px 4px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}
.reviews-head { margin-bottom: 14px; }
.reviews-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy-900);
  margin-top: 4px;
}
.reviews-title strong { font-weight: 700; }
.reviews-title .reviews-count { font-family: var(--font-body); font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.reviews-list { display: flex; flex-direction: column; gap: 14px; }
.review-item {
  padding: 14px 16px;
  background: var(--cream-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-soft);
}
.review-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.review-head strong { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; color: var(--navy-900); }
.review-stars { display: flex; align-items: center; gap: 6px; margin-top: 1px; }
.review-when { font-size: 12px; color: var(--ink-mute); }
.review-item p { font-size: 14.5px; color: var(--ink); line-height: 1.5; margin-top: 4px; font-style: italic; }

/* ---------- Profilo ---------- */
.profile-card {
  margin: 16px 20px;
  padding: 32px 24px 28px;
  text-align: center;
  background:
    radial-gradient(120% 100% at 50% 0%, var(--gold-50) 0%, transparent 45%),
    var(--white);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}
.profile-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400), var(--gold-500));
}
.profile-card .avatar-big {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  box-shadow: 0 8px 24px rgba(22, 35, 63, 0.24), 0 0 0 4px var(--white), 0 0 0 5px var(--gold-500);
}
.profile-card h3 { font-family: var(--font-display); font-size: 26px; font-weight: 500; margin-bottom: 4px; }
.profile-card p { color: var(--ink-soft); font-size: 14.5px; }
.profile-stay {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-100);
  color: var(--gold-700);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}
.profile-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.profile-stats > div { display: flex; flex-direction: column; align-items: center; }
.profile-stats strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1;
}
.profile-stats span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: 4px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---------- Empty state fancy (prenotazioni vuote) ---------- */
.empty-fancy {
  text-align: center;
  padding: 40px 24px 60px;
  max-width: 380px;
  margin: 0 auto;
}
.empty-illustration { margin-bottom: 20px; }
.empty-illustration svg { width: 140px; height: 140px; margin: 0 auto; display: block; filter: drop-shadow(0 10px 24px rgba(163, 118, 42, 0.18)); }
.empty-fancy h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--navy-900);
  margin-bottom: 8px;
}
.empty-fancy p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin-bottom: 22px;
}

/* ---------- "Ti potrebbero interessare" ---------- */
.related-block {
  margin: 22px 22px 30px;
  padding: 22px 20px;
  background: linear-gradient(135deg, var(--cream-50), var(--gold-50));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
}
.related-head { margin-bottom: 14px; }
.related-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--navy-900);
  margin-top: 2px;
  letter-spacing: -0.005em;
}
.related-head h3 em { font-family: var(--font-serif); font-style: italic; color: var(--gold-600); font-weight: 400; }
.related-list { display: flex; flex-direction: column; gap: 10px; }
.related-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), border-color 0.2s ease;
  width: 100%;
  text-align: left;
}
.related-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-500);
}
.related-thumb {
  width: 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  background-color: var(--cream-100);
}
.related-body { flex: 1; min-width: 0; }
.related-cat {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.related-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
  line-height: 1.2;
  margin: 2px 0 4px;
}
.related-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-soft);
}
.related-meta strong {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy-900);
  margin-left: auto;
}
.related-arrow {
  width: 20px;
  height: 20px;
  color: var(--ink-mute);
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out), color 0.2s ease;
}
.related-item:hover .related-arrow { color: var(--gold-600); transform: translateX(3px); }

/* ---------- Booking card ---------- */
.booking-card {
  position: relative;
  overflow: hidden;
  padding: 20px !important;
}
.booking-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
}
.booking-card.pending-stripe::before { background: var(--warn-700); }
.booking-card.confirmed-stripe::before { background: var(--success-600); }
.booking-card.rejected-stripe::before { background: var(--danger-600); }

/* ---------- Bottom nav floating pill ---------- */
.bottom-nav {
  position: fixed;
  bottom: calc(16px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22, 35, 63, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-around;
  padding: 8px 10px;
  z-index: 100;
  border-radius: 999px;
  gap: 4px;
  box-shadow: 0 20px 50px rgba(13, 23, 41, 0.35), 0 0 0 4px rgba(250, 248, 243, 0.5);
}
@media (min-width: 1024px) {
  .bottom-nav {
    top: 24px;
    bottom: auto;
    left: auto;
    right: 30px;
    transform: none;
    padding: 8px 10px;
  }
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 74px;
  min-height: 48px;
  padding: 8px 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.2s var(--ease-out);
  position: relative;
}
.nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.3s var(--ease-out);
}
.nav-item.active {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold-500) 0%, var(--gold-700) 100%);
  box-shadow: 0 6px 16px rgba(163, 118, 42, 0.4);
}
.nav-item.active svg { color: var(--white); transform: scale(1.05); }
.nav-item:hover:not(.active) { color: var(--white); background: rgba(255, 255, 255, 0.08); }
@media (min-width: 1024px) {
  .nav-item { flex-direction: row; gap: 8px; font-size: 13.5px; min-width: 0; padding: 10px 18px; }
}
.nav-badge {
  position: absolute;
  top: 4px;
  right: 8px;
  background: var(--white);
  color: var(--navy-900);
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

/* ---------- Auth ---------- */
.auth-wrap {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background:
    linear-gradient(165deg, rgba(22, 35, 63, 0.82) 0%, rgba(22, 35, 63, 0.55) 45%, rgba(30, 58, 95, 0.85) 100%),
    url('../img/veduta-aerea.jpg') center / cover no-repeat fixed,
    linear-gradient(150deg, var(--navy-800), var(--navy-900));
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--cream-50);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-lg);
}
.auth-brand { text-align: center; margin-bottom: 20px; }
.auth-logo { width: 150px; height: auto; margin: 0 auto 4px; }
.auth-brand .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: block;
  margin-bottom: 8px;
}
.auth-brand h1 { font-size: 30px; margin: 2px 0 6px; }
.auth-brand p { color: var(--ink-soft); font-size: 15px; }
.auth-toggle { text-align: center; margin-top: 18px; font-size: 15px; color: var(--ink-soft); }
.auth-toggle button { color: var(--gold-600); font-weight: 700; text-decoration: underline; }
