/* contact.css — Contact page custom styling (shared across zh/en/de)
   Goals: modern, credible, conversion-friendly; matches site blue/white + deep navy band.
*/

/* Shared blocks (so Contact does not depend on About styles) */
.map-box{
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(224,242,255,.18);
}

.map-fallback{
  padding: 14px;
  color: rgba(15,23,42,.78);
  line-height: 1.75;
}

.meta-row{
  display:grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items:start;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.75);
}

.meta-row strong{
  font-size: 13px;
  color: rgba(15,23,42,.88);
}

.meta-row span{
  font-size: 13px;
  color: rgba(15,23,42,.72);
  line-height: 1.6;
}

/* --- Hero: left copy + right form --- */
.contact-hero .hero-grid{ grid-template-columns: 1fr; }

@media (min-width: 900px){
  .contact-hero .hero-grid{
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
  }
}

.contact-hero .hero-actions{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.contact-hero .platforms{
  margin-top: 14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.platform-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,.16);
  background: rgba(255,255,255,.75);
  color: rgba(15,23,42,.92);
  font-weight: 750;
  font-size: 13px;
}

.platform-link:hover{ background:#fff; }

.platform-link svg{
  width:18px;
  height:18px;
  opacity:.9;
}

.platform-link img{
  width:18px;
  height:18px;
  object-fit:contain;
}

.contact-form.card{
  padding: 16px;
}

.contact-form .title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 10px;
}

.contact-form .title strong{ font-size: 15px; color: rgba(15,23,42,.92); }
.contact-form .title span{ font-size: 12px; color: rgba(15,23,42,.62); }

.contact-form .form-actions{
  justify-content:flex-start;
}

.contact-form .btn.primary{
  background:#0f172a;
  border-color:#0f172a;
}

/* --- Deep navy band (map + office info) --- */
.contact-band{
  margin-top: 22px;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(15,23,42,.10);
  background:
    radial-gradient(900px 360px at 12% -2%, rgba(125,211,252,.34), rgba(125,211,252,0) 62%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(241,249,255,.92));
  color: rgba(15,23,42,.9);
  box-shadow: 0 10px 28px rgba(15,23,42,.10);
}

.contact-band h2{ color: rgba(15,23,42,.95); }
.contact-band p{ color: rgba(15,23,42,.72); }

.contact-band .split{
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 980px){
  .contact-band .split{ grid-template-columns: .95fr 1.05fr; }
}

.contact-band .meta-row{
  border-color: rgba(15,23,42,.12);
  background: rgba(255,255,255,.88);
}

.contact-band .meta-row strong{ color: rgba(15,23,42,.9); }
.contact-band .meta-row span{ color: rgba(15,23,42,.75); }

.contact-band .map-box{
  border-color: rgba(15,23,42,.12);
  background: rgba(255,255,255,.78);
}

#contact-map{
  width: 100%;
  height: 360px;
}

.cn-map-frame{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.contact-band .note{ border-color: rgba(15,23,42,.12); }

/* --- Timezone pills --- */
.tz-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 520px){
  .tz-grid{ grid-template-columns: 1fr 1fr; }
}

.tz-pill{
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.88);
  padding: 10px 12px;
}

.tz-pill .k{ font-size: 12px; color: rgba(15,23,42,.62); letter-spacing:.02em; }
.tz-pill .v{ margin-top: 6px; font-weight: 850; font-size: 18px; }
.tz-pill .s{ margin-top: 2px; font-size: 12px; color: rgba(15,23,42,.56); }

@media (max-width: 760px){
  .contact-hero .platforms{
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .platform-link{
    width: 100%;
    min-height: 42px;
    justify-content:flex-start;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
  }

  .platform-link svg,
  .platform-link img{
    width:16px;
    height:16px;
    flex: 0 0 16px;
  }
}

@media (max-width: 520px){
  #contact-map{ height: 320px; }
  .contact-hero .platforms{ grid-template-columns: 1fr; }
}
