/* Contact us page */
.contact-page { margin: 0 0 8px; }
.contact-page a { text-decoration: none; }

.ct-hero {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin: 0 0 18px;
  min-height: 188px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}
.ct-hero-img {
  display: block;
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 40%;
}
.ct-hero-copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 32px;
  color: #fff;
  background: linear-gradient(90deg, rgba(12, 42, 84, 0.88) 0%, rgba(15, 55, 110, 0.62) 52%, rgba(15, 55, 110, 0.28) 100%);
}
.ct-hero-copy h1 {
  margin: 0 0 8px;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}
.ct-hero-copy p {
  margin: 0;
  max-width: 38em;
  font-size: 15px;
  line-height: 1.65;
  opacity: 0.96;
}

.ct-lead {
  margin: 0 0 18px;
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
}

.ct-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.ct-card {
  display: block;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
  padding: 14px 14px 16px;
  color: inherit;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ct-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
  border-color: #93c5fd;
}
.ct-card-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.ct-card-ico.phone { background: #0ea5e9; }
.ct-card-ico.after { background: #14b8a6; }
.ct-card-ico.wa { background: #16a34a; }
.ct-card-ico.qq { background: #2563eb; }
.ct-card-ico::before { line-height: 1; }
.ct-card-ico.phone::before { content: "☎"; }
.ct-card-ico.after::before { content: "⚙"; }
.ct-card-ico.wa::before { content: "W"; }
.ct-card-ico.qq::before { content: "Q"; }
.ct-card h2 {
  margin: 0 0 4px;
  font-size: 15px;
  color: #0f172a;
}
.ct-card .ct-val {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #1d4ed8;
  margin-bottom: 4px;
  word-break: break-all;
}
.ct-card p {
  margin: 0;
  font-size: 12px;
  color: #64748b;
  line-height: 1.55;
}

.ct-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
  margin-bottom: 18px;
}
.ct-panel {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  padding: 16px 18px;
}
.ct-panel h2 {
  margin: 0 0 10px;
  font-size: 18px;
}
.ct-dl {
  margin: 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 14px;
  font-size: 14px;
  line-height: 1.6;
}
.ct-dl dt { color: #64748b; }
.ct-dl dd { margin: 0; color: #0f172a; }
.ct-dl a { color: #1d4ed8; }
.ct-email-img {
  display: inline-block;
  height: 22px;
  width: auto;
  cursor: pointer;
  vertical-align: middle;
}

.ct-map {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 380px;
  background: #e8eef5;
}
.ct-map-frame {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}
.ct-map-wide .ct-map-frame {
  position: absolute;
  top: -8px;
  left: 0;
  width: 980px;
  height: 420px;
  max-width: none;
}
.ct-map-cta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.78);
  color: #fff;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
}
.ct-map-cta strong { display: block; font-size: 14px; }
.ct-map-meta { opacity: 0.95; }
.ct-map-meta span { display: block; opacity: 0.88; font-size: 12px; }
.ct-map-cta em {
  font-style: normal;
  background: #38bdf8;
  color: #0f172a;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  white-space: nowrap;
}

.ct-help h2,
.ct-form-wrap h2 {
  margin: 0 0 10px;
  font-size: 18px;
}
.ct-help-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.ct-help-item {
  display: block;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ct-help-item:hover {
  border-color: #93c5fd;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.1);
}
.ct-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.ct-points li {
  margin: 0;
  border: 1px dashed #bfdbfe;
  border-radius: 10px;
  background: #f8fbff;
  padding: 10px 12px;
  font-size: 13px;
  color: #1e3a8a;
  line-height: 1.5;
}

.ct-help-item h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #1d4ed8;
}
.ct-help-item p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
}

.ct-form-wrap {
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 70%);
  padding: 16px 18px 18px;
}
.ct-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-field.full { grid-column: 1 / -1; }
.ct-field label { font-size: 13px; font-weight: 600; color: #1f2937; }
.ct-field .req { color: #dc2626; }
.ct-field input,
.ct-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  font-size: 14px;
  background: #fff;
}
.ct-field textarea { min-height: 110px; resize: vertical; }
.ct-field input:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.ct-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ct-submit {
  border: 0;
  border-radius: 8px;
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  cursor: pointer;
}
.ct-submit:hover { background: #1e40af; }
.ct-note { font-size: 12px; color: #64748b; }
.ct-form-msg { font-size: 13px; }
.ct-form-msg.ok { color: #047857; }
.ct-form-msg.err { color: #b91c1c; }

html[dir="rtl"] .ct-hero-copy {
  background: linear-gradient(270deg, rgba(12, 42, 84, 0.88) 0%, rgba(15, 55, 110, 0.62) 52%, rgba(15, 55, 110, 0.28) 100%);
}

@media (max-width: 900px) {
  .ct-grid,
  .ct-help-grid,
  .ct-points,
  .ct-split,
  .ct-form { grid-template-columns: 1fr 1fr; }
  .ct-hero-copy { padding: 20px; }
  .ct-hero-copy h1 { font-size: 24px; }
  .ct-hero-img { height: 170px; }
}
@media (max-width: 640px) {
  .ct-grid,
  .ct-help-grid,
  .ct-points,
  .ct-split { grid-template-columns: 1fr; }
  .ct-form { grid-template-columns: 1fr; }
  .ct-dl { grid-template-columns: 1fr; gap: 2px 0; }
  .ct-dl dt { margin-top: 8px; }
  .ct-map-frame { height: 320px; }
}
