/* ============================================================
   PER VIVERE A COLORI — Frontend CSS completo
   ============================================================ */

/* Font caricati via <link> nell'header — nessun @import necessario */

/* ── VARIABILI ── */
:root {
  --pink:    #E8B4C8;
  --yellow:  #F4C97A;
  --green:   #88C9A0;
  --blue:    #A8C4E8;
  --purple:  #C9A0D4;
  --orange:  #F4A87A;
  --teal:    #88C4D4;

  --dark:    #1a1a1a;
  --mid:     #555555;
  --muted:   #999999;
  --border:  #e8e8e8;
  --bg:      #f9f8f6;
  --white:   #ffffff;

  --radius:    12px;
  --radius-sm: 6px;
  --shadow:    0 2px 20px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.10);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 1rem;
  line-height: 1.65;
}
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.15; }

/* ════════════════════════════════════════════
   NAVBAR
════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark);
  white-space: nowrap;
}
.nav-logo em { font-style: italic; font-weight: 400; }
.nav-logo-dots { display: flex; gap: 3px; }
.nav-logo-dots span { width: 8px; height: 8px; border-radius: 50%; display: block; }
.nav-logo-dots span:nth-child(1) { background: var(--pink); }
.nav-logo-dots span:nth-child(2) { background: var(--yellow); }
.nav-logo-dots span:nth-child(3) { background: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: nowrap;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mid);
  letter-spacing: 0.02em;
  transition: color 0.25s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--dark); }

.nav-cta {
  background: var(--dark) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 50px !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}
.nav-cta:hover { background: #333 !important; }

/* ── Dropdown categorie ── */
.nav-dropdown { position: relative; }
.nav-drop-toggle { display: flex; align-items: center; gap: 5px; }
.nav-drop-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
  flex-direction: column;
}
.nav-dropdown:hover .nav-drop-menu { display: flex; }
.nav-drop-menu li { list-style: none; }
.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: .84rem;
  color: var(--mid);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-drop-menu a i { width: 16px; text-align: center; color: var(--muted); font-size: .8rem; }
.nav-drop-menu a:hover { background: var(--bg); color: var(--dark); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
}

/* ════════════════════════════════════════════
   SLIDESHOW FULLSCREEN
════════════════════════════════════════════ */
.slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s ease;
  filter: brightness(0.85);
}
.slide.active .slide-bg { transform: scale(1); }

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 0%,
    rgba(0,0,0,0.1) 50%,
    rgba(0,0,0,0.35) 100%
  );
}
.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.slide-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.slide.active .slide-cat-pill { opacity: 1; transform: translateY(0); }

.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  line-height: 1.1;
  color: #fff;
  max-width: 820px;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}
.slide.active .slide-title { opacity: 1; transform: translateY(0); }

.slide-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease 0.6s, transform 0.8s ease 0.6s;
}
.slide.active .slide-sub { opacity: 1; transform: translateY(0); }

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: background 0.3s, opacity 0.8s ease 0.8s, transform 0.8s ease 0.8s;
}
.slide.active .slide-btn { opacity: 1; transform: translateY(0); }
.slide-btn:hover { background: #fff; }

/* Slide controls */
.slide-dots {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  padding: 0;
}
.dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 1rem;
  transition: var(--transition);
}
.slide-arrow:hover { background: rgba(255,255,255,0.3); }
.slide-arrow.prev { left: 28px; }
.slide-arrow.next { right: 28px; }
.slide-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: linear-gradient(to right, var(--pink), var(--yellow), var(--green), var(--blue), var(--purple));
  width: 0;
  transition: width 6s linear;
}

/* ════════════════════════════════════════════
   SEARCH STRIP
════════════════════════════════════════════ */
.search-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 60px;
  box-shadow: var(--shadow);
}
.search-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 68px;
  gap: 0;
}
.search-inner input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--dark);
  background: transparent;
  padding: 0 16px 0 14px;
  min-width: 0;
}
.search-inner input::placeholder { color: var(--muted); }
.search-inner select {
  border: none;
  outline: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: var(--mid);
  background: transparent;
  cursor: pointer;
  padding: 0 8px;
  flex-shrink: 0;
}
.search-divider {
  width: 1px; height: 28px;
  background: var(--border);
  margin: 0 12px;
  flex-shrink: 0;
}
.search-btn-main {
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 0 24px;
  height: 44px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  margin-left: 16px;
  flex-shrink: 0;
  white-space: nowrap;
}
.search-btn-main:hover { background: #333; }

/* ════════════════════════════════════════════
   SEZIONI GENERICHE
════════════════════════════════════════════ */
.section    { padding: 96px 60px; }
.section-sm { padding: 64px 60px; }
.container  { max-width: 1320px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 56px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  width: 24px; height: 1px;
  background: var(--border);
  display: block;
}
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--dark);
  margin-bottom: 14px;
}
.section-head p {
  font-size: 1rem;
  color: var(--mid);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 300;
}

