/* ══════════════════════════════════════════════════════════════
   GORGONE SALON — stylesheet
   Palette: panna #FFF8F2 · primario #AC005A · accento #FF93C7
   ══════════════════════════════════════════════════════════════ */

:root {
  --cream:        #FFF8F2;
  --cream-mid:    #F7EDE2;
  --cream-dark:   #EFE0D3;
  --white:        #FFFFFF;
  --primary:      #AC005A;
  --primary-dark: #880046;
  --accent:       #FF93C7;
  --accent-light: #FFD6EC;
  --text-dark:    #2E0E1A;
  --text-mid:     #6B3A55;
  --text-light:   #A88898;
  --border:       #EDD5E2;
  --shadow-soft:  rgba(172, 0, 90, 0.07);
  --shadow-mid:   rgba(172, 0, 90, 0.12);
  --radius-sm:    10px;
  --radius-md:    16px;
  --radius-lg:    24px;
  --radius-pill:  50px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Utility ────────────────────────────────────────────────── */
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 200;
  padding: 1.4rem 2rem 0;
  box-shadow: 0 1px 0 var(--border);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.2rem;
}

/* Brand */
.salon-brand { line-height: 1; }

.salon-title {
  font-family: 'Abril Fatface', serif;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--primary);
  letter-spacing: 0.02em;
  line-height: 1;
}

.salon-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-top: 0.6rem;
}

/* Contattaci */
.contact-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--primary);
  background: var(--cream);
  color: var(--primary);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.contact-btn:hover { background: var(--primary); color: var(--white); }

/* Contattaci + icone social sotto */
.header-actions {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.social-links { display: flex; gap: 0.6rem; }
.social-links:not(:has(.social-btn:not([hidden]))) { display: none; }
.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1.5px solid var(--border);
  color: var(--primary);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-btn[hidden] { display: none; }
.social-btn svg { width: 19px; height: 19px; }
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* Ornamento orizzontale sotto header */
.header-ornament {
  max-width: 1080px;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent-light) 30%, var(--border) 50%, var(--accent-light) 70%, transparent);
}

/* ══════════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════════ */
.main-nav {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: var(--header-h, 82px);   /* altezza reale dell'intestazione, calcolata in app.js */
  z-index: 199;
}

.nav-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

/* Tre bottoni grandi e separati */
.nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 84px;
  padding: 0.8rem 0.5rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 3px 12px var(--shadow-soft);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--primary);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.12s;
}
.nav-icon { width: 26px; height: 26px; flex-shrink: 0; color: var(--accent); transition: color 0.2s; }
.nav-btn:hover { border-color: var(--accent); box-shadow: 0 5px 16px var(--shadow-mid); }
.nav-btn:active { transform: scale(0.97); }
.nav-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(172, 0, 90, 0.28);
}
.nav-btn.active .nav-icon { color: var(--accent-light); }
.nav-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ══════════════════════════════════════════════════════════════
   MAIN / SECTIONS
   ══════════════════════════════════════════════════════════════ */
#mainContent {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

/* Section heading */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--text-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 1.5px;
  background: var(--primary);
  margin: 0.6rem auto 0;
}

.section-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 0.3rem;
  margin-bottom: 1.4rem;
  letter-spacing: 0.04em;
}

/* ── Ricerca ─────────────────────────────────────────────── */
.search-wrapper {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

.search-icon-inline {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: 0.85rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.4rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}
.search-input::placeholder { color: var(--text-light); }
.search-input:focus { border-color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   LISTINO — griglia categorie
   ══════════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.category-block {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
  box-shadow: 0 2px 18px var(--shadow-soft);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.category-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--shadow-mid);
}

.category-heading {
  display: flex;
  justify-content: center;
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--cream-dark);
}

.category-icon { display: none; }

.category-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
}

.service-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.45rem 0;
  border-bottom: 1px solid #FCF5F8;
  gap: 0.5rem;
}
.service-row:last-child { border-bottom: none; padding-bottom: 0; }

.svc-name {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-dark);
  flex: 1;
}

.svc-price {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary);
  white-space: nowrap;
}

.loading-row {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-light);
  text-align: center;
  padding: 2rem;
  grid-column: 1/-1;
}

/* ══════════════════════════════════════════════════════════════
   PRENOTA — navigatore giornaliero
   ══════════════════════════════════════════════════════════════ */
.day-navigator {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 20px var(--shadow-soft);
}

.day-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Avviso: conferma tramite WhatsApp */
.confirm-note {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #FFF0F8;
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  margin: 0 0 1.4rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-mid);
}
.confirm-note b { color: var(--primary); font-weight: 700; }
.confirm-note-icon { flex-shrink: 0; color: var(--primary); margin-top: 0.05rem; }
.confirm-note-sm { font-size: 0.82rem; padding: 0.65rem 0.9rem; margin: 0.4rem 0 1rem; }

.day-label-wrap {
  flex: 1;
  text-align: center;
}

.day-label-main {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--text-dark);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.day-label-date {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-top: 0.1rem;
  letter-spacing: 0.04em;
}

.day-arrow {
  background: transparent;
  border: 1.5px solid var(--cream-dark);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.day-arrow:hover:not(:disabled) { border-color: var(--primary); color: var(--primary); }
.day-arrow:disabled { opacity: 0.3; cursor: not-allowed; }

/* Slot orari */
.slots-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-height: 28px;
}

.slots-loading {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
}

.slot-chip {
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  border: 1.5px solid;
  transition: none;
  white-space: nowrap;
}

