/* Click Technology — Corporate Luxury (Black + Gold) */

:root {
  /* هوية ذهبية — استخدمها عند تصدير الشعار (SVG/PNG): #D4AF37 أساسي، مع تدرجات #f0d78c → #b8860b */
  --black: #0f0f0f;
  --black-soft: #1a1a1a;
  --gold: #d4af37;
  --gold-mid: #c9a227;
  --gold-dark: #b8860b;
  --gold-light: #f0d78c;
  --white: #ffffff;
  --cream: #f8f6f1;
  --muted: #8a8a8a;
  --text: #2a2a2a;
  --border: rgba(212, 175, 55, 0.25);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  --radius: 14px;
  --font-sans: "DM Sans", "Segoe UI", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ar: "Cairo", "Tahoma", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

body.lang-ar,
body.lang-ur {
  font-family: var(--font-ar);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section--cream {
  background: var(--cream);
}

.section--dark {
  background: linear-gradient(165deg, var(--black) 0%, #151515 100%);
  color: var(--white);
}

.section__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1rem;
  color: var(--black);
}

.section--dark .section__title {
  color: var(--white);
}

.section__lead {
  max-width: 52ch;
  color: var(--muted);
  margin: 0 0 2rem;
}

.section--dark .section__lead {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.5vw, 1rem);
  padding-block: 0.15rem;
  /* مسافة آمنة تقريبية ¼ ارتفاع الشعار عبر الـ gap + padding */
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--gold-light) 0%, var(--gold) 38%, var(--gold-dark) 100%);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.35), 0 4px 14px rgba(212, 175, 55, 0.22);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--black);
  letter-spacing: -0.02em;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
}

@supports (-webkit-background-clip: text) or (background-clip: text) {
  .brand__name {
    background: linear-gradient(115deg, var(--gold-light) 0%, var(--gold) 40%, var(--gold-mid) 72%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

/* شعار Click — PNG بخلفية شفافة؛ لا خلفية CSS على الصورة */
.brand__logo-img {
  height: 44px;
  width: auto;
  max-width: min(200px, 42vw);
  object-fit: contain;
  object-position: left center;
  display: block;
  flex-shrink: 0;
  background: transparent;
}

.brand__tagline {
  font-size: 0.68rem;
  color: var(--gold);
  opacity: 0.95;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
}

.lang-switcher {
  position: relative;
}

.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.lang-switcher__btn:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 180px;
  padding: 0.35rem;
  margin: 0;
  list-style: none;
  background: var(--black-soft);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 50;
}

.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher__option {
  width: 100%;
  text-align: inherit;
  padding: 0.55rem 0.75rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  background: none;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}

.lang-switcher__option:hover {
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold);
}

.lang-switcher__option.is-active {
  color: var(--gold);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  color: var(--gold);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}

.nav-toggle__bar::before {
  top: -6px;
}

.nav-toggle__bar::after {
  top: 6px;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: rgba(15, 15, 15, 0.98);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav__link {
    padding: 0.75rem 1rem;
  }

  .lang-switcher {
    width: 100%;
  }

  .lang-switcher__btn {
    width: 100%;
    justify-content: center;
  }

  .lang-switcher__menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
    display: none;
  }

  .lang-switcher.is-open .lang-switcher__menu {
    display: block;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 12vw, 7rem) 0;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(212, 175, 55, 0.15), transparent 55%),
    linear-gradient(165deg, #0a0a0a 0%, var(--black) 45%, #121212 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
  font-weight: 600;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--white);
}

.hero__title span {
  background: linear-gradient(120deg, var(--gold) 0%, #f0d78c 50%, var(--gold-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__slogan {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 2rem;
  max-width: 42ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__panel {
  background: linear-gradient(155deg, rgba(26, 26, 26, 0.95) 0%, rgba(20, 20, 20, 0.98) 100%);
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: calc(var(--radius) + 4px);
  padding: clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
  text-align: center;
}

.stat__value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1.1;
}

.stat__label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-mid) 100%);
  color: var(--black);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(212, 175, 55, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--gold);
}

/* Ghost button on light backgrounds (e.g. cream CTA band) */
.btn--ghost-light {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(15, 15, 15, 0.18);
}

.btn--ghost-light:hover {
  border-color: var(--gold);
  color: var(--black);
  background: rgba(212, 175, 55, 0.08);
}

.btn--block {
  width: 100%;
}

/* ---------- Cards & grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card-lite {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s, box-shadow 0.25s;
}

.card-lite:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.section--dark .card-lite {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(212, 175, 55, 0.15);
  color: rgba(255, 255, 255, 0.92);
}

.card-lite__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.05) 100%);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.card-lite__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  color: var(--black);
}

.section--dark .card-lite__title {
  color: var(--white);
}

.card-lite__text {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.section--dark .card-lite__text {
  color: rgba(255, 255, 255, 0.65);
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  gap: 1rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius);
}

.timeline__step {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.timeline__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
}

.timeline__desc {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
}

/* ---------- Offers ---------- */
.offer-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s;
}

.offer-card:hover {
  transform: translateY(-6px);
}

.offer-card__media {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, #2a2a2a, var(--black));
  display: grid;
  place-items: center;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.offer-card__body {
  padding: 1.35rem;
}

.offer-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

.offer-card__meta {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0 0 1rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

.contact-list li:last-child {
  border-bottom: none;
}

.contact-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.75rem 1rem;
  font: inherit;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  margin-bottom: 1rem;
  background: var(--white);
  transition: border-color 0.2s;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--gold);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.55);
  padding: 2.5rem 0 2rem;
  font-size: 0.85rem;
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
}

.site-footer__brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold);
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--black);
  color: var(--white);
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  font-size: 0.9rem;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s, transform 0.35s;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Page hero small ---------- */
.page-hero {
  padding: clamp(3rem, 8vw, 4.5rem) 0;
  background: linear-gradient(165deg, #0a0a0a 0%, var(--black) 100%);
  color: var(--white);
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin-inline: auto;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}

.leader {
  text-align: center;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: var(--radius);
  transition: transform 0.2s;
}

.leader:hover {
  transform: translateY(-4px);
}

.leader__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--gold-mid), var(--gold-dark));
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--black);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  padding: 0.35rem;
}

.leader__name {
  font-weight: 600;
  margin: 0 0 0.25rem;
  color: var(--white);
}

.leader__role {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}
