/* =========================================================
   THEME – Lavanderia
   ========================================================= */

/* Tipografia di base: html (radice del documento) */
html {
  font-size: 17px;
}

/* Tipografia di base: body (corpo pagina) */
body {
  font-family: "HelveticaLTStd", Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
}

/* Stili vari: main (contenuti principali) */
main {
  font-size: 17px;
}

/* Tipografia di base: h1, h2, h3 (titoli) */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Tipografia di base: h1 (titoli) */
h1 {
  color: #fff;
  font-size: 70px;
}

/* Responsive heading */
@media (max-width: 576px) {
/* Tipografia di base: h1 (titoli) */
  h1 { font-size: 50px; }
}
@media (min-width: 992px) {
/* Tipografia di base: h1 (titoli) */
  h1 { font-size: 70px; }
}

/* Sezioni: .bg-primary (bg-primary) */
.bg-primary {
  background-color: #E6F4FF !important;
}

/* Navbar: .navbar (navbar) */
.navbar {
  padding-top: 18px;
  padding-bottom: 18px;
  font-size: 16px;
}

/* Navbar: .nav-shell (contenitore navbar) */
.nav-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

/* Navbar: .navbar-brand (logo navbar a sinistra) */
.navbar-brand {
  margin-left: -24px !important;
}

