/* ===== BASE ===== */
body {
  font-family: Arial, Helvetica, sans-serif;
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

h1 { color: #111; }

a {
  text-decoration: none;
  color: #0066cc;
}

a:hover {
  text-decoration: underline;
}

/* =========================
   MENU DESKTOP (SPIAZE)
   ========================= */

.menu-spiaze {
  margin: 30px 0;
}

.menu-wrapper {
  border: 2px solid #1f8f4a;
  border-radius: 10px;
  padding: 15px;
}

.menu-parent {
  text-align: center;
  margin-bottom: 15px;
}

.menu-title {
  font-size: 28px;
  font-weight: bold;
  color: #1f8f4a;
  letter-spacing: 1px;
}

.menu-children {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.menu-children li a {
  display: block;
  padding: 10px;
  border-radius: 8px;
  color: #222;
  background: #f7fdf9;
  transition: background 0.2s ease;
}

.menu-children li a:hover {
  background: #e6f5ec;
}

.menu-children strong {
  font-size: 16px;
}

.menu-children small {
  font-size: 13px;
  color: #555;
}

/* =========================
   MENU MOBILE
   ========================= */

.menu-mobile {
  display: none;
  border-bottom: 2px solid #1f8f4a;
  padding: 10px 15px;
}

.menu-mobile-toggle {
  background: none;
  border: none;
  font-size: 20px;
  color: #1f8f4a;
  font-weight: bold;
  cursor: pointer;
}

.menu-mobile-list {
  display: none;
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

.menu-mobile-list li a {
  display: block;
  padding: 10px;
  color: #222;
  border-top: 1px solid #eee;
}

.menu-mobile-list li a:hover {
  background: #e6f5ec;
}

.menu-mobile-cta a {
  font-weight: bold;
  color: #1f8f4a;
}

/* MENU MOBILE APERTO */
.menu-mobile.open .menu-mobile-list {
  display: block;
}

/* =========================
   RESPONSIVE SWITCH
   ========================= */

/* MOBILE */
@media (max-width: 767px) {
  .desktop-menu {
    display: none !important;
  }

  .menu-mobile {
    display: block;
  }
}

/* DESKTOP */
@media (min-width: 768px) {
  .menu-mobile {
    display: none !important;
  }

  .desktop-menu {
    display: block;
  }
}
