.shindar-inquiry {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  margin: 56px auto;
  padding: 42px;
  border: 1px solid rgba(10, 58, 86, 0.14);
  border-radius: 24px;
  background: linear-gradient(135deg, #f4f8fa 0%, #fff 58%, #f7f1df 100%);
  box-shadow: 0 18px 50px rgba(12, 50, 73, 0.08);
}

#inquiry-form {
  scroll-margin-top: 96px;
}

.contact-template-wrapper .contact-hero {
  min-height: 0;
  padding-top: clamp(112px, 12vh, 150px);
}

.contact-template-wrapper .contact-hero h1 {
  overflow-wrap: anywhere;
}

.contact-template-wrapper .qr-img {
  width: 100px;
  height: 100px;
  aspect-ratio: 1 / 1;
}

.shindar-inquiry__eyebrow {
  margin: 0 0 10px;
  color: #b8862f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.shindar-inquiry h2 {
  margin: 0 0 16px;
  color: #0b3550;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.25;
}

.shindar-inquiry__intro > p:last-child {
  margin: 0;
  color: #526675;
  line-height: 1.85;
}

.shindar-inquiry__form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shindar-inquiry__form label {
  display: grid;
  gap: 8px;
  color: #173c54;
  font-size: 14px;
  font-weight: 700;
}

.shindar-inquiry__form em {
  color: #b42318;
  font-style: normal;
}

.shindar-inquiry__form input[type="text"],
.shindar-inquiry__form textarea {
  width: 100%;
  border: 1px solid #cbd9e2;
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: #173c54;
  font: inherit;
  font-weight: 400;
  box-sizing: border-box;
}

.shindar-inquiry__form input[type="text"]:focus,
.shindar-inquiry__form textarea:focus {
  outline: 3px solid rgba(24, 111, 159, 0.18);
  border-color: #186f9f;
}

.shindar-inquiry__full {
  grid-column: 1 / -1;
}

.shindar-inquiry__consent {
  grid-template-columns: 20px 1fr;
  align-items: start;
  font-weight: 400 !important;
  line-height: 1.7;
}

.shindar-inquiry__consent input {
  margin-top: 4px;
}

.shindar-inquiry__consent a {
  color: #0d5f8a;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.shindar-inquiry__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.shindar-inquiry__actions button {
  border: 0;
  border-radius: 999px;
  padding: 13px 28px;
  background: #0d5f8a;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.shindar-inquiry__actions button:hover {
  background: #094d71;
}

.shindar-inquiry__actions p {
  margin: 0;
  color: #687a87;
  font-size: 13px;
}

.shindar-inquiry__notice {
  grid-column: 1 / -1;
  padding: 13px 16px;
  border-radius: 10px;
  background: #fff4e5;
  color: #7a4b00;
}

.shindar-inquiry__notice--success {
  background: #eaf8f0;
  color: #135c35;
}

.shindar-inquiry__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .shindar-inquiry {
    grid-template-columns: 1fr;
    padding: 28px 22px;
  }

  .contact-template-wrapper .contact-hero {
    padding: 96px 0 34px;
  }
}

/* Keep landscape tablets in a balanced two-column composition. */
@media (min-width: 901px) and (max-width: 1100px) {
  .contact-template-wrapper .contact-main {
    padding: 48px 0 64px;
  }

  .contact-template-wrapper .contact-wrapper {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr) !important;
    gap: 24px;
  }

  .contact-template-wrapper .info-card {
    padding: 32px;
  }

  .contact-template-wrapper .wechat-box {
    gap: 16px;
    padding: 20px;
  }

  .contact-template-wrapper .contact-image-side {
    min-width: 0;
    min-height: 520px;
  }
}

/* Give the single-column tablet layout a little more breathing room without
   letting the image dominate the page. */
@media (min-width: 601px) and (max-width: 900px) {
  .contact-template-wrapper .contact-main {
    padding: 44px 0 56px;
  }

  .contact-template-wrapper .contact-wrapper {
    gap: 32px;
  }

  .contact-template-wrapper .contact-image-side {
    min-width: 0;
    max-height: 520px;
  }
}

@media (max-width: 600px) {
  .shindar-inquiry__form {
    grid-template-columns: 1fr;
  }

  .shindar-inquiry__full {
    grid-column: auto;
  }
}

/* Match the contact-page copy control to the footer's understated button. */
html body .contact-template-wrapper .page-copy-btn {
  border: 1px solid rgba(255, 255, 255, .2) !important;
  background: rgba(255, 255, 255, .1) !important;
  color: #fff !important;
  border-radius: 20px !important;
  box-shadow: none !important;
}

