/* BestCefalù — mobile-first, vivid, thumb-first */

:root {
  --sun: #ffb020;
  --coral: #f26b1f;
  --pink: #ff5a2a;
  --sea: #00a8c1;
  --blue: #0b7ea8;
  --lime: #c6f000;
  --navy: #0a2a38;
  --ink: #142033;
  --muted: #5c6b80;
  --sand: #f4fbfd;
  --white: #ffffff;
  --card: #ffffff;
  --line: rgba(8, 21, 38, 0.08);
  --shadow: 0 10px 28px rgba(10, 42, 56, 0.1);
  --radius: 22px;
  --pad: 16px;
  --dock: calc(64px + env(safe-area-inset-bottom, 0px));
  --top: calc(60px + env(safe-area-inset-top, 0px));
  --max: 480px;
  --font: "Nunito", "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
  --display: "Fredoka", "Trebuchet MS", "Segoe UI", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 80% -10%, #ffb02033, transparent 50%),
    radial-gradient(900px 500px at -10% 110%, #00a8c133, transparent 50%),
    var(--sand);
  padding-bottom: calc(var(--dock) + 12px);
  overflow-x: hidden;
}
body[data-page="servizio"] {
  padding-bottom: calc(var(--dock) + 148px);
}
body::before,
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(48px);
}
body::before {
  width: 280px;
  height: 280px;
  top: -80px;
  right: -90px;
  background: #ffb02055;
  animation: drift 18s ease-in-out infinite alternate;
}
body::after {
  width: 260px;
  height: 260px;
  bottom: 40px;
  left: -100px;
  background: #00a8c155;
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}
.skip:focus {
  left: 8px;
  z-index: 40;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
}

