/* Contact and quotation */

#quote-request,
#location {
  scroll-margin-top: 96px;
}

.mabe-quote-section {
  background: var(--mabe-soft);
  padding: clamp(2.25rem, 3.5vw, 3rem) 0;
}

.mabe-quote-section-heading {
  margin-bottom: 2rem;
  max-width: 780px;
}

.mabe-quote-section-heading .section-title {
  margin-bottom: 0.55rem;
}

.mabe-quote-section-heading .section-sub-title {
  margin-bottom: 0.75rem;
}

.mabe-quote-section-heading .mabe-section-intro {
  margin: 0;
  max-width: 720px;
}

.mabe-quote-project-context {
  align-items: center;
  background: #f8fafc;
  border: 1px solid #dce2e8;
  border-radius: 6px;
  color: #334155;
  display: flex;
  font-size: 0.9rem;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
  padding: 0.7rem 0.85rem;
}

.mabe-quote-project-context > i {
  color: var(--mabe-accent-dark);
}

.mabe-quote-project-context strong {
  color: #0f172a;
  margin-left: 0.25rem;
}

.mabe-quote-layout {
  align-items: flex-start;
  margin-bottom: 0 !important;
}

.quote-request-container {
  margin-bottom: 0 !important;
}

.mabe-direct-contact-sidebar {
  background: var(--mabe-white);
  border: 1px solid #dfe3e7;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(17, 28, 39, 0.04);
  color: var(--mabe-ink);
  padding: clamp(1.5rem, 2.4vw, 2rem);
  position: sticky;
  top: 112px;
  width: 100%;
}