.slot-chip.free {
  border-color: var(--accent);
  color: var(--primary);
  background: #FFF0F8;
}

.slot-chip.full {
  border-color: #DDD;
  color: #C0B0BA;
  background: transparent;
  text-decoration: line-through;
}

.closed-label {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ══════════════════════════════════════════════════════════════
   PRENOTA — lista trattamenti
   ══════════════════════════════════════════════════════════════ */
.treatments-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.treatment-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: transform 0.15s, box-shadow 0.15s;
}
.treatment-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 14px var(--shadow-soft);
}

.t-info { flex: 1; min-width: 0; }

.t-name {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.92rem;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.t-cat {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.1rem;
}

.t-note {
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 300;
  color: var(--accent);
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

.prenota-btn {
  flex-shrink: 0;
  padding: 0.38rem 1.1rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--primary);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.prenota-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ══════════════════════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════════════════════ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(46, 14, 26, 0.35);
  backdrop-filter: blur(5px);
}

.modal-panel {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.2rem;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(46, 14, 26, 0.22);
  animation: panelIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(30px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--text-light);
  font-size: 0.9rem;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.modal-close:hover { background: var(--accent-light); color: var(--primary); }

.modal-eyebrow {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.modal-service-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.2rem;
}

.modal-day-display {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
}

.modal-section { margin-bottom: 1.4rem; }

.modal-label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* Time chips nel modal */
.modal-time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.mslot {
  padding: 0.32rem 0.8rem;
  border-radius: 20px;
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 300;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.18s;
}
.mslot:hover:not(.mslot-full) { border-color: var(--primary); color: var(--primary); }
.mslot.mslot-selected { background: var(--primary); border-color: var(--primary); color: var(--white); }
.mslot.mslot-full { border-color: #E0D0D6; color: #C8B8C0; text-decoration: line-through; cursor: not-allowed; }

.no-slots-msg {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Campi form */
.modal-field { margin-bottom: 0; }
.modal-field + .modal-field { margin-top: 0.8rem; }

.modal-input {
  width: 100%;
  padding: 0.68rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  margin-top: 0.3rem;
  transition: border-color 0.2s;
}
.modal-input::placeholder { color: var(--text-light); }
.modal-input:focus { border-color: var(--primary); }

.modal-error {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: #C0392B;
  margin-bottom: 0.8rem;
  padding: 0.5rem 0.8rem;
  background: #FFF0EE;
  border-radius: 8px;
  border: 1px solid #F8C8C4;
}

/* Confirm button */
.confirm-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-pill);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}
.confirm-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.confirm-btn:active { transform: translateY(0); }

.wa-icon { flex-shrink: 0; opacity: 0.9; }

/* ══════════════════════════════════════════════════════════════
   SUCCESS TOAST
   ══════════════════════════════════════════════════════════════ */
.success-toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 600;
  background: #1A7A3A;
  color: var(--white);
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  box-shadow: 0 6px 24px rgba(26, 122, 58, 0.25);
  animation: toastIn 0.4s ease;
}

.toast-icon { font-size: 1rem; }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-name {
  font-family: 'Abril Fatface', serif;
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: 0.03em;
  margin-bottom: 0.4rem;
}

.footer-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
}

.footer-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  margin-bottom: 0.3rem;
}

.footer-address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

.footer-contact {
  margin-top: 0.4rem;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.85rem;
}

.footer-contact a,
.footer-sub a {
  color: var(--primary);
  text-decoration: none;
}
.footer-contact a:hover,
.footer-sub a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   EVENTI SPECIALI
   ══════════════════════════════════════════════════════════════ */
.eventi-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

/* Card sinistra — intro */
.eventi-intro {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 20px var(--shadow-soft);
}

.eventi-roses {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.eventi-intro-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.eventi-list {
  list-style: none;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.eventi-list li {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-dark);
  padding: 0.5rem 0.8rem;
  background: var(--cream);
  border-radius: 10px;
  border-left: 3px solid var(--accent-light);
}

/* Card destra — form */
.eventi-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 2.2rem;
  box-shadow: 0 2px 20px var(--shadow-soft);
}

.eventi-form-eyebrow {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.eventi-form-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.eventi-field {
  margin-bottom: 1rem;
}

.eventi-label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.35rem;
}

.eventi-input {
  width: 100%;
  padding: 0.68rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.eventi-input::placeholder { color: var(--text-light); }
.eventi-input:focus { border-color: var(--primary); background: var(--white); }

.eventi-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23A88898' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.eventi-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: 'Lato', sans-serif;
}

.eventi-error {
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  color: #C0392B;
  margin-bottom: 0.8rem;
  padding: 0.5rem 0.8rem;
  background: #FFF0EE;
  border-radius: 8px;
  border: 1px solid #F8C8C4;
}

.eventi-send-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-pill);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.15s;
}
.eventi-send-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.eventi-send-btn:active { transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .eventi-layout { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header { padding: 1rem 1rem 0; }
  .salon-title { font-size: 2rem; }
  .nav-inner { padding: 0.75rem 1rem; gap: 0.5rem; }
  .nav-btn { min-height: 76px; font-size: 0.88rem; padding: 0.7rem 0.3rem; }
  .nav-icon { width: 24px; height: 24px; }
  #mainContent { padding: 2rem 1rem 4rem; }
  .day-navigator { padding: 1.2rem 1rem; }
  .modal-panel { padding: 1.8rem 1.4rem; }
  .services-grid { grid-template-columns: 1fr; }
  .treatment-row { padding: 0.8rem 1rem; }
  .eventi-form-card, .eventi-intro { padding: 1.5rem; }
}
