.kim-contact-page {
  background: #fff;
  color: #12203a;
}

.kim-contact-wrap {
  width: min(var(--kimplast-layout-max, 1260px), calc(100% - 48px));
  margin: 0 auto;
}

.kim-contact-hero {
  padding: 12px 0 24px;
  background: #fff;
}

.kim-contact-hero__media {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  min-height: 460px;
  background: #dde5ee;
}

.kim-contact-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--kim-contact-hero-bg, none);
  background-position: var(--kim-contact-hero-position, center center);
  background-size: cover;
  background-repeat: no-repeat;
}

.kim-contact-hero__media::after {
  content: none;
}

.kim-contact-hero-copy {
  background: #fff;
  padding: 40px 0 52px;
}

.kim-contact-hero-copy__inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.kim-contact-hero-copy__inner h1 {
  margin: 0;
  color: #12203a;
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.08;
  font-weight: 800;
}

.kim-contact-hero-copy__inner p {
  margin: 14px auto 0;
  max-width: 760px;
  color: rgba(18, 32, 58, 0.74);
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.68;
}

.kim-contact-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 460px;
  padding: 36px;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.kim-contact-hero__inner h1 {
  margin: 0;
  max-width: 920px;
  color: #fff;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  font-weight: 800;
}

.kim-contact-hero__inner p {
  margin: 14px auto 0;
  max-width: 780px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 1.35vw, 22px);
  font-weight: 520;
  line-height: 1.58;
}

.kim-contact-form-section {
  background: #fff;
  padding: 26px 0 44px;
}

.kim-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
  gap: 34px;
  align-items: start;
}

.kim-contact-form-wrap h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 2.4vw, 42px);
  line-height: 1.1;
  font-weight: 800;
}

.kim-contact-alert {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
}

.kim-contact-alert.is-success {
  background: #e7f8ee;
  color: #0a7a3b;
  border: 1px solid #b9e6ca;
}

.kim-contact-alert.is-error {
  background: #fff1f1;
  color: #9e1f1f;
  border: 1px solid #f0c1c1;
}

.kim-contact-form {
  display: grid;
  gap: 14px;
}

.kim-contact-form label {
  display: block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #111827;
}

.kim-contact-form input,
.kim-contact-form textarea {
  margin-top: 8px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  background: #fff;
  min-height: 58px;
  padding: 12px 16px;
  font-size: 17px;
  line-height: 1.45;
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.kim-contact-form textarea {
  min-height: 168px;
  resize: vertical;
}

.kim-contact-form input::placeholder,
.kim-contact-form textarea::placeholder {
  color: rgba(78, 112, 154, 0.78);
}

.kim-contact-captcha-question {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  color: rgba(17, 24, 39, 0.45);
  font-weight: 500;
}

.kim-contact-form input[name="kim_contact_captcha_answer"] {
  width: 130px;
}

.kim-contact-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.kim-contact-form button[type="submit"] {
  min-height: 62px;
  border: 0;
  border-radius: 12px;
  background: #166fd0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  margin-top: 6px;
  box-shadow: 0 18px 34px rgba(22, 111, 208, 0.26);
}

.kim-contact-card {
  border-radius: 18px;
  background: #cdefff;
  padding: 24px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 16px 34px rgba(17, 24, 39, 0.1);
}

.kim-contact-card h3 {
  margin: 0;
  font-size: clamp(26px, 2vw, 38px);
  line-height: 1.08;
  font-weight: 800;
}

.kim-contact-card__desc {
  margin: 10px 0 18px;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.55;
  color: rgba(17, 24, 39, 0.88);
}

.kim-contact-quick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: #111827;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(17, 24, 39, 0.12);
  min-height: 86px;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}

.kim-contact-quick::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -130%;
  width: 54%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.6) 52%, rgba(255,255,255,0) 100%);
  transform: skewX(-18deg);
  opacity: 0;
  transition: transform .56s ease, opacity .56s ease;
}

.kim-contact-quick:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 111, 208, 0.24);
  box-shadow: 0 16px 30px rgba(15, 53, 83, 0.14);
  background: #fff;
}

.kim-contact-quick:hover::after {
  opacity: .9;
  transform: translateX(290%) skewX(-18deg);
}

.kim-contact-quick + .kim-contact-quick {
  margin-top: 12px;
}

.kim-contact-quick__icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #1fae67;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 23px;
  line-height: 1;
  transition: transform .32s ease;
}

.kim-contact-quick__icon svg {
  width: 30px;
  height: 30px;
  display: block;
}

.kim-contact-quick:last-of-type .kim-contact-quick__icon {
  background: #3da5ff;
}

.kim-contact-quick:hover .kim-contact-quick__icon {
  transform: scale(1.08) rotate(-6deg);
}

.kim-contact-quick__meta strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.kim-contact-quick__meta small {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  line-height: 1.3;
  color: rgba(17, 24, 39, 0.82);
}

.kim-contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.kim-contact-socials a {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
  background: #c13584;
  transition: transform .24s ease, box-shadow .24s ease;
}

.kim-contact-socials a svg {
  width: 28px;
  height: 28px;
  display: block;
}

.kim-contact-socials a:last-child {
  background: #1877f2;
}

.kim-contact-socials a:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(17, 24, 39, 0.2);
}

.kim-contact-map {
  background: #fff;
  padding: 22px 0 86px;
}

.kim-contact-map h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 2.3vw, 42px);
  line-height: 1.1;
  font-weight: 800;
}

.kim-contact-map__embed {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.08);
  min-height: 360px;
}

.kim-contact-map__embed iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  display: block;
}

@media (max-width: 980px) {
  .kim-contact-wrap {
    width: calc(100% - 32px);
  }

  .kim-contact-hero__media,
  .kim-contact-hero__inner {
    min-height: 420px;
  }

  .kim-contact-grid {
    grid-template-columns: 1fr;
  }

  .kim-contact-form label {
    font-size: 17px;
  }

  .kim-contact-form button[type="submit"] {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .kim-contact-hero__media::before {
    background-image: var(--kim-contact-hero-bg-mobile, var(--kim-contact-hero-bg, none));
    background-position: var(--kim-contact-hero-position-mobile, var(--kim-contact-hero-position, center center));
  }

  .kim-contact-wrap {
    width: calc(100% - 24px);
  }

  .kim-contact-hero__media,
  .kim-contact-hero__inner {
    min-height: 320px;
  }

  .kim-contact-hero__inner {
    padding: 26px 18px;
  }

  .kim-contact-hero-copy__inner h1 {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.1;
  }

  .kim-contact-hero-copy__inner p {
    font-size: 15px;
    line-height: 1.58;
  }

  .kim-contact-hero-copy {
    padding: 28px 0 36px;
  }

  .kim-contact-form label {
    font-size: 16px;
  }

  .kim-contact-captcha-question {
    font-size: 15px;
  }

  .kim-contact-form button[type="submit"] {
    font-size: 21px;
  }
}