/* =========================================================
   ZADO CONTACT PAGE
========================================================= */

.contact-page {
  padding: 72px 0 82px;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(91, 63, 217, 0.08),
      transparent 35%
    ),
    linear-gradient(180deg, #ffffff 0%, #fbfbff 100%);
}


/* HEADING */

.contact-heading {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.contact-eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(91, 63, 217, 0.18);
  border-radius: 999px;
  background: #f6f3ff;
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.contact-heading h1 {
  margin-bottom: 17px;
  color: var(--text);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
}

.contact-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}


/* LAYOUT */

.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: start;
}


/* LEFT INFORMATION */

.contact-information {
  display: grid;
  gap: 14px;
}

.contact-info-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 15px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 11px 28px rgba(15, 23, 42, 0.04);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 63, 217, 0.25);
  box-shadow: 0 18px 38px rgba(91, 63, 217, 0.09);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #f2eeff;
  color: var(--purple);
  font-size: 20px;
}

.contact-info-card h2 {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-info-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}


/* DIRECT EMAIL */

.contact-direct-card {
  padding: 24px;
  border: 1px solid rgba(91, 63, 217, 0.18);
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      #f7f4ff,
      #ffffff
    );
}

.contact-direct-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.contact-direct-card > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: var(--purple);
  font-size: 17px;
  font-weight: 700;
}

.contact-direct-card p {
  color: var(--muted);
  font-size: 12px;
}


/* TRUST ROW */

.contact-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.contact-trust-row div {
  min-height: 78px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 12px 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.contact-trust-row i {
  color: var(--purple);
  font-size: 17px;
}

.contact-trust-row span {
  font-size: 10px;
  font-weight: 600;
}


/* FORM CARD */

.contact-form-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 21px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.065);
}

.contact-form-heading {
  margin-bottom: 28px;
}

.contact-form-heading > span {
  display: block;
  margin-bottom: 6px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.45px;
}

.contact-form-heading h2 {
  margin-bottom: 7px;
  color: var(--text);
  font-size: 28px;
  font-weight: 750;
  line-height: 1.3;
}

.contact-form-heading p {
  color: var(--muted);
  font-size: 14px;
}


/* FORM */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 19px;
}

.form-field {
  min-width: 0;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label:not(.consent-checkbox) {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 650;
}

.form-field label span {
  color: #dc2626;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: #ffffff;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.form-field input,
.form-field select {
  min-height: 50px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 145px;
  padding: 14px;
  resize: vertical;
  line-height: 1.65;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #94a3b8;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(91, 63, 217, 0.09);
}

.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea {
  border-color: #dc2626;
  background: #fffafa;
}

.field-error {
  display: block;
  min-height: 17px;
  margin-top: 5px;
  color: #dc2626;
  font-size: 11px;
}


/* TEXTAREA COUNT */

.textarea-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.textarea-footer > span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}


/* CONSENT */

.consent-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  cursor: pointer;
}

.consent-checkbox input {
  width: 17px;
  height: 17px;
  min-height: auto;
  margin-top: 3px;
  accent-color: var(--purple);
}

.consent-checkbox span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.consent-checkbox a {
  color: var(--purple);
  font-weight: 650;
}


/* HONEYPOT */

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}


/* STATUS */

.form-status {
  display: none;
  margin: 20px 0 0;
  padding: 13px 15px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.55;
}

.form-status.success {
  display: block;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: #f0fdf4;
  color: #166534;
}

.form-status.error {
  display: block;
  border: 1px solid rgba(220, 38, 38, 0.22);
  background: #fff1f2;
  color: #991b1b;
}


/* SUBMIT BUTTON */

.contact-submit-button {
  min-width: 180px;
  margin-top: 22px;
  border: 0;
  cursor: pointer;
}

.contact-submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.submit-loader {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: contactSpin 0.7s linear infinite;
}

.contact-submit-button.loading {
  gap: 10px;
}

.contact-submit-button.loading .submit-loader {
  display: inline-block;
}

@keyframes contactSpin {
  to {
    transform: rotate(360deg);
  }
}


/* NEXT STEPS */

.contact-next-steps {
  padding: 76px 0;
  background: #ffffff;
}

.contact-section-heading {
  max-width: 680px;
  margin: 0 auto 35px;
  text-align: center;
}

.contact-section-heading > span {
  display: block;
  margin-bottom: 7px;
  color: var(--purple);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-section-heading h2 {
  color: var(--text);
  font-size: 32px;
  font-weight: 750;
  line-height: 1.3;
}

.contact-steps {
  display: grid;
  grid-template-columns: 1fr 55px 1fr 55px 1fr;
  align-items: center;
}

.contact-step {
  min-height: 230px;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.045);
  text-align: center;
}

.contact-step-number {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin: 0 auto 17px;
  border-radius: 50%;
  background: #f2eeff;
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
}

.contact-step h3 {
  margin-bottom: 9px;
  color: var(--text);
  font-size: 17px;
  font-weight: 700;
}

.contact-step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-step-arrow {
  color: var(--purple);
  text-align: center;
}


/* RESPONSIVE */

@media (max-width: 1000px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-information {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-direct-card,
  .contact-trust-row {
    grid-column: 1 / -1;
  }
}


@media (max-width: 768px) {
  .contact-page {
    padding: 48px 0 62px;
  }

  .contact-heading h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .contact-heading p {
    font-size: 15px;
  }

  .contact-information {
    grid-template-columns: 1fr;
  }

  .contact-direct-card,
  .contact-trust-row {
    grid-column: auto;
  }

  .contact-form-card {
    padding: 25px 20px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field-full {
    grid-column: auto;
  }

  .contact-submit-button {
    width: 100%;
  }

  .contact-steps {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-step {
    min-height: auto;
  }

  .contact-step-arrow {
    transform: rotate(90deg);
  }
}


@media (max-width: 480px) {
  .contact-heading h1 {
    font-size: 30px;
  }

  .contact-trust-row {
    grid-template-columns: 1fr;
  }

  .contact-form-heading h2 {
    font-size: 24px;
  }
}


@media (prefers-reduced-motion: reduce) {
  .contact-info-card {
    transition: none;
  }

  .contact-info-card:hover {
    transform: none;
  }

  .submit-loader {
    animation: none;
  }
}