/* ═══════════════════════════════════════════════════════════
   SELF-HOSTED FONTS — IBM Plex Sans Arabic
   No CDN dependency, loads before any GP styles
   ═══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-arabic-100.woff') format('woff'),
       url('../fonts/ibm-plex-arabic-100.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-arabic-200.woff') format('woff'),
       url('../fonts/ibm-plex-arabic-200.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-arabic-300.woff') format('woff'),
       url('../fonts/ibm-plex-arabic-300.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-arabic-400.woff') format('woff'),
       url('../fonts/ibm-plex-arabic-400.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-arabic-500.woff') format('woff'),
       url('../fonts/ibm-plex-arabic-500.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-arabic-600.woff') format('woff'),
       url('../fonts/ibm-plex-arabic-600.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IBM Plex Sans Arabic';
  src: url('../fonts/ibm-plex-arabic-700.woff') format('woff'),
       url('../fonts/ibm-plex-arabic-700.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Noto Kufi Arabic + IBM Plex Sans Arabic are loaded directly via <link>
   in wp_head (see functions.php → hdqah_inject_fonts).
   @import was removed because cache plugins strip it.
   The @font-face declarations above remain as an offline fallback only. */

/* ═══════════════════════════════════════════════════════════
   GP OVERRIDES — must come first, highest priority
   ═══════════════════════════════════════════════════════════ */

/* 1. Fonts — preempt GP font-family declarations */
html body.hdqah-theme,
html body.hdqah-theme * {
	font-family: 'IBM Plex Sans Arabic', system-ui, sans-serif;
}
html body.hdqah-theme h1,
html body.hdqah-theme h2,
html body.hdqah-theme h3,
html body.hdqah-theme h4,
html body.hdqah-theme h5,
html body.hdqah-theme h6 {
	font-family: 'Noto Kufi Arabic', system-ui, sans-serif;
}

/* 2. Links — kill GP underlines */
html body.hdqah-theme a,
html body.hdqah-theme a:link,
html body.hdqah-theme a:visited,
html body.hdqah-theme a:hover,
html body.hdqah-theme a:focus,
html body.hdqah-theme a:active {
	text-decoration: none !important;
	border-bottom: none !important;
	box-shadow: none !important;
}

/* 3. Container — scoped to HOME TEMPLATE only.
   On other pages, GP's "Contained / Full Width" setting is respected. */
html body.hdqah-home-page .site-content,
html body.hdqah-home-page .content-area,
html body.hdqah-home-page .entry-content,
html body.hdqah-home-page .inside-article,
html body.hdqah-home-page article,
html body.hdqah-home-page .site-main {
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
}

/* 4. Body base (safe everywhere) */
html body.hdqah-theme {
	background: #FFFFFF;
	color: #0F0F0F;
	line-height: 1.75;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* 5. GP default navigation — hide ONLY on home template
   (we replace it with nav-home.php there). Other pages keep GP nav. */
html body.hdqah-home-page .main-nav,
html body.hdqah-home-page .nav-float,
html body.hdqah-home-page #site-navigation {
	display: none !important;
}

/* 6. Admin bar offset for our nav */
html body.hdqah-theme.admin-bar .nav {
	top: 32px;
}
@media (max-width: 782px) {
	html body.hdqah-theme.admin-bar .nav {
		top: 46px;
	}
}

/* ═══════════════════════════════════════════════════════════ */


/* ─── TECH STACK MARQUEE ─────────────────────────── */
.tech-stack {
  background: #1a1a1a;
  padding: 32px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  direction: ltr;
}
.tech-stack-label {
  direction: rtl;
}
/* label continued */
.tech-stack-label {
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  color: #4B5563;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  font-family: var(--font-body);
  text-transform: uppercase;
}
.marquee-wrapper {
  direction: ltr;
  unicode-bidi: isolate;
  overflow: hidden;
  display: flex;
  gap: 80px;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-group {
  display: flex;
  align-items: center;
  gap: 72px;
  min-width: 100%;
  flex-shrink: 0;
  animation: scrollX 45s linear infinite;
}
.marquee-wrapper:hover .marquee-group { animation-play-state: paused; }
.partner-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9CA3AF;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  font-family: var(--font-body);
  opacity: 0.7;
  transition: opacity 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}
