/* ==========================================================================
   TOKENS
   ========================================================================== */
:root {
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --surface-alt: #F2F1EA;
  --border: #E5E2D8;
  --ink: #12141C;
  --ink-soft: #5B5F6B;
  --ink-faint: #8B8E97;

  --accent: #2451FF;
  --accent-dark: #1638C4;
  --accent-soft: #EAEFFF;
  --accent-2: #FF6B45;
  --accent-2-soft: #FFEDE6;
  --good: #16A34A;

  --font-display: 'Space Grotesk', 'Tajawal', sans-serif;
  --font-body: 'Inter', 'Tajawal', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(18, 20, 28, 0.05);
  --shadow-md: 0 12px 32px rgba(18, 20, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(18, 20, 28, 0.14);

  --container-w: 1180px;
  --nav-h: 76px;
}

html[data-lang="ar"] {
  --font-display: 'Tajawal', sans-serif;
  --font-body: 'Tajawal', sans-serif;
}

/* ==========================================================================
   RESET
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, button { font-size: 16px; }

:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}

/* subtle ambient background */
body {
  background-image:
    radial-gradient(720px 420px at 88% -8%, rgba(36, 81, 255, 0.06), transparent 60%),
    radial-gradient(600px 380px at -6% 18%, rgba(255, 107, 69, 0.05), transparent 60%);
  background-repeat: no-repeat;
}

/* ==========================================================================
   EYEBROW / SECTION HEAD
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section { padding: 88px 0; }
.section--alt { background: var(--surface-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}
.btn--block { width: 100%; }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(250, 250, 247, 0.82);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.brand__name { font-size: 17px; color: var(--ink); }
.brand__dot { color: var(--accent-2); }

.navlinks { display: none; align-items: center; gap: 34px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft); }
.navlinks a { position: relative; padding: 6px 0; transition: color 0.2s ease; }
.navlinks a:hover { color: var(--ink); }
.navlinks a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.navlinks a:hover::after { transform: scaleX(1); }

.navbar__right { display: flex; align-items: center; gap: 14px; }

.lang-switch {
  display: flex;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  border: none;
  background: transparent;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--ink-soft);
  transition: background 0.2s ease, color 0.2s ease;
}
.lang-btn.is-active { background: var(--ink); color: #fff; }
.lang-btn:not(.is-active):hover { color: var(--ink); }

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
}
.burger span { width: 16px; height: 2px; background: var(--ink); margin-inline: auto; transition: transform 0.25s ease, opacity 0.25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 900px) {
  .navlinks { display: flex; }
  .burger { display: none; }
}
@media (max-width: 899px) {
  .navlinks {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 26px;
    gap: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .navlinks.is-open { display: flex; transform: translateY(0); opacity: 1; pointer-events: auto; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  display: grid;
  gap: 56px;
  padding: 56px 20px 64px;
  align-items: center;
}

.hero__left { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }

.hero__top-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.hero__photo-wrap { position: relative; }
.hero__photo {
  width: clamp(220px, 36vw, 320px);
  height: clamp(220px, 36vw, 320px);
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow-lg);
  outline: 2px solid var(--border);
}
.hero__badge {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--good);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}
.hero__badge::before {
  content: "";
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--good);
  margin-inline-end: 6px;
}
.hero__video { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__video-frame {
  position: relative;
  width: clamp(140px, 30vw, 190px);
  aspect-ratio: 9 / 16;
  border-radius: 26px;
  overflow: hidden;
  background: var(--ink);
  border: 6px solid var(--surface);
  outline: 2px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.hero__video-el { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); }
.hero__video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: rgba(18, 20, 28, 0.28);
  pointer-events: none;
}
.hero__video-el:not([poster]):hover + .hero__video-play,
.hero__video-el:focus + .hero__video-play { opacity: 0; }
.hero__video-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-faint);
  letter-spacing: 0.02em;
}

.hero__intro { max-width: 340px; color: var(--ink-soft); font-size: 15px; }

.hero__stats { display: flex; gap: 22px; }
.hero__stat { display: flex; flex-direction: column; align-items: center; }
.hero__stat-num { font-family: var(--font-mono); font-weight: 700; font-size: 18px; color: var(--ink); }
.hero__stat-label { font-size: 11.5px; color: var(--ink-faint); }

.hero__right { display: flex; flex-direction: column; align-items: flex-start; }
.hero__headline { font-size: clamp(34px, 5.4vw, 56px); font-weight: 700; margin-bottom: 20px; }
.hero__desc { font-size: 16.5px; color: var(--ink-soft); max-width: 540px; margin-bottom: 30px; }
.hero__desc em { color: var(--accent-2); font-style: normal; font-weight: 600; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero__showcase {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  max-width: 480px;
  width: 100%;
}
.hero__showcase img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero__showcase figcaption {
  padding: 14px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hero__showcase figcaption span { font-family: var(--font-mono); font-size: 11.5px; color: var(--accent); font-weight: 600; }
.hero__showcase figcaption strong { font-size: 15px; font-weight: 600; }

@media (min-width: 860px) {
  .hero { grid-template-columns: 340px 1fr; padding-top: 76px; }
  .hero__left { text-align: start; align-items: flex-start; }
  .hero__intro { text-align: start; }
}

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--ink);
  overflow: hidden;
  padding: 14px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  gap: 44px;
  animation: ticker-scroll 26s linear infinite;
}
.ticker__item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.ticker__item b { color: #fff; font-weight: 700; margin-inline-start: 6px; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[dir="rtl"] .ticker__track { animation-name: ticker-scroll-rtl; }
@keyframes ticker-scroll-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
.cards-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  perspective: 1400px;
  min-height: 460px;
}
.service-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 460px;
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  transform-style: preserve-3d;
}
.service-card:hover .service-card__inner { transform: translateY(-6px); }
.service-card.is-flipped .service-card__inner { transform: rotateY(180deg); }
.service-card.is-flipped:hover .service-card__inner { transform: rotateY(180deg) translateY(-6px); }

.service-card__front,
.service-card__back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover .service-card__front,
.service-card:hover .service-card__back { box-shadow: var(--shadow-md); border-color: transparent; }
.service-card__back { transform: rotateY(180deg); }

.service-card__front img,
.service-card__back img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.service-card__front { padding-bottom: 22px; }
.service-card__front h3,
.service-card__front p,
.service-card__front .service-card__tag,
.service-card__front .service-card__flip-hint { padding-inline: 26px; }
.service-card__back { padding-bottom: 22px; }
.service-card__back .service-card__list,
.service-card__back .service-card__flip-hint { padding-inline: 26px; }

.service-card__tag {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 7px;
  margin-top: 18px;
  margin-bottom: 14px;
}
.service-card--accent .service-card__tag { color: var(--accent-2); background: var(--accent-2-soft); }
.service-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 15px; margin-bottom: 16px; }
.service-card__flip-hint {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-dark);
  padding-top: 10px;
}
.service-card__back .service-card__list { margin-top: 20px; }
.service-card__list li {
  font-size: 13.5px;
  color: var(--ink-soft);
  padding-inline-start: 20px;
  position: relative;
  margin-bottom: 10px;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
}
html[dir="rtl"] .service-card__list li::before { left: auto; right: 0; }

@media (max-width: 719px) { .service-card, .service-card__inner { min-height: 420px; } }

/* ==========================================================================
   PROBLEM / SOLUTION
   ========================================================================== */
.ps-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 860px) { .ps-grid { grid-template-columns: 1fr 60px 1fr; } }