/* Shell: phone column on desktop */
main,
.topbar,
.dock,
.search-sheet,
.cta-bar,
.filters,
.site-foot {
  width: min(100%, var(--max));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--top);
  padding: calc(8px + env(safe-area-inset-top, 0px)) var(--pad) 8px;
  background: color-mix(in srgb, var(--sand) 86%, transparent);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 4.6vw, 1.28rem);
  color: var(--navy);
  letter-spacing: -0.02em;
}
.brand .logo {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}
.brand .wordmark {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand strong { color: var(--coral); }
.topbar .brand { flex: 1; }
.topbar-title { flex: 1; }
.desk-nav { display: none; }
.desk-nav a { padding: 8px 0; }

.partner-banner {
  margin: 10px var(--pad) 4px;
  padding: 20px 18px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #00a8c1, #0a2a38, #00a8c1);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 14px 36px rgba(242, 107, 31, 0.28), var(--shadow);
  animation: wash 10s ease-in-out infinite alternate;
  outline: 3px solid var(--sun);
  outline-offset: 0;
}
.partner-banner h2 { font-size: 1.4rem; margin-bottom: 6px; }
.partner-banner p { margin: 0 0 14px; font-weight: 600; opacity: 0.95; }
.partner-banner .btn { background: var(--coral); color: #fff; }
.join-cta {
  margin: 16px var(--pad) 18px;
  padding: 22px 18px 20px;
  border-radius: 24px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% -10%, #ffb020 0%, transparent 42%),
    linear-gradient(145deg, #f26b1f 0%, #e23a12 48%, #00a8c1 140%);
  box-shadow: 0 16px 40px rgba(242, 107, 31, 0.42);
  outline: 4px solid #ffb020;
  outline-offset: 3px;
}
.join-cta-pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ffb020;
  color: #0a2a38;
  font-weight: 900;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  animation: pop 2s ease-in-out infinite;
}
.join-cta-title {
  font-family: var(--display);
  font-size: clamp(1.5rem, 5.4vw, 2.05rem);
  line-height: 1.08;
  margin: 0 0 8px;
  text-shadow: 0 2px 0 rgba(10, 42, 56, 0.18);
}
.join-cta-sub {
  margin: 0 0 16px;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.3;
  opacity: 0.97;
}
.btn.join-cta-btn,
.join-cta .btn.join-cta-btn {
  width: 100%;
  min-height: 56px;
  font-family: var(--display);
  font-size: 1.18rem;
  background: #ffb020 !important;
  color: #0a2a38 !important;
  box-shadow: 0 6px 0 #c98400;
  animation: ctaPulse 1.7s ease-in-out infinite;
}
.btn.join-cta-btn:hover { filter: brightness(1.05); }
.free-pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  animation: pop 2s ease-in-out infinite;
}
.btn-cta {
  flex: none;
  width: 100%;
  min-height: 56px;
  font-family: var(--display);
  font-size: 1.15rem;
  background: var(--sun) !important;
  color: var(--navy) !important;
  box-shadow: 0 6px 0 #c98400;
  animation: ctaPulse 1.7s ease-in-out infinite;
}
.banner-login {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-title {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 18px 0 10px;
}
.extra-shop { display: grid; gap: 10px; }
.extra-card {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 10px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.extra-card p { margin: 2px 0 0; font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.extra-ico { font-size: 1.4rem; }
.plan.pack { margin-top: 12px; background: linear-gradient(135deg, #d9f6fb, #ffe3c8); }
.plan .price small { font-size: 0.7rem; color: var(--muted); font-family: var(--font); font-weight: 800; }
.extra-picks {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.extra-picks legend { font-weight: 800; margin-bottom: 4px; }
.check {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--sand);
  border-radius: 14px;
  padding: 12px;
  font-weight: 700;
  font-size: 0.95rem;
}
.check input { width: 22px; height: 22px; accent-color: var(--coral); }
.tot { margin: 4px 0 0; font-weight: 800; color: var(--coral); }

.free-spotlight {
  margin: 4px 0 16px;
  padding: 26px 16px 22px;
  border-radius: 28px;
  text-align: center;
  color: var(--navy);
  background: linear-gradient(145deg, #ffe36a, var(--sun) 40%, #f26b1f);
  box-shadow: 0 10px 0 #c98400, 0 18px 40px rgba(242, 107, 31, 0.38);
  outline: 4px solid #fff;
  animation: ctaPulse 1.7s ease-in-out infinite;
}
.free-spotlight p {
  font-family: var(--display);
  font-size: clamp(1.5rem, 6.2vw, 2.4rem);
  line-height: 1.08;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.free-spotlight small {
  display: block;
  margin-top: 10px;
  font-weight: 800;
  font-size: 0.98rem;
}
.btn-opzioni {
  width: 100%;
  min-height: 52px;
  background: #fff;
  color: var(--navy);
  border: 2px dashed var(--sea);
  font-weight: 800;
}
.btn-opzioni[aria-expanded="true"] {
  border-style: solid;
  background: var(--sand);
}
#opzioni-extra {
  display: grid;
  gap: 10px;
}
#opzioni-extra[hidden] { display: none; }

.cta-bar:empty,
.cta-bar[hidden] { display: none; }
body.no-cta .service-page { padding-bottom: 12px; }

.gallery-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: #00a8c1 transparent;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  max-height: min(52vh, 440px);
}
.gallery-track.is-dragging { cursor: grabbing; }
.gallery-track::-webkit-scrollbar { height: 6px; }
.gallery-track::-webkit-scrollbar-thumb {
  background: #00a8c1;
  border-radius: 99px;
}
.gallery-track .cover-art {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  scroll-snap-align: start;
  position: relative;
  height: 100%;
  overflow: hidden;
}
.gallery-track .cover-art img,
.gallery-track .cover-art video,
.gallery-track .cover-art iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.gallery-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}
.gallery-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
}
.gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px var(--pad) 0;
  scrollbar-width: thin;
}
.gallery-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0.65;
  background: #12343c;
  position: relative;
}
.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumb.is-on {
  opacity: 1;
  outline: 2px solid var(--sea);
}
.gallery-thumb.is-video span {
  color: #fff;
  font-size: 1.1rem;
}
.gallery .offer-pill { z-index: 4; }
.gallery .price-sticker { z-index: 4; bottom: 28px; }
.gallery .video-badge { z-index: 4; top: 62px; right: 16px; }
.plan {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.plan.is-free { outline: 2px solid var(--sea); }
.plan .price {
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--coral);
  margin: 4px 0 8px;
}
.plan ul {
  margin: 0;
  padding-left: 18px;
  font-weight: 600;
  color: var(--ink);
}

.form {
  display: grid;
  gap: 10px;
  background: #fff;
  padding: 16px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.form label {
  display: grid;
  gap: 4px;
  font-weight: 800;
  font-size: 0.85rem;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  min-height: 48px;
  background: var(--sand);
}
.form textarea { min-height: 96px; resize: vertical; }
.form .btn { width: 100%; }
.tel-field {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--sand);
  min-height: 48px;
  overflow: hidden;
}
.tel-cc {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-weight: 800;
  color: var(--ink);
  background: #d9f6fb;
  border-right: 1px solid var(--line);
  flex-shrink: 0;
}
.form .tel-field input {
  border: 0;
  border-radius: 0;
  background: transparent;
  min-height: 48px;
  flex: 1;
  width: 100%;
}
.tel-hint {
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--muted);
}
.site-cta {
  display: grid;
  gap: 10px;
  margin: 4px 0 6px;
  padding: 16px 14px;
  border-radius: 18px;
  text-align: center;
  background: linear-gradient(145deg, #d9f6fb, #ffe3c8);
  outline: 2px solid #fff;
  box-shadow: 0 8px 20px rgba(0, 168, 193, 0.18);
}
.site-cta p {
  margin: 0;
  font-weight: 800;
  font-size: 1.02rem;
  color: var(--navy);
  line-height: 1.25;
}
.site-cta strong {
  display: block;
  margin-top: 4px;
  font-family: var(--display);
  font-size: 1.22rem;
  color: var(--coral);
}
.btn.site-cta-btn,
.form .btn.site-cta-btn {
  background: #25d366;
  color: #fff;
  width: 100%;
  min-height: 52px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-family: var(--display);
  font-size: 1.05rem;
}
.btn.site-cta-btn::after { display: none; }
.photo-field {
  display: grid;
  gap: 8px;
}
.photo-label {
  font-weight: 800;
  font-size: 0.85rem;
}
.photo-upload-btn {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.form .photo-upload-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.photo-preview {
  display: grid;
  gap: 8px;
  position: relative;
}
.photo-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--sand);
}
.photo-credit {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 10px 10px 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
  background: linear-gradient(180deg, transparent, rgba(10, 42, 56, 0.82));
  pointer-events: none;
}
.photo-preview .photo-credit {
  position: static;
  background: var(--navy);
  border-radius: 0 0 16px 16px;
  margin-top: -8px;
  text-shadow: none;
}

.ok-box {
  background: linear-gradient(135deg, #d9f6fb, #ffe3c8);
  border-radius: 22px;
  padding: 22px 16px;
  text-align: center;
  font-weight: 700;
}
.topbar.is-overlay {
  position: absolute;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
}
.topbar.is-overlay .brand {
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 14px;
  padding: 3px 10px 3px 3px;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
}
.topbar.is-overlay .brand .logo {
  width: 32px;
  height: 32px;
}
.topbar-title {
  font-family: var(--display);
  font-size: 1.05rem;
  text-align: center;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--white);
  box-shadow: var(--shadow);
}
.icon-btn.is-glass {
  background: rgba(255, 255, 255, 0.92);
}
.icon-btn.is-on {
  background: var(--coral);
  color: #fff;
}

.search-sheet {
  padding: 0 var(--pad) 8px;
}
.search-sheet[hidden] { display: none; }

.search-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
}
.search-pill input {
  border: 0;
  outline: 0;
  width: 100%;
  font: inherit;
  background: transparent;
  min-height: 28px;
}
.search-results {
  margin-top: 8px;
  display: grid;
  gap: 8px;
}

.hero {
  position: relative;
  margin: 4px var(--pad) 0;
  border-radius: 28px 28px 0 0;
  overflow: hidden;
  min-height: 340px;
  box-shadow: var(--shadow);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.22) 50%, transparent 64%);
  background-size: 220% 100%;
  animation: sheen 7.5s ease-in-out infinite;
}
.hero-art {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: 72% 40%;
  transform: scale(1.14);
  transform-origin: 70% 40%;
  animation: kenburns 24s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 72px 18px 18px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(8, 21, 38, 0.78));
  animation: rise 0.75s ease-out both;
}
.eyebrow {
  display: inline-block;
  margin: 0 0 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sun);
  color: var(--navy);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  animation: pop 3.2s ease-in-out infinite;
}
.hero h1 {
  font-size: clamp(1.8rem, 8vw, 2.35rem);
  margin-bottom: 6px;
}
.lede {
  margin: 0;
  font-weight: 600;
  opacity: 0.95;
}