.partner-logo:hover { opacity: 1; color: #E5E7EB; }
.partner-logo svg,
.partner-logo img { 
  flex-shrink: 0; 
  display: block;
  filter: grayscale(1) opacity(0.6);
  transition: filter 0.2s ease;
}
.partner-logo:hover svg,
.partner-logo:hover img { 
  filter: grayscale(0) opacity(1);
}
.partner-logo .p-name { letter-spacing: 0.2px; }
@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - 72px)); }
}
@media (max-width: 768px) {
  .tech-stack { padding: 28px 0; }
  .marquee-group { gap: 44px; animation-duration: 32s; }
  .partner-logo { font-size: 13px; }
}


/* ═══════════════════════════════════════════════════════════
   HDQAH — Landing Page Redesign
   Primary: #ed6a45  ·  Ink: #0F0F0F  ·  Navy: #1e3a5f
   ═══════════════════════════════════════════════════════════ */

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

:root {
  --brand: #ed6a45;
  --brand-dark: #d1542f;
  --brand-tint: #fdf0eb;
  --brand-border: rgba(237, 106, 69, 0.22);

  --navy: #1e3a5f;
  --navy-tint: #eef2f8;

  --ink: #0F0F0F;
  --ink-2: #2a2a2a;
  --ink-3: #5a5a5a;
  --ink-4: #8a8a8a;

  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --bg-surface: #f1f3f6;
  --border: #e6e8ec;
  --border-2: #eef0f3;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  --font-display: 'Noto Kufi Arabic', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', system-ui, sans-serif;

  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.04);
  --shadow-md: 0 6px 20px rgba(15, 15, 15, 0.06);
  --shadow-lg: 0 18px 48px rgba(15, 15, 15, 0.08);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 0.3s;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  width: 100% !important;
}

/* ─── BUTTONS ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  min-height: 48px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 16px rgba(237, 106, 69, 0.28);
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(237, 106, 69, 0.35); }
.btn-secondary {
  background: #fff; color: var(--ink); border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--ink-4); }
.btn-dark {
  background: var(--ink); color: #fff;
}
.btn-dark:hover { background: var(--navy); transform: translateY(-1px); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3); }

/* ─── NAV ─────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; inset-inline: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800;
  color: var(--ink); letter-spacing: -0.02em;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.nav-logo-dot { color: var(--brand); }
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-3);
  transition: color var(--dur) var(--ease);
  padding: 6px 2px;
}
.nav-links a:hover { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta {
  background: var(--brand); color: #fff;
  padding: 10px 20px; min-height: 42px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border); background: #fff;
  border-radius: 10px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 4px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: absolute; top: 100%; inset-inline: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 20px;
  box-shadow: var(--shadow-md);
}
.nav-mobile.open { display: block; animation: slideDown 0.25s var(--ease); }
.nav-mobile ul { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; }
.nav-mobile a {
  display: block; padding: 14px 12px;
  font-size: 15.5px; font-weight: 500; color: var(--ink-2);
  border-radius: 10px;
  min-height: 48px;
}
.nav-mobile a:hover { background: var(--bg-alt); color: var(--ink); }
.nav-mobile .btn { width: 100%; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── HERO ────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: var(--bg);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 800px 500px at 50% -10%, rgba(237, 106, 69, 0.10), transparent 60%),
    radial-gradient(ellipse 600px 500px at 85% 40%, rgba(30, 58, 95, 0.06), transparent 60%),
    radial-gradient(ellipse 500px 400px at 10% 80%, rgba(237, 106, 69, 0.05), transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(15, 15, 15, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 15, 15, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

.hero-inner { text-align: center; max-width: 860px; margin: 0 auto; position: relative; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  border: 1px solid var(--brand-border);
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-badge-dot {
  width: 7px; height: 7px; background: var(--brand); border-radius: 50%;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
  text-wrap: balance;
}
.hero h1 .brand-accent {
  color: var(--brand);
  position: relative;
  display: inline-block;
}
.hero h1 .brand-accent::after {
  content: ''; position: absolute;
  right: 0; left: 0; bottom: 0.08em;
  height: 0.18em;
  background: rgba(237, 106, 69, 0.18);
  z-index: -1;
  border-radius: 2px;
}

.hero-typing-line {
  font-family: var(--font-display);
  font-size: clamp(22px, 3.2vw, 36px);
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 28px;
  min-height: 1.5em;
  line-height: 1.4;
  display: flex; align-items: center; justify-content: center;
  gap: 0.4em;
  flex-wrap: wrap;
}
.hero-typing-prefix { color: var(--ink-3); font-weight: 500; }
.hero-typing-word {
  display: inline-block;
  min-width: 4ch;
  color: var(--brand);
  font-weight: 700;
  border-inline-end: 2px solid var(--brand);
  padding-inline-end: 4px;
  animation: caretBlink 0.9s step-end infinite;
}
@keyframes caretBlink {
  0%, 100% { border-inline-end-color: var(--brand); }
  50% { border-inline-end-color: transparent; }
}

.hero-sub {
  font-size: 17px;
  color: var(--ink-3);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.85;
}

.hero-actions {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  max-width: 720px; margin: 0 auto;
}
.hero-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--ink-3); font-weight: 500;
}
.hero-trust-item svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

/* ─── SECTION SHARED ───────────────────────────────── */
section { padding: 96px 0; }

