:root {
  --green: #2ECC71;
  --green-dark: #1a9e52;
  --green-light: #eafaf1;
  --orange: #FF6B35;
  --orange-light: #fff3ee;
  --teal: #00B4D8;
  --teal-light: #e0f7fc;
  --yellow: #FFD60A;
  --red: #E63946;
  --purple: #7B2FBE;
  --white: #ffffff;
  --off-white: #F8FFFE;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Nunito Sans', sans-serif;
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── Skip link accessibilità ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  z-index: 9999;
  transition: top 0.15s;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--green-dark);
  outline-offset: 2px;
}

/* ── NAV ── */
nav {
  background: var(--white);
  border-bottom: 2px solid var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(46,204,113,0.12);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 68px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-cross {
  width: 38px;
  height: 38px;
  background: var(--green);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.logo-cross::before,
.logo-cross::after {
  content: '';
  position: absolute;
  background: white;
  border-radius: 3px;
}
.logo-cross::before { width: 22px; height: 7px; }
.logo-cross::after  { width: 7px; height: 22px; }
.logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--text);
  line-height: 1.15;
}
.logo-text span { color: var(--green); }
.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all .2s;
  letter-spacing: 0.01em;
}
.nav-links a:hover { background: var(--green-light); color: var(--green-dark); }
.nav-cta {
  background: var(--orange) !important;
  color: white !important;
  padding: 8px 18px !important;
  border-radius: 24px !important;
}
.nav-cta:hover { background: #e55a25 !important; transform: translateY(-1px); }

/* ── NAV SOCIAL ── */
.nav-social {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 0.5rem;
}
.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: all .2s;
}
.nav-social a:hover { background: var(--green-light); color: var(--green-dark); transform: translateY(-1px); }
.nav-social svg { width: 18px; height: 18px; fill: currentColor; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, #eafaf1 0%, #fff8f0 50%, #e0f7fc 100%);
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(46,204,113,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-light);
  border: 1.5px solid var(--green);
  color: var(--green-dark);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hero-badge::before { content: '📍'; font-size: 0.9rem; }
h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 3rem;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.25rem;
}
h1 em {
  font-style: normal;
  color: var(--green);
}
.hero-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--green);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(46,204,113,0.35);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 6px 22px rgba(46,204,113,0.4); }
.btn-secondary {
  background: white;
  color: var(--text);
  border: 2px solid var(--border);
  padding: 14px 28px;
  border-radius: 30px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
}
.btn-secondary:hover { border-color: var(--green); color: var(--green-dark); }

/* Info card nell'hero */
.hero-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-hover);
  border: 2px solid rgba(46,204,113,0.15);
}
.hero-card-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.orari-list { list-style: none; }
.orari-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.orari-list li:last-child { border-bottom: none; }
.orari-giorno { font-weight: 700; color: var(--text); }
.orari-ora { color: var(--text-muted); }
.badge-aperto {
  background: #d1fae5;
  color: #065f46;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
}
.badge-chiuso {
  background: #fee2e2;
  color: #991b1b;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 12px;
}
.divider-orari { height: 1rem; }
.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1rem;
  padding: 10px 14px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
}

/* ── SEZIONI COMUNI ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.tag-green { background: var(--green-light); color: var(--green-dark); }
.tag-orange { background: var(--orange-light); color: #c04a1a; }
.tag-teal { background: var(--teal-light); color: #006080; }
.tag-purple { background: #f3e8ff; color: #5b21b6; }
.section-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.section-subtitle { color: var(--text-muted); font-size: 1rem; line-height: 1.6; margin-bottom: 2.5rem; max-width: 520px; }

/* ── OFFERTE: header + riga video/carousel ── */
#offerte { background: var(--white); }

/* Riga con video a sinistra e carousel a destra */
.offerte-body {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.offerte-body.has-video {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

/* Video card: stessa larghezza delle product-card, allineata in alto */
.offerte-video-card {
  flex: 0 0 260px;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  background: #000;
  overflow: hidden;
  box-shadow: var(--shadow);
  align-self: flex-start;
}

/* Schermo video: 9:16 per video verticali, video interamente visibile */
.vp-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #000;
}
.vp-video-el {
  width: 100%;
  height: 100%;
  object-fit: contain; /* niente più tagli */
  display: block;
}

/* Barra progresso sottile */
.vp-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.15);
  pointer-events: none;
}
.vp-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--orange);
  transition: width 0.3s linear;
}

