#mappaHome.optec-offices { padding: 56px 0 28px; }
#mappaHome.optec-offices h2 { color: #414175; text-align: left; margin: 0 0 28px; font-size: 30px; }
#contact-page .optec-contact-form { max-width: 900px; margin: 0 auto; }
#contact-page .optec-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
#contact-page .optec-contact-form label { display: block; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
#contact-page .optec-contact-form .form-control { width: 100%; margin: 0; min-height: 44px; font-size: 16px; }
#contact-page .optec-contact-form textarea.form-control { height: 222px; resize: vertical; }
#contact-page .optec-consent { display: flex; align-items: flex-start; gap: 10px; margin: 24px 0; }
#contact-page .optec-consent input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; }
#contact-page .optec-consent label { font-size: 14px; font-weight: 400; line-height: 1.6; }
#contact-page .optec-consent a { color: #bd1b27; text-decoration: underline; }
#contact-page .optec-contact-submit { border-radius: 8px; min-height: 48px; }
#contact-page .optec-contact-submit:disabled { opacity: .65; cursor: wait; }
#contact-status { margin-bottom: 24px; padding: 16px 20px; border-radius: 8px; background: #f1f2f5; color: #282c48; font-size: 16px; line-height: 1.6; }
#contact-status.is-error { background: #fff0ef; color: #8c1c24; }
#contact-status.is-success { background: #eaf5ed; color: #245d35; }
#contact-page .optec-form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#contact-page [hidden] { display: none !important; }
@media(max-width: 767px) {
  #contact-page .optec-form-grid { grid-template-columns: 1fr; }
}


#mappaHome .optec-world-map { margin-top: 0; width: 100%; overflow: hidden; border-radius: 16px; }

/* Offices and contact details form one group beneath the map. */
#mappaHome .optec-offices-heading { margin-bottom: 24px; }
#mappaHome .optec-offices-heading h2 { margin: 0; }
#mappaHome .optec-offices-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
#mappaHome .optec-office-card { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: 26px 24px 20px; border: 1px solid #d1d4de; border-radius: 10px; background: #f1f2f5; color: #535763; font-family: inherit; font-size: 16px; line-height: 1.7; }
#mappaHome .optec-office-card h3 { margin: 0 0 16px; color: #414175; font-family: inherit; font-size: 20px; font-weight: 700; font-style: normal; line-height: 1.4; text-transform: none; }
#mappaHome .optec-office-card address { margin: 0 0 20px; font: inherit; }
#mappaHome .optec-office-card address span { display: block; }
#mappaHome .optec-office-card a { overflow-wrap: anywhere; }
#mappaHome .optec-office-action { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: auto; padding: 10px 20px; border: 1px solid #c9ccdc; border-radius: 6px; background: transparent; color: #3c3e85; font-size: 14px; font-weight: 700; line-height: 22px; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; transition: background-color .18s ease, border-color .18s ease, color .18s ease; }
#mappaHome .optec-office-action:hover, #mappaHome .optec-office-action:focus-visible { border-color: #3c3e85; background: #3c3e85; color: #fff; text-decoration: none; }
#mappaHome .optec-office-email, #mappaHome .optec-office-phone { display: flex; align-items: center; min-height: 36px; color: #535763; line-height: 1.5; }
#mappaHome .optec-office-email:hover, #mappaHome .optec-office-phone:hover { color: #3c3e85; }
#mappaHome .optec-office-card a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 991px) {
  #mappaHome .optec-offices-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #mappaHome .optec-office-reach { grid-column: 1 / -1; }
  #mappaHome .optec-office-reach .optec-office-message { margin-top: 18px; }
}
@media (max-width: 575px) {
  #mappaHome .optec-offices-details { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 20px; }
  #mappaHome .optec-office-card { padding: 22px 20px 18px; }
  #mappaHome .optec-office-reach { grid-column: auto; }
}