html body .contact-template-wrapper .page-copy-btn:hover,
html body .contact-template-wrapper .page-copy-btn:focus,
html body .contact-template-wrapper .page-copy-btn:focus-visible,
html body .contact-template-wrapper .page-copy-btn:active {
  border-color: rgba(255, 255, 255, .6) !important;
  background: rgba(255, 255, 255, .25) !important;
  color: #fff !important;
  box-shadow: none !important;
}

/* Copy is a compact control visually, but still needs a dependable touch area. */
html body .contact-template-wrapper .page-copy-btn {
  min-width: 58px !important;
  min-height: 44px !important;
  padding: 8px 12px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  line-height: 1.2 !important;
}

/* Keep the header language control and footer copy control thumb-friendly on
   the contact page without changing their compact visual language. */
html body:has(.contact-template-wrapper) .site-lang-button {
  min-width: 44px !important;
}

html body:has(.contact-template-wrapper) :is(.footer-copy-btn, .copy-btn) {
  min-width: 58px !important;
  min-height: 44px !important;
  padding: 8px 12px !important;
  line-height: 1.2 !important;
}

@media (max-width: 1024px) {
  html body:has(.contact-template-wrapper) .site-lang-button {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
  }
}

/* Office addresses sit above the three contact methods and use inline SVG icons. */
.contact-addresses {
  display: grid;
  gap: 16px;
  margin: 0 0 24px;
  padding: 16px 18px;
  border: 1px solid rgba(0, 74, 143, .14);
  border-radius: 14px;
  background: #f7fbfd;
}

.contact-address {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.contact-address + .contact-address {
  padding-top: 16px;
  border-top: 1px solid rgba(0, 74, 143, .12);
}

.contact-address-icon,
.contact-method-icon {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: #004a8f;
}

.contact-address-content,
.contact-address-content address {
  min-width: 0;
}

.contact-address-content h3 {
  margin: 0 0 4px;
  color: #0b3550;
  font-size: 15px;
  line-height: 1.45;
}

.contact-address-content address {
  margin: 0;
  color: #526675;
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.contact-method-icon {
  flex-basis: 24px;
  color: #004a8f;
}

@media (max-width: 600px) {
  .contact-addresses {
    margin-bottom: 20px;
    padding: 14px;
  }

  .contact-address-content address {
    font-size: 13px;
  }
}

/* Keep the contact card simple: one dark panel with light separators. */
.contact-template-wrapper .info-card > h2 {
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 28px;
  line-height: 1.35;
}

.contact-template-wrapper .contact-addresses {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.contact-template-wrapper .contact-address,
.contact-template-wrapper .contact-method {
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 16px !important;
  align-items: start !important;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border-bottom: 0 !important;
}

.contact-template-wrapper .contact-address + .contact-address,
.contact-template-wrapper .contact-method + .contact-method {
  padding-top: 18px !important;
  border-top: 0;
}

.contact-template-wrapper .contact-address + .contact-method {
  padding-top: 18px !important;
}

.contact-template-wrapper .contact-addresses + .contact-method {
  padding-top: 18px !important;
}

.contact-template-wrapper .contact-address-icon,
.contact-template-wrapper .contact-method-icon {
  width: 24px;
  height: 24px;
  margin-top: 2px;
  color: #6dd5ff;
}

.contact-template-wrapper .contact-address-content h3,
.contact-template-wrapper .contact-method h3 {
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

.contact-template-wrapper .contact-address-content address,
.contact-template-wrapper .contact-method p,
.contact-template-wrapper .contact-method span,
.contact-template-wrapper .contact-method a {
  margin: 0 !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, .84) !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.contact-template-wrapper .contact-method a:hover {
  color: #6dd5ff !important;
  text-decoration: none !important;
}

.contact-template-wrapper .contact-method .method-content {
  min-width: 0;
}

@media (max-width: 600px) {
  .contact-template-wrapper .info-card > h2 {
    font-size: 25px;
  }

  .contact-template-wrapper .contact-address,
  .contact-template-wrapper .contact-method {
    grid-template-columns: 30px minmax(0, 1fr);
    column-gap: 13px !important;
  }

  .contact-template-wrapper .contact-address-icon,
  .contact-template-wrapper .contact-method-icon {
    width: 24px;
    height: 24px;
  }

  .contact-template-wrapper .contact-address-content h3,
  .contact-template-wrapper .contact-method h3 {
    font-size: 15px !important;
  }

  .contact-template-wrapper .contact-address-content address,
  .contact-template-wrapper .contact-method p,
  .contact-template-wrapper .contact-method span,
  .contact-template-wrapper .contact-method a {
    font-size: 13px !important;
  }
}