/* Barra controlli sotto il video */
.vp-controls-bar {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 0.5rem;
  height: 44px;
  background: #fff;
}
.vp-ctrl-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.vp-ctrl-btn:hover { background: var(--orange-light); color: var(--orange); }
.vp-expand-btn { margin-left: auto; }
.vp-counter {
  flex: 1;
  text-align: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ── Overlay flottante ── */
#vp-float {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.22s ease;
}
#vp-float.open {
  pointer-events: all;
  opacity: 1;
}
.vp-float-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(4px);
}
.vp-float-box {
  position: relative;
  width: min(340px, 90vw);
  aspect-ratio: 9/16;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7);
  transform: scale(0.92);
  transition: transform 0.22s ease;
}
#vp-float.open .vp-float-box { transform: scale(1); }

/* Controlli sovrapposti in basso */
.vp-float-controls {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0.5rem 0.75rem 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}
.vp-float-controls .vp-ctrl-btn { color: #fff; font-size: 1.5rem; width: 36px; height: 36px; }
.vp-float-controls .vp-ctrl-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.vp-float-controls .vp-counter { color: rgba(255,255,255,0.8); font-size: 0.82rem; }
.vp-float-close {
  position: absolute;
  top: 10px; right: 10px;
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 1rem;
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
  z-index: 1;
}
.vp-float-close:hover { background: rgba(255,255,255,0.2); }

/* Mobile: video sotto il carousel */
@media (max-width: 900px) {
  .offerte-body.has-video { flex-direction: column; }
  .offerte-video-card { flex: none; width: 100%; }
  .carousel-track-wrapper { flex: none; }
  .vp-screen { max-height: none; aspect-ratio: 16/9; }
  .vp-float-box { width: min(280px, 85vw); }
}

/* ── OFFERTE CAROUSEL ── */
.offerte-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.carousel-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text);
  transition: all .2s;
  user-select: none;
}
.carousel-btn:hover { border-color: var(--orange); color: var(--orange); background: var(--orange-light); }

.carousel-track-wrapper {
  flex: 1 1 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: grab;
}
.carousel-track-wrapper:active { cursor: grabbing; }
.carousel-track {
  display: flex;
  gap: 1.25rem;
  transition: transform .45s cubic-bezier(0.25,0.46,0.45,0.94);
  will-change: transform;
  padding-bottom: 4px;
}

