/* ==========================================================================
   GS Graphx — Contact Page Styles (EN + AR)
   Split editorial layout: Smart Inquiry Form + Instant Direct Channels.
   Strict minimum 14px typography throughout.
   ========================================================================== */

:root {
  --green: #b6f419 !important;
  --light-green: #b6f419 !important;
  --orange: #f98421 !important;
  --bg: #121518 !important;
  --grey: #262c32 !important;

  --ct-bg: #121518;
  --ct-surface: #171b20;
  --ct-surface-2: #1c2128;
  --ct-border: rgba(255, 255, 255, 0.09);
  --ct-border-strong: rgba(255, 255, 255, 0.16);
  --ct-text: #f3f5f7;
  --ct-muted: rgba(243, 245, 247, 0.68);
  --ct-faint: rgba(243, 245, 247, 0.46);
  --ct-lime: #b6f419;
  --ct-lime-rgb: 182, 244, 25;
  --ct-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body.gs-contact-page {
  overflow-y: auto !important;
  overflow-x: clip !important;
  background-color: var(--ct-bg);
  color: var(--ct-text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

html[lang="ar"] body.gs-contact-page,
html[lang="ar"] body.gs-contact-page button,
html[lang="ar"] body.gs-contact-page input,
html[lang="ar"] body.gs-contact-page textarea,
html[lang="ar"] body.gs-contact-page select {
  font-family: "IBM Plex Sans Arabic", "IBM Plex Sans", sans-serif;
}

html[lang="en"] body.gs-contact-page {
  font-family: "IBM Plex Sans", sans-serif;
}

body.gs-contact-page.is-modal-open {
  overflow: hidden !important;
}

body.gs-contact-page.is-scrolled .gs-site-header.o-header {
  padding-top: clamp(12px, 1.5vw, 18px) !important;
  padding-bottom: clamp(12px, 1.5vw, 18px) !important;
  background: rgba(18, 21, 24, 0.86) !important;
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gs-ct-main {
  position: relative;
  flex: 1 0 auto;
  isolation: isolate;
}

.gs-ct-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 58px);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.gs-ct-hero {
  position: relative;
  padding: clamp(134px, 14vw, 182px) clamp(18px, 4vw, 58px) clamp(40px, 5vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(58% 54% at 50% 0%, rgba(var(--ct-lime-rgb), 0.13) 0%, rgba(var(--ct-lime-rgb), 0.025) 45%, transparent 78%),
    linear-gradient(180deg, #0d1013 0%, var(--ct-bg) 100%);
}

.gs-ct-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(76% 74% at 50% 25%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(76% 74% at 50% 25%, #000 0%, transparent 100%);
}

.gs-ct-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gs-ct-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid rgba(var(--ct-lime-rgb), 0.32);
  background: rgba(var(--ct-lime-rgb), 0.08);
  color: var(--ct-lime);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 24px;
}

.gs-ct-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ct-lime);
  box-shadow: 0 0 14px rgba(var(--ct-lime-rgb), 0.95);
}

.gs-ct-hero__title {
  margin: 0;
  font-size: clamp(38px, 5.5vw, 76px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
}

html[lang="en"] .gs-ct-hero__title {
  font-family: "ZimulaStandard", "IBM Plex Sans", sans-serif;
}

html[lang="ar"] .gs-ct-hero__title {
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.gs-ct-hero__title em {
  font-style: normal;
  color: var(--ct-lime);
}

.gs-ct-hero__lead {
  margin: 20px auto 0;
  max-width: 640px;
  font-size: clamp(16px, 1.3vw, 18.5px);
  line-height: 1.7;
  color: var(--ct-muted);
}

/* ==========================================================================
   Split Layout: Form + Direct Channels
   ========================================================================== */
.gs-ct-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
}

.gs-ct-panel {
  border-radius: 26px;
  padding: clamp(26px, 3.2vw, 42px);
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
}

.gs-ct-panel__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 700;
  color: #ffffff;
}

.gs-ct-panel__sub {
  margin: 0 0 28px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ct-muted);
}

/* Topic Selector Pills */
.gs-ct-field-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 10px;
}

.gs-ct-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.gs-ct-topic {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.82);
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ct-ease);
}

.gs-ct-topic:hover {
  border-color: rgba(var(--ct-lime-rgb), 0.45);
  color: #ffffff;
}

.gs-ct-topic.is-active {
  background: var(--ct-lime);
  border-color: var(--ct-lime);
  color: #0c0e10;
  box-shadow: 0 8px 22px rgba(var(--ct-lime-rgb), 0.25);
}