/* ════════════════════════════════════════════
   GRIGLIA CATEGORIE
════════════════════════════════════════════ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.cat-card {
  position: relative;
  height: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
}
.cat-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.65) saturate(0.85);
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.5s;
}
.cat-card:hover .cat-bg {
  transform: scale(1.06);
  filter: brightness(0.5) saturate(0.7);
}
.cat-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.34) 0%,
      rgba(0,0,0,0.10) 52%,
      rgba(0,0,0,0.02) 100%
    ),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--cat-color, var(--dark)) 30%, transparent) 0%,
      color-mix(in srgb, var(--cat-color, var(--dark)) 16%, transparent) 48%,
      transparent 100%
    );
  transition: background 0.5s ease, opacity 0.5s ease;
}
.cat-card:hover .cat-overlay {
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.42) 0%,
      rgba(0,0,0,0.16) 52%,
      rgba(0,0,0,0.04) 100%
    ),
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--cat-color, var(--dark)) 40%, transparent) 0%,
      color-mix(in srgb, var(--cat-color, var(--dark)) 22%, transparent) 50%,
      transparent 100%
    );
}
@supports not (background: color-mix(in srgb, red 30%, transparent)) {
  .cat-overlay {
    background:
      linear-gradient(to top, rgba(0,0,0,0.34) 0%, rgba(0,0,0,0.10) 52%, rgba(0,0,0,0.02) 100%),
      linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.03) 48%, transparent 100%);
  }
}
.cat-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  transition: height 0.4s;
}
.cat-card:hover .cat-accent { height: 6px; }

.cat-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px 20px;
}
.cat-icon-wrap {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 10px;
  transition: var(--transition);
}
.cat-card:hover .cat-icon-wrap { transform: scale(1.1); }
.cat-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.cat-count {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}
.cat-hint {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}
.cat-card:hover .cat-hint { max-height: 50px; }
.cat-arrow {
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: var(--transition);
}
.cat-card:hover .cat-arrow { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════
   GRIGLIA CATEGORIE MOSAICO 2+3+2
════════════════════════════════════════════ */
.categories-mosaic {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cat-row {
  display: grid;
  gap: 12px;
}
.cat-row-2 { grid-template-columns: repeat(2, 1fr); }
.cat-row-3 { grid-template-columns: repeat(3, 1fr); }
.cat-row-4 { grid-template-columns: repeat(4, 1fr); }

/* card righe 1 e 3 (2 col) → più alte */
.cat-row-2 .cat-card-v2 { height: 320px; }
/* card riga 2 (3 col) → più basse */
.cat-row-3 .cat-card-v2 { height: 240px; }
/* card riga 4 col → altezza media */
.cat-row-4 .cat-card-v2 { height: 200px; }

.cat-card-v2 {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
  cursor: pointer;
  transition: transform .35s cubic-bezier(0.4,0,0.2,1), box-shadow .35s;
}
.cat-card-v2:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
}

.ccv2-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.88) saturate(0.75);
  transition: transform .7s cubic-bezier(0.4,0,0.2,1), filter .5s;
}
.cat-card-v2:hover .ccv2-bg {
  transform: scale(1.05);
  filter: brightness(0.75) saturate(0.70);
}

/* overlay colorato leggero — schiarisce e colora */
.ccv2-tint {
  position: absolute;
  inset: 0;
  transition: opacity .4s;
}

/* accent bar colorata in cima */
.ccv2-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  z-index: 2;
  transition: height .3s;
}
.cat-card-v2:hover .ccv2-accent { height: 6px; }

/* arrow top-right */
.ccv2-arrow {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  font-size: .72rem;
  z-index: 3;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s, transform .3s;
}
.cat-card-v2:hover .ccv2-arrow { opacity: 1; transform: translateY(0); }

/* corpo testo in basso */
.ccv2-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 20px 22px;
  z-index: 3;
}

/* icona con cerchio colorato */
.ccv2-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: #fff;
  margin-bottom: 10px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: transform .3s;
}
.cat-card-v2:hover .ccv2-icon { transform: scale(1.08); }

/* icone Tabler nelle card — fix dimensione */
.ccv2-icon .ti {
  font-size: 19px;
  line-height: 1;
}

.ccv2-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
/* card piccole (3col): nome leggermente ridotto */
.cat-row-3 .ccv2-name { font-size: 1rem; }

.ccv2-count {
  font-size: .78rem;
  font-weight: 500;
  color: rgba(255,255,255,.72);
}

/* ════════════════════════════════════════════
   BARRA STATISTICHE
════════════════════════════════════════════ */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-cell {
  text-align: center;
  padding: 48px 24px;
  border-right: 1px solid var(--border);
}
.stat-cell:last-child { border-right: none; }
.stat-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  margin: 0 auto 16px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

/* ════════════════════════════════════════════
   LISTING CARDS (attività in evidenza)
════════════════════════════════════════════ */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: block;
  color: inherit;
}
.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.listing-img {
  position: relative;
  height: 210px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.listing-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: var(--transition);
}
.listing-card:hover .listing-img::after { background: rgba(0,0,0,0.1); }