.shortcuts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 var(--pad);
  margin-bottom: 8px;
  animation: rise 0.7s 0.2s ease-out both;
}
.shortcut {
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 10px 4px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 0.78rem;
  text-align: center;
  color: var(--navy);
  box-shadow: var(--shadow);
  animation: bob 3.4s ease-in-out infinite;
  transition: transform 0.18s ease;
}
.shortcut:nth-child(2) { animation-delay: 0.25s; }
.shortcut:nth-child(3) { animation-delay: 0.5s; }
.shortcut:nth-child(4) { animation-delay: 0.75s; }
.shortcut:active { transform: scale(0.94); }
.shortcut[data-tone="sea"] { background: var(--sea); }
.shortcut[data-tone="coral"] { background: var(--coral); color: #fff; }
.shortcut[data-tone="sun"] { background: var(--sun); }
.shortcut[data-tone="blue"] { background: var(--blue); color: #fff; }

/* Hub stile app: tile bombate + motion (mobile-first) */
.app-hub {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 0 14px;
  padding: 6px var(--pad) 4px;
  box-sizing: border-box;
  isolation: isolate;
}
.app-hub-wash {
  position: absolute;
  inset: 0 var(--pad);
  z-index: -1;
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 30%, rgba(0, 168, 193, 0.1), transparent 50%),
    radial-gradient(circle at 82% 20%, rgba(242, 107, 31, 0.08), transparent 48%);
  pointer-events: none;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 76px;
  gap: 10px;
  width: 100%;
}
.tile {
  --d: 0;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  min-width: 0;
  height: 100%;
  padding: 10px 12px;
  border-radius: 22px;
  color: #fff;
  text-align: left;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(10, 42, 56, 0.14);
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.2s ease,
    filter 0.2s ease;
  transition-delay: calc(var(--d) * 55ms);
}
/* Nascoste solo se motion.js è caricato (html.js-motion) */
html.js-motion .tile:not(.is-in) {
  opacity: 0;
  transform: translateY(24px) scale(0.94);
}
.tile.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.tile.is-in.tile--bob {
  animation: tileBob 2.8s ease-in-out infinite;
  animation-delay: calc(var(--d) * 140ms);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 45%);
  pointer-events: none;
}
.tile:active {
  transform: scale(0.97);
  box-shadow: 0 4px 12px rgba(10, 42, 56, 0.16);
  animation: none;
}
.tile-ico {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  transform: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d) * 55ms + 60ms);
}
html.js-motion .tile:not(.is-in) .tile-ico {
  transform: translateX(-6px) scale(0.9);
}
.tile.is-in .tile-ico {
  transform: translateX(0) scale(1);
  animation: tileFloat 2.8s ease-in-out infinite;
  animation-delay: calc(var(--d) * 120ms);
}
.tile-label {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: none;
  opacity: 1;
  transform: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transition-delay: calc(var(--d) * 55ms + 90ms);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
html.js-motion .tile:not(.is-in) .tile-label {
  opacity: 0;
  transform: translateX(8px);
}
.tile.is-in .tile-label {
  opacity: 1;
  transform: translateX(0);
}
.tile--coral { background: linear-gradient(160deg, #ff8a4a, var(--coral) 55%, #d45312); }
.tile--coral-soft { background: linear-gradient(160deg, #ff7a5c, var(--pink)); }
.tile--sun { background: linear-gradient(160deg, #ffd36a, var(--sun) 60%, #e08900); color: #4a3000; }
.tile--sun .tile-ico { background: rgba(255, 255, 255, 0.35); color: #4a3000; }
.tile--sea { background: linear-gradient(160deg, #4fd4e8, var(--sea) 55%, #087a8c); }
.tile--sea-deep { background: linear-gradient(160deg, #2a9aa0, #0b4f6c); }
.tile--blue { background: linear-gradient(160deg, #3aa8d4, var(--blue) 55%, #085f82); }
.tile--navy { background: linear-gradient(160deg, #1c4d6e, var(--navy)); }
.tile--pink { background: linear-gradient(160deg, #ff7a5a, #e83b6a); }
.tile--lime { background: linear-gradient(160deg, #dff56a, var(--lime) 50%, #9bb800); color: var(--navy); }
.tile--lime .tile-ico { background: rgba(10, 42, 56, 0.12); color: var(--navy); }
.tile--biz { background: linear-gradient(160deg, #ffb020, #f26b1f 55%, #c94a12); }

/* Sezioni che entrano allo scroll (visibili se motion.js manca) */
.reveal,
.reveal-item {
  opacity: 1;
  transform: none;
}
.reveal {
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-item {
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--d, 0) * 80ms);
}
html.js-motion .reveal:not(.is-in) {
  opacity: 0;
  transform: translateY(40px);
}
html.js-motion .reveal-item:not(.is-in) {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
}
.reveal.is-in,
.reveal-item.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes tileFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.04); }
}
@keyframes tileBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@media (min-width: 520px) {
  .tile-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-auto-rows: 84px;
    gap: 12px;
  }
}
@media (min-width: 760px) {
  .app-hub {
    width: 100%;
    max-width: var(--max, 1080px);
    margin-left: auto;
    margin-right: auto;
  }
  .tile-grid { grid-auto-rows: 92px; }
  .tile:hover {
    transform: translateY(-4px) scale(1.01);
    filter: brightness(1.04);
    animation: none;
  }
}

@media (max-width: 759px) {
  .hero {
    min-height: 210px;
    margin: 0 var(--pad);
    border-radius: 0 0 28px 28px;
    overflow: hidden;
  }
  .hero-copy { padding-bottom: 18px; }
  .hero h1 { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .hero .lede { display: none; }
}

.life-strip {
  position: relative;
  margin: 12px var(--pad) 4px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 148px;
}
.life-strip a {
  display: block;
  color: #fff;
  min-height: 148px;
}
.life-art {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  animation: kenburns 22s ease-in-out infinite alternate;
  will-change: transform;
}
.life-strip--beach .life-art { object-position: 50% 60%; transform-origin: 40% 70%; }
.life-strip--eat .life-art {
  object-position: 50% 45%;
  transform-origin: 70% 40%;
  animation-duration: 26s;
  animation-delay: -6s;
}
.life-strip--walk .life-art {
  object-position: 60% 50%;
  transform-origin: 20% 50%;
  animation-duration: 20s;
  animation-delay: -12s;
}
.life-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(8, 21, 38, 0.62));
}
.life-strip figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--navy) 72%, transparent);
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  pointer-events: none;
}
  .life-strip--eat figcaption { background: color-mix(in srgb, var(--coral) 82%, #000); }
.life-strip--walk figcaption,
.life-strip--bar figcaption { background: color-mix(in srgb, var(--sun) 88%, #000); color: var(--navy); }
.life-strip--dormire figcaption { background: color-mix(in srgb, var(--sun) 82%, #000); color: var(--navy); }
.life-strip--tour figcaption { background: color-mix(in srgb, var(--blue) 82%, #000); }
.life-strip--noleggio figcaption { background: color-mix(in srgb, var(--lime) 82%, #000); color: var(--navy); }
.life-strip--esperienze figcaption { background: color-mix(in srgb, #ff8a5b 82%, #000); }
.life-strip--nightlife figcaption { background: color-mix(in srgb, var(--navy) 82%, #000); }
.life-strip--wellness figcaption { background: color-mix(in srgb, #3ee0c4 82%, #000); color: var(--navy); }
.life-strip--shopping figcaption { background: color-mix(in srgb, #f5b400 82%, #000); color: var(--navy); }
.life-strip--ristoranti figcaption { background: color-mix(in srgb, var(--coral) 82%, #000); }
.life-strip--spiagge figcaption { background: color-mix(in srgb, var(--sea) 78%, #000); }

.block { padding: 18px var(--pad) 6px; }
.block-head { margin-bottom: 12px; }
.block-head h1,
.block-head h2 { font-size: 1.45rem; }
.block-head p { margin: 4px 0 0; color: var(--muted); font-weight: 600; }

#categorie { padding-top: 10px; padding-bottom: 4px; }
#categorie .block-head { margin-bottom: 8px; }
#categorie .block-head h2 { font-size: 1.12rem; }

.cat-dd { position: relative; z-index: 4; margin-bottom: 8px; }
.cat-dd-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 10px 14px;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 800;
  text-align: left;
}
.cat-dd-ico { font-size: 1.25rem; }
.cat-dd-label { flex: 1; }
.cat-dd-caret { color: var(--muted); }
.cat-dd-list[hidden] { display: none !important; }
.cat-dd-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 8px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
  max-height: min(70vh, 420px);
  overflow-y: auto;
}
.cat-dd-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 12px;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  text-align: left;
}
.cat-dd-item strong { flex: 1; }
.cat-dd-item span:last-child { font-size: 0.8rem; opacity: 0.85; }

.home-cat { scroll-margin-top: 72px; margin: 0 0 8px; }
.home-cat .snap { padding-left: var(--pad); padding-right: var(--pad); }
.home-cat .empty-cat {
  margin: 0 var(--pad) 12px;
  font-weight: 700;
  color: var(--muted);
}
.life-art--tone {
  display: grid;
  place-items: center;
  height: 148px;
  min-height: 148px;
  font-size: 3.2rem;
}
.empty-cat a { color: var(--sea); font-weight: 800; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.cat-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 0;
  padding: 7px 3px 8px;
  border-radius: 14px;
  color: var(--navy);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  background-size: 180% 180%;
  animation: rise 0.55s ease-out both, wash 16s ease-in-out infinite alternate;
  transition: transform 0.18s ease;
}
.cat-card:nth-child(1) { animation-delay: 0.04s, 0s; }
.cat-card:nth-child(2) { animation-delay: 0.1s, 0s; }
.cat-card:nth-child(3) { animation-delay: 0.16s, 0.4s; }
.cat-card:nth-child(4) { animation-delay: 0.22s, 0.6s; }
.cat-card:nth-child(5) { animation-delay: 0.28s, 0.2s; }
.cat-card:nth-child(6) { animation-delay: 0.34s, 0.8s; }
.cat-card:nth-child(7) { animation-delay: 0.4s, 0.3s; }
.cat-card:nth-child(8) { animation-delay: 0.46s, 0.5s; }
.cat-card:nth-child(9) { animation-delay: 0.52s, 0.1s; }
.cat-card:nth-child(10) { animation-delay: 0.58s, 0.7s; }
.cat-card::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  right: -12px;
  top: -14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  animation: blob 7s ease-in-out infinite alternate;
}
.cat-card strong {
  font-family: var(--display);
  font-size: 0.62rem;
  line-height: 1.15;
  position: relative;
  z-index: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}
.cat-card > span:not(.cat-ico) {
  display: none;
}
.cat-card .cat-ico {
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  margin: 0 0 2px;
  line-height: 1;
}
.cat-card:active { transform: scale(0.98); }

.tone-coral { background: linear-gradient(160deg, #ff8a7a, var(--coral)); color: #fff; }
.tone-sea { background: linear-gradient(160deg, #7af0ff, var(--sea)); }
.tone-sun { background: linear-gradient(160deg, #fff1a8, var(--sun)); }
.tone-blue { background: linear-gradient(160deg, #8bb4ff, var(--blue)); color: #fff; }
.tone-pink { background: linear-gradient(160deg, #ff9ad0, var(--pink)); color: #fff; }
.tone-lime { background: linear-gradient(160deg, #e8ff8a, var(--lime)); }
.tone-navy { background: linear-gradient(160deg, #2a4a7a, var(--navy)); color: #fff; }
.tone-peach { background: linear-gradient(160deg, #ffd0b5, #ff8a5b); }
.tone-mint { background: linear-gradient(160deg, #c8fff2, #3ee0c4); }
.tone-gold { background: linear-gradient(160deg, #ffe9a8, #f5b400); }

.snap {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: #00a8c1 transparent;
}
.snap.is-dragging { cursor: grabbing; }
.snap::-webkit-scrollbar { height: 6px; }
.snap::-webkit-scrollbar-thumb {
  background: #00a8c1;
  border-radius: 99px;
}

.svc-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform 0.18s ease;
}
.svc-card:active { transform: scale(0.98); }
.svc-card.snap-card {
  flex: 0 0 78%;
  min-width: 78%;
  max-width: 78%;
  scroll-snap-align: start;
}
.svc-card.snap-card:first-child {
  animation: peek 2.8s 1s ease-out 1;
}
.svc-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.cover {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #12343c;
}
.cover-art {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-size: 140% 140%;
  background-position: center;
  animation: wash 12s ease-in-out infinite alternate;
}
.cover-art.is-photo {
  animation: none;
  background: #12343c;
}
.cover-art.is-photo::before,
.cover-art.is-photo::after {
  display: none;
}
.cover-art.is-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cover-art::before,
.cover-art::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}
.cover-art::before {
  width: 120px;
  height: 120px;
  right: -30px;
  top: -40px;
  animation: blob 8s ease-in-out infinite alternate;
}
.cover-art::after {
  width: 70px;
  height: 70px;
  left: 18px;
  bottom: -20px;
  animation: blob 10s ease-in-out infinite alternate-reverse;
}

.offer-pill,
.price-sticker {
  position: absolute;
  z-index: 2;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
}
.offer-pill {
  left: 10px;
  top: 10px;
  background: var(--coral);
  color: #fff;
  animation: pop 2.8s ease-in-out infinite;
}
.video-badge,
.pin-badge {
  position: absolute;
  z-index: 2;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
}
.video-badge {
  right: 10px;
  top: 10px;
  background: var(--navy);
  color: #fff;
}
.pin-badge {
  left: 10px;
  bottom: 10px;
  background: var(--sea);
  color: #fff;
}
.verified-mark {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--lime);
  color: var(--navy);
  border-radius: 999px;
  padding: 3px 8px;
  vertical-align: middle;
  margin-right: 4px;
}
.hours-box {
  margin: 14px 0;
  padding: 14px;
  border-radius: 18px;
  background: #e7f8fb;
  font-weight: 700;
}
.open-pill {
  display: inline-block;
  flex: 0 0 auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}
.open-pill.is-open { background: #c6f000; color: var(--navy); }
.open-pill.is-shut { background: #e8eef2; color: var(--muted); }
.open-pill.is-block {
  display: block;
  width: fit-content;
  margin: 0 0 8px;
  font-size: 0.85rem;
  padding: 4px 10px;
}
.views-box {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #d9f6fb;
  font-weight: 800;
  color: var(--navy);
}
.views-box small {
  display: block;
  margin-top: 6px;
  font-weight: 600;
  color: var(--muted);
}
.hours-box strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--blue);
  margin-bottom: 4px;
}
.video-slot {
  margin: 16px 0 8px;
  display: grid;
  gap: 12px;
}
.video-slot h2 {
  font-size: 1.05rem;
  margin: 0 0 10px;
}
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: var(--navy);
}
.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-frame.is-poster {
  display: grid;
  place-items: center;
  color: #fff;
  text-align: center;
  padding: 16px;
}
.video-frame.is-poster p {
  margin: 10px 0 0;
  font-weight: 800;
  font-size: 0.95rem;
}
.video-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  position: relative;
}
.video-play::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 16px;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent var(--navy);
}
.price-sticker {
  right: 10px;
  bottom: 10px;
  background: var(--sun);
  color: var(--navy);
  animation: bob 2.8s ease-in-out infinite;
}

.svc-body { padding: 12px 14px 14px; }
.svc-body h3 {
  font-size: 1.08rem;
  margin-bottom: 2px;
}
.svc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.stars { color: #f5b400; letter-spacing: 1px; }
.reviews-jump { color: inherit; font-weight: 700; }
.star-row {
  display: inline-flex;
  gap: 1px;
  letter-spacing: 0;
  vertical-align: -1px;
}
.star-row span { color: #d4dbe6; }
.star-row .is-on { color: #f5b400; }
.reviews {
  padding-bottom: 8px;
  scroll-margin-top: 8px;
  scroll-margin-bottom: calc(var(--dock) + 140px);
}
.reviews .block-head p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.review-form { margin: 0 0 14px; }
.star-label { margin: 0; font-weight: 800; font-size: 0.85rem; }
.star-pick {
  display: flex;
  gap: 4px;
  margin: -4px 0 4px;
}
.star-btn {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  line-height: 1;
  color: #d4dbe6;
  padding: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}
.star-btn.is-on { color: #f5b400; }
.star-btn:active { transform: scale(1.12); }
.review-list { display: grid; gap: 10px; }
.review-card {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.review-card.is-mine { outline: 2px solid var(--sea); }
.review-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.review-head strong { font-family: var(--display); }
.review-head time { margin-left: auto; color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.review-card p { margin: 0; font-weight: 600; }
.svc-body p {
  margin: 0;
  color: var(--ink);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vetrina {
  display: grid;
  gap: 14px;
  padding: 4px var(--pad) 20px;
}

.cat-hero {
  margin: 8px var(--pad) 0;
  padding: 22px 18px;
  border-radius: 24px 24px 0 0;
  color: #fff;
  background: linear-gradient(160deg, var(--coral), var(--pink), var(--sun));
  background-size: 180% 180%;
  box-shadow: var(--shadow);
  animation: wash 12s ease-in-out infinite alternate;
}
.cat-hero h1 { font-size: 1.55rem; margin: 0 0 6px; }
.cat-hero .lede { font-weight: 800; }

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 var(--pad) 12px;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto;
  border: 0;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 44px;
  font-weight: 800;
  box-shadow: var(--shadow);
}
.chip.is-on {
  background: var(--navy);
  color: #fff;
}

.empty {
  margin: 12px var(--pad);
  padding: 28px 18px;
  border-radius: var(--radius);
  background: #fff;
  text-align: center;
  font-weight: 700;
  color: var(--muted);
}

.service-page { padding-bottom: calc(var(--dock) + 150px); }
.gallery {
  position: relative;
}
.gallery .cover {
  border-radius: 0 0 28px 28px;
  aspect-ratio: 1 / 0.92;
}
.gallery .offer-pill {
  top: 62px;
  left: 16px;
  max-width: calc(100% - 120px);
  animation: none;
}
.service-info {
  padding: 16px var(--pad) 8px;
}
.service-info h1 { font-size: 1.7rem; margin: 6px 0; }
.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.tag {
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}
.desc {
  font-size: 1rem;
  font-weight: 600;
}
.addr {
  margin: 6px 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  opacity: 0.72;
}
.offer-box {
  margin: 14px 0;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #d9f6fb, #ffe3c8);
}
.offer-box strong { font-family: var(--display); display: block; font-size: 1.1rem; }

.cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: var(--dock);
  z-index: 25;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px var(--pad);
  background: color-mix(in srgb, var(--sand) 90%, transparent);
  backdrop-filter: blur(10px);
}
.btn {
  flex: 0 0 auto;
  width: auto;
  min-height: 44px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.15;
  padding: 10px 16px;
  position: relative;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.15s ease, color 0.15s ease;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--coral);
  color: #fff;
  border-color: var(--coral);
  overflow: hidden;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.38) 50%, transparent 70%);
  transform: translateX(-130%);
  animation: swipe 4s ease-in-out infinite;
}
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-ghost:hover { background: #e7f8fb; }
.cta-bar .btn {
  flex: 1 1 calc(50% - 8px);
  min-height: 52px;
  padding: 8px 10px;
  font-size: 0.92rem;
  white-space: normal;
}
.cta-bar .btn::after { display: none; }
.cta-bar .btn-wa { background: var(--coral); color: #fff; }
.cta-bar .btn-call { background: var(--sea); color: #fff; }
.cta-bar .btn-maps { background: var(--sun); color: var(--navy); }
.cta-bar .btn-ig { background: var(--pink); color: #fff; }
.cta-bar .btn-site { background: var(--blue); color: #fff; }
.cta-bar .btn-share { background: var(--navy); color: #fff; }

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -8px 24px rgba(8, 21, 38, 0.08);
  backdrop-filter: blur(16px);
}
.dock-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--muted);
  min-height: 48px;
  justify-content: center;
}
.dock-item.is-active { color: var(--coral); }
.dock-item.is-active svg {
  animation: pop 2.4s ease-in-out infinite;
}

.voice-fab {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(var(--dock) + 14px);
  z-index: 40;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--sea), #0a2a38);
  box-shadow: 0 12px 28px rgba(10, 42, 56, 0.28);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.voice-fab svg { display: block; }
.voice-fab.is-on {
  background: linear-gradient(145deg, var(--coral), #c94a12);
  animation: voicePulse 1.2s ease-in-out infinite;
}
.voice-sheet {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(var(--dock) + 86px);
  z-index: 39;
  max-width: min(420px, calc(100% - 24px));
  margin-left: auto;
  padding: 16px 14px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(10, 42, 56, 0.18);
  backdrop-filter: blur(16px);
  display: grid;
  gap: 10px;
}
.voice-sheet[hidden] { display: none; }
.voice-sheet-head {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.voice-sheet-head p { margin: 0; flex: 1; font-weight: 800; }
.voice-status {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
  min-height: 1.3em;
}
.voice-type {
  width: 100%;
  border: 0;
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--sand);
  font: inherit;
  font-weight: 700;
}
.voice-results { display: grid; gap: 8px; max-height: 42vh; overflow: auto; }
.voice-kicker {
  margin: 4px 0 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.voice-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 6px 6px 0;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--navy);
}
.voice-close,
.voice-retry {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  padding: 6px 8px;
  min-height: 44px;
}
.voice-retry { color: var(--sea); justify-self: start; }
@keyframes voicePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 12px 28px rgba(242, 107, 31, 0.35); }
  50% { transform: scale(1.06); box-shadow: 0 16px 32px rgba(242, 107, 31, 0.5); }
}

.site-foot {
  margin: 18px auto 12px;
  padding: 18px var(--pad) 16px;
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}
.site-foot .brand { font-size: 1.18rem; }
.foot-tag {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
}
.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-weight: 800;
  font-size: 0.88rem;
}
.foot-links a { color: var(--sea); }
.foot-copy {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
}
.foot-copy a { color: var(--sea); }
.pay-badges {
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid #e6eef0;
}
.pay-secure {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #0a7a3e;
}
.pay-secure img {
  flex: 0 0 auto;
  width: 36px;
  height: 22px;
  border-radius: 4px;
}
.pay-secure span {
  display: grid;
  gap: 1px;
}
.pay-secure strong {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}
.pay-secure small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.pay-cards {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.pay-cards img {
  display: block;
  width: 52px;
  height: 32px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(18, 52, 60, 0.12);
}
.hp-wrap {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.guide {
  padding: 8px var(--pad) 12px;
}
.guide-hero {
  margin: 0 0 14px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.guide-hero img {
  width: 100%;
  height: 176px;
  object-fit: cover;
  display: block;
}
.guide h1 {
  font-size: clamp(1.45rem, 6vw, 1.85rem);
  margin: 0 0 8px;
}
.guide > .lede {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--muted);
}
.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.guide-toc a {
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}
.itinerary-grid {
  display: grid;
  gap: 12px;
}
.trip-slider {
  position: relative;
  margin: 0 calc(-1 * var(--pad));
}
.trip-track.snap {
  padding-left: var(--pad);
  padding-right: var(--pad);
  scroll-padding-inline: var(--pad);
  gap: 14px;
}
.trip-slide {
  position: relative;
  flex: 0 0 82%;
  min-width: 82%;
  max-width: 82%;
  height: 248px;
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow);
  color: #fff;
  display: block;
}
.trip-slide:first-child {
  animation: peek 2.8s 0.6s ease-out 1;
}
.trip-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
}
.trip-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(8, 21, 38, 0.82));
  pointer-events: none;
}
.trip-slide > .photo-credit {
  top: 0;
  bottom: auto;
  left: 0;
  right: auto;
  z-index: 3;
  width: auto;
  max-width: 94%;
  padding: 7px 10px;
  border-radius: 0 0 12px 0;
  background: rgba(10, 42, 56, 0.78);
  font-size: 0.62rem;
}
.trip-slide-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 14px 14px 16px;
  display: grid;
  gap: 4px;
}
.trip-slide-copy em {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffe3c8;
}
.trip-slide-copy strong {
  font-family: var(--display);
  font-size: 1.28rem;
  line-height: 1.15;
  color: #fff;
}
.trip-slide-copy p {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}
.trip-slider-btn {
  position: absolute;
  top: 46%;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
  cursor: pointer;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
}
.trip-slider-btn--prev { left: 8px; }
.trip-slider-btn--next { right: 8px; }
.trip-slider-btn:active { transform: scale(0.94); }
.trips-swipe {
  margin: 0 var(--pad) 4px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--sea);
}
.itinerary-card {
  display: grid;
  gap: 8px;
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--shadow);
  color: inherit;
}
.itinerary-card strong {
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--navy);
}
.itinerary-card p {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.92rem;
}
.itinerary-card em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--sea);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.guide-stops {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.guide-stops li {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
}
.guide-stops b { color: var(--navy); }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--muted);
}
.crumbs a { color: var(--sea); }
.guide-prose h2 {
  font-size: 1.18rem;
  margin: 22px 0 8px;
  scroll-margin-top: 72px;
}
.guide-prose p {
  margin: 0 0 12px;
  font-weight: 600;
}
.guide-prose ul {
  margin: 0 0 14px;
  padding-left: 1.15rem;
  font-weight: 600;
}
.guide-prose li { margin-bottom: 6px; }
.guide-prose a { color: var(--sea); font-weight: 800; }
.guide-faq { margin: 22px 0 4px; }
.guide-faq h2 { font-size: 1.18rem; margin: 0 0 10px; }
.guide-faq h3 { font-size: 1.02rem; margin: 16px 0 6px; }
.guide-faq p { font-weight: 600; margin: 0 0 10px; }
.seo-seed { margin: 0; padding-left: 1.15rem; font-weight: 600; }
.seo-seed li { margin-bottom: 8px; }
.seo-seed-note { font-weight: 600; margin: 16px 0 0; }
.service-page .seo-seed { padding: 88px 18px 24px; max-width: 42rem; margin: 0 auto; }
.guide .block-head { margin-top: 8px; }
.guide > .eyebrow { margin: 0 0 6px; }
.guide .snap { margin-bottom: 8px; }
.hub-after-prose { margin: 8px 0 22px; }
.guide .hub-listings { margin: 12px 0 8px; padding: 0; }
.guide .hub-listings-host {
  display: block;
  overflow: visible;
  margin: 0 0 16px;
  scroll-snap-align: unset;
}
.guide .hub-listings .vetrina,
.guide .hub-listings-host .vetrina {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 8px;
}
.guide-prose .hub-listings h2,
.guide .hub-listings-host h2 { scroll-margin-top: 72px; }
.guide-prose .hub-listings .svc-body p,
.guide .hub-listings-host .svc-body p { font-weight: 700; }
.guide .hub-listings .block-head,
.guide .hub-listings-host .block-head { margin-top: 4px; }

.guide.legal {
  padding-bottom: 28px;
  max-width: 42rem;
}
.guide.legal h2 {
  font-size: 1.12rem;
  margin: 22px 0 8px;
}
.guide.legal p,
.guide.legal li {
  font-weight: 600;
  margin: 0 0 12px;
}
.guide.legal ul {
  margin: 0 0 14px;
  padding-left: 1.15rem;
}
.guide.legal a {
  color: var(--sea);
  font-weight: 800;
}
.guide.legal .legal-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.92rem;
}

.mix-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}
.mix-chip {
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: 0.8rem;
  box-shadow: var(--shadow);
}
.mix-chip.is-on { background: var(--sea); color: #fff; }
.mix-tot { font-weight: 700; color: var(--muted); margin: 0 0 12px; }
.ready-banner {
  background: var(--sea);
  color: #fff;
  font-weight: 800;
  border-radius: 16px;
  padding: 12px 14px;
  margin: 0 0 16px;
}
.pipe-list { display: grid; gap: 10px; margin-bottom: 12px; }
.pipe-card {
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 10px;
}
.pipe-card.is-draft { opacity: 0.72; }
.pipe-card strong { display: block; }
.pipe-card span { display: block; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.pipe-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pipe-actions .btn { width: auto; padding: 8px 12px; min-height: 40px; }
.form-actions { display: grid; gap: 8px; }
.form .check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.form .check input { width: 22px; height: 22px; min-height: 22px; }
.pitch {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  font: inherit;
  font-weight: 600;
  white-space: pre-wrap;
  box-shadow: var(--shadow);
}
body[data-page="raccolta"] .guide { padding-bottom: 24px; }

.search-hit {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow);
}
.search-hit b { display: block; }
.search-hit small { color: var(--muted); font-weight: 700; }
.hit-dot {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  flex: 0 0 auto;
}

.cta-bar { flex-wrap: wrap; }
.cta-bar .btn { flex: 1 1 calc(50% - 8px); }

.listino {
  margin: 16px 0 8px;
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.listino h2 { font-size: 1.15rem; margin-bottom: 8px; }
.listino ul { list-style: none; margin: 0; padding: 0; }
.listino li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.listino li:last-child { border: 0; }

.lang-toggle { display: none; }

.lang-slot {
  margin: 0 var(--pad) 12px;
}
.lang-slot--hero {
  margin: 0 var(--pad) 14px;
  animation: rise 0.65s 0.12s ease-out both;
}
.lang-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 8px;
  background: #fff;
  border-radius: 0 0 22px 22px;
  box-shadow: var(--shadow);
}
.lang-slot:not(.lang-slot--hero) .lang-bar {
  border-radius: 18px;
}
.lang-btn {
  appearance: none;
  border: 2px solid transparent;
  background: var(--sand, #f6f1e8);
  border-radius: 14px;
  min-height: 52px;
  padding: 6px 4px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.lang-btn:active { transform: scale(0.94); }
.lang-btn.is-on {
  border-color: var(--coral);
  background: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sea) 35%, transparent);
  animation: ring 2.6s ease-in-out infinite;
}
.lang-flag {
  display: block;
  width: 32px;
  height: 22px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(8, 21, 38, 0.25);
  animation: wiggle 3.6s ease-in-out infinite;
  transform-origin: 50% 100%;
}
.lang-btn:nth-child(2) .lang-flag { animation-delay: 0.35s; }
.lang-btn:nth-child(3) .lang-flag { animation-delay: 0.7s; }
.lang-btn:nth-child(4) .lang-flag { animation-delay: 1.05s; }
.lang-flag svg {
  display: block;
  width: 100%;
  height: 100%;
}
.lang-code {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.service-page .lang-slot--hero {
  margin: 0 0 10px;
}
.service-page .gallery {
  margin-bottom: 0;
}
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.center-note { text-align: center; font-weight: 700; padding: 0 var(--pad) 20px; }
.center-note a { color: var(--coral); }
.form-err {
  margin: 0 var(--pad) 8px;
  padding: 12px;
  border-radius: 14px;
  background: #ffe3d6;
  font-weight: 800;
  color: #9a2b12;
}
.owned {
  background: var(--sea);
  color: #fff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: 999px;
}
.check.tight { padding: 8px 10px; font-size: 0.85rem; }
.icon-btn.wide { width: auto; padding: 0 12px; font-weight: 800; }
.pay-box {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.pay-lines { list-style: none; margin: 0; padding: 0; }
.pay-lines li { display: flex; justify-content: space-between; padding: 8px 0; font-weight: 700; }
.pay-note { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.pay-stripe {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px 4px;
  min-height: 48px;
  margin: 4px 0 12px;
}
.partner-banner .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.partner-banner .btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.listino-edit input {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  min-height: 48px;
  width: 100%;
}
.dash-btns { display: flex; gap: 8px; margin-top: 10px; }

@keyframes pop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes kenburns {
  from { transform: scale(1.14) translate(0, 0); }
  to { transform: scale(1.26) translate(-3.5%, -2.2%); }
}
@keyframes sheen {
  0%, 55% { background-position: 120% 0; }
  100% { background-position: -40% 0; }
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-8deg); }
  50% { transform: rotate(8deg); }
}
@keyframes blob {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-18px, 14px) scale(1.18); }
}
@keyframes wash {
  from { background-position: 0% 40%; }
  to { background-position: 100% 70%; }
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 30px) scale(1.15); }
}
@keyframes ring {
  0%, 100% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--sea) 35%, transparent); }
  50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--coral) 28%, transparent); }
}
@keyframes swipe {
  0%, 58% { transform: translateX(-130%); }
  78% { transform: translateX(130%); }
  100% { transform: translateX(130%); }
}
@keyframes peek {
  0%, 100% { transform: translateX(0); }
  35% { transform: translateX(-14px); }
  55% { transform: translateX(6px); }
  70% { transform: translateX(0); }
}
@keyframes ctaPulse {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 0 #c98400; }
  50% { transform: translateY(-3px); box-shadow: 0 10px 0 #c98400, 0 14px 22px rgba(242, 107, 31, 0.45); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body::before,
  body::after,
  .hero-art,
  .hero::after,
  .hero-copy,
  .lang-slot--hero,
  .life-art,
  .life-strip::after,
  .lang-flag,
  .lang-btn.is-on,
  .shortcut,
  .shortcuts,
  .tile,
  .tile-ico,
  .tile-label,
  .app-hub-wash,
  .reveal,
  .reveal-item,
  .cat-card,
  .cat-card::after,
  .cat-hero,
  .cover-art,
  .cover-art::before,
  .cover-art::after,
  .offer-pill,
  .price-sticker,
  .eyebrow,
  .partner-banner,
  .join-cta,
  .join-cta-pill,
  .join-cta-btn,
  .free-pill,
  .btn-cta,
  .free-spotlight,
  .dock-item.is-active svg,
  .btn-primary::after,
  .svc-card.snap-card:first-child,
  .voice-fab.is-on {
    animation: none !important;
  }
  .hero-art { transform: none; }
  .life-art { transform: none; }
  .tile,
  .tile-ico,
  .tile-label,
  .reveal,
  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (min-width: 900px) {
  :root { --max: 1080px; }
  body { padding-bottom: 24px; }
  body[data-page="servizio"] { padding-bottom: 96px; }
  .dock { display: none; }
  .voice-fab { bottom: 24px; }
  .voice-sheet { bottom: 96px; }
  .cta-bar { bottom: 0; width: min(100%, var(--max)); }
  .shortcuts { grid-template-columns: repeat(4, 1fr); max-width: 720px; }
  .cat-grid { gap: 10px; }
  #categorie { padding-top: 18px; }
  #categorie .block-head { margin-bottom: 12px; }
  #categorie .block-head h2 { font-size: 1.45rem; }
  #categorie .block-head p { display: block; }
  .cat-card {
    min-height: 108px;
    padding: 12px;
    border-radius: var(--radius);
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
  }
  .cat-card::after {
    width: 90px;
    height: 90px;
    right: -18px;
    top: -22px;
  }
  .cat-card strong {
    font-size: 1.05rem;
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  .cat-card > span:not(.cat-ico) {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    opacity: 0.8;
    position: relative;
    z-index: 1;
  }
  .cat-card .cat-ico {
    font-size: 1.6rem;
    margin-bottom: auto;
  }
  .svc-card.snap-card { flex-basis: 280px; min-width: 280px; max-width: 320px; }
  .vetrina { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 420px; }
  .hero-art { height: 420px; object-position: 60% 45%; }
  .life-strip,
  .life-strip a { min-height: 200px; }
  .life-art { height: 200px; }
  .desk-nav { display: flex; gap: 18px; font-weight: 800; align-items: center; }
  .service-page { padding-bottom: 24px; }
  .site-foot { margin-bottom: 24px; }
  .guide-hero img { height: 280px; }
  .trip-slide { flex-basis: 46%; min-width: 46%; max-width: 46%; height: 280px; }
  .extra-shop { grid-template-columns: 1fr 1fr; }
}

/* Ora e qui + mappa Leaflet */
.now-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.now-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 8px 24px rgba(28, 36, 48, 0.05);
  overflow: hidden;
}
.now-ico {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #fff;
}
.now-card--temp .now-ico { background: var(--coral); }
.now-card--sun .now-ico { background: var(--sun); color: #5a3a00; }
.now-card--wind .now-ico { background: var(--blue); }
.now-card--wave .now-ico { background: var(--sea); }
.now-card b {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
  color: #0b4f6c;
  padding-right: 34px;
}
.now-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}
.now-card .now-sub {
  display: block;
  margin-top: 2px;
  color: #0b4f6c;
  font-size: 0.78rem;
  font-weight: 700;
}
.now-card .now-sub:empty { display: none; }
.home-map {
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(28, 36, 48, 0.1);
  background: #dceef0;
  z-index: 1;
  touch-action: pan-x pan-y;
}
.home-map .leaflet-container {
  width: 100%;
  height: 100%;
  font: inherit;
}
.trip-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0 0 12px;
  padding: 2px 2px 6px;
}
.trip-filters::-webkit-scrollbar { display: none; }
.trip-chip {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 36, 48, 0.14);
  background: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  color: #1c2430;
  cursor: pointer;
}
.trip-chip.is-on[data-tone="navy"],
.trip-chip.is-on:not([data-tone]) {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.trip-chip.is-on[data-tone="sun"] {
  background: var(--sun);
  border-color: var(--sun);
  color: #5a3a00;
}
.trip-chip.is-on[data-tone="sea"] {
  background: var(--sea);
  border-color: var(--sea);
  color: #fff;
}
.trip-chip.is-on[data-tone="lime"] {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--navy);
}
.trip-chip.is-on[data-tone="coral"] {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}
.trip-slide.is-filtered-out,
.trip-slide[hidden] { display: none !important; }
.propose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.propose-sheet,
.community-item {
  background: #fff;
  border: 1px solid rgba(28, 36, 48, 0.1);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(28, 36, 48, 0.05);
}
.propose-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  text-align: left;
  padding: 16px;
  min-height: 96px;
  cursor: pointer;
  font: inherit;
  width: 100%;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(10, 42, 56, 0.14);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.propose-card:active { transform: scale(0.98); }
.propose-card--place,
.propose-card[data-tone="coral"] {
  background: linear-gradient(145deg, #ff8a4a, var(--coral));
  color: #fff;
}
.propose-card--route,
.propose-card[data-tone="sea"] {
  background: linear-gradient(145deg, #3fd0e4, var(--sea));
  color: #fff;
}
.propose-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  flex-shrink: 0;
}
.propose-copy {
  display: grid;
  gap: 0.3rem;
  min-width: 0;
}
.propose-card strong {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}
.propose-card .propose-copy > span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
}
.propose-sheet { padding: 14px 16px; }
.propose-form {
  display: grid;
  gap: 10px;
}
.propose-form label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}
.propose-form input,
.propose-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(28, 36, 48, 0.16);
  font: inherit;
  font-size: 16px; /* evita zoom iOS */
  box-sizing: border-box;
}
.propose-form textarea { min-height: 96px; resize: vertical; }
.propose-form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.propose-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.propose-actions .btn { min-height: 46px; width: 100%; }
.propose-submit {
  background: var(--coral) !important;
  border-color: var(--coral) !important;
  color: #fff !important;
}
.propose-msg {
  margin: 0;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
}
.propose-msg.is-ok { background: rgba(42, 154, 160, 0.14); color: #0b4f6c; }
.propose-msg.is-err { background: rgba(200, 60, 60, 0.12); color: #8a1f1f; }
.community-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.community-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 14px;
}
.community-item p {
  margin: 0.35rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.community-item small { color: var(--muted); }
.community-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 28px;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--sea);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}
.community-empty {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
@media (min-width: 760px) {
  .now-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-map { height: 360px; }
  .propose-grid { grid-template-columns: 1fr 1fr; }
  .propose-actions { grid-template-columns: 1fr auto; }
  .propose-actions .btn { width: auto; }
}
