/**
 * LiberaMondo Contact — additive styles scoped to the form only.
 * Follows DESIGN.md: Archivo / Source Sans 3, #12395d, #147fc3, pastel blue.
 * Do not alter site header, footer or any other Elementor page.
 */
.lmb-contact-elementor-section {
  width: 100%;
  max-width: none;
  padding: clamp(20px, 4vw, 56px) 16px !important;
}

.lmb-contact-module {
  --lmb-contact-ink: #12395d;
  --lmb-contact-soft: #36566f;
  --lmb-contact-action: #137fa4;
  width: min(100%, 1120px);
  margin: 0 auto 36px;
  padding: clamp(14px, 3vw, 34px);
  border-radius: 28px;
  background: linear-gradient(132deg, #f2dfda 0%, #d7e9f1 55%, #e9f6fb 100%);
  box-sizing: border-box;
  isolation: isolate;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--lmb-contact-ink);
}

.lmb-contact-module *,
.lmb-contact-module *::before,
.lmb-contact-module *::after { box-sizing: border-box; }

.lmb-contact-panel {
  background: #fff;
  border-radius: 25px;
  padding: clamp(24px, 5vw, 60px);
  box-shadow: 0 14px 48px rgba(18, 57, 93, .065);
}

.lmb-contact-module .lmb-contact-title {
  font-family: Archivo, system-ui, sans-serif;
  font-size: clamp(26px, 3vw, 37px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.035em;
  color: var(--lmb-contact-ink);
  margin: 0 0 14px;
}

.lmb-contact-module .lmb-contact-intro {
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  color: var(--lmb-contact-soft);
  max-width: 760px;
  margin: 0 0 25px;
}

.lmb-contact-form .lmb-contact-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 18px;
}

.lmb-contact-form .lmb-field {
  min-width: 0;
}

.lmb-contact-form .lmb-field-wide { grid-column: 1 / -1; }

.lmb-contact-form .lmb-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--lmb-contact-ink);
  margin: 0 0 5px;
}

.lmb-contact-form .lmb-field input,
.lmb-contact-form .lmb-field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 13px 15px;
  border: 1px solid #ccd6dc;
  border-radius: 9px;
  font: inherit;
  font-size: 16px;
  line-height: 1.4;
  color: var(--lmb-contact-ink);
  background-color: #fff;
  box-shadow: none;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  appearance: none;
}

.lmb-contact-form .lmb-field input { min-height: 53px; }
.lmb-contact-form .lmb-field textarea { min-height: 155px; resize: vertical; }
.lmb-contact-form .lmb-field input::placeholder,
.lmb-contact-form .lmb-field textarea::placeholder { color: #82929f; opacity: 1; }

.lmb-contact-form .lmb-field input:focus,
.lmb-contact-form .lmb-field textarea:focus {
  border-color: #147fc3;
  box-shadow: 0 0 0 3px rgba(20,127,195,.15);
}

.lmb-contact-form .lmb-contact-privacy {
  max-width: 770px;
  color: #53738a;
  line-height: 1.55;
  font-size: 13px;
  margin: 18px 0 20px;
}

.lmb-contact-module .lmb-contact-submit {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: auto;
  min-height: 47px;
  padding: 12px 25px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(110deg, #78a5af, #147fa5);
  color: #fff;
  font-family: Archivo, system-ui, sans-serif;
  font-size: 14px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .025em;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.lmb-contact-module .lmb-contact-submit:hover,
.lmb-contact-module .lmb-contact-submit:focus-visible {
  background: #0b628d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 127, 195, .22);
  outline-offset: 3px;
}

.lmb-contact-feedback {
  padding: 13px 16px;
  margin: 0 0 20px;
  border-radius: 10px;
  line-height: 1.5;
  border: 1px solid #f0cfb7;
  background: #fff4eb;
  color: #77461b;
}
.lmb-contact-feedback.is-success {
  color: #195d4b;
  background: #e5f5ee;
  border-color: #a8dac8;
}

.lmb-contact-form .lmb-contact-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
}

@media (max-width: 680px) {
  .lmb-contact-elementor-section { padding: 16px 10px !important; }
  .lmb-contact-module { padding: 9px; border-radius: 21px; }
  .lmb-contact-panel { padding: 23px 18px; border-radius: 17px; }
  .lmb-contact-form .lmb-contact-fields { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .lmb-contact-form .lmb-field-wide { grid-column: auto; }
  .lmb-contact-module .lmb-contact-submit { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lmb-contact-form input,
  .lmb-contact-form textarea,
  .lmb-contact-submit { transition: none !important; transform: none !important; }
}
