/* Landing città (template-landing-citta.php) — solo le parti che differiscono dalla fai-spazio. */

/* ---------- Hero ---------- */
.head-section--citta .head-form {
  position: relative;
  z-index: 2;
}

/* Sottotitolo del form verde come da mockup (nella fai-spazio resta fucsia).
   #29A71A (verde dei bottoni telefono) invece del #8AC926 del mockup: contrasto 3,16:1 su bianco,
   ok WCAG AA solo come testo grande (>= 18,66px bold) — non scendere sotto 20px bold. */
.head-section--citta .form-subtitle {
  color: #29A71A;
}

.head-section--citta .head-body .citta-title {
  color: #0A2133;
  font-family: "Inter", sans-serif;
  font-size: 96px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 25px;
}
.head-section--citta .citta-kicker {
  display: block;
  font-size: 16px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.head-section--citta .head-body .citta-subtitle {
  color: #000000;
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 20px;
  max-width: 520px;
}
/* Le tre caratteristiche sotto al sottotitolo: elenco (non titolo), stessa resa del vecchio H2 della fai-spazio. */
.head-section--citta .head-body .citta-features {
  color: #000000;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
  margin: 0 0 60px;
  padding: 0;
}
.head-section--citta .citta-features li {
  display: inline;
}
.head-section--citta .citta-features li + li {
  display: inline-block;
  padding-left: 15px;
  position: relative;
}
.head-section--citta .citta-features li + li::after {
  background-color: #000000;
  border-radius: 50%;
  content: "";
  height: 4px;
  left: 5px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
}

/* "Box Specialist" nel pannello WhatsApp: testo semplice con la grafica del vecchio H3. */
.floating-content .floating-title {
  color: #8AC926;
  font-family: "Inter", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  text-align: center;
}
@media screen and (max-width: 991px) {
  .floating-content .floating-title { font-size: 16px; }
}

/* FAQ: l'H3 racchiude il pulsante della fisarmonica senza cambiarne l'aspetto. */
.faq-item .faq-question {
  font: inherit;
  margin: 0;
}
/* Icona +/− in CSS invece che come testo, così l'H3 contiene solo la domanda. */
.faq-icon--css::before {
  content: "+";
}
.faq-toggle[aria-expanded=true] .faq-icon--css::before {
  content: "\2212";
}

/* Fascia sconto a tutta larghezza in fondo all'hero */
.citta-promo {
  background-color: #FF0090;
  color: #FFFFFF;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0;
  padding: 12px 8.33% 12px 16.66%;
  position: relative;
  text-transform: uppercase;
}

.head-section--citta .head-container {
  margin-bottom: 0;
}

@media screen and (max-width: 1300px) {
  .head-section--citta .head-body .citta-title { font-size: 80px; }
  .head-section--citta .head-body .citta-subtitle { font-size: 16px; }
  .head-section--citta .head-body .citta-features { font-size: 14px; }
}
@media screen and (max-width: 1199px) {
  .citta-promo { padding-left: 8.33%; }
}
@media screen and (max-width: 991px) {
  .head-section--citta .head-body .citta-title { font-size: 64px; }
  .head-section--citta .head-body .citta-features { margin-bottom: 40px; }
  .citta-promo { padding-left: 30px; padding-right: 30px; }
}
@media screen and (max-width: 543px) {
  .head-section--citta .head-body .citta-title {
    font-size: 56px;
    margin-bottom: 12px;
    text-align: center;
  }
  .head-section--citta .citta-kicker { font-size: 13px; }
  .head-section--citta .head-body .citta-subtitle {
    font-size: 14px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  .head-section--citta .head-body .citta-features {
    margin-bottom: 25px;
    text-align: center;
  }
  .citta-promo {
    font-size: 14px;
    padding: 10px 15px;
    text-align: center;
  }
  /* Su mobile il form sta nel flusso, sotto il testo dell'hero e sopra la fascia sconto
     (nella fai-spazio è in assoluto sotto l'hero, ma qui si sovrapporrebbe alla fascia). */
  .head-section--citta .head-container {
    margin-bottom: 0;
  }
  .head-section--citta .head-form {
    bottom: auto;
    left: auto;
    margin: 0 15px 30px;
    position: relative;
    transform: none;
    width: auto;
  }
}

/* ---------- Sedi ---------- */
.sedi-section {
  background-color: #F9F9FD;
  margin-bottom: 105px;
}
.sedi-container {
  padding: 50px 8.33% 50px 16.66%;
}
@media screen and (min-width: 1600px) {
  .sedi-container {
    margin: 0 auto;
    max-width: 1920px;
  }
}
.sedi-claim {
  color: #FF0090;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 25px;
  max-width: 45%;
}
.sedi-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}
.sedi-card {
  margin: 0;
  padding: 0;
  position: relative;
}
.sedi-soon {
  background-color: #0A2133;
  border-radius: 20px;
  color: #FFFFFF;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  left: 10px;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: 6px 10px;
  position: absolute;
  text-transform: uppercase;
  top: 10px;
  z-index: 1;
}
.sedi-card--pick {
  cursor: pointer;
}
/* Il bottone nel titolo copre tutta la card (mappa compresa). */
.sedi-pick {
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}
.sedi-pick::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 2;
}
.sedi-card--pick .sedi-map {
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sedi-card--pick:hover .sedi-map,
.sedi-card--pick:focus-within .sedi-map {
  box-shadow: 0 4px 12px rgba(10, 33, 51, 0.2);
  transform: translateY(-2px);
}
.sedi-card--pick:hover .sedi-pick,
.sedi-pick:focus-visible {
  text-decoration: underline;
}
.sedi-pick:focus-visible {
  outline: none;
}
.sedi-pick:focus-visible::after {
  border-radius: 8px;
  outline: 2px solid #FF0090;
  outline-offset: 4px;
}
/* Contenitore mappa: immagine statica centrata sulla sede + pin Boxengo sopra. */
.sedi-map {
  aspect-ratio: 16 / 9;
  background-color: #EBEBEB;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  position: relative;
}
.sedi-map img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}
/* La punta del pin (in basso al centro) cade sul centro dell'immagine = coordinate sede. */
.sedi-pin {
  bottom: 50%;
  filter: drop-shadow(0 2px 3px rgba(10, 33, 51, 0.25));
  height: auto;
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  width: 34px;
}
.sedi-name {
  color: #0A2133;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 4px;
}
.sedi-address {
  color: #5F5F5F;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

@media screen and (max-width: 1199px) {
  .sedi-container { padding-left: 8.33%; }
  .sedi-claim { max-width: 50%; }
}
@media screen and (max-width: 991px) {
  .sedi-container { padding: 40px 30px; }
  .sedi-claim { max-width: none; }
  .sedi-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 543px) {
  .sedi-section { margin-bottom: 60px; }
  .sedi-container { padding: 30px 15px; }
  .sedi-claim { font-size: 18px; text-align: center; }
  .sedi-list { gap: 15px; }
}

/* Breadcrumb visibile (punto 7c): riga sobria sopra il titolo città. */
.citta-breadcrumb {
  color: #0A2133;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 32px;
}
.citta-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.citta-breadcrumb li + li::before {
  content: "›";
  margin: 0 8px;
}
.citta-breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.citta-breadcrumb [aria-current="page"] {
  font-weight: 600;
}
@media screen and (max-width: 543px) {
  .citta-breadcrumb { margin-bottom: 20px; }
  .citta-breadcrumb ol { justify-content: center; }
}

/* Link alla pagina sede (punto 7a): sopra lo strato del pulsante che copre la card. */
.sedi-link {
  color: #0A2133;
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-top: 6px;
  position: relative;
  text-decoration: underline;
  text-underline-offset: 3px;
  z-index: 3;
}
.sedi-link:visited {
  color: #0A2133;
}
.sedi-link:hover,
.sedi-link:focus-visible {
  color: #FF0090;
}
.sedi-link:focus-visible {
  border-radius: 4px;
  outline: 2px solid #FF0090;
  outline-offset: 3px;
}

/* Link verso la landing dell'altra città (mail Antonello 6/11, punto 4): fascia bianca a tutta larghezza
   tra FAQ e contatti. Contenuto centrato: a destra il pannello flottante "Box Speciali" copriva il pulsante. */
.altra-citta-section {
  padding: 0 12%;
}
.altra-citta-container {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 40px;
  justify-content: center;
  padding: 50px 0;
  text-align: center;
}
.altra-citta-claim {
  color: #0A2133;
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.altra-citta-link {
  border: 2px solid #FF0090;
  border-radius: 30px;
  color: #FF0090;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 12px 28px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.altra-citta-link:hover,
.altra-citta-link:focus-visible {
  background-color: #FF0090;
  color: #ffffff;
}
@media screen and (max-width: 1199px) {
  .altra-citta-section { padding: 0 8.33%; }
}
@media screen and (max-width: 991px) {
  .altra-citta-section { padding: 0 45px; }
  .altra-citta-container { padding: 40px 0; }
}
@media screen and (max-width: 543px) {
  .altra-citta-section { padding: 0 15px; }
  .altra-citta-container { flex-direction: column; padding: 30px 0; text-align: center; }
  .altra-citta-claim { font-size: 18px; }
}

/* ---------- Introduzione città (testi per città, 10/11/2026) ---------- */
.citta-intro-section {
  margin-bottom: 80px;
}
.citta-intro-container {
  padding: 0 8.33% 0 16.66%;
}
@media screen and (min-width: 1600px) {
  .citta-intro-container {
    margin: 0 auto;
    max-width: 1920px;
  }
}
.citta-intro-title {
  color: #0A2133;
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 20px;
}
.citta-intro-container p,
.citta-intro-sedi li {
  color: #0A2133;
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
.citta-intro-container p {
  margin: 0 0 16px;
}
.citta-intro-sedi {
  margin: 0 0 16px;
  padding-left: 20px;
}
.citta-intro-sedi li + li {
  margin-top: 8px;
}
@media screen and (max-width: 1199px) {
  .citta-intro-container { padding-left: 8.33%; }
}
@media screen and (max-width: 991px) {
  .citta-intro-container { padding: 0 30px; }
}
@media screen and (max-width: 543px) {
  .citta-intro-section { margin-bottom: 60px; }
  .citta-intro-container { padding: 0 15px; }
  .citta-intro-title { font-size: 21px; }
  .citta-intro-container p,
  .citta-intro-sedi li { font-size: 16px; }
}