/* Navbar: .navbar-brand img (logo navbar) */
.navbar-brand img {
  width: 360px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

@media (max-width: 991px) {
  .navbar-brand img {
    width: 300px;
  }
}

@media (max-width: 576px) {
  .navbar-brand img {
    width: 240px;
  }
}

/* Navbar: .nav-center (centro navbar) */
.nav-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

/* Navbar: .nav-pill-wrap (contenitore pillole) */
.nav-pill-wrap {
  display: flex;
  justify-content: center;
  position: static;
  transform: none;
}

/* Navbar: .nav-contact (menu contatti a destra) */
.nav-contact {
  margin-left: 12px;
}

/* Navbar: .nav-link (link menu) */
.nav-link {
  padding-left: 13px !important;
  padding-right: 13px !important;
  color: #0246B5;
}

/* Navbar: .nav-pills-rounded (menu principale) */
.nav-pills-rounded {
  gap: 6px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Navbar: .nav-pills-rounded .nav-link (nav-pills-rounded nav-link) */
.nav-pills-rounded .nav-link {
  border-radius: 999px;
  padding: 8px 18px !important;
  color: #000;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* Navbar: .nav-pills-rounded .nav-link.active (nav-pills-rounded nav-link active) */
.nav-pills-rounded .nav-link.active {
  background: #2F69C9;
  color: #fff !important;
}

/* Navbar: .nav-pills-rounded .nav-link:hover (nav-pills-rounded nav-link hover) */
.nav-pills-rounded .nav-link:hover {
  background: #2F69C9;
  color: #fff;
}

/* Navbar: .nav-contact-btn (bottone contatti) */
.nav-contact-btn {
  margin-left: auto;
  background: #2F69C9;
  color: #fff;
  border: 2px solid #2F69C9;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Navbar: .nav-contact (nav-contact) */
.nav-contact {
  position: relative;
  margin-left: auto;
}

/* Navbar: .nav-contact-btn:hover (nav-contact-btn hover) */
.nav-contact-btn:hover {
  background: #E6F4FF;
  color: #2F69C9;
}

.nav-contact-btn:focus-visible {
  background: #E6F4FF;
  color: #2F69C9;
}

/* Navbar: .nav-contact-menu (menu contatti) */
.nav-contact-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  background: #2F69C9;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  padding: 8px;
  min-width: 180px;
  display: none;
  z-index: 10;
}

/* Navbar: .nav-contact-menu.is-open (nav-contact-menu is-open) */
.nav-contact-menu.is-open {
  display: block;
}

/* Navbar: .nav-contact-menu a (nav-contact-menu a) */
.nav-contact-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Navbar: .nav-contact-menu a:hover (nav-contact-menu a hover) */
.nav-contact-menu a:hover,
.nav-contact-menu a:focus-visible {
  background: #E6F4FF;
  color: #2F69C9;
}

/* Navbar: .contact-icon (icona contatti) */
.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Navbar: .contact-icon svg (icona contatti) */
.contact-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Stili vari: .active (active) */
.active {
  color: #7AD4F4 !important;
}

/* Hero: .hero (hero) */
.hero {
  background-image: url(../img/cesta%20panni.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  min-height: 700px;
  padding: 100px;
  text-align: left;
  font-size: 16px;
}

/* Hero: .hero2 (hero2) */
.hero2 {
  min-height: 200px;
  padding: 100px;
  text-align: left;
  font-size: 16px;
  background-color: #f1f1f1;
}

/* Sezioni: section (sezione) */
section {
  padding-top: 50px;
  padding-bottom: 50px;
}

/* Sezioni: section.bg1 (sezione bg1) */
section.bg1 {
  background-color: #fff;
}

/* Sezioni: section.bg2 (sezione bg2) */
section.bg2 {
  background-color: #fff;
  opacity: 1;
  height: auto;
  display: flex;
}

/* Sezioni: section.bg3 (sezione bg3) */
section.bg3 {
  background-color: #fff;
  height: auto;
}

/* Sezioni: section.bg4 (sezione bg4) */
section.bg4 {
  background-color: #fff;
  height: auto;
}

/* =========================================================
   Components
   ========================================================= */

/* Bottoni: .btn-primary (btn-primary) */
.btn-primary {
  background-color: #0246B5;
  border-color: #0246B5;
  border-radius: 20px;
  font-family: Helvetica, Arial, sans-serif;
  display: inline-block;
}

.btn-primary:link,
/* Bottoni: .btn-primary:visited (btn-primary visited) */
.btn-primary:visited {
  background-color: #0246B5;
  border-color: #0246B5;
}

.btn-primary:hover,
/* Bottoni: .btn-primary:active (btn-primary active) */
.btn-primary:active {
  background-color: #C5E6E6 !important;
  border-color: #C5E6E6 !important;
}

/* Sezione indirizzo e orari: .intro-card (intro-card) */
.intro-card {
  text-align: left;
  padding: 0px 36px 36px;
  max-width: 1400px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Sezione indirizzo e orari: .intro-heading (titolo sezione indirizzo) */
.intro-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #0246B5;
  margin-bottom: 20px;
  font-family: "helvetica_lt_stdBdCn", "HelveticaLTStd", Helvetica, Arial, sans-serif;
}

/* Sezione indirizzo e orari: .intro-split (layout due colonne) */
.intro-split {
  display: grid;
  grid-template-columns: minmax(360px, 1.2fr) minmax(420px, 1.4fr);
  gap: 40px;
  align-items: center;
}

/* Sezione indirizzo e orari: .intro-info (blocco indirizzo e orari) */
.intro-info {
  display: grid;
  gap: 20px;
  text-align: center;
  align-self: center;
  margin-top: -80px;
}

/* Sezione indirizzo e orari: .intro-label (intro-label) */
.intro-label {
  font-size: 26px;
  letter-spacing: 0.22em;
  color: #0246B5;
  font-weight: 700;
  text-align: center;
}

/* Sezione indirizzo e orari: .intro-address (testo indirizzo) */
.intro-address {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
}

/* Sezione indirizzo e orari: .intro-address span (intro-address span) */
.intro-address span {
  display: block;
  font-weight: 400;
}

/* Sezione indirizzo e orari: .intro-hours (testo orari) */
.intro-hours {
  font-size: 24px;
  font-weight: 700;
  color: #000;
}

/* Sezione indirizzo e orari: .intro-hour-note (nota orari) */
.intro-hour-note {
  margin-top: 4px;
  font-size: 21px;
  color: #2b2b2b;
}

/* Sezione indirizzo e orari: .intro-status (badge aperto/chiuso) */
.intro-status {
  display: inline-block;
  margin-top: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 14px;
  background: #e9f7ef;
  color: #1f7a4f;
}

/* Sezione indirizzo e orari: .intro-status.is-closed (chiuso) */
.intro-status.is-closed {
  background: #fdecea;
  color: #a32525;
}

/* Sezione indirizzo e orari: .intro-status.is-soon (chiude tra poco) */
.intro-status.is-soon {
  background: #fff4cc;
  color: #8a6d00;
}

/* Tabella prezzi: .listino-title (titolo listino prezzi) */
.listino-title {
  color: #2F69C9;
}

/* Card: .rounded-panel (riquadro tondeggiante) */
.rounded-panel {
  background: #fff;
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border: 1px solid #e8e8e8;
}

/* Card: .listino-panel (listino prezzi) */
.listino-panel {
  max-width: 650px;
  margin: 0 auto;
}

/* Card: .listino-panel (altezza/air) */
.listino-panel {
  padding-top: 44px;
  padding-bottom: 44px;
}

/* Card: .reviews-panel (recensioni/sondaggio) */
.reviews-panel {
  max-width: 520px;
  margin: 0 auto;
}

/* Recensioni: .reviews-panel h2 (titolo box) */
.reviews-panel h2 {
  font-size: 28px;
  line-height: 1.2;
  white-space: normal;
}

/* Recensioni: .reviews-grid (griglia box) */
.reviews-grid {
  margin-bottom: 24px;
}

/* Tabelle: .rounded-panel .table (tabella dentro riquadro) */
.rounded-panel .table {
  margin-bottom: 0;
}

/* Tabella prezzi index: testi neri come recensioni */
.listino-panel tbody td {
  color: #000;
  font-size: 18px;
  font-weight: 400;
}

/* Mappa: .map-block (blocco mappa) */
.map-block {
  margin-top: 0;
}

/* Mappa: .map-link-wrap (centratura bottone mappa) */
.map-link-wrap {
  text-align: center;
}

/* Mappa: .map-embed (mappa incorporata) */
.map-embed {
  width: 100%;
  max-width: 900px;
  height: 260px;
  border: 0;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Mappa: .map-link (bottone Apri su Google Maps) */
.map-link {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid #2FA9D8;
  background: #2FA9D8;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  font-size: 17px;
}

/* Mappa: .map-link:hover (map-link hover) */
.map-link:hover {
  background: #2498c3;
  border-color: #2498c3;
  color: #fff;
}

/* Card: .card (card) */
.card {
  background-color: #fff;
  color: #2E69C9;
  padding: 10px;
  text-align: left;
  text-underline-position: under;
  margin-top: -40px;
  padding-top: 50px;
  border-radius: 20px;
  border: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);

  /* Se ti serve flex dentro la card */
  display: flex;
  align-items: center;

  margin-left: auto;
  margin-right: auto;
}


/* ---------- Responsive (mobile-first adjustments) ---------- */
@media (max-width: 768px) {
/* Tipografia di base: body (corpo pagina) */
  body { text-align: left; }

/* Tipografia di base: h1 (titoli) */
  h1 { font-size: 40px; }
/* Tipografia di base: h2 (titoli) */
  h2 { font-size: 28px; }
  .hero,
  .hero2,
  .heroservizi1,
/* Hero: .heroservizi2 (heroservizi2) */
  .heroservizi2 {
    min-height: auto;
    padding: 48px 20px;
    background-position: center;
  }

/* Hero: .hero-copy (testi hero) */
  .hero-copy {
    padding-top: 8px !important;
    padding-bottom: 36px !important;
  }

/* Hero: .hero-title (titolo hero) */
  .hero-title {
    font-size: 42px;
    margin-top: -8px;
  }

/* Hero: .hero-subtitle (sottotitolo hero) */
  .hero-subtitle {
    font-size: 21px;
  }

/* Sezioni: section (sezione) */
  section {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  section.bg2,
  section.bg3,
/* Sezioni: section.bg4 (sezione bg4) */
  section.bg4 {
    height: auto;
  }

/* Sezione indirizzo e orari: .intro-card (intro-card) */
  .intro-card {
    padding: 24px;
  }

/* Sezione indirizzo e orari: .intro-address (testo indirizzo) */
  .intro-address { font-size: 20px; }
/* Sezione indirizzo e orari: .intro-address (testo indirizzo) */
  .intro-address { white-space: normal; }
/* Sezione indirizzo e orari: .intro-hours (testo orari) */
  .intro-hours { font-size: 18px; }

/* Sezione indirizzo e orari: .intro-split (layout due colonne) */
  .intro-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

/* Sezione indirizzo e orari: .intro-info (blocco indirizzo e orari) */
  .intro-info { margin-top: 0; }

/* Sezione indirizzo e orari: .intro-heading (titolo sezione indirizzo) */
  .intro-heading {
    font-size: 22px;
    letter-spacing: 0.16em;
    margin-bottom: 12px;
  }

/* Mappa: .map-embed (mappa incorporata) */
  .map-embed { height: 240px; }

/* Card: .card (card) */
  .card {
    margin-top: 0;
    padding-top: 24px;
  }

/* Tabella prezzi: table (tabella prezzi) */
  table {
    width: 100%;
  }

/* Tabella prezzi: th, td (th, td) */
  th, td {
    padding: 8px;
    font-size: 0.95rem;
  }

/* Stili vari: h4 (h4) */
  h4 { font-size: 1.4rem; }

/* Footer: footer (footer) */
  footer {
    padding: 3rem 1.5rem 0.5rem;
  }

/* Footer: .imgfooter (logo footer) */
  .imgfooter { width: 220px; }

/* Servizi: layout responsive */
  .service-grid,
  .service-products {
    grid-template-columns: 1fr;
  }

  .service-title { font-size: 30px; }
  .service-subtitle { font-size: 18px; }
  .service-section-title { font-size: 24px; }

  .service-hero {
    padding: 48px 0;
  }

  .service-hero-inner {
    justify-content: center;
  }

  .service-hero-card {
    max-width: 100%;
  }

  .service-hero-card {
    padding: 22px;
  }

  .service-hero-card h3 {
    font-size: 22px;
  }

  .service-hero-card .service-steps {
    font-size: 16px;
  }
}

/* Tabella prezzi: table (tabella prezzi) */
.listino-panel table {
  width: 80%;
  margin: 10px auto 30px;
  border-collapse: collapse;
  text-align: center;
  font-size: 17px;
}

/* Tabella prezzi: th, td (th, td) */
.listino-panel th, .listino-panel td {
  border: 1px solid #ccc;
  padding: 12px;
}

/* Tabella prezzi: th (celle tabella) */
.listino-panel th {
  background-color: #1657c1;
  color: #fff;
}

/* Tabella prezzi: tr:nth-child(even) (righe alternate tabella prezzi) */
.listino-panel tr:nth-child(even) {
  background-color: #f2f2f2;
}

/* Hero: .heroservizi1 (heroservizi1) */
.heroservizi1 {
  background-repeat: no-repeat;
  background-position: bottom;
  padding: 100px;
  text-align: left;
  font-size: 16px;
}

/* Hero: .heroservizi2 (heroservizi2) */
.heroservizi2 {
  background-image: url(../img/tuananh-blue-KSVtSQrm9eo-unsplash.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  min-height: 700px;
  padding: 100px;
  text-align: left;
  font-size: 16px;
}

/* Stili vari: .light (light) */
.light {
  font-size: 36px;
  color: #2E69C9;
}

/* Recensioni: .reviews-text (testo recensioni) */
.reviews-text {
  font-size: 20px;
}

/* Recensioni: .reviews-button (bottone recensioni) */
.reviews-button {
  margin-top: 20px;
}


/* Servizi: .service-title (titolo pagina istruzioni) */
.service-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0B1F3A;
  text-align: center;
}

/* Servizi: .service-subtitle (sottotitolo pagina istruzioni) */
.service-subtitle {
  max-width: 1100px;
  margin: 10px auto 0;
  text-align: center;
  color: #2b2b2b;
  font-size: 30px;
}

/* Servizi: .service-section-title (titolo sezione) */
.service-section-title {
  text-align: center;
  font-size: 28px;
  color: #2F69C9;
  margin-bottom: 24px;
}

/* Servizi: .service-blue-panel (riquadro azzurro) */
.service-blue-panel {
  background: #fff;
  border-radius: 28px;
  padding: 28px;
}

/* Servizi: .service-info (orari + contatto) */
.service-info {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* Servizi: .service-hours (blocco orari) */
.service-hours {
  text-align: center;
}

/* Servizi: .service-hours-label (titolo orari) */
.service-hours-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #2F69C9;
  font-weight: 700;
}

/* Servizi: .service-hours-text (testo orari) */
.service-hours-text {
  font-size: 20px;
  font-weight: 700;
  color: #0B1F3A;
}

/* Servizi: .service-badge (badge aperto/chiuso) */
.service-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 12px;
  background: #e9f7ef;
  color: #1f7a4f;
}

/* Servizi: .service-badge.is-closed (chiuso) */
.service-badge.is-closed {
  background: #fdecea;
  color: #a32525;
}

/* Servizi: .service-contact (numero + copia) */
.service-contact {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Servizi: .service-phone (numero) */
.service-phone {
  font-weight: 700;
  color: #0B1F3A;
}

/* Servizi: .service-hero (sezione con immagine di sfondo) */
.service-hero {
  position: relative;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
}

/* Servizi: .service-hero::before (overlay per leggibilità) */
.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 18, 34, 0.55), rgba(6, 18, 34, 0.15));
}

/* Servizi: .service-hero-washer (sfondo lavatrice) */
.service-hero-washer {
  background-image: url("../img/lavatrici.jpeg");
}

/* Servizi: .service-hero-dryer (sfondo asciugatrice) */
.service-hero-dryer {
  background-image: url("../img/jeans.jpg");
}

/* Servizi: .service-hero-inner (posizionamento riquadro) */
.service-hero-inner {
  position: relative;
  display: flex;
}

/* Servizi: .service-hero-right (riquadro a destra) */
.service-hero-right {
  justify-content: flex-end;
}

/* Servizi: .service-hero-left (riquadro a sinistra) */
.service-hero-left {
  justify-content: flex-start;
}

/* Servizi: .service-hero-card (riquadro istruzioni) */
.service-hero-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 28px;
  max-width: 520px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.2);
}

