.contact-page {
  padding: 50px 0;
  background-color: var(--brand);
}

.contact-page__wrap {
  margin: 0 auto;
  padding-bottom: 10px;
}

.contact-page__heading {
  margin: 0;
  font-size: clamp(28px, 5.6vw, 48px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
}

.contact-page__subtitle {
  margin: 0.3rem 0 0.5rem;
  color: var(--white);
  font-size: 14px;
}

.contact-page__divider {
  height: 2px;
  background: linear-gradient(90deg, var(--white), var(--white));
  border: 0;
}

.contact-page__intro {
  text-align: center;
  max-width: 760px;
  padding-top: 30px;
  margin: 10px auto 18px;
}

.contact-page__intro h2 {
  margin: 0.3em 0 0.35em;
  font-size: clamp(17px, 2.6vw, 24px);
  font-weight: 900;
  color: var(--white);
}

.contact-page__intro p {
  margin: 0.2em 0;
  color: var(--white);
  font-size: var(--text-p);
}

.contact-page__phone {
  margin: 18px auto 24px;
  background: var(--white);
  color: var(--black);
  border-radius: 12px;
  padding: 14px 16px;
  max-width: 680px;
}

.contact-page__phone small {
  display: block;
  text-align: center;
  font-size: 12px;
  opacity: 0.75;
}

.contact-page__phone .row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 6px 0;
}

.contact-page__phone .icon {
  display: grid;
  place-items: center;
}

.contact-page__phone .icon i {
  color: #78362a;
  font-size: clamp(24px, 4vw, 45px);
}

.contact-page__phone .num {
  font-weight: bold;
  font-size: clamp(27px, 5vw, 50px);
  letter-spacing: 0.02em;
  color: #78362a;
}

.contact-page__phone .hours {
  text-align: center;
  font-size: clamp(14px, 1.8vw, 20px);
  margin-top: 6px;
  font-weight: bold;
  opacity: 0.8;
}

/* ===== Form ===== */
.contact-form {
  margin: 22px auto;
  background: var(--brand);
  max-width: 900px;
  padding-top: 30px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: start;
  padding: 12px 0;
  color: var(--white);
}

.contact-form__row p {
  margin-bottom: 0;
}

.contact-form__row:first-child {
  border-top: 1px solid var(--black);
}

.zip-wrap p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.zip-01,
.zip-02 {
  width: 100px !important;
}

@media (max-width: 820px) {
  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.contact-form__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  color: var(--white);
}

.contact-form__label .is-required::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #ff0000;
  display: inline-block;
  border-radius: 50%;
  margin-left: 6px;
}

.contact-form__field {
  width: 100%;
}

.field,
select,
textarea {
  width: 100%;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--white);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
}

.field::placeholder {
  color: #b1b1b1;
}

.field:focus,
select:focus,
textarea:focus {
  outline: 3px solid var(--white);
  outline-offset: 0;
  border-color: var(--white);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

/* ZIP group */
.contact-form__zip {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.contact-form__zip .zip-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.zip {
  width: 90px;
}

.contact-form__zip .sep {
  color: var(--white);
  opacity: 0.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  padding: 10px 14px;
  border-radius: 8px;
  cursor: pointer;
}

.contact-form__two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .contact-form__two-col {
    grid-template-columns: 1fr;
  }
}

/* Policy */
.contact-form__policy {
  background: var(--white);
  color: var(--black);
  border-radius: 8px;
  border: 1px solid var(--white);
  padding: 10px 12px;
  max-height: 200px;
  overflow: auto;
  font-size: 13px;
}

.contact-form__policy h4 {
  margin: 0 0 0.4em 0;
  font-size: 13px;
}

.contact-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contact-form__consent input {
  margin-top: 3px;
}

/* Submit */
.contact-form__actions {
  padding-top: 16px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-direction: column;
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--white);
  background-color: var(--black);
  color: var(--white);
  padding: 15px 50px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.05s ease, border-color 0.2s ease;
}

.contact-form__submit:hover {
  background: var(--white);
  border-color: var(--black);
  color: var(--black);
}

.contact-form__submit:active {
  transform: translateY(1px);
}

.field-wrap.has-error .field,
.field-wrap.has-error select,
.field-wrap.has-error textarea {
  border-color: #ff0000;
}

.field-wrap .help {
  color: #ff0000;
  font-size: 12px;
  margin-top: 6px;
}

@media (max-width: 600px) {
  .contact-form__actions {
    justify-content: stretch;
  }

  .contact-form__submit {
    width: 100%;
    justify-content: center;
  }
}


#zipHelp {
  display: none;
  font-size: 0.9rem;
  margin-top: 4px;
  transition: opacity 0.3s ease;
}

#zipHelp:not(:empty) {
  display: block;
  color: red;
}

#zipHelp[style*="#ff7b7b"] { 
  color: #ff7b7b !important;
}

#zipHelp[style*="#38a169"] {
  color: #38a169 !important;
}

.zip-search-btn {
  background-color: #2c7be5;
  color: #fff;
  border: none;
  padding: 6px 12px;
  margin-left: 8px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.zip-search-btn:hover {
  background-color: #1a5ed9;
}

.zip-search-btn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.wpcf7-response-output{
  background-color: #ffffff;
}