.section-head { text-align: center; margin-bottom: 56px; max-width: 700px; margin-inline: auto; }
.section-head.align-start { text-align: start; margin-inline: 0; }

.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700;
  color: var(--brand);
  letter-spacing: 1.2px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-eyebrow::before {
  content: ''; width: 24px; height: 2px; background: var(--brand); border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-desc {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.85;
  max-width: 620px;
  margin-bottom: 28px;
}
.section-head .section-desc { margin-inline: auto; }
.section-head.align-start .section-desc { margin-inline: 0; }

/* ─── PRODUCTS ───────────────────────────────────── */
.products { background: var(--bg); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--brand);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--dur) var(--ease);
}
.product-card:hover::before { transform: scaleX(1); }

.product-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px; margin-bottom: 20px;
}
.product-icon {
  width: 54px; height: 54px;
  border-radius: 12px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.product-icon svg { width: 26px; height: 26px; }

.product-status {
  font-size: 11px; font-weight: 700;
  color: var(--ink-4);
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-alt);
  white-space: nowrap;
}
.product-status.live {
  color: #047857; background: #ecfdf5; border-color: #a7f3d0;
}
.product-status.live::before {
  content: '●'; margin-inline-end: 4px; color: #10b981;
}

.product-title-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.product-name {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.product-name-en {
  font-size: 13px; color: var(--ink-4); font-weight: 500;
  direction: ltr;
  letter-spacing: 0.3px;
}

.product-desc {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.8;
  margin-bottom: 20px;
  flex: 1;
}

.product-mockup {
  background: var(--bg-alt);
  border: 1px solid var(--border-2);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
  min-height: 140px;
  display: flex; flex-direction: column; gap: 8px;
}
.mock-bar { height: 8px; background: #e1e4ea; border-radius: 4px; }
.mock-bar.accent { background: rgba(237, 106, 69, 0.5); }
.mock-bar.short { width: 40%; }
.mock-bar.mid { width: 65%; }
.mock-bar.long { width: 85%; }
.mock-row { display: flex; gap: 8px; align-items: center; }
.mock-dot { width: 24px; height: 24px; border-radius: 6px; background: #dde1e7; flex-shrink: 0; }
.mock-dot.accent { background: var(--brand-tint); }
.mock-chip {
  font-size: 10.5px; padding: 3px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); color: var(--ink-4);
  font-weight: 600;
}
.mock-chip.accent { color: var(--brand); border-color: var(--brand-border); background: var(--brand-tint); }

.product-meta {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px;
}
.product-tag {
  font-size: 11.5px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border-2);
  color: var(--ink-3);
  font-weight: 500;
}

.product-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600;
  color: var(--brand);
  margin-top: auto;
  min-height: 32px;
}
.product-link svg { width: 14px; height: 14px; transform: scaleX(-1); transition: transform var(--dur) var(--ease); }
.product-link:hover svg { transform: scaleX(-1) translateX(3px); }