.product-card {
  flex: 0 0 260px;
  background: white;
  border-radius: 20px;
  border: 1.5px solid var(--border);
  overflow: hidden;
  transition: all .25s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255,107,53,0.3);
}
.product-img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  background: #fff;
}
.sconto-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  padding: 5px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.product-body { padding: 1.1rem 1.25rem 1.35rem; }
.product-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  margin-bottom: 0.4rem;
}
.product-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.55rem;
  line-height: 1.25;
}
.product-desc { font-size: 0.88rem; color: #4b5563; margin-bottom: 1rem; line-height: 1.55; }
.product-prices {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.price-old {
  font-size: 0.9rem;
  color: #9ca3af;
  text-decoration: line-through;
}
.price-new {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.45rem;
  color: var(--orange);
}
.dots-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  margin-top: 1.5rem;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all .2s;
}
.dot.active { background: var(--orange); width: 22px; border-radius: 4px; }

/* ── SERVIZI ── */
#servizi { background: var(--off-white); }
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}
.servizio-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  border: 1.5px solid var(--border);
  transition: all .25s;
  cursor: default;
  display: flex;
  flex-direction: column;
}
.servizio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.servizio-header {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
}
.servizio-header img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.servizio-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.servizio-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.s-green { background: var(--green-light); }
.s-orange { background: var(--orange-light); }
.s-teal { background: var(--teal-light); }
.s-purple { background: #f3e8ff; }
.s-yellow { background: #fffbeb; }
.s-red { background: #fff1f2; }
.servizio-name {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.servizio-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.leggi-di-piu {
  display: inline-block;
  margin-left: 4px;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}
.servizio-durata {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2px 10px;
}
.servizio-badge-sconto {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--red);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 0.78rem;
  padding: 3px 9px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
.prezzo-originale {
  font-size: 0.82rem;
  color: #9ca3af;
  text-decoration: line-through;
  font-weight: 600;
}
.badge-sconto-pill {
  background: var(--red);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 20px;
}
/* Popup overlay */
.servizio-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.servizio-popup {
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  max-height: 90vh;
  overflow-y: auto;
}
.popup-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.popup-close:hover { background: #fee2e2; border-color: #fca5a5; }
.servizio-popup-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.servizio-popup h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}
.popup-durata {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.popup-desc {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 1rem;
}
.popup-prezzo {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}
.prezzo-amount {
  font-family: 'Nunito', sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--green-dark);
  letter-spacing: -0.5px;
}
.prezzo-iva {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.servizio-footer {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 2px solid var(--green-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
.servizio-prezzo {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.btn-prenota-card {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--green);
  color: #fff;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 7px 16px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, transform .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-prenota-card:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

/* ── PRENOTA ── */
#prenotazioni {
  background: linear-gradient(135deg, #2ECC71 0%, #00B4D8 100%);
  position: relative;
  overflow: hidden;
}
#prenotazioni::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  top: -100px; right: -80px;
}
.prenota-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}
.prenota-text .section-title { color: white; }
.prenota-text p { color: rgba(255,255,255,0.85); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.form-card {
  background: white;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.form-card h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.form-grid { display: grid; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: white;
  outline: none;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,204,113,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all .25s;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-submit:disabled {
  background: #9ca3af;
  cursor: not-allowed;
  transform: none;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── STAFF ── */
#staff { background: white; }
.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.staff-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--off-white);
  border-radius: 20px;
  transition: all .25s;
}
.staff-card:hover { transform: translateY(-4px); background: white; box-shadow: var(--shadow); }
.staff-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  font-family: 'Nunito', sans-serif;
  color: white;
}
.av-green { background: linear-gradient(135deg, #2ECC71, #0fa047); }
.av-teal { background: linear-gradient(135deg, #00B4D8, #0077a8); }
.av-orange { background: linear-gradient(135deg, #FF6B35, #cc4a1a); }
.av-purple { background: linear-gradient(135deg, #7B2FBE, #551f88); }
.staff-nome {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.staff-ruolo {
  font-size: 0.82rem;
  color: var(--green-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.staff-bio { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

/* ── NEWS ── */
#news { background: var(--off-white); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.news-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: all .25s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-img {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}
.n-green { background: var(--green-light); }
.n-orange { background: var(--orange-light); }
.n-teal { background: var(--teal-light); }
.news-body { padding: 1.25rem; }
.news-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 0.6rem;
}
.news-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.5rem;
}
.news-date { font-size: 0.78rem; color: var(--text-muted); }

/* ── NOTIZIE ESTERNE (Ministero della Salute) ── */
#notizie-salute { background: white; }
.news-img-blue { background: #eff6ff; }
.tag-blue { background: #dbeafe; color: #1e40af; }
.notizia-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0.5rem 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.notizia-esterna .leggi-di-piu {
  font-size: 0.82rem;
  color: #1e40af;
}
.notizie-salute-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #e5e7eb;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── MAPPA & CONTATTI ── */
#contatti { background: white; }
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contatti-info h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 1rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}
.info-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}
.info-label {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.info-value { font-size: 0.95rem; font-weight: 600; color: var(--text); }
.info-value a { color: var(--green-dark); text-decoration: none; }
.info-value a:hover { text-decoration: underline; }
.map-placeholder {
  height: 360px;
  background: linear-gradient(135deg, #e8f5e9 0%, #e0f7fa 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 2px dashed rgba(46,204,113,0.4);
  text-align: center;
  padding: 2rem;
}
.map-placeholder .map-icon { font-size: 3rem; }
.map-placeholder p { color: var(--text-muted); font-size: 0.9rem; }
.map-placeholder a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all .2s;
}
.map-placeholder a:hover { background: var(--green-dark); }

/* ── FOOTER ── */
footer {
  background: #1a1a2e;
  color: rgba(255,255,255,0.7);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1.5rem;
}
.footer-brand .logo-text { color: white; }
.footer-brand .logo-text span { color: var(--green); }
.footer-brand p { font-size: 0.85rem; line-height: 1.6; margin-top: 0.75rem; }
.footer-col h4 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: white;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col ul a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color .2s;
}
.footer-col ul a:hover { color: var(--green); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: var(--green); }

/* ── SITE CREDIT ── */
.site-credit {
  font-family: 'Nunito', sans-serif;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
}
.site-credit a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-weight: 700;
  margin-left: 4px;
  transition: color .2s;
}
.site-credit a:hover {
  color: var(--green);
  text-decoration: none;
}

/* ── FOOTER SOCIAL ── */
.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0.75rem;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  transition: all .2s;
}
.footer-social a:hover { background: var(--green); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 8px;
  transition: background .2s;
  margin-left: auto;
}
.nav-hamburger:hover { background: rgba(0,0,0,.05); }
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .offerte-body.has-video {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .offerte-body.has-video > .offerte-video-card {
    flex: none;
    width: 100%;
  }
  .offerte-body.has-video > .carousel-track-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .prenota-inner { grid-template-columns: 1fr; padding: 0 1rem; box-sizing: border-box; }
  .contatti-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  h1 { font-size: 2.2rem; }
  .form-card { width: 100%; max-width: 100%; box-sizing: border-box; }
  .form-row { grid-template-columns: 1fr; }
  .mappa-wrapper, .mappa-wrapper iframe { width: 100% !important; max-width: 100%; box-sizing: border-box; }
}
@media (max-width: 600px) {
  /* ── Nav hamburger ── */
  .nav-hamburger { display: flex; }
  .nav-social { display: none !important; }
  .nav-links {
    display: none !important;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    flex-direction: column !important;
    padding: 0.5rem 0;
    gap: 0 !important;
    z-index: 9999;
    list-style: none;
    margin: 0;
  }
  .nav-links.open { display: flex !important; }
  .nav-links li { width: 100%; }
  .nav-links li a {
    display: block;
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text) !important;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    background: none;
  }
  .nav-links li a:hover,
  .nav-links li a:active { background: #f0fdf4 !important; color: var(--green) !important; }
  .nav-links li:last-child a { border-bottom: none; }

  /* ── Layout ── */
  h1 { font-size: 1.8rem; }
  section { padding: 2.5rem 1rem; }
  .section-inner { padding: 0; }
  .footer-top { grid-template-columns: 1fr; }

  /* ── Carousel ── */
  .carousel-track-wrapper { width: 100%; max-width: 100%; min-width: 0; }
  .carousel-track { width: 100%; }
  .product-card { flex: 0 0 100%; max-width: 100%; }

  /* ── Form prenotazione ── */
  #prenotazioni .prenota-inner { gap: 1.5rem; }
  .form-card {
    width: 100%;
    max-width: 100%;
    padding: 1.25rem 1rem;
    box-sizing: border-box;
    border-radius: 16px;
  }
  .form-row { grid-template-columns: 1fr !important; gap: 0.75rem; }
  .form-group { width: 100%; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ── Mappa ── */
  .mappa-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    height: 220px !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  .mappa-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
  }
  .contatti-grid > div:last-child {
    width: 100%;
    overflow: hidden;
  }

  /* ── Grids ── */
  .staff-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .servizi-grid { grid-template-columns: 1fr; }

  /* ── Offerte header ── */
  .offerte-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
}

/* ── MAPPA RESPONSIVE (override attributi inline iframe) ── */
.mappa-wrapper { position: relative; width: 100%; box-sizing: border-box; }
.mappa-wrapper iframe { display: block; width: 100% !important; border: 0; }

/* ── IMMAGINI PRODOTTI, SERVIZI, NEWS ── */
.product-img-file {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.product-emoji {
  font-size: 4rem;
}
.servizio-emoji {
  font-size: 4rem;
}
.news-img-file {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  border-radius: 8px;
}
.news-emoji {
  font-size: 3.5rem;
}
