/* ==========================================================================
   contact.css — Contact page layout.
   Loaded only on contact.html / en/contact.html. Same monochrome, thin-rule,
   gold-accent (#b79f4f) language as about.css / projects.css.
   ========================================================================== */

.contact-page .subtitle {
  display: inline-block;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  color: #8a8a8a;
  margin-bottom: 14px;
}
.contact-page .wow { visibility: visible !important; }

/* ---------- 1. Main: intro + channels + form ---------- */
.contact-main { padding: 110px 0 90px; }
.contact-head { max-width: 640px; margin-bottom: 56px; }
.contact-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  margin: 0 0 20px;
}
.contact-head .lead-text {
  font-family: "Afacad Flux", "Cairo", sans-serif;
  font-size: 19px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.6);
  margin: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

/* channels */
.channel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #111;
}
.channel-list li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-bottom: 1px solid #e6e6e6;
}
.ch-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9a9a9a;
}
.ch-value {
  font-size: 19px;
  color: #111;
  text-decoration: none;
  width: -moz-fit-content;
  width: fit-content;
  transition: color 0.25s ease;
}
.ch-value:hover { color: #b79f4f; }

/* small heading above each column */
.contact-col-head { margin-bottom: 26px; }
.contact-col-head .subtitle { margin-bottom: 10px; }
.contact-col-head h3 { font-size: 22px; margin: 0; }
.contact-col-head .cf-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #9a9a9a;
}
.contact-col-head .cf-note .cf-req { color: #b79f4f; }

/* form */
.cform { display: flex; flex-direction: column; gap: 24px; }
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.cf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cf-field label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9a9a9a;
}
.cf-req { color: #b79f4f; }
.cf-hint {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  color: #b3b3b3;
  margin-inline-start: 6px;
}
.cf-field input,
.cf-field textarea,
.cf-field select {
  border: 0;
  border-bottom: 1px solid #cfcfcf;
  background: transparent;
  padding: 10px 0;
  font-size: 16px;
  color: #111;
  font-family: inherit;
  border-radius: 0;
  width: 100%;
  transition: border-color 0.25s ease;
}
.cf-field textarea { resize: vertical; min-height: 96px; }
.cf-field input:focus,
.cf-field textarea:focus,
.cf-field select:focus { outline: 0; border-color: #111; }

/* select: keep the native arrow but sit it in the underline style */
.cf-field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23999'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0 center;
  background-size: 18px;
  padding-inline-end: 0;
  padding-inline-start: 22px;
}
[dir="rtl"] .cf-field select { background-position: left 0 center; }
:root:not([dir="rtl"]) .cf-field select { background-position: right 0 center; padding-inline-start: 0; padding-inline-end: 22px; }
.cf-field select:invalid { color: #9a9a9a; }

/* file input */
.cf-file input[type="file"] {
  font-size: 14px;
  color: #555;
  padding: 12px 0 10px;
}
.cf-file input[type="file"]::file-selector-button {
  border: 1px solid #111;
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 9px 18px;
  margin-inline-end: 14px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.cf-file input[type="file"]::file-selector-button:hover { background: #111; color: #fff; }

/* honeypot — hidden from people, visible to bots */
.cf-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0;
}

/* status message */
.cf-status {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.6;
}
.cf-status:empty { display: none; }
.cf-status.is-ok { color: #1c7c3f; }
.cf-status.is-err { color: #b3261e; }
.cform .cform-btn {
  margin-top: 12px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: #111;
  color: #fff;
  border: 1px solid #111;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 21px 34px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.15s ease;
}
.cform .cform-btn:hover {
  background: #b79f4f;
  border-color: #b79f4f;
  box-shadow: 0 10px 26px rgba(183, 159, 79, 0.4);
}
.cform .cform-btn:active { transform: translateY(1px); }
.cform .cform-btn:disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}
.cform .cform-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.3s ease;
}
.cform .cform-btn:hover svg { transform: translateX(5px); }
[dir="rtl"] .cform-btn svg { transform: scaleX(-1); }
[dir="rtl"] .cform-btn:hover svg { transform: scaleX(-1) translateX(5px); }

/* ---------- Map (sits in the left column, under the channels) ---------- */
.channel-map {
  margin-top: 34px;
  line-height: 0;
  border: 1px solid #e6e6e6;
}
.channel-map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
  filter: grayscale(1) contrast(1.05);
  transition: filter 0.5s ease;
}
.channel-map:hover iframe { filter: none; }

/* ---------- 3. Clients ---------- */
.contact-clients { padding: 100px 0 110px; }
.contact-clients .container { margin-bottom: 44px; }
.contact-clients h3 { font-size: 28px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .contact-main { padding: 74px 0 60px; }
  .contact-head { margin-bottom: 42px; }
  .contact-grid { grid-template-columns: 1fr; gap: 52px; }
  .channel-map iframe { height: 260px; }
  .contact-clients { padding: 64px 0 74px; }
}
@media (max-width: 575px) {
  .contact-head .lead-text { font-size: 17px; }
  .ch-value { font-size: 17px; }
  .cf-row { grid-template-columns: 1fr; gap: 24px; }
  .cf-hint { display: block; margin-inline-start: 0; margin-top: 2px; }
  .cform .cform-btn { padding-left: 24px; padding-right: 24px; }
}
