.ko-contact-page {
  background: #f6f1e8;
  padding: 40px 0 48px;
}

.ko-contact-page .ko-shell {
  width: calc(100% - 64px);
  max-width: none;
  margin-inline: auto;
  padding: 0;
}

.ko-contact-card,
.ko-contact-success {
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 48px;
  padding: 40px;
  border: 1px solid #e6ded1;
  border-radius: 16px;
  background: #fffdf8;
  color: #111820;
  box-shadow: 0 4px 20px rgba(11, 29, 51, .05);
}

.ko-contact-card *,
.ko-contact-success * {
  box-sizing: border-box;
}

.ko-contact-heading {
  margin: 0 0 30px;
  text-align: center;
}

.ko-contact-heading h1,
.ko-contact-success h1 {
  margin: 0 0 8px;
  color: #111820;
  font-size: calc(28px + 0.5px);
  font-weight: 700;
  line-height: 1.7;
}

.ko-contact-heading p {
  margin: 0;
  color: #53606c;
  font-size: calc(16px + 0.5px);
  line-height: 1.5;
}

.ko-contact-alert {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #e6b700;
  border-radius: 8px;
  background: #fff3cd;
  color: #4c3d00;
  font-size: calc(14px + 0.5px);
}

.ko-contact-form {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.ko-contact-form > label {
  display: block;
  min-width: 0;
  margin: 0;
  color: #111820;
  font-size: calc(14px + 0.5px);
  font-weight: 600;
  line-height: 1.7;
}

.ko-contact-form label small {
  display: inline;
  color: #53606c;
  font-size: calc(12px + 0.5px);
  font-weight: 400;
}

.ko-contact-form input[type="text"],
.ko-contact-form input[type="email"],
.ko-contact-form input[type="tel"],
.ko-contact-form textarea {
  display: block;
  width: 100%;
  max-width: none;
  margin: 8px 0 0;
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  outline: 0;
  background: #f9fafb;
  color: #333;
  font: inherit;
  font-size: calc(15px + 0.5px);
  font-weight: 400;
  line-height: 20px;
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.ko-contact-form input[type="text"],
.ko-contact-form input[type="email"],
.ko-contact-form input[type="tel"] {
  height: 50px;
  min-height: 50px;
}

.ko-contact-form input::placeholder,
.ko-contact-form textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

.ko-contact-form textarea {
  height: 150px;
  min-height: 150px;
  resize: vertical;
}

.ko-contact-form input:focus,
.ko-contact-form textarea:focus {
  border-color: #f6bd00;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(246, 189, 0, .12);
}

.ko-contact-message,
.ko-contact-consent,
.ko-contact-actions {
  grid-column: 1 / -1;
}

.ko-contact-consent {
  display: grid !important;
  grid-template-columns: 20px 1fr !important;
  align-items: start;
  gap: 12px !important;
  margin: 22px 18px 0 !important;
  color: #333 !important;
  font-size: calc(13px + 0.5px)!important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

.ko-contact-consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 1px 0 0;
  accent-color: #f6bd00;
}

.ko-contact-consent a {
  color: #111820;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ko-contact-actions {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 10px;
}

.ko-contact-form button,
.ko-contact-home {
  display: inline-flex;
  width: auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font: inherit;
  font-size: calc(16px + 0.5px);
  font-weight: 600;
  line-height: 25px;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}

.ko-contact-form button[type="submit"],
.ko-contact-home {
  min-width: 200px;
  padding: 14px 30px;
  border: 0;
  background: #f6bd00;
  color: #111820;
  box-shadow: 0 4px 15px rgba(246, 189, 0, .3);
}

.ko-contact-form .ko-contact-reset {
  min-width: 160px;
  padding: 12px 30px;
  border: 2px solid #f6bd00;
  background: #fff;
  color: #8d6b00;
  box-shadow: none;
}

.ko-contact-form button:hover,
.ko-contact-home:hover {
  border-color: #111820;
  background: #111820;
  color: #fff;
  transform: translateY(-2px);
}

.ko-contact-form .ko-contact-reset:hover {
  border-color: #f6bd00;
  background: #fff8dc;
  color: #111820;
}

.ko-contact-form button:disabled {
  background: #a9afb6;
  box-shadow: none;
  cursor: wait;
  transform: none;
}

.ko-contact-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.ko-contact-success {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.ko-contact-success > span {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  background: #f6bd00;
  color: #111820;
  font-size: calc(12px + 0.5px);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.ko-contact-number {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 18px auto 10px;
  padding: 10px 16px;
  border: 1px solid #f6bd00;
  border-radius: 12px;
  background: #fff8d9;
  color: #111820;
  white-space: nowrap;
}

.ko-contact-number span {
  font-size: calc(14px + 0.5px);
  font-weight: 600;
  letter-spacing: 0;
}

.ko-contact-number strong {
  font-size: calc(20px + 0.5px);
  font-weight: 850;
  letter-spacing: .03em;
}

.ko-contact-success p {
  max-width: 580px;
  margin: 12px auto 24px;
  color: #5e6872;
  font-size: calc(15px + 0.5px);
  line-height: 1.7;
}

.ko-contact-home {
  min-width: 160px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .ko-contact-page {
    padding: 40px 0 30px;
  }

  .ko-contact-page .ko-shell {
    width: calc(100% - 15.12px);
  }

  .ko-contact-card,
  .ko-contact-success {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    padding: 25px 15px;
    border-radius: 12px;
  }

  .ko-contact-heading h1,
  .ko-contact-success h1 {
    font-size: calc(24px + 0.5px);
  }

  .ko-contact-heading p {
    font-size: calc(16px + 0.5px);
  }

  .ko-contact-form {
    grid-template-columns: 1fr;
  }

  .ko-contact-message,
  .ko-contact-consent,
  .ko-contact-actions {
    grid-column: 1;
  }

  .ko-contact-consent {
    margin: 12px 0 0 !important;
  }

  .ko-contact-actions {
    flex-direction: column;
    gap: 12px;
  }

  .ko-contact-form button {
    width: 100%;
    min-width: 0;
  }
}