.ps-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
}
.ps-card__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.ps-card--problem { border-color: #F0D9CE; }
.ps-card--problem .ps-card__label { color: var(--accent-2); }
.ps-card--solution { border-color: #CFDBFF; background: linear-gradient(180deg, #fff, var(--accent-soft) 220%); }
.ps-card--solution .ps-card__label { color: var(--accent); }
.ps-card ul li { padding-inline-start: 22px; position: relative; margin-bottom: 16px; font-size: 15px; color: var(--ink); line-height: 1.55; }
.ps-card ul li:last-child { margin-bottom: 0; }
.ps-card--problem ul li::before { content: "×"; position: absolute; left: 0; top: -1px; color: var(--accent-2); font-weight: 700; }
.ps-card--solution ul li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--good); font-weight: 700; }
html[dir="rtl"] .ps-card ul li::before { left: auto; right: 0; }
.ps-card em { font-style: normal; color: var(--accent-dark); font-weight: 700; }

.ps-divider { display: flex; justify-content: center; }
.ps-divider span {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  transform: rotate(0deg);
}
html[dir="rtl"] .ps-divider span { transform: scaleX(-1); }
@media (max-width: 859px) { .ps-divider { display: none; } }

/* ==========================================================================
   PROJECT CARDS
   ========================================================================== */
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card__media { position: relative; }
.project-card__media img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; }
.project-card__tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  padding: 5px 10px;
  border-radius: 7px;
}
html[dir="rtl"] .project-card__tag { left: auto; right: 14px; }
.project-card__tag--accent { color: var(--accent-2); }
.project-card__body { padding: 22px 22px 26px; }
.project-card__body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.project-card__body p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 14px; }
.project-card__cta { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.project-card__social {
  display: inline-block;
  margin-top: 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  width: 100%;
}
.project-card__social:hover { color: var(--accent-dark); }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: rgba(18, 20, 28, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 0;
  overflow-y: auto;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__panel {
  background: var(--surface);
  width: 100%;
  min-height: 100%;
  max-width: 860px;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.35s ease;
}
.modal.is-open .modal__panel { transform: translateY(0); opacity: 1; }

@media (min-width: 720px) {
  .modal { padding: 40px 20px; align-items: center; }
  .modal__panel { border-radius: var(--radius-lg); min-height: auto; }
}

.modal__close {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 24px 26px 0;
  transition: color 0.2s ease;
}
.modal__close:hover { color: var(--ink); }

.modal__content { padding: 18px 26px 40px; }
.modal__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 10px;
  border-radius: 7px;
  margin-bottom: 16px;
}
.modal__title { font-size: clamp(24px, 4vw, 32px); font-weight: 700; margin-bottom: 14px; }
.modal__desc { color: var(--ink-soft); font-size: 15.5px; max-width: 620px; margin-bottom: 26px; }
.modal__image {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 30px;
}
.modal__breakdown h4 { font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.modal__breakdown ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.modal__breakdown li {
  font-size: 14.5px;
  color: var(--ink);
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
}
.modal__breakdown li b { color: var(--accent-dark); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 200px 1fr 360px; align-items: start; } }

.contact-socials { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; }
.contact-socials h3 { width: 100%; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
@media (min-width: 960px) { .contact-socials { flex-direction: column; } }

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 10px 16px;
  font-size: 13.5px;
  font-weight: 600;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.social-link:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent-dark); }