.listing-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--white);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 1;
}
.listing-save {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--mid);
  font-size: 0.85rem;
  z-index: 1;
  cursor: pointer;
  transition: var(--transition);
}
.listing-save:hover { background: white; color: #e74c3c; }

.listing-body { padding: 18px 20px 12px; }
.listing-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.listing-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--dark);
}
.listing-addr {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.listing-rating {
  display: flex;
  align-items: center;
  gap: 8px;
}
.rating-num   { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.rating-count { font-size: 0.78rem; color: var(--muted); }

.listing-footer {
  padding: 10px 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.listing-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-chip {
  background: var(--bg);
  color: var(--mid);
  font-size: 0.72rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 50px;
}
.listing-go {
  width: 30px; height: 30px;
  background: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.listing-card:hover .listing-go { transform: scale(1.1); }

/* ── Pills badge categoria ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 600;
}

/* ════════════════════════════════════════════
   CTA INSERZIONISTI
════════════════════════════════════════════ */
.cta-section {
  background: var(--dark);
  padding: 100px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1a0e00 0%, #0f0f0f 50%, #001a0e 100%);
}
.cta-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.confetti-dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.cta-content {
  position: relative;
  max-width: 660px;
  margin: 0 auto;
}
.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 300;
}
.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.cta-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--dark);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(255,255,255,0.1); }

/* ── Bottoni generici ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: 'DM Sans', sans-serif;
}
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: #333; transform: translateY(-2px); }
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline-dark:hover { background: var(--dark); color: var(--white); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); border-color: white; }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 72px 60px 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  max-width: 1320px;
  margin: 0 auto 56px;
}
.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand em { font-style: italic; font-weight: 400; }
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 28px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-socials a:hover { border-color: var(--white); color: var(--white); }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  font-weight: 300;
  transition: color 0.25s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1320px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}
.color-dots { display: flex; gap: 4px; }
.color-dots span { width: 8px; height: 8px; border-radius: 50%; display: block; }

/* ════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 1200px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card { height: 340px; }
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  /* mosaico: collassa riga 3 a 2 col */
  .cat-row-3 .cat-card-v2 { height: 210px; }
}

@media (max-width: 900px) {
  /* mosaico: tutte le righe diventano 2 colonne */
  .cat-row-2,
  .cat-row-3,
  .cat-row-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-row-2 .cat-card-v2,
  .cat-row-3 .cat-card-v2,
  .cat-row-4 .cat-card-v2 { height: 200px; }
}

@media (max-width: 1024px) {
  .navbar { padding: 0 30px; }
  .section, .section-sm { padding-left: 30px; padding-right: 30px; }
  .footer { padding-left: 30px; padding-right: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .search-strip { padding: 0 30px; }
  .cta-section { padding: 80px 30px; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .navbar { padding: 0 20px; }

  /* Dropdown mobile — aperto via JS nel menu hamburger */
  .nav-drop-menu { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; background: transparent; }
  .nav-drop-menu a { font-size: .88rem; padding: 7px 10px; }

  .slideshow { height: 90vh; min-height: 500px; }
  .slide-arrow { display: none; }
  .slide-title { font-size: 2rem; }

  .search-strip { padding: 0 16px; }
  .search-inner { height: auto; flex-wrap: wrap; padding: 12px 0; gap: 8px; }
  .search-inner input { width: 100%; padding: 10px 14px; background: var(--bg); border-radius: 50px; border: 1px solid var(--border); }
  .search-inner select { background: var(--bg); border: 1px solid var(--border); border-radius: 50px; padding: 8px 14px; }
  .search-divider { display: none; }
  .search-btn-main { width: 100%; justify-content: center; }

  .section, .section-sm { padding: 60px 20px; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card { height: 280px; }
  /* mosaico mobile: 1 colonna */
  .cat-row-2,
  .cat-row-3,
  .cat-row-4 { grid-template-columns: 1fr 1fr; }
  .cat-row-2 .cat-card-v2,
  .cat-row-3 .cat-card-v2,
  .cat-row-4 .cat-card-v2 { height: 160px; }
  .ccv2-name { font-size: .95rem; }
  .ccv2-icon { width: 36px; height: 36px; font-size: 15px; margin-bottom: 7px; }
  .listings-grid { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer { padding: 56px 20px 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .cta-section { padding: 72px 20px; }
  .cta-benefits { flex-direction: column; gap: 12px; align-items: center; }

  /* ── Filtri mobile: bottone + drawer ── */
  .mobile-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--dark);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
  }
  .filter-drawer {
    position: fixed;
    inset: 0;
    z-index: 900;
    pointer-events: none;
  }
  .filter-drawer.open { pointer-events: auto; }
  .filter-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    opacity: 0;
    transition: opacity .3s;
  }
  .filter-drawer.open .filter-drawer-backdrop { opacity: 1; }
  .filter-drawer-panel {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: var(--white);
    border-radius: 16px 16px 0 0;
    padding: 20px 20px 40px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(0.4,0,0.2,1);
  }
  .filter-drawer.open .filter-drawer-panel { transform: translateY(0); }
  .filter-drawer-handle {
    width: 36px; height: 4px;
    background: var(--border);
    border-radius: 2px;
    margin: 0 auto 18px;
  }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .cat-card { height: 220px; }
  .cat-name { font-size: 1rem; }
}