.mabe-direct-contact-kicker {
  color: var(--mabe-accent-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}

.mabe-direct-contact-sidebar h2 {
  color: var(--mabe-ink);
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 850;
  line-height: 1.2;
  margin-bottom: 0.7rem;
  text-transform: none;
}

.mabe-direct-contact-intro {
  color: var(--mabe-muted);
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.mabe-direct-contact-whatsapp {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  text-align: center;
  width: 100%;
}

.mabe-direct-contact-whatsapp > i {
  font-size: 1.4rem;
}

.mabe-direct-contact-button-copy,
.mabe-direct-contact-detail > span {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.mabe-direct-contact-button-copy strong {
  color: #ffffff;
  font-size: 0.95rem;
}

.mabe-direct-contact-button-copy small {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.mabe-direct-contact-meta {
  border-top: 1px solid var(--mabe-line);
  display: grid;
  gap: 0.85rem;
  margin-top: 1.35rem;
  padding-top: 1.25rem;
}

.mabe-direct-contact-link {
  color: var(--mabe-ink);
  font-size: 0.9rem;
  font-weight: 700;
}

.mabe-direct-contact-link:hover,
.mabe-direct-contact-link:focus-visible {
  color: var(--mabe-accent-dark);
  text-decoration: none;
}

.mabe-direct-contact-detail {
  align-items: flex-start;
  color: inherit;
  display: flex;
  gap: 0.75rem;
  line-height: 1.45;
}

a.mabe-direct-contact-detail:hover,
a.mabe-direct-contact-detail:focus-visible {
  color: var(--mabe-accent-dark);
  text-decoration: none;
}

.mabe-direct-contact-detail > i {
  color: var(--mabe-accent-dark);
  margin-top: 0.22rem;
  min-width: 1rem;
  text-align: center;
}

.mabe-direct-contact-detail small {
  color: var(--mabe-muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mabe-direct-contact-detail strong {
  color: inherit;
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.mabe-quote-form {
  background: var(--mabe-white);
  border: 1px solid #dfe3e7;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(17, 28, 39, 0.035);
  height: 100%;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  width: 100%;
}

.mabe-quote-form form {
  display: flex;
  flex-direction: column;
}

.mabe-form-section {
  border: 0;
  margin: 0 0 1.6rem;
  min-width: 0;
  padding: 0;
}

.mabe-form-section + .mabe-form-section {
  border-top: 1px solid var(--mabe-line);
  padding-top: 1.8rem;
}

.mabe-form-section legend {
  color: var(--mabe-ink);
  float: none;
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  padding: 0;
  width: auto;
}

.mabe-form-section-help {
  color: var(--mabe-muted);
  font-size: 0.86rem;
  margin-bottom: 1.1rem;
}

.mabe-quote-form label {
  color: var(--mabe-ink);
  font-weight: 700;
}

.mabe-quote-contact-grid {
  align-items: start;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mabe-quote-project-grid {
  align-items: start;
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mabe-quote-field-wide {
  grid-column: 1 / -1;
}

.mabe-quote-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-width: 0;
}

.mabe-quote-field .form-control {
  width: 100%;
}

.mabe-quote-field label {
  line-height: 1.35;
  margin-bottom: 0.55rem;
  min-height: 1.35rem;
}

.mabe-quote-message-field {
  margin-top: 1.15rem;
}

.mabe-form-contact-rule {
  color: var(--mabe-muted);
  font-size: 0.82rem;
  margin: 0.75rem 0 0;
}

.mabe-quote-form label span {
  color: var(--mabe-accent-dark);
}

.mabe-quote-form .form-control {
  border-color: #ccd3d9;
  border-radius: 8px;
  color: var(--mabe-ink);
  font-weight: 500;
  min-height: 50px;
  padding-left: 0.95rem;
  padding-right: 0.95rem;
}

.mabe-quote-form .form-control::placeholder {
  color: var(--mabe-muted);
  font-weight: 400;
}

.mabe-quote-form textarea.form-control {
  min-height: 165px;
  padding-bottom: 0.85rem;
  padding-top: 0.85rem;
  resize: vertical;
}

.mabe-quote-form .form-control:focus {
  border-color: var(--mabe-accent-dark);
  box-shadow: 0 0 0 0.2rem rgba(205, 0, 5, 0.18);
}

.mabe-quote-form .input-group-text {
  background: #f0f2f4;
  border-color: #ccd3d9;
  color: var(--mabe-ink);
  font-weight: 700;
}

.mabe-quote-form .form-text {
  color: var(--mabe-muted);
  font-size: 0.78rem;
  margin-top: 0.35rem;
}

.mabe-quote-submit {
  align-items: center;
  align-self: stretch;
  display: inline-flex;
  justify-content: center;
  min-height: 50px;
  width: 100%;
}

.mabe-form-privacy {
  font-size: 0.82rem;
  line-height: 1.6;
  margin: 0.9rem 0 0;
  text-align: center;
}

.mabe-map-section {
  background: #ffffff;
  padding: clamp(2.25rem, 3.5vw, 3rem) 0;
}

.mabe-map-layout {
  align-items: stretch;
  margin-left: -12px;
  margin-right: -12px;
}

.mabe-map-layout > [class*='col-'] {
  display: flex;
  flex-direction: column;
  padding-left: 12px;
  padding-right: 12px;
}

.mabe-map-copy {
  background: var(--mabe-white);
  border: 1px solid var(--mabe-line);
  border-radius: 16px;
  box-shadow: var(--mabe-shadow);
  color: var(--mabe-ink);
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  min-height: 440px;
  overflow: hidden;
  padding: clamp(2rem, 3vw, 2.75rem);
  position: relative;
}

.mabe-map-copy .section-title {
  color: var(--mabe-accent) !important;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.mabe-map-copy h2 {
  color: var(--mabe-ink) !important;
  font-size: clamp(1.85rem, 2.3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  text-transform: uppercase;
}

.mabe-map-address {
  color: var(--mabe-muted);
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.mabe-map-address i {
  color: var(--mabe-accent);
}

.mabe-map-perks {
  border-bottom: 1px solid var(--mabe-line);
  border-top: 1px solid var(--mabe-line);
  display: grid;
  gap: 0.65rem;
  margin: 0.5rem 0 1.25rem;
  padding: 1rem 0;
}

.mabe-map-perk {
  align-items: center;
  color: var(--mabe-muted);
  display: flex;
  font-size: 0.88rem;
  gap: 0.65rem;
}

.mabe-map-perk i {
  color: var(--mabe-accent);
  font-size: 0.95rem;
  min-width: 1.25rem;
  text-align: center;
}

.mabe-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  position: relative;
  z-index: 1;
}

.mabe-map-frame {
  background: #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  flex: 1;
  height: 100%;
  min-height: 440px;
  overflow: hidden;
  position: relative;
}

.mabe-map-frame iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.mabe-map-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
  color: #0f172a;
  display: flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 0.5rem;
  left: 1.5rem;
  padding: 0.65rem 1.15rem;
  pointer-events: none;
  position: absolute;
  top: 1.25rem;
  z-index: 2;
}

.mabe-map-badge i {
  color: #16a34a;
}

.widget-html {
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(17, 28, 39, 0.14);
  overflow: hidden;
}

.mabe-form-body,
.quote-form-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}

.mabe-form-body input.input-error,
.mabe-form-body textarea.input-error,
.quote-form-card input.input-error,
.quote-form-card textarea.input-error {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
}

.mabe-form-body input.input-warning,
.mabe-form-body textarea.input-warning,
.quote-form-card input.input-warning,
.quote-form-card textarea.input-warning {
  background: #fffbeb !important;
  border-color: var(--mabe-accent) !important;
}

.field-error {
  color: #dc2626;
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  margin-top: 4px;
}

.mabe-honeypot {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}

.mabe-request-reference {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: 8px;
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  margin: 16px 0 0;
  padding: 10px 14px;
}

.mabe-request-reference span {
  color: #047857;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mabe-request-reference strong {
  color: #065f46;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.08rem;
  letter-spacing: 0.04em;
}

.mabe-quote-feedback {
  margin-bottom: 1.5rem;
}

.mabe-quote-confirmation {
  align-items: flex-start;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 12px;
  color: #064e3b;
  display: flex;
  gap: 14px;
  padding: 18px;
}

.mabe-quote-confirmation-icon {
  align-items: center;
  background: #10b981;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 30px;
  height: 30px;
  justify-content: center;
  margin-top: 2px;
  width: 30px;
}

.mabe-quote-feedback-kicker {
  color: #047857;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.mabe-quote-confirmation h2 {
  color: #064e3b;
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.mabe-quote-confirmation p {
  margin-bottom: 0;
}

.mabe-quote-feedback-note {
  color: #047857;
  font-size: 0.86rem;
  margin-top: 8px !important;
}

.mabe-quote-submit[aria-busy='true'] {
  cursor: wait;
  opacity: 0.75;
}

.quote-success-toast[hidden] { display: none; }

.quote-success-toast {
  align-items: center;
  animation: quote-fade-in 0.3s ease-out;
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  border-radius: 10px;
  color: #065f46;
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 18px;
}

.quote-success-toast > i { color: #10b981; font-size: 22px; }
.quote-success-toast strong { display: block; font-size: 14px; margin-bottom: 2px; }
.quote-success-toast p { color: #047857; font-size: 12px; margin: 0; }

@media (max-width: 991.98px) {
  .mabe-quote-section,
  .mabe-map-section {
    padding: clamp(1.5rem, 3vw, 2rem) 0 !important;
  }

  .mabe-quote-form {
    height: auto;
    margin-top: 0;
  }

  .mabe-direct-contact-column {
    margin-top: 1.5rem;
  }

  .mabe-direct-contact-sidebar {
    position: static;
  }

  .mabe-map-copy {
    margin-bottom: 1rem;
    min-height: 0;
  }

  .mabe-map-frame {
    min-height: 390px;
  }
}

@media (max-width: 767.98px) {
  .mabe-quote-contact-grid,
  .mabe-quote-project-grid {
    gap: 1rem;
    grid-template-columns: 1fr;
  }

  .mabe-quote-message-field {
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  .mabe-direct-contact-sidebar,
  .mabe-quote-form,
  .mabe-map-copy {
    padding: 1.35rem;
  }

}
