.contactFormSection {
  align-items: stretch;
}

.contactIntro {
  max-width: 520px;
}

.quickContact {
  display: grid;
  gap: 10px;
  max-width: 360px;
  margin-top: 30px;
}

.callButton {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.quoteForm {
  width: min(100%, 560px);
  padding: 30px;
  color: #17352e;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.quoteForm label:not(.consent) {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.quoteForm input,
.quoteForm select,
.quoteForm textarea {
  width: 100%;
  border: 1px solid #ccd8d3;
  border-radius: 0;
  padding: 13px 14px;
  color: #17352e;
  background: #f9fbfa;
  font: 14px Arial, sans-serif;
  text-transform: none;
}

.quoteForm textarea {
  resize: vertical;
}

.quoteForm input:focus,
.quoteForm select:focus,
.quoteForm textarea:focus {
  outline: 3px solid rgba(215, 238, 0, 0.35);
  border-color: #123f36;
}

.formRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 18px;
  color: #53635e;
  font-size: 11px;
  line-height: 1.45;
}

.consent input {
  width: 17px;
  height: 17px;
  margin: 0;
  flex: 0 0 auto;
}

.submitButton {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.submitButton:disabled {
  cursor: wait;
  opacity: 0.7;
}

.formStatus {
  display: none;
  margin: 14px 0 0;
  padding: 11px 13px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.formStatus.pending,
.formStatus.success,
.formStatus.error {
  display: block;
}

.formStatus.pending {
  color: #334a43;
  background: #edf3f0;
}

.formStatus.success {
  color: #123f36;
  background: #e7f5d8;
}

.formStatus.error {
  color: #7b1f16;
  background: #ffe8e4;
}

.cookieConsent {
  position: fixed;
  z-index: 1000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
  padding: 18px 20px;
  color: #fff;
  background: #123f36;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.34);
}

.cookieConsent[hidden] {
  display: none;
}

.cookieConsent p {
  display: grid;
  gap: 5px;
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.cookieConsent strong {
  font-size: 14px;
}

.cookieConsent div {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.cookieConsent button {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid #d7ee00;
  font-weight: 800;
  cursor: pointer;
}

.cookieSettings {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookieSettings:hover,
.cookieSettings:focus-visible {
  color: #d7ef55;
}

.consentReject {
  color: #fff;
  background: transparent;
}

.consentAccept {
  color: #123f36;
  background: #d7ee00;
}

.quoteForm > small {
  display: block;
  margin-top: 12px;
  color: #71807b;
  text-align: center;
}

.hiddenField {
  position: absolute;
  left: -9999px;
}

@media (max-width: 900px) {
  .contactFormSection {
    display: grid;
    grid-template-columns: 1fr;
  }

  .contactIntro,
  .quickContact,
  .quoteForm {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .cookieConsent {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .cookieConsent div,
  .cookieConsent button {
    width: 100%;
  }

  .quoteForm {
    width: 100%;
    padding: 22px 17px;
  }

  .quoteForm input,
  .quoteForm select,
  .quoteForm textarea {
    min-height: 48px;
    font-size: 16px;
  }

  .quoteForm textarea {
    min-height: 130px;
  }

  .formRow {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
