:root {
  --bg: #f3f4f6;
  --bg-soft: #ffffff;
  --section-alt: #e0f7fa;
  --accent: #06b6d4;
  --accent-dark: #0e7490;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.08);
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-dark);
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
  background: transparent;
}

.section-alt {
  padding: 4rem 0;
  background: var(--section-alt);
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 6px 15px rgba(15, 23, 42, 0.06);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;              /* niente padding: l’altezza la decide il logo */
  min-height: 150px;       /* altezza minima bella alta */
}


/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* link che contiene il logo */
.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* immagine del logo in navbar */
.logo-img {
  height: 150px;        /* logo più alto, riempie quasi tutta la barra */
  width: auto;
  display: block;
}

/* su schermi piccoli lo riduciamo un po' */
@media (max-width: 540px) {
  .logo-img {
    height: 110px;
  }
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.95rem;
}

.nav-links a {
  position: relative;
  padding: 0.2rem 0;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, #06b6d4, #0ea5e9);
  transition: width 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent-dark);
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: var(--accent-dark);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 0.18rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #4b5563;
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0.7rem 1.5rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.nav-mobile a {
  padding: 0.35rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* HERO */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow-soft);
}

.hero-text h1 {
  font-size: clamp(2.3rem, 3vw, 2.7rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-logo-img {
  max-width: 380px;
  width: 100%;
  height: auto;
  margin-bottom: 1.3rem;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

@media (max-width: 540px) {
  .hero-logo-img {
    max-width: 100%;
  }
}
.hero-text p {
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.4rem;
  font-size: 1rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #ffffff;
  box-shadow: 0 12px 25px rgba(14, 165, 233, 0.35);
}

.btn-secondary {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #1d4ed8;
}

.btn-secondary:hover {
  background: #e0e7ff;
}

/* Hero badge */
.hero-badge {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #1d4ed8;
  font-size: 0.85rem;
}

/* Hero card */
.hero-card {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.hero-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.hero-card ul {
  list-style: none;
  margin-bottom: 0.7rem;
}

.hero-card li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.hero-card .note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.hero-highlight {
  font-size: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-lg);
  background: #ecfeff;
  border: 1px solid #22d3ee;
  color: #0f172a;
}

/* SECTION TITLES */
.section h2,
.section-alt h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 1.7rem;
  font-size: 0.98rem;
}

/* GRID UTILS */
.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
}

/* CARDS */
.card-info,
.card-service,
.card-highlight,
.map-card {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.card-info h3,
.card-service h3,
.card-highlight h3 {
  font-size: 1.15rem;
  margin-bottom: 0.7rem;
}

/* ICON LISTS */
.icon-list {
  list-style: none;
  color: var(--muted);
}

.icon-list li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

/* STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.7rem;
}

.step {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  padding: 1.1rem 1.1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.step-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e0f2fe;
  border: 1px solid #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: #1d4ed8;
}

/* SERVICES */
.card-service ul {
  list-style: none;
  margin-bottom: 0.6rem;
  color: var(--muted);
}

.card-service li {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

/* HOURS */
.hours {
  list-style: none;
}

.hours li {
  display: flex;
  justify-content: space-between;
  font-size: 0.94rem;
  margin-bottom: 0.35rem;
}

/* MAP */
.map-placeholder {
  height: 220px;
  border-radius: var(--radius-lg);
  border: 1px dashed #cbd5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  color: var(--muted);
}

/* IMMAGINE PROMO LAVANDERIA (sotto la mappa) */
.promo-image-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.promo-image {
  max-width: 520px;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}
/* SERVIZI PLUS */
.plus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.plus-card {
  background: var(--bg-soft);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.plus-logo {
  max-height: 70px;
  width: auto;
  margin-bottom: 1rem;
  display: inline-block;
  object-fit: contain;
}

.plus-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.plus-card p {
  font-size: 0.95rem;
  color: var(--muted);
}

/* Servizi Plus su schermi piccoli */
@media (max-width: 880px) {
  .plus-grid {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
.footer {
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
  padding: 1.4rem 0;
  margin-top: 1.5rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.2rem;
}

.footer .small {
  font-size: 0.8rem;
  color: #muted;
}

/* TEXT UTILS */
.small {
  font-size: 0.9rem;
  color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 880px) {
  .hero-content,
  .grid-2,
  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-card {
    order: -1;
  }

  .navbar-inner {
    padding: 0.6rem 0;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .section,
  .section-alt {
    padding: 3.2rem 0;
  }
}

.nav-mobile.open {
  display: flex;
}

@media (max-width: 540px) {
  .hero {
    padding-top: 3.3rem;
  }

  .hero-text h1 {
    font-size: 1.9rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
  }
}

/* POPUP PROSSIMA APERTURA */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.popup-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.popup-card {
  max-width: 520px;
  width: 90%;
  background: #ffffff;
  border-radius: 22px;
  padding: 2.2rem 2.1rem 1.9rem;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.25);
  text-align: center;
}

/* immagine dentro il popup */
.popup-image-logo {
  max-width: 320px;
  width: 100%;
  height: auto;
  margin: 0 auto 1.2rem;
  display: block;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}

.popup-pill {
  display: inline-block;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.popup-title {
  font-size: 1.9rem;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
  color: #0f172a;
}

.popup-subtitle {
  font-size: 0.98rem;
  color: #6b7280;
  margin-bottom: 0.8rem;
}

.popup-address {
  font-size: 1rem;
  font-weight: 500;
  color: #111827;
  margin-bottom: 1.4rem;
}

.popup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #06b6d4, #0ea5e9);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  box-shadow: 0 12px 25px rgba(14, 165, 233, 0.4);
  margin-bottom: 0.8rem;
}

.popup-btn:hover {
  filter: brightness(1.05);
}

.popup-info {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Popup su schermi piccoli */
@media (max-width: 480px) {
  .popup-card {
    padding: 1.7rem 1.5rem 1.5rem;
  }

  .popup-title {
    font-size: 1.5rem;
  }

  .popup-address {
    font-size: 0.95rem;
  }
}