/* Servizi: .service-hero-card h3 (titolo istruzioni) */
.service-hero-card h3 {
  font-size: 26px;
  color: #2F69C9;
}

/* Servizi: .service-hero-card .service-steps (testo istruzioni) */
.service-hero-card .service-steps {
  font-size: 18px;
}

/* Servizi: .service-grid (griglia istruzioni) */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 20px;
}

/* Servizi: .service-card (card istruzioni) */
.service-card {
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}

/* Servizi: .service-steps (lista istruzioni) */
.service-steps {
  padding-left: 18px;
  margin: 10px 0 0;
  text-align: left;
}

/* Servizi: .service-cash-card (riquadro cassa) */
.service-cash-card {
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

/* Servizi: .service-products (elenco prodotti) */
.service-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

/* Servizi: .service-product (singolo prodotto) */
.service-product {
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  text-align: center;
  border: 1px solid #D6E2F5;
}

/* Servizi: .service-faq (contenitore FAQ) */
.service-faq {
  display: grid;
  gap: 16px;
}

/* Servizi: .service-faq-item (singola FAQ) */
.service-faq-item {
  background: #f4f9ff;
  padding: 18px 20px;
  border-radius: 36px;
  overflow: hidden;
  border: 2px solid #E3EAF6;
}

/* Servizi: .service-faq-item h4 (titolo domanda) */
.service-faq-item h4 {
  margin-bottom: 8px;
  color: #0B1F3A;
  font-size: 21px;
}

/* Servizi: .service-faq-item p (testo risposta) */
.service-faq-item p {
  color: #2b2b2b;
  font-size: 18px;
}

/* Servizi: .service-rules (lista regole) */
.service-rules {
  max-width: 600px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

/* Servizi: .service-rules li (singola regola) */
.service-rules li {
  background: #fff;
  border: 1px solid #E3EAF6;
  border-radius: 12px;
  padding: 12px 16px;
}

/* Hero: .hero-copy (testi hero) */
.hero-copy {
  padding-top: 16px !important;
  padding-bottom: 80px !important;
}

/* Hero: .hero-title (titolo hero) */
.hero-title {
  margin-top: -24px;
  color: #F4FBFF;
  letter-spacing: 0.04em;
  font-size: 74px;
  font-family: "helvetica_lt_stdBdCnOb", "Trebuchet MS", "HelveticaLTStd", Helvetica, Arial, sans-serif;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

/* Hero: .hero-subtitle (sottotitolo hero) */
.hero-subtitle {
  color: #E3F6FF;
  font-size: 32px;
  text-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Footer: .footer (contenitore footer) */
.footer {
  background-color: #E6F4FF;
  color: #0B1F3A;
  margin-right: auto;
}

/* Footer: .footer2 (testo footer) */
.footer2 {
  font-weight: 300;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

/* Footer: layout con logo laterale (solo pagine che usano footer2-side) */
.footer2.footer2-side {
  flex-direction: row;
  gap: 1.1rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer2.footer2-side .footer-links {
  justify-content: flex-start;
}

/* Footer: .imgfooter (logo footer) */
.imgfooter { width: 300px; }

/* Footer: link privacy/policy */
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.footer-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #0B1F3A;
  text-decoration: underline;
  cursor: pointer;
}

.footer-link:focus-visible {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}

.footer-sep { opacity: 0.6; }

/* Modal privacy/policy */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 1050;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  width: 100%;
  max-width: 640px;
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.4rem;
}

.modal-close {
  background: none;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.modal-body p { margin: 0 0 0.75rem 0; }
.modal-body p:last-child { margin-bottom: 0; }

body.modal-open { overflow: hidden; }

@media (max-width: 768px) {
  .footer2.footer2-side {
    flex-direction: column;
  }

  .footer-meta {
    align-items: center;
  }

  .footer2.footer2-side .footer-links {
    justify-content: center;
  }
}

/* Footer: footer (footer) */
footer {
  text-align: center;
  padding: 5rem;
  padding-bottom: 3px;
  font-size: 0.9rem;
  color: #0B1F3A;
}

/* =========================================================
   PATCH per index.html
   ========================================================= */
/* Card: section.bg1 > .card.mb-1 (sezione bg1 card mb-1) */
section.bg1 > .card.mb-1 {
  padding-bottom: 50px;
}

/* =========================================================
   Mobile-first overrides (base smartphone)
   ========================================================= */
@media (max-width: 991px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: 40px;
  }

  .hero,
  .hero2,
  .heroservizi1,
  .heroservizi2 {
    min-height: auto;
    padding: 48px 20px;
    background-position: center;
  }

  section.bg2,
  section.bg3,
  section.bg4 {
    height: auto;
  }

  .intro-card {
    padding: 16px 20px 24px;
    max-width: 100%;
  }

  .intro-split {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .intro-address {
    white-space: normal;
  }

  .intro-info {
    margin-top: 0;
  }

  .map-embed {
    height: 220px;
  }

  table {
    width: 100%;
  }

  .rounded-panel {
    padding: 24px 16px;
  }

  .listino-panel {
    max-width: 100%;
  }

  .reviews-panel h2 {
    font-size: 24px;
  }

  .service-hero {
    padding: 48px 0;
  }

  .service-hero-inner {
    justify-content: center;
  }

  .service-hero-card {
    max-width: 100%;
    padding: 22px;
  }

  .service-hero-card h3 {
    font-size: 22px;
  }

  .service-hero-card .service-steps {
    font-size: 16px;
  }

  .service-grid,
  .service-products {
    grid-template-columns: 1fr;
  }

  .service-blue-panel {
    padding: 20px;
  }
}

/* =========================================================
   Desktop overrides (>= 992px)
   ========================================================= */
@media (min-width: 992px) {
  h1 { font-size: 70px; }

  .hero {
    min-height: 700px;
    padding: 100px;
    background-position: bottom;
  }

  .hero2 {
    min-height: 200px;
    padding: 100px;
  }

  .heroservizi2 {
    min-height: 700px;
    padding: 100px;
  }

  .intro-card {
    padding: 0 36px 28px;
    max-width: 1400px;
  }

  .intro-split {
    grid-template-columns: minmax(360px, 1.2fr) minmax(420px, 1.4fr);
    gap: 40px;
  }

  .intro-address {
    white-space: nowrap;
  }

  .map-embed {
    height: 260px;
  }

  table {
    width: 80%;
  }

  .service-hero-card {
    max-width: 520px;
    padding: 28px;
  }

  .service-hero-card h3 {
    font-size: 26px;
  }

  .service-hero-card .service-steps {
    font-size: 18px;
  }

  .service-grid,
  .service-products {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }

  .service-blue-panel {
    padding: 28px;
  }
}

/* =========================================================
   Mobile target 390-400px
   ========================================================= */
@media (max-width: 430px) {
  .container {
    max-width: 400px;
    padding-left: 10px;
    padding-right: 10px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .hero {
    padding: 38px 12px;
  }

  .rounded-panel,
  .service-blue-panel,
  .service-cash-card {
    padding: 18px 12px;
    border-radius: 18px;
  }

  .intro-card {
    padding: 12px 12px 18px;
  }

  .intro-label {
    font-size: 20px;
  }

  .intro-address,
  .intro-hours {
    font-size: 18px;
  }

  .reviews-panel h2 {
    font-size: 22px;
  }

  .reviews-text,
  .service-subtitle {
    line-height: 1.45;
  }

  .table th,
  .table td {
    font-size: 0.88rem;
    padding: 7px;
  }

  .service-title {
    font-size: 27px;
  }

  .service-subtitle {
    font-size: 16px;
  }

  .service-hero-card {
    padding: 16px 12px;
  }

  .service-hero-card h3 {
    font-size: 20px;
  }

  .service-hero-card .service-steps {
    font-size: 15px;
  }

  .service-faq-item {
    border-radius: 24px;
    padding: 14px 14px;
  }

  .footer2 {
    min-height: 96px;
    gap: 0.2rem;
  }

  .imgfooter {
    width: 180px;
  }
}

/* =========================================================
   Navbar: 3 colonne fisse (logo sinistra, menu centro, contattaci destra)
   ========================================================= */
.nav-shell {
  display: grid !important;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.navbar-brand {
  margin: 0 !important;
  justify-self: start;
}

.navbar-brand .site-logo-icon {
  display: none;
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.navbar-brand .site-logo-sign {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-center {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0;
}

.nav-pill-wrap {
  width: auto !important;
  position: static;
  transform: none;
}

.nav-pills-rounded {
  width: auto !important;
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

.nav-pills-rounded .nav-link {
  text-align: center;
  padding: 7px 11px !important;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}

.nav-contact {
  width: auto !important;
  margin: 0 !important;
  justify-self: end;
  display: flex;
  justify-content: flex-end !important;
}

.nav-contact-btn {
  width: auto !important;
  max-width: none;
  margin: 0;
  white-space: nowrap;
  padding: 7px 11px;
  font-size: 0.79rem;
  letter-spacing: 0.02em;
}

@media (max-width: 768px) {
  .navbar-brand .site-logo-sign {
    display: none;
  }

  .navbar-brand .site-logo-icon {
    display: block;
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 430px) {
  .nav-shell {
    gap: 5px;
  }

  .navbar-brand .site-logo-icon {
    width: 28px;
    height: 28px;
  }

  .nav-pills-rounded {
    gap: 6px;
  }

  .nav-pills-rounded .nav-link {
    padding: 6px 8px !important;
    font-size: 0.79rem;
  }

  .nav-contact-btn {
    padding: 6px 8px;
    font-size: 0.77rem;
  }
}

/* =========================================================
   Index: spaziatura uniforme tra riquadri
   ========================================================= */
:root {
  --index-uniform-gap: 24px;
}

.intro-split {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: var(--index-uniform-gap) !important;
}

.intro-info {
  gap: var(--index-uniform-gap) !important;
  margin-top: 0;
}

.reviews-grid {
  --bs-gutter-x: var(--index-uniform-gap) !important;
  --bs-gutter-y: var(--index-uniform-gap) !important;
  margin-bottom: 0;
}

.reviews-grid > [class*="col-"] {
  display: flex;
}

.reviews-grid .reviews-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.reviews-grid .reviews-button {
  margin-top: auto;
}

@media (min-width: 992px) {
  section.bg4 {
    height: auto;
  }
}
