/* ==========================================================================
   ONSUS CONTACT – compact contact layout (auth-inspired, unique)
   Theme: --themeColorTwo / --themeColorOne
   ========================================================================== */

.os-contact {
  --c-ink: var(--os-ink, #1a1d23);
  --c-muted: var(--os-muted, #6b7280);
  --c-line: var(--os-line, #e8eaed);
  --c-card: #fff;
  padding: 28px 0 56px;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%,
      color-mix(in srgb, var(--themeColorTwo, #e11d2e) 8%, transparent),
      transparent 60%),
    radial-gradient(ellipse 55% 45% at 95% 20%,
      color-mix(in srgb, var(--themeColorOne, #f07000) 7%, transparent),
      transparent 55%),
    #f7f8fa;
}

.os-contact__wrap {
  max-width: 1080px;
  margin: 0 auto;
}

.os-contact__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.os-contact__chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .04);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, transform .2s;
}

.os-contact__chip:hover {
  border-color: color-mix(in srgb, var(--themeColorTwo, #e11d2e) 35%, var(--c-line));
  transform: translateY(-1px);
  color: inherit;
}

.os-contact__chip-icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--themeColorTwo, #e11d2e) 12%, #fff);
  color: var(--themeColorTwo, #e11d2e);
  font-size: 15px;
}

.os-contact__chip h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--c-ink);
  line-height: 1.25;
}

.os-contact__chip p,
.os-contact__chip a {
  font-size: 13px;
  color: var(--c-muted);
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}

.os-contact__chip a:hover {
  color: var(--themeColorTwo, #e11d2e);
}

.os-contact__main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 0;
  background: var(--c-card);
  border: 1px solid var(--c-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(16, 24, 40, .07);
}

.os-contact__media {
  position: relative;
  min-height: 420px;
  background: #111;
}

.os-contact__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}

.os-contact__media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(16, 18, 24, .15) 0%,
    rgba(16, 18, 24, .55) 55%,
    rgba(16, 18, 24, .78) 100%);
  z-index: 1;
}

.os-contact__media-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  color: #fff;
}

.os-contact__media-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--themeColorOne, #f07000) 70%, #fff);
  margin-bottom: 6px;
}

.os-contact__media-caption h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 6px;
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
}

.os-contact__media-caption p {
  font-size: 13px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.45;
}

.os-contact__hotline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--themeColorTwo, #e11d2e) 88%, #000);
  color: #fff;
  text-decoration: none;
  transition: background .2s;
}

.os-contact__hotline:hover {
  background: var(--themeColorOne, #f07000);
  color: #fff;
}

.os-contact__hotline i,
.os-contact__hotline span,
.os-contact__hotline strong {
  color: #fff;
}

.os-contact__hotline:hover i,
.os-contact__hotline:hover span,
.os-contact__hotline:hover strong {
  color: #fff;
}

.os-contact__hotline i {
  font-size: 14px;
}

.os-contact__hotline > span {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  opacity: .9;
  line-height: 1.2;
  color: #fff;
}

.os-contact__hotline > span > span {
  display: block;
  color: #fff;
  opacity: .9;
}

.os-contact__hotline strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  opacity: 1;
}

.os-contact__panel {
  padding: 28px 30px 30px;
}

.os-contact__panel h2 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--c-ink);
  letter-spacing: -.02em;
}

.os-contact__lead {
  font-size: 13px;
  color: var(--c-muted);
  margin: 0 0 18px;
  line-height: 1.45;
}

.os-contact__panel .single_input {
  margin-bottom: 12px;
}

.os-contact__panel .single_input label {
  font-size: 12px;
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: 5px;
}

.os-contact__panel .single_input input,
.os-contact__panel .single_input textarea {
  font-size: 13.5px;
  border-radius: 10px;
  border-color: var(--c-line);
  padding: 10px 12px;
}

.os-contact__panel .single_input input:focus,
.os-contact__panel .single_input textarea:focus {
  border-color: var(--themeColorTwo, #e11d2e);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--themeColorTwo, #e11d2e) 14%, transparent);
}

.os-contact__captcha {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.os-contact__captcha-q {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-ink);
  white-space: nowrap;
}

.os-contact__panel .common_btn {
  margin-top: 4px;
  font-size: 13.5px;
  padding: 11px 20px;
}

.os-contact .alert {
  border-radius: 12px;
  font-size: 13.5px;
  margin-bottom: 16px;
}

.os-contact__map {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--c-line);
}

.os-contact__map iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

@media (max-width: 991.98px) {
  .os-contact__main {
    grid-template-columns: 1fr;
  }
  .os-contact__media {
    min-height: 240px;
  }
  .os-contact__panel {
    padding: 22px 18px 24px;
  }
}

@media (max-width: 767.98px) {
  .os-contact {
    padding: 18px 0 40px;
  }
  .os-contact__cards {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .os-contact__media-caption h2 {
    font-size: 18px;
  }
  .os-contact__panel h2 {
    font-size: 18px;
  }
}
