/* Richiesta assistenza → WhatsApp */
.wa-request-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 1.5rem 1.5rem 1.25rem;
  text-align: left;
}

.wa-request-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #1a1a1a;
}

.wa-request-card__subtitle {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1.25rem;
  line-height: 1.45;
}

.wa-request-form .form-group {
  margin-bottom: 0.85rem;
}

.wa-request-form label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #444;
  margin-bottom: 0.35rem;
}

.wa-request-form .form-control {
  font-size: 0.95rem;
  border-radius: 6px;
  border-color: #dde2e8;
}

.wa-request-form .form-control:focus {
  border-color: #0073ce;
  box-shadow: 0 0 0 0.15rem rgba(0, 115, 206, 0.15);
}

.wa-request-form .form-control.is-invalid {
  border-color: #dc3545;
}

.wa-request-form__row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.5rem;
  margin-right: -0.5rem;
}

.wa-request-form__row > .form-group {
  flex: 1 1 100%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (min-width: 576px) {
  .wa-request-form__row--half > .form-group {
    flex: 1 1 50%;
    max-width: 50%;
  }
}

.wa-request-form__actions {
  margin-top: 1rem;
}

.wa-request-form__actions .btn-wa-submit {
  width: 100%;
  background: #25d366;
  border-color: #25d366;
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.wa-request-form__actions .btn-wa-submit:hover,
.wa-request-form__actions .btn-wa-submit:focus {
  background: #1da851;
  border-color: #1da851;
  color: #fff;
}

.wa-request-form__actions .btn-wa-submit i {
  margin-right: 0.35rem;
}

.wa-request-form__alt {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #666;
}

.wa-request-form__alt a {
  color: #0073ce;
  font-weight: 600;
}

.wa-request-form__privacy {
  font-size: 0.75rem;
  color: #888;
  margin-top: 0.75rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.wa-request-form__error {
  display: none;
  color: #dc3545;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.wa-request-form__error.is-visible {
  display: block;
}

/* Home con hero chiaro: logo scuro (il bianco serviva al vecchio banner scuro) */
.home-light-hero .header-2 #header-wrap:not(.fixed-header) #logo-white-img {
  display: none !important;
}

.home-light-hero .header-2 #header-wrap:not(.fixed-header) .sticky-logo {
  display: block !important;
}

/* Hero home con form — layout normale, sotto il menu (no .align-center) */
.hero-with-wa-form.fullscreen-banner {
  position: relative;
  min-height: auto !important;
  height: auto !important;
  /* spazio = altezza header assoluto (~logo + menu) */
  padding: 9.5rem 0 3.5rem !important;
}

.hero-with-wa-form .hero-bg {
  display: none;
}

.hero-with-wa-form .img-side {
  display: none;
}

.hero-with-wa-form .hero-wa-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  transform: none !important;
  top: auto !important;
}

@media (max-width: 991px) {
  .hero-with-wa-form.fullscreen-banner {
    padding: 8rem 0 2.5rem !important;
  }
}

@media (max-width: 767px) {
  .hero-with-wa-form.fullscreen-banner {
    padding: 7rem 0 2rem !important;
  }
}

.hero-with-wa-form h1 {
  color: #1a1a1a;
}

.hero-with-wa-form h1 a {
  color: #0073ce;
  font-weight: 700;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.hero-trust li {
  padding: 0.2rem 0;
  font-size: 0.95rem;
}

.hero-trust li i {
  color: #0073ce;
  margin-right: 0.35rem;
}

.hero-cta-links {
  margin-top: 0.5rem;
}

.hero-cta-links .btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (max-width: 991px) {
  .hero-with-wa-form .wa-request-card {
    margin-top: 1.5rem;
  }
}

/* Sezione contatti */
.section-wa-form {
  background: #f7f7f7;
  padding-top: 3rem !important;
  padding-bottom: 3.5rem !important;
}

.section-wa-form .section-title {
  margin-bottom: 1.5rem;
}

/* =============================================================================
   Honeypot anti-bot: campo completamente nascosto, mai visibile/tab-bile dagli
   umani. Off-screen + dimensione zero per evitare detection da bot smart che
   ignorano display:none.
   ============================================================================= */
.wa-request-form__honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =============================================================================
   Consenso GDPR: checkbox grande, chiara, leggibile. Pattern Stripe/Vercel:
   pulsante submit disabilitato fino alla spunta, con cambio visivo netto.
   ============================================================================= */
.wa-request-form__consent {
  margin: 1rem 0 0.5rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.wa-request-form__consent:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.wa-request-form__consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin: 0;
  cursor: pointer;
  font-weight: 400;
  line-height: 1.4;
}

.wa-request-form__consent-input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #25D366;
}

.wa-request-form__consent-text {
  font-size: 0.875rem;
  color: #475569;
}

.wa-request-form__consent-text a {
  color: #0073ce;
  text-decoration: underline;
  font-weight: 500;
}

.wa-request-form__consent-text a:hover {
  color: #005ba8;
}

/* Submit button: state disabled = grigio opaco non cliccabile,
   state enabled = stile verde WhatsApp pieno. */
.btn-wa-submit:disabled {
  background: #cbd5e1 !important;
  border-color: #cbd5e1 !important;
  color: #64748b !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  box-shadow: none !important;
  transform: none !important;
}

.btn-wa-submit:disabled:hover {
  background: #cbd5e1 !important;
  border-color: #cbd5e1 !important;
  color: #64748b !important;
}
