/* ============================================================
   AWAKSY GLOBAL — Redesign Mock-up · v3.2 "Bilingual Corporate"
   Palette: Deep Navy #12345A (brand emblem & CTAs) on white with
            cool cloud-grey tints — calm, corporate, client-friendly.
   Wordmark: AWAKSY in League Spartan 700 (tight, modern geometric)
             + GLOBAL in Montserrat 700, flush bottom with Aw.
   Bilingual: English (Montserrat) + Arabic (IBM Plex Sans Arabic, RTL).
   ============================================================ */

:root {
  --navy-900: #0e2a4a;
  --navy-800: #12345a;
  --navy-600: #1f4e7f;
  --navy-450: #3e7cb1;
  --ink: #16304e;
  --body: #45566b;
  --muted: #6b7c92;
  --faint: #8fa0b3;
  --paper: #ffffff;
  --cloud: #f3f7fb;
  --tint: #eef4fa;
  --line: #e4ebf2;
  --line-soft: #ecf1f7;
  --input-border: #e4ebf2;
  --shadow-card: 0 18px 44px rgba(14, 42, 74, 0.09);
  --shadow-soft: 0 10px 30px rgba(14, 42, 74, 0.07);
  --shadow-hover: 0 20px 44px rgba(14, 42, 74, 0.11), 0 4px 12px rgba(62, 124, 177, 0.08);
  --font-body: "Montserrat", sans-serif;
  --font-ar: "IBM Plex Sans Arabic", sans-serif;
  --font-brand: "League Spartan", sans-serif;
  --container: 1180px;
  --radius: 20px;
  --radius-sm: 12px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  text-align: start;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="ar"] body {
  font-family: var(--font-ar);
  line-height: 1.8;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { text-wrap: balance; }
.hero-sub, .lead, .mission-copy p, .about-copy p, .service-card p, .step-card p {
  text-wrap: pretty;
}

:where(a:any-link, button):focus-visible {
  outline: 3px solid var(--navy-600);
  outline-offset: 3px;
}

/* Visually hidden utility (accessible skip link) */
.visually-hidden:where(:not(:focus-within, :active)) {
  position: absolute !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  white-space: nowrap !important;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  inset-inline-start: 16px;
  z-index: 100;
  background: var(--navy-800);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: var(--shadow-card);
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

section[id] { scroll-margin-top: 92px; }

/* ---------- Typography ---------- */
.title {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.lead {
  font-size: 17.5px;
  color: var(--body);
  font-weight: 500;
}

/* ---------- Brand lockup (emblem + wordmark, always LTR & bottom-aligned) ---------- */
.brand-link {
  display: inline-flex;
  align-items: flex-end;
  gap: 14px;
  direction: ltr;
  text-align: left;
  flex-shrink: 0;
}

.brand-mark {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 0;
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.005em;
  font-kerning: normal;
  color: var(--navy-800);
  line-height: 0.72;
}

.brand-sub {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 7.5px;
  letter-spacing: 0.38em;
  text-indent: 0.08em;
  color: var(--faint);
  line-height: 0.74;
  margin-top: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border: 0;
  cursor: pointer;
  padding: 15px 32px;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, background 0.22s ease, color 0.22s ease;
}

.btn-primary {
  background: var(--navy-800);
  color: #ffffff;
  box-shadow: 0 12px 26px rgba(14, 42, 74, 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--navy-900);
  box-shadow: 0 16px 32px rgba(14, 42, 74, 0.32);
}

.btn-soft {
  background: var(--paper);
  color: var(--navy-800);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.btn-soft:hover {
  transform: translateY(-2px);
  border-color: #c5d7eb;
}

.btn-wide { width: 100%; text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(14, 42, 74, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  direction: ltr;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.main-nav {
  scroll-target-group: auto;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--body);
  padding: 6px 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-600);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link:is(:target-current, .active) {
  color: var(--navy-800);
}
.nav-link:hover::after,
.nav-link:is(:target-current, .active)::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--navy-800);
  color: #ffffff;
  padding: 11px 24px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(14, 42, 74, 0.22);
  transition: background 0.2s ease, transform 0.2s ease;
}
.nav-cta:hover { background: var(--navy-900); transform: translateY(-1px); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 38px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #d5e2ef;
  background: var(--cloud);
  color: var(--navy-800);
  font-family: var(--font-ar);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
html[lang="ar"] .lang-toggle {
  font-family: var(--font-body);
  font-size: 12.5px;
}
.lang-toggle:hover {
  background: var(--tint);
  border-color: #b8cde3;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-block-size: 44px;
  min-inline-size: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile dropdown panel — sits under the header, same styling language */
.nav-panel {
  scroll-target-group: auto;
  display: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease, visibility 0.35s ease;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line-soft);
}

.nav-panel.open {
  max-height: 440px;
  opacity: 1;
  visibility: visible;
}

.panel-link {
  display: block;
  padding: 15px 24px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  border-inline-start: 3px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.panel-link:active { background: var(--cloud); }
.panel-link:is(:target-current, .active) {
  color: var(--navy-800);
  background: var(--cloud);
  border-inline-start-color: var(--navy-600);
  font-weight: 700;
}

.panel-cta {
  display: block;
  margin: 18px 24px 22px;
  text-align: center;
  background: var(--navy-800);
  color: #ffffff;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(14, 42, 74, 0.22);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -120px, rgba(62, 124, 177, 0.14), transparent 65%),
    linear-gradient(180deg, var(--cloud) 0%, var(--paper) 100%);
  padding: 108px 0 0;
  border-bottom: 1px solid var(--line);
}

.hero-watermark {
  position: absolute;
  bottom: -40px;
  inset-inline-end: -90px;
  width: 460px;
  aspect-ratio: 850 / 424;
  background: url("assets/icon-navy.svg") center / contain no-repeat;
  opacity: 0.055;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
  padding-bottom: 72px;
}

.hero-badge {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(31, 78, 127, 0.08);
  border: 1px solid #dbe7f2;
  color: var(--navy-600);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 62px);
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--navy-900);
  margin-bottom: 26px;
}

.hero-grad {
  background: linear-gradient(92deg, var(--navy-800) 10%, var(--navy-450) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: 17.5px;
  color: var(--body);
  max-width: 640px;
  margin: 0 auto 38px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* Hero stats strip */
.hero-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-bottom: 84px;
}

.stat {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px 20px;
  text-align: center;
}

.stat-num {
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--navy-800);
  margin-bottom: 8px;
  transition: color 0.35s ease;
}

.stat-num span { font-size: 18px; color: var(--navy-450); }

.stat-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Sections ---------- */
.section {
  padding: 104px 0;
  border-bottom: 1px solid var(--line-soft);
}

.section-tint { background: var(--cloud); }

.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head.section-head--flush { margin-bottom: 0; }

.section-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(31, 78, 127, 0.08);
  border: 1px solid #dbe7f2;
  color: var(--navy-600);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.section-quote {
  margin-top: 18px;
  color: var(--body);
  font-size: 16.5px;
  border-inline-start: 3px solid var(--navy-450);
  padding-inline-start: 18px;
  max-width: 560px;
}

/* ---------- Mission ---------- */
.mission-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: stretch;
}

.mission-copy p { color: var(--body); margin-bottom: 16px; max-width: 560px; }

.mission-card {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}

.mission-emblem {
  position: absolute;
  top: 18px;
  inset-inline-end: -28px;
  width: 210px;
  height: auto;
  opacity: 0.09;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.mission-card h3 {
  font-weight: 800;
  font-size: 19px;
  color: var(--navy-900);
  position: relative;
}

.mission-card p { color: var(--body); font-size: 15px; position: relative; }

/* ---------- Process ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.step-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 28px 26px;
}

.step-badge {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-600));
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 20px;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.38s ease;
}

.step-card h3 {
  font-weight: 800;
  font-size: 16.5px;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.step-card p { font-size: 14.5px; color: var(--body); }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 34px 32px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(31, 78, 127, 0.09);
  display: grid;
  place-items: center;
  color: var(--navy-600);
  margin-bottom: 22px;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
  font-weight: 800;
  font-size: 20px;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.service-card p { font-size: 15px; color: var(--body); margin-bottom: 18px; }

.service-link {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy-600);
  transition: color 0.2s ease, transform 0.25s ease;
}
.service-link:hover { color: var(--navy-800); transform: translateX(3px); }
html[lang="ar"] .service-link:hover { transform: translateX(-3px); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.about-copy p { color: var(--body); margin-bottom: 16px; max-width: 560px; }

.about-quote {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 36px 34px;
}

.about-emblem {
  width: 68px;
  height: auto;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-quote p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--navy-900);
  font-weight: 500;
}

.about-quote strong { font-weight: 800; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-copy .lead { margin-top: 4px; }

.contact-points {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-points li {
  position: relative;
  padding-inline-start: 34px;
  color: var(--body);
  font-weight: 500;
}

.contact-points li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(31, 78, 127, 0.1);
  color: var(--navy-600);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 38px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.hp-field {
  position: absolute;
  inset-inline-start: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.hp-secondary {
  position: fixed;
  bottom: -200vh;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  overflow: hidden;
  pointer-events: none;
}

.field { margin-bottom: 18px; }

.field label,
.field-heading {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.dest-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.dest-option {
  position: relative;
  display: block;
  margin: 0;
}

.dest-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.dest-option span {
  display: grid;
  place-items: center;
  min-block-size: 46px;
  padding: 10px 12px;
  background: var(--cloud);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  color: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.dest-option span:hover {
  border-color: var(--navy-450);
  color: var(--navy-800);
}

.dest-option input:focus-visible + span {
  outline: none;
  border-color: var(--navy-450);
  box-shadow: 0 0 0 3px rgba(62, 124, 177, 0.16);
}

.dest-option input:checked + span {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  box-shadow: 0 8px 18px rgba(18, 52, 90, 0.16);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--cloud);
  border: 1px solid var(--input-border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--faint);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--navy-450);
  box-shadow: 0 0 0 3px rgba(62, 124, 177, 0.14);
  background: var(--paper);
}

.field-optional {
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--faint);
  margin-inline-start: 4px;
}

.phone-group {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 10px;
  direction: ltr;
}

.field select.phone-code-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 14px 26px 14px 10px;
  background-color: var(--cloud);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234f6480' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  text-align: left;
  direction: ltr;
}
.field select.phone-code-select:focus-visible {
  background-color: var(--paper);
}

.phone-group input[type="tel"] {
  direction: ltr;
  text-align: left;
}

.field textarea { resize: vertical; }

.form-note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--faint);
  text-align: center;
}
.form-note.is-success {
  color: var(--navy-700);
  font-weight: 600;
}
.form-note.is-error {
  color: #b42318;
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--cloud);
  border-top: 1px solid var(--line);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 52px;
}

.brand-footer .brand-mark { height: 42px; }
.brand-footer .brand-name { font-size: 22px; }
.brand-footer .brand-sub { font-size: 8px; margin-top: 4px; }

.footer-brand p {
  margin-top: 20px;
  font-size: 14px;
  color: var(--body);
  max-width: 320px;
}

.footer-col { display: flex; flex-direction: column; gap: 12px; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-800);
  margin-bottom: 8px;
}

.footer-col a, .footer-static {
  font-size: 14px;
  color: var(--body);
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--navy-800); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 22px 0;
}

.footer-bottom p { font-size: 12.5px; color: var(--muted); }

.footer-emblem {
  height: 140px;
  background: url("assets/icon-navy.svg") center bottom / auto 130px no-repeat;
  opacity: 0.07;
  pointer-events: none;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Refined Card Cursor & Gentle Hover (after .reveal so hover transform stays active) ---------- */
.card-surface {
  position: relative;
  overflow: hidden;
  cursor: default;
  transition:
    opacity 0.7s ease,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.38s ease;
}

.card-surface * { cursor: inherit; }
.card-surface a,
.card-surface button { cursor: pointer; }

.card-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at 88% 0%, rgba(62, 124, 177, 0.075), transparent 68%);
  opacity: 0;
  transition: opacity 0.38s ease;
  pointer-events: none;
}

.card-surface.reveal.visible:hover,
.card-surface:hover {
  transform: translateY(-4px);
  border-color: #c5d7eb;
  box-shadow: var(--shadow-hover);
}

.card-surface:hover::before { opacity: 1; }
.service-card:hover .service-icon {
  background: rgba(31, 78, 127, 0.14);
  transform: scale(1.06);
}
.step-card:hover .step-badge {
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(18, 52, 90, 0.22);
}
.stat:hover .stat-num { color: var(--navy-900); }
.mission-card:hover .mission-emblem {
  opacity: 0.13;
  transform: scale(1.03);
}
.about-quote:hover .about-emblem { transform: scale(1.05); }

/* ---------- Arabic RTL Typography Adjustments ---------- */
html[lang="ar"] :is(
  .hero-badge,
  .hero-title,
  .title,
  .section-tag,
  .stat-label,
  .btn,
  .field label,
  .field-heading,
  .footer-col h4,
  .nav-link,
  .nav-cta,
  .panel-link,
  .panel-cta
) {
  letter-spacing: 0;
}

html[lang="ar"] .hero-title { line-height: 1.28; }
html[lang="ar"] .title { line-height: 1.4; }
html[lang="ar"] .stat-num span { font-size: 16px; margin-inline-start: 2px; }
html[lang="ar"] .nav-panel { direction: rtl; text-align: right; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card-surface, .card-surface::before, .service-icon, .step-badge, .mission-emblem, .about-emblem,
  .btn, .nav-toggle span, .nav-panel, .nav-link::after, .service-link, .lang-toggle, .dest-option span { transition: none; }
  .card-surface.reveal.visible:hover,
  .card-surface:hover { transform: none; }
  html { scroll-behavior: auto; }
}

@media (forced-colors: active) {
  .nav-link:is(:target-current, .active),
  .panel-link:is(:target-current, .active),
  .field input:focus-visible,
  .field textarea:focus-visible,
  .dest-option input:focus-visible + span {
    outline: 2px solid Highlight;
  }
  .btn-primary,
  .nav-cta,
  .panel-cta,
  .step-badge,
  .lang-toggle,
  .dest-option input:checked + span {
    border: 1px solid ButtonText;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-panel { display: block; }

  .hero-stats { grid-template-columns: 1fr 1fr; padding-bottom: 64px; }
  .mission-grid, .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-watermark { width: 340px; inset-inline-end: -110px; }
}

@media (max-width: 560px) {
  .hero { padding-top: 76px; }
  .hero-inner { padding-bottom: 52px; }
  .section { padding: 76px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .phone-group { grid-template-columns: 92px 1fr; gap: 8px; }
  .dest-group { gap: 7px; }
  .dest-option span { padding: 10px 6px; font-size: 13px; }
  .contact-form { padding: 26px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 56px; }
  .stat { padding: 16px 12px; }
  .stat-num { font-size: 26px; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-mark { height: 30px; }
  .brand-name { font-size: 17px; }
  .brand-sub { font-size: 6.8px; margin-top: 3px; }
  .brand-footer .brand-mark { height: 36px; }
  .brand-footer .brand-name { font-size: 19px; }
  .header-actions { gap: 8px; }
  .lang-toggle { padding: 5px 12px; font-size: 12px; min-block-size: 34px; }
  .section-head { margin-bottom: 32px; }
}

/* Desktop wide check */
@media (min-width: 1600px) {
  .hero-inner { max-width: 940px; }
}
