/* === contact-page.css === */

/* ══════════════════════════════════════
   CONTACT PAGE
   Full-page layout with 2-col design:
   Left = editorial / Right = form card
══════════════════════════════════════ */

/* Active nav state for Contact link */
.nav-contact-active {
  color: var(--g) !important;
}

/* ── Page wrapper ── */
.contact-page {
  min-height: 100vh;
  background:
    radial-gradient(ellipse 70% 60% at 20% 40%, rgba(153,202,60,.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 80% 70%, rgba(153,202,60,.04) 0%, transparent 60%),
    var(--black);
  padding-top: 80px; /* clear fixed nav */
  display: flex;
  flex-direction: column;
}

/* ── Inner 2-col layout ── */
.cp-inner {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 80px 48px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ══════════════════════════════════════
   LEFT COLUMN
══════════════════════════════════════ */
.cp-left {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: sticky;
  top: 110px;
}

.cp-left__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cp-left__heading {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  line-height: 0.97;
  letter-spacing: -2.5px;
  text-transform: uppercase;
  color: var(--text);
}
html[lang="ar"] .cp-left__heading {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.15;
}

.cp-left__intro {
  font-size: 15.5px;
  color: var(--muted);
  line-height: 1.72;
  max-width: 400px;
  letter-spacing: -0.1px;
}
html[lang="ar"] .cp-left__intro {
  font-family: 'Cairo', sans-serif;
  line-height: 1.9;
  letter-spacing: 0;
}

/* Reason list */
.cp-left__reasons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 4px;
}
.cp-left__reasons li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.cp-reason__icon {
  font-size: 6px;
  color: var(--g);
  margin-top: 7px;
  flex-shrink: 0;
  opacity: .7;
}
.cp-left__reasons strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.2px;
  margin-bottom: 3px;
}
.cp-left__reasons p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}
html[lang="ar"] .cp-left__reasons strong,
html[lang="ar"] .cp-left__reasons p {
  font-family: 'Cairo', sans-serif;
}

/* Direct email */
.cp-left__direct {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--bdr);
  font-size: 12.5px;
  color: var(--dim);
}
.cp-left__direct a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: color .2s;
}
.cp-left__direct a:hover { color: var(--g); }
html[lang="ar"] .cp-left__direct { font-family: 'Cairo', sans-serif; }

/* Decorative image */
.cp-left__image {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16/9;
  position: relative;
  border: 1px solid var(--bdr);
}
.cp-left__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  filter: brightness(.75) saturate(.8);
}
.cp-left__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(153,202,60,.08) 0%,
    transparent 50%
  );
  pointer-events: none;
}

/* ══════════════════════════════════════
   RIGHT COLUMN — form card
══════════════════════════════════════ */
.cp-right {
  /* sits at top and scrolls naturally */
}

.cp-form-card {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: 24px;
  padding: 44px 40px 48px;
  box-shadow:
    0 0 0 1px rgba(153,202,60,.04),
    0 32px 80px rgba(0,0,0,.45),
    0 2px 0 rgba(255,255,255,.03) inset;
  position: relative;
  overflow: hidden;
}
/* Subtle green glow top-right of card */
.cp-form-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(153,202,60,.07) 0%, transparent 65%);
  pointer-events: none;
}

.cp-form-card__header {
  margin-bottom: 32px;
}
.cp-form-card__header h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: var(--text);
  margin-bottom: 6px;
}
html[lang="ar"] .cp-form-card__header h2 {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
}
.cp-form-card__header p {
  font-size: 13px;
  color: var(--muted);
}
html[lang="ar"] .cp-form-card__header p {
  font-family: 'Cairo', sans-serif;
}

/* ── Form layout ── */
.cp-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cp-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.cp-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cp-form__field label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(240,242,234,.55);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
html[lang="ar"] .cp-form__field label {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.cp-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--dim);
}

/* Shared input styles */
.cp-form input,
.cp-form textarea,
.cp-form select {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--bdr);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: 'Satoshi', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color .2s, background .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}
html[lang="ar"] .cp-form input,
html[lang="ar"] .cp-form textarea,
html[lang="ar"] .cp-form select {
  font-family: 'Cairo', sans-serif;
  text-align: right;
  direction: rtl;
}
.cp-form input::placeholder,
.cp-form textarea::placeholder {
  color: var(--dim);
  font-size: 13px;
}
.cp-form input:focus,
.cp-form textarea:focus,
.cp-form select:focus {
  border-color: rgba(153,202,60,.5);
  background: rgba(153,202,60,.025);
  box-shadow: 0 0 0 3px rgba(153,202,60,.08);
}

.cp-form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Custom select wrapper */
.cp-select-wrap {
  position: relative;
}
.cp-select-wrap select {
  cursor: pointer;
  padding-right: 36px;
}
.cp-select-wrap select option {
  background: var(--card);
  color: var(--text);
}
.cp-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}
html[dir="rtl"] .cp-select-arrow {
  right: auto;
  left: 14px;
}

/* Submit button — reuses .btn-p from base.css */
.cp-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
  font-size: 14.5px;
  padding: 16px 32px;
}
.cp-submit:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 900px) {
  .cp-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 32px 72px;
  }
  .cp-left {
    position: static;
    gap: 32px;
  }
  .cp-left__image {
    max-height: 240px;
  }
}

/* ── Form submission status message ── */
.cp-form-status {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 500;
  min-height: 18px;
  text-align: center;
}
.cp-form-status--ok  { color: #99ca3c; }
.cp-form-status--err { color: rgba(240,80,80,.85); }

@media (max-width: 580px) {
  .cp-inner {
    padding: 40px 20px 64px;
    gap: 36px;
  }
  .cp-form__row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cp-form-card {
    padding: 32px 24px 36px;
    border-radius: 18px;
  }
  .cp-left__heading {
    letter-spacing: -1.5px;
  }
}
