/* ===== KCHR Contact page (scoped) ===== */
.kchr-contact {
  /* Increase/decrease if the sticky header still overlaps the content */
  --kchr-header-offset: 200px;
  --kchr-accent: #a32a00;
  --kchr-dark: #252638;
  --kchr-muted: #696b7e;
  --kchr-border: #e6e6ea;
  padding: var(--kchr-header-offset) 0 80px;
  box-sizing: border-box;
}

.kchr-contact *,
.kchr-contact *::before,
.kchr-contact *::after {
  box-sizing: border-box;
}

.kchr-contact .kc-wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section titles ---------- */
.kchr-contact .kc-title {
  margin-bottom: 24px;
}

.kchr-contact .kc-title h6 {
  color: var(--kchr-accent);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.kchr-contact .kc-title h2 {
  font-size: 34px;
  line-height: 42px;
  font-weight: 700;
  color: var(--kchr-dark);
  margin: 0 0 12px;
}

.kchr-contact .kc-title .kc-line {
  width: 60px;
  height: 3px;
  background: var(--kchr-accent);
  border-radius: 2px;
}

.kchr-contact .kc-title.centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.kchr-contact .kc-title.centered .kc-line {
  margin: 0 auto;
}

.kchr-contact .kc-title p {
  margin-top: 16px;
  color: var(--kchr-muted);
}

/* ---------- Three column info grid ---------- */
.kchr-contact .kc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

/* Left column */
.kchr-contact .kc-intro p {
  color: var(--kchr-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.kchr-contact .kc-address-head {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: var(--kchr-dark);
  margin: 0 0 12px;
}

.kchr-contact .kc-address-head i {
  font-size: 40px;
  line-height: 1;
  color: var(--kchr-accent);
}

.kchr-contact .kc-address {
  color: var(--kchr-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.kchr-contact .kc-direction {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--kchr-dark);
  text-decoration: none;
}

.kchr-contact .kc-direction:hover {
  color: var(--kchr-accent);
}

.kchr-contact .kc-social {
  margin-top: 32px;
  padding-left: 18px;
  border-left: 3px solid var(--kchr-accent);
}

.kchr-contact .kc-social h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--kchr-dark);
  margin: 0 0 14px;
}

.kchr-contact .kc-social ul {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kchr-contact .kc-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform .3s ease, opacity .3s ease;
}

.kchr-contact .kc-social a:hover {
  transform: translateY(-3px);
  opacity: .9;
}

.kchr-contact .kc-social .fb { background: #3b5998; }
.kchr-contact .kc-social .tw { background: #55acee; }
.kchr-contact .kc-social .ig { background: #e1524a; }
.kchr-contact .kc-social .yt { background: #2f6f9f; }

/* Middle image */
.kchr-contact .kc-image {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  min-height: 320px;
  height: 100%;
  position: relative;
}

.kchr-contact .kc-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Right details card */
.kchr-contact .kc-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, .10);
  padding: 8px 28px;
  height: 100%;
}

.kchr-contact .kc-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--kchr-border);
}

.kchr-contact .kc-item:last-child {
  border-bottom: none;
}

.kchr-contact .kc-icon {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--kchr-border);
  border-radius: 50%;
  font-size: 26px;
  color: var(--kchr-accent);
  transition: all .4s ease;
}

.kchr-contact .kc-item:hover .kc-icon {
  background: var(--kchr-accent);
  color: #fff;
  border-color: var(--kchr-accent);
}

.kchr-contact .kc-info {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.kchr-contact .kc-info li {
  margin-bottom: 10px;
}

.kchr-contact .kc-info li:last-child {
  margin-bottom: 0;
}

.kchr-contact .kc-info h5 {
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  color: var(--kchr-dark);
  margin: 0 0 2px;
}

.kchr-contact .kc-info p,
.kchr-contact .kc-info a {
  color: var(--kchr-muted);
  margin: 0;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.kchr-contact .kc-info a:hover {
  color: var(--kchr-accent);
}

/* ---------- Form ---------- */
.kchr-contact .kc-form-section {
  margin-top: 90px;
}

.kchr-contact .kc-form {
  max-width: 1000px;
  margin: 0 auto;
}

.kchr-contact .kc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.kchr-contact .kc-fields {
  display: grid;
  gap: 24px;
  align-content: start;
}

.kchr-contact .kc-form input[type="text"],
.kchr-contact .kc-form input[type="email"],
.kchr-contact .kc-form textarea {
  display: block;
  width: 100%;
  height: 56px;
  padding: 10px 18px;
  font-size: 16px;
  color: #333;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.kchr-contact .kc-form textarea {
  height: 100%;
  min-height: 216px;
  resize: vertical;
  padding-top: 16px;
}

.kchr-contact .kc-form input:focus,
.kchr-contact .kc-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--kchr-accent);
  box-shadow: 0 0 0 3px rgba(163, 42, 0, .15);
}

.kchr-contact .kc-form ::placeholder {
  color: #888;
}

.kchr-contact .kc-error {
  color: #c62828;
  font-size: 13px;
  margin-top: 4px;
}

.kchr-contact .kc-submit {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 8px;
}

.kchr-contact .kc-submit button {
  background: var(--kchr-accent);
  color: #fff;
  border: none;
  padding: 15px 44px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.kchr-contact .kc-submit button:hover {
  background: #7d2000;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(163, 42, 0, .3);
}

.kchr-contact .kc-alert {
  max-width: 1000px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  border-radius: 8px;
  background: #e8f5e9;
  color: #1b5e20;
}

/* ---------- Map ---------- */
.kchr-contact .kc-map {
  margin-top: 80px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 0, 0, .08);
}

.kchr-contact .kc-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .kchr-contact .kc-grid {
    grid-template-columns: 1fr 1fr;
  }
  .kchr-contact .kc-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 24px;
  }
  .kchr-contact .kc-item {
    border-bottom: none;
  }
}