.social-link__icon { width: 18px; height: 18px; color: var(--ink); }
.social-link__icon svg { width: 100%; height: 100%; }

.contact-featured {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.contact-featured img { width: 100%; max-width: 450px; border-radius: var(--radius-md); aspect-ratio: 450/280; object-fit: cover; margin-bottom: 20px; }
.contact-featured__eyebrow { display: block; font-family: var(--font-mono); font-size: 11.5px; font-weight: 700; color: var(--accent-2); margin-bottom: 8px; }
.contact-featured h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.contact-featured p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; }
.contact-featured__kpis { display: flex; gap: 26px; flex-wrap: wrap; }
.contact-featured__kpis div { display: flex; flex-direction: column; }
.contact-featured__kpis span { font-family: var(--font-mono); font-weight: 700; font-size: 20px; color: var(--ink); }
.contact-featured__kpis small { font-size: 11.5px; color: var(--ink-faint); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }

.field { display: flex; flex-direction: column; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); }

.field input,
.field select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2312141C'><path d='M5.5 7.5l4.5 5 4.5-5' stroke='%2312141C' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat right 14px center;
  background-size: 14px;
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
html[dir="rtl"] .field select { background-position: left 14px center; }
.field input { background-image: none; }
.field input::placeholder { color: var(--ink-faint); font-weight: 500; }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

.field select {
  color: var(--ink) !important;
  background-color: var(--surface) !important;
  font-weight: 700;
}
.field select option {
  color: var(--ink) !important;
  background-color: var(--surface) !important;
  font-weight: 600;
  padding: 10px;
}
.field select:invalid { color: var(--ink-faint) !important; }

.contact-form__note { text-align: center; font-size: 12.5px; color: var(--ink-faint); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: 30px 0 46px; }
.footer__inner { text-align: center; font-size: 13px; color: var(--ink-faint); }

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 200;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ==========================================================================
   BODY LOCK
   ========================================================================== */
body.no-scroll { overflow: hidden; }

/* ==========================================================================
   WHATSAPP BUTTON & MODAL FORM STYLES
   ========================================================================== */
.wa-float-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
html[dir="rtl"] .wa-float-btn { right: auto; left: 26px; }

.wa-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
}
.wa-icon {
  width: 32px;
  height: 32px;
}

.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}
.wa-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.wa-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 28, 0.6);
  backdrop-filter: blur(4px);
}
.wa-modal__card {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 440px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.wa-modal.is-open .wa-modal__card {
  transform: translateY(0);
}
.wa-modal__close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 26px;
  color: var(--ink-faint);
  cursor: pointer;
  line-height: 1;
}
html[dir="rtl"] .wa-modal__close { right: auto; left: 18px; }

.wa-modal__close:hover { color: var(--ink); }
.wa-modal__header { margin-bottom: 20px; }
.wa-modal__header h3 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.wa-modal__header p { font-size: 13.5px; color: var(--ink-soft); }

.wa-form { display: flex; flex-direction: column; gap: 14px; }
.wa-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 14.5px;
  resize: vertical;
}
.wa-form textarea:focus {
  border-color: #25D366;
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.15);
}
.wa-submit-btn {
  background: #25D366 !important;
  color: #fff !important;
  border: none;
  margin-top: 6px;
}
.wa-submit-btn:hover {
  background: #1ebc57 !important;
}