/* ─── DOMAIN SEARCH ───────────────────────────────── */
.domains { background: var(--bg-alt); }

.domain-widget {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.domain-search {
  display: flex;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  margin-bottom: 28px;
  gap: 6px;
}
.domain-search input {
  flex: 1;
  background: none;
  border: none; outline: none;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  padding: 12px 16px;
  min-width: 0;
  direction: ltr; text-align: left;
}
.domain-search input::placeholder { color: var(--ink-4); }
.domain-search button {
  background: var(--brand); color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  min-height: 46px;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background var(--dur) var(--ease);
  flex-shrink: 0;
}
.domain-search button:hover { background: var(--brand-dark); }
.domain-search button svg { width: 16px; height: 16px; }

.domain-tlds-label {
  font-size: 13px; color: var(--ink-4); font-weight: 600;
  margin-bottom: 14px;
}
.domain-tlds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.domain-tld {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-2);
  border-radius: 10px;
  transition: all var(--dur) var(--ease);
  min-height: 56px;
}
.domain-tld:hover { border-color: var(--brand-border); background: var(--brand-tint); }
.domain-tld.featured {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.domain-tld.featured .domain-tld-price { color: rgba(255,255,255,0.85); }
.domain-tld-ext { font-weight: 700; font-size: 16px; direction: ltr; letter-spacing: -0.01em; }
.domain-tld-price { font-size: 12px; color: var(--ink-4); font-weight: 500; }

.domain-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border-2);
}
.domain-feat {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.domain-feat svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

/* ─── SERVICES ────────────────────────────────────── */
.services { background: var(--bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 28px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--navy-tint);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-card:nth-child(3n+1) .service-icon { background: var(--brand-tint); color: var(--brand); }
.service-icon svg { width: 22px; height: 22px; }

.service-name {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}
.service-desc {
  font-size: 14.5px;
  color: var(--ink-3);
  line-height: 1.8;
  margin-bottom: 16px;
}
.service-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 6px;
}
.service-list li {
  font-size: 13.5px;
  color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
  padding: 2px 0;
}
.service-list li::before {
  content: ''; width: 5px; height: 5px; background: var(--brand); border-radius: 50%; flex-shrink: 0;
}

/* ─── PORTFOLIO ─────────────────────────────────── */
.portfolio { background: var(--bg-alt); }

.portfolio-featured {
  background: var(--ink);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  color: #fff;
  margin-bottom: 40px;
  box-shadow: var(--shadow-lg);
}
.portfolio-featured-content {
  padding: 48px;
  display: flex; flex-direction: column; justify-content: center;
}
.portfolio-featured-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  color: var(--brand);
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px;
}
.portfolio-featured h3 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.portfolio-featured-sub {
  font-size: 15px; color: rgba(255,255,255,0.6);
  margin-bottom: 24px;
  direction: ltr; text-align: start;
}
.portfolio-featured-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.85;
  margin-bottom: 28px;
}
.portfolio-featured-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.portfolio-featured-stat-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.portfolio-featured-stat-label {
  font-size: 12.5px; color: rgba(255,255,255,0.55);
}
.portfolio-featured-techs {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 28px;
}
.portfolio-featured-tech {
  font-size: 12px; padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.portfolio-featured-visual {
  position: relative;
  background:
    radial-gradient(ellipse 500px 400px at 70% 30%, rgba(237, 106, 69, 0.28), transparent 60%),
    linear-gradient(135deg, #1a1a1a, #0a0a0a);
  padding: 48px;
  display: flex; align-items: center; justify-content: center;
  min-height: 380px;
}
.mock-browser {
  width: 100%; max-width: 440px;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.mock-browser-bar {
  padding: 10px 14px;
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; gap: 8px;
}
.mock-browser-dots { display: flex; gap: 5px; }
.mock-browser-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mock-browser-url {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: 10.5px; color: rgba(255,255,255,0.5);
  direction: ltr; text-align: center;
  font-family: 'IBM Plex Sans Arabic', sans-serif;
}
.mock-browser-body {
  padding: 18px;
  background: linear-gradient(180deg, #1a1a1a, #0a0a0a);
  display: flex; flex-direction: column; gap: 10px;
  min-height: 240px;
}
.mock-browser-body .mock-bar { background: rgba(255,255,255,0.1); }
.mock-browser-body .mock-bar.accent { background: rgba(237, 106, 69, 0.7); height: 12px; }
.mock-browser-body .mock-dot { background: rgba(255,255,255,0.08); }
.mock-browser-body .mock-dot.accent { background: rgba(237, 106, 69, 0.25); }
.mock-browser-body .mock-chip { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); }

.portfolio-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio-mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 24px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.portfolio-mini-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-border);
}
.portfolio-mini-name {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}
.portfolio-mini-type { font-size: 13px; color: var(--ink-4); margin-bottom: 12px; }
.portfolio-mini-url {
  font-size: 12px; color: var(--brand); direction: ltr; text-align: start;
  font-weight: 500;
}

/* ─── CONTACT / CTA ──────────────────────────────── */
.contact {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 20% 0%, rgba(237, 106, 69, 0.18), transparent 60%),
    radial-gradient(ellipse 600px 500px at 80% 100%, rgba(30, 58, 95, 0.5), transparent 60%);
  pointer-events: none;
}
.contact-inner {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  text-align: center;
}
.contact .section-eyebrow { color: var(--brand); }
.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #fff;
  margin-bottom: 18px;
  text-wrap: balance;
}
.contact p {
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  line-height: 1.85;
  max-width: 560px;
  margin: 0 auto 36px;
}
.contact-actions {
  display: flex; justify-content: center; align-items: center;
  gap: 12px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.contact-actions .btn-secondary {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  color: #fff;
}
.contact-actions .btn-secondary:hover { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.3); }

.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 700px; margin: 0 auto;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.contact-channel {
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  transition: all var(--dur) var(--ease);
}
.contact-channel:hover { background: rgba(255,255,255,0.08); border-color: rgba(237, 106, 69, 0.4); }
.contact-channel-label {
  font-size: 12px; color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
  font-weight: 500;
}
.contact-channel-value {
  font-size: 14px; color: #fff;
  font-weight: 600;
  direction: ltr; text-align: start;
  word-break: break-all;
}

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: #fafbfc;
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
  display: inline-flex; align-items: baseline; gap: 2px;
}
.footer-brand span { color: var(--brand); }
.footer-tagline {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.8;
  max-width: 280px;
  margin-bottom: 18px;
}
.footer-col-title {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: 0.2px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: var(--ink-3);
  transition: color var(--dur) var(--ease);
  display: inline-block; padding: 2px 0;
}
.footer-links a:hover { color: var(--brand); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--ink-4); }
.footer-socials { display: flex; gap: 8px; }
.footer-social {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-3);
  transition: all var(--dur) var(--ease);
}
.footer-social:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-tint); }
.footer-social svg { width: 16px; height: 16px; }

/* ─── REVEAL ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── WHATSAPP FLOAT ─────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 80px; inset-inline-end: 20px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4);
  transition: transform var(--dur) var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile-first fixes
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-mini { grid-template-columns: repeat(2, 1fr); }
  .portfolio-featured { grid-template-columns: 1fr; }
  .portfolio-featured-visual { min-height: 300px; padding: 36px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .domain-tlds { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  .nav { padding: 10px 0; }
  .nav-inner { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta-desktop { display: none; }
  /* Mobile nav-cta: small, compact, stays visible */
  .nav-actions .nav-cta-mobile {
    display: inline-flex;
    padding: 8px 14px;
    min-height: 38px;
    font-size: 13px;
  }

  .container { padding: 0 20px; }

  /* Hero */
  .hero { padding: 100px 0 64px; }
  .hero-badge { margin-bottom: 20px; font-size: 12px; padding: 6px 14px; }
  .hero h1 { margin-bottom: 18px; }
  .hero-typing-line { margin-bottom: 22px; gap: 0.3em; }
  .hero-sub { font-size: 15.5px; margin-bottom: 28px; }
  .hero-actions { margin-bottom: 44px; gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; min-width: 140px; }
  .hero-trust { gap: 16px 24px; padding-top: 24px; font-size: 12.5px; }
  .hero-grid { background-size: 40px 40px; }

  /* Sections */
  .section-head { margin-bottom: 40px; }

  /* Products */
  .products-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card { padding: 22px; }
  .product-mockup { padding: 14px; min-height: 110px; }
  .product-head { margin-bottom: 16px; }
  .product-icon { width: 46px; height: 46px; }
  .product-icon svg { width: 22px; height: 22px; }
  .product-name { font-size: 20px; }

  /* Domain */
  .domain-widget { padding: 24px; border-radius: var(--r-md); }
  .domain-search { flex-direction: column; padding: 10px; gap: 8px; }
  .domain-search input { padding: 12px 14px; text-align: center; font-size: 15px; }
  .domain-search button { width: 100%; justify-content: center; }
  .domain-tlds { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .domain-tld { padding: 12px 14px; min-height: 52px; }
  .domain-features { grid-template-columns: 1fr; gap: 10px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { padding: 22px; }

  /* Portfolio */
  .portfolio-featured-content { padding: 32px 24px; }
  .portfolio-featured-visual { padding: 28px 24px; min-height: 240px; }
  .portfolio-featured-stats { gap: 12px; padding: 18px 0; margin-bottom: 22px; }
  .portfolio-featured-stat-num { font-size: 22px; }
  .portfolio-featured-stat-label { font-size: 11.5px; }
  .portfolio-mini { grid-template-columns: 1fr; gap: 12px; }

  /* Contact */
  .contact-actions { flex-direction: column; width: 100%; }
  .contact-actions .btn { width: 100%; }
  .contact-channels { grid-template-columns: 1fr; gap: 10px; padding-top: 28px; }

  /* Footer */
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer-tagline { max-width: none; }
  .footer-bottom { flex-direction: column-reverse; text-align: center; gap: 18px; }

  /* Float */
  .wa-float { width: 52px; height: 52px; bottom: 76px; inset-inline-end: 16px; }
  .wa-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 90px 0 56px; }
  .hero h1 { font-size: clamp(28px, 8vw, 36px); }
  .hero-typing-line { font-size: clamp(18px, 5.5vw, 22px); }
  .hero-sub { font-size: 14.5px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-trust { flex-direction: column; gap: 12px; align-items: flex-start; text-align: start; max-width: 280px; }
  .hero-trust-item { width: 100%; justify-content: flex-start; }

  .section-title { font-size: clamp(24px, 7vw, 30px); }
  .domain-tlds { grid-template-columns: 1fr; }
  .portfolio-featured-stats { grid-template-columns: 1fr; gap: 8px; text-align: start; }
  .portfolio-featured-content { padding: 28px 20px; }
  .portfolio-featured-visual { padding: 24px 20px; min-height: 200px; }

  .nav-logo { font-size: 21px; }
  .nav-actions .nav-cta-mobile { padding: 8px 12px; font-size: 12.5px; min-height: 36px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-typing-word { border-inline-end-color: var(--brand) !important; }
}



/* ═══════════════════════════════════════════════════════════
   WORDPRESS OVERRIDES — fixes for GP conflicts
   ═══════════════════════════════════════════════════════════ */

/* 1. Remove ALL link underlines */
.hdqah-home-page a { text-decoration: none !important; }
.hdqah-home-page a:hover { text-decoration: none !important; }

/* 2. GP resets body margin/padding we need */
.hdqah-home-page .site,
.hdqah-home-page .site-content,
.hdqah-home-page .content-area,
.hdqah-home-page .entry-content,
.hdqah-home-page .inside-article,
.hdqah-home-page article.page {
	padding: 0 !important;
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
}

/* 3. Nothing here — do NOT hide .site-footer / #colophon.
   Our custom footer is rendered *inside* them via generate_footer hook,
   so hiding the container hides our own markup.
   Same for .site-header: our nav is rendered inside it via generate_header. */

/* 4. Admin bar offset */
.admin-bar .nav { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .nav { top: 46px; }
}

/* ─── POLYLANG LANGUAGE SWITCHER ─────────────────────────── */
.lang-switcher { display: inline-flex; }
.lang-switcher ul { display: flex; list-style: none; gap: 4px; margin: 0; padding: 0; }
.lang-switcher li a {
	display: inline-flex; align-items: center;
	height: 36px; padding: 0 14px;
	border-radius: 8px;
	border: 1px solid var(--border);
	background: #fff;
	color: var(--ink-3);
	font-size: 13px; font-weight: 600;
	text-decoration: none !important;
	transition: all var(--dur) var(--ease);
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.lang-switcher li a:hover {
	border-color: var(--brand);
	color: var(--brand);
}

/* ─── MARQUEE — CLEAN SINGLE DEFINITION ──────────────────── */
.tech-stack {
	background: #1a1a1a !important;
	padding: 32px 0 !important;
	overflow: hidden !important;
	display: flex !important;
	flex-direction: column !important;
	justify-content: center !important;
	min-height: unset !important;
}
.tech-stack-label {
	text-align: center !important;
	font-size: 12.5px !important;
	font-weight: 600 !important;
	color: #4B5563 !important;
	letter-spacing: 1.2px !important;
	margin-bottom: 16px !important;
	text-transform: uppercase !important;
	font-family: 'IBM Plex Sans Arabic', sans-serif !important;
}
.marquee-wrapper {
	direction: ltr !important;
	unicode-bidi: isolate !important;
	overflow: hidden !important;
	display: flex !important;
	gap: 80px !important;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent) !important;
	mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent) !important;
}
.marquee-group {
	display: flex !important;
	align-items: center !important;
	gap: 72px !important;
	min-width: 100% !important;
	flex-shrink: 0 !important;
	animation: scrollX 45s linear infinite !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
}
.marquee-wrapper:hover .marquee-group { animation-play-state: paused !important; }
.partner-logo {
	display: inline-flex !important;
	align-items: center !important;
	gap: 9px !important;
	color: #9CA3AF !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	white-space: nowrap !important;
	opacity: 0.75 !important;
	flex-shrink: 0 !important;
	flex-direction: row !important;
	text-decoration: none !important;
}
.partner-logo svg,
.partner-logo img {
	flex-shrink: 0 !important;
	display: block !important;
	width: auto !important;
	max-height: 24px !important;
}
.partner-logo .p-name {
	display: inline !important;
	font-family: 'IBM Plex Sans Arabic', sans-serif !important;
	color: #9CA3AF !important;
}
@keyframes scrollX {
	from { transform: translateX(0); }
	to   { transform: translateX(calc(-100% - 72px)); }
}

/* HIGH SPECIFICITY — overrides GP body a rules */
body.hdqah-home-page a,
body.hdqah-home-page a:link,
body.hdqah-home-page a:visited,
body.hdqah-home-page a:hover,
body.hdqah-home-page a:focus,
body.hdqah-home-page a:active {
	text-decoration: none !important;
	border-bottom: none !important;
	box-shadow: none !important;
}

/* Exception: keep underline only if GP adds inline style we can't override */
body.hdqah-home-page .nav-links a,
body.hdqah-home-page .footer-links a,
body.hdqah-home-page .portfolio-mini-url {
	text-decoration: none !important;
}