/* Form Grid */
.gs-ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.gs-ct-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.gs-ct-form-row .gs-ct-field {
  margin-bottom: 0;
}

.gs-ct-input,
.gs-ct-textarea {
  width: 100%;
  box-sizing: border-box;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 16px;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.gs-ct-input::placeholder,
.gs-ct-textarea::placeholder {
  color: var(--ct-faint);
}

.gs-ct-input:focus,
.gs-ct-textarea:focus {
  outline: none;
  border-color: var(--ct-lime);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(var(--ct-lime-rgb), 0.14);
}

.gs-ct-textarea {
  min-height: 142px;
  resize: vertical;
}

.gs-ct-form-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.gs-ct-submit {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 100px;
  border: 1px solid var(--ct-lime);
  background: var(--ct-lime);
  color: #0c0e10;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s var(--ct-ease), box-shadow 0.25s ease, background-color 0.25s ease;
}

.gs-ct-submit:hover {
  background: #c8ff3d;
  border-color: #c8ff3d;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(var(--ct-lime-rgb), 0.3);
}

.gs-ct-submit svg {
  width: 16px;
  height: 16px;
}

.gs-ct-wa-submit {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 22px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.gs-ct-wa-submit:hover {
  border-color: var(--ct-lime);
  color: var(--ct-lime);
  background: rgba(var(--ct-lime-rgb), 0.08);
}

.gs-ct-status {
  display: none;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14.5px;
  line-height: 1.6;
}

.gs-ct-status.is-success {
  display: block;
  background: rgba(var(--ct-lime-rgb), 0.12);
  border: 1px solid rgba(var(--ct-lime-rgb), 0.4);
  color: var(--ct-lime);
}

.gs-ct-status.is-error {
  display: block;
  background: rgba(249, 132, 33, 0.12);
  border: 1px solid rgba(249, 132, 33, 0.45);
  color: #ffad66;
}

/* ==========================================================================
   Direct Channels Column
   ========================================================================== */
.gs-ct-aside {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gs-ct-wa-card {
  border-radius: 24px;
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--ct-lime);
  color: #0c0e10;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gs-ct-wa-card__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(12, 14, 16, 0.12);
  color: #0c0e10;
  font-size: 14px;
  font-weight: 700;
}

.gs-ct-wa-card__title {
  margin: 0;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.25;
  font-weight: 700;
  color: #0c0e10;
}

.gs-ct-wa-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(12, 14, 16, 0.8);
  font-weight: 500;
}

.gs-ct-wa-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 22px;
  border-radius: 100px;
  background: #0c0e10;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s var(--ct-ease), box-shadow 0.25s ease;
}

.gs-ct-wa-card__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
}

.gs-ct-info-card {
  border-radius: 24px;
  padding: clamp(22px, 2.5vw, 28px);
  background: var(--ct-surface);
  border: 1px solid var(--ct-border);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.gs-ct-info-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
}

.gs-ct-email-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gs-ct-email-row a {
  font-family: "IBM Plex Mono", monospace;
  font-size: 14.5px;
  color: #ffffff;
  text-decoration: none;
  word-break: break-all;
}

.gs-ct-email-row a:hover {
  color: var(--ct-lime);
}

.gs-ct-copy {
  appearance: none;
  flex: none;
  padding: 7px 14px;
  border-radius: 100px;
  border: 1px solid rgba(var(--ct-lime-rgb), 0.35);
  background: rgba(var(--ct-lime-rgb), 0.1);
  color: var(--ct-lime);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gs-ct-copy:hover,
.gs-ct-copy.is-copied {
  background: var(--ct-lime);
  color: #0c0e10;
}

.gs-ct-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gs-ct-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ct-muted);
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.gs-ct-meta-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.gs-ct-meta-list strong {
  color: #ffffff;
  font-weight: 600;
}

.gs-ct-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gs-ct-social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.gs-ct-social-pill:hover {
  border-color: var(--ct-lime);
  color: var(--ct-lime);
}

/* Footer >= 14px readability */
body.gs-contact-page .o-footer {
  margin-top: clamp(64px, 7vw, 96px);
  padding-top: clamp(64px, 7vw, 92px);
}

body.gs-contact-page .a-text--xxs,
body.gs-contact-page .a-text--s,
body.gs-contact-page .gs-footer-contact a,
body.gs-contact-page .gs-footer-navigation a {
  font-size: max(14px, 0.92rem) !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .gs-ct-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gs-ct-form-row {
    grid-template-columns: 1fr;
  }

  .gs-ct-submit,
  .gs-ct-wa-submit {
    width: 100%;
  }
}