@media (max-width: 991px) {
  .kchr-contact { --kchr-header-offset: 150px; }
  .kchr-contact .kc-card {
    grid-template-columns: 1fr;
  }
  .kchr-contact .kc-item {
    border-bottom: 1px solid var(--kchr-border);
  }
  .kchr-contact .kc-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 767px) {
  .kchr-contact { --kchr-header-offset: 120px; padding-bottom: 50px; }
  .kchr-contact .kc-wrap { padding: 0 16px; }
  .kchr-contact .kc-grid,
  .kchr-contact .kc-form-grid {
    grid-template-columns: 1fr;
  }
  .kchr-contact .kc-image { min-height: 240px; }
  .kchr-contact .kc-title h2 { font-size: 28px; line-height: 36px; }
  .kchr-contact .kc-form-section { margin-top: 60px; }
  .kchr-contact .kc-map iframe { height: 320px; }
}
.kc-msg {
  position: relative;
  padding-right: 40px;
}

.kc-msg-close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: 0;
  font-size: 22px;
  line-height: 1;
  color: inherit;
  cursor: pointer;
  opacity: .6;
}

.kc-msg-close:hover {
  opacity: 1;
}
.kchr-contact .kc-captcha {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex-wrap: nowrap;
}

.kchr-contact .kc-captcha #captcha-img-contact {
  display: block;
  flex: 0 0 auto;
  width: auto;
  margin: 0;
  padding: 0;
}

.kchr-contact .kc-captcha img {
  display: block;
  width: auto;
  height: 46px;
  margin: 0;
  border-radius: 4px;
}

.kchr-contact .kc-captcha .kc-captcha-refresh {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: #7a1f1f;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.kchr-contact .kc-captcha input {
  flex: 1 1 160px;
  width: auto;
  min-width: 0;
  margin: 0;
}

@media (max-width: 480px) {
  .kchr-contact .kc-captcha {
    flex-wrap: wrap;
  }
}