/* ===========================================================
   Omni Ads Agency — white, grey & gold theme
   =========================================================== */


:root {
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --surface: #ffffff;

  --border: #e3e6ec;
  --border-strong: #cbd1db;

  --ink-900: #14171c;
  --ink-700: #3d424b;
  --ink-500: #6b707a;
  --ink-400: #9aa0aa;

  --gold-700: #7d5f18;
  --gold-600: #a9822c;
  --gold-500: #c9a24f;
  --gold-200: #eeddb0;
  --gold-100: #faf3df;

  --success: #1f9c4b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-1: 0 10px 30px rgba(20,23,30,.08);
  --shadow-2: 0 20px 50px rgba(20,23,30,.14);
  --shadow-gold: 0 14px 32px rgba(169,130,44,.28);

  --ease: cubic-bezier(.22,1,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--ink-700);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
svg { width: 20px; height: 20px; fill: currentColor; flex-shrink: 0; }

::selection { background: var(--gold-100); color: var(--ink-900); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  color: var(--ink-900);
  margin: 0 0 16px;
  line-height: 1.3;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; }
p { color: var(--ink-500); margin: 0 0 12px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--gold-700);
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.text-gradient {
  background: linear-gradient(90deg, var(--ink-900), var(--gold-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover { box-shadow: 0 18px 40px rgba(169,130,44,.36); }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--gold-500); background: var(--gold-100); }

.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border-color: var(--border-strong);
}
.btn-outline:hover { background: rgba(169,130,44,.10); border-color: var(--gold-500); }

.btn-whatsapp {
  background: var(--surface);
  color: var(--ink-900);
  border: 1px solid var(--border);
}
.btn-whatsapp svg { fill: var(--success); }
.btn-whatsapp:hover { border-color: var(--success); }

/* ===== Top bar ===== */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  color: var(--ink-500);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 40px;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item svg { width: 14px; height: 14px; }
.topbar-item a:hover { color: var(--gold-600); }
.topbar-social { display: flex; gap: 14px; margin-inline-start: auto; }
.topbar-social svg { width: 14px; height: 14px; }
.topbar-social a:hover { color: var(--gold-600); }

@media (max-width: 720px) {
  .topbar-item:first-child { display: none; }
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
}
/* Blur lives on a pseudo-element (not the header itself) so that
   backdrop-filter doesn't turn .site-header into a containing block
   for its fixed-position mobile nav — that would break its viewport-fixed positioning. */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 74px;
}

.logo { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 800; color: var(--ink-900); }
.logo-mark {
  width: 38px; height: 38px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.logo-text strong { color: var(--gold-600); font-weight: 800; }

.main-nav { display: flex; align-items: center; gap: 28px; margin-inline-start: 12px; }
.main-nav a { color: var(--ink-500); font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; transition: color .2s; }
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; right: 0; left: auto; width: 0; height: 2px;
  background: var(--gold-600); transition: width .25s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--ink-900); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: none; border: none;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink-900); transition: all .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .main-nav {
    position: fixed; inset: 114px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 24px;
    gap: 22px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all .3s var(--ease);
    border-top: 1px solid var(--border);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { font-size: 1.1rem; }
  .header-actions .btn-whatsapp span { display: none; }
  .nav-toggle { display: flex; }
}
@media (max-width: 560px) {
  .header-actions .btn-primary { display: none; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background: var(--bg); }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 20%, black 30%, transparent 75%);
  opacity: .8;
}
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .6; }
.glow-1 { width: 420px; height: 420px; background: var(--gold-100); top: -160px; right: -100px; }
.glow-2 { width: 360px; height: 360px; background: var(--gold-200); bottom: -140px; left: -80px; }

.hero-inner { text-align: center; max-width: 820px; }
.hero-tagline { font-size: 1.2rem; font-weight: 700; color: var(--ink-900); margin: 0 0 14px; }
.hero-sub { font-size: 1.1rem; max-width: 620px; margin: 0 auto 32px; }
.hero-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-num, .stat-suffix { font-size: 2.1rem; font-weight: 900; color: var(--ink-900); }
.stat-label { font-size: .85rem; color: var(--ink-500); max-width: 160px; }

.scroll-cue {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--border-strong); border-radius: 20px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--gold-500); border-radius: 4px;
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 22px; }
  100% { opacity: 0; top: 22px; }
}

/* ===== Marquee ===== */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  padding: 18px 0;
}
.marquee { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 16px;
  white-space: nowrap;
  width: max-content;
  animation: marquee 26s linear infinite;
  color: var(--ink-400);
  font-weight: 700;
  letter-spacing: .5px;
  font-size: .95rem;
}
.marquee-track span:nth-child(odd) { color: var(--gold-600); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Results ===== */
.results-band {
  background: linear-gradient(135deg, var(--gold-100), var(--bg) 60%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
  text-align: center;
}
.results-inner { max-width: 560px; margin: 0 auto; }
.results-number {
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 900;
  color: var(--ink-900);
  line-height: 1.15;
  margin-bottom: 10px;
}
.results-label { font-size: 1rem; margin: 0; }

/* ===== Sections ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-sub { font-size: 1.02rem; }

/* ===== Services ===== */
.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.service-card {
  flex: 1 1 300px;
  max-width: 350px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform .3s var(--ease), border-color .3s, background .3s, box-shadow .3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  background: var(--gold-100);
  box-shadow: var(--shadow-1);
}
.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  color: var(--gold-600);
}
.service-card p { margin-bottom: 0; font-size: .95rem; }

@media (max-width: 620px) { .service-card { flex-basis: 100%; max-width: 420px; } }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-frame {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--bg-soft), var(--surface));
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.frame-glow {
  position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: var(--gold-200); filter: blur(80px); opacity: .5;
}
.frame-grid {
  position: absolute; inset: 20px;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px;
}
.frame-cell { border: 1px solid var(--border); border-radius: 14px; background: rgba(169,130,44,.05); }
.frame-badge {
  position: relative; z-index: 2;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  padding: 18px 28px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-2);
}
.frame-badge strong { display: block; font-size: 1.3rem; color: var(--ink-900); }
.frame-badge span { font-size: .8rem; color: var(--ink-500); letter-spacing: 1px; }

.feature-list { margin-top: 28px; display: flex; flex-direction: column; gap: 22px; }
.feature-item { display: flex; gap: 16px; align-items: flex-start; }
.feature-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: 50%;
  font-size: .85rem;
  color: var(--gold-600);
}
.feature-item h4 { margin: 0 0 4px; font-size: 1rem; color: var(--ink-900); font-weight: 700; }
.feature-item p { margin: 0; font-size: .92rem; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-frame { max-width: 340px; margin: 0 auto; }
}

/* ===== Process ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.process-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 22px;
}
.process-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-500);
  margin-bottom: 10px;
}
.process-card p { font-size: .92rem; margin: 0; }

@media (max-width: 960px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }

/* ===== CTA band ===== */
.cta-band {
  background: linear-gradient(135deg, var(--gold-100), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.cta-inner { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 24px; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.contact-list { margin-top: 28px; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-100);
  border: 1px solid var(--gold-200);
  border-radius: var(--radius-sm);
  color: var(--gold-600);
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-label { display: block; font-size: .8rem; color: var(--ink-400); margin-bottom: 2px; }
.contact-list a { color: var(--ink-900); font-weight: 600; }
.contact-list a:hover { color: var(--gold-600); }
.placeholder-tag { display: block; font-size: .75rem; color: var(--ink-400); font-style: normal; margin-top: 2px; }

.contact-social { display: flex; gap: 14px; margin-top: 28px; }
.contact-social a {
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--ink-500);
}
.contact-social a:hover { border-color: var(--gold-500); color: var(--gold-600); }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--shadow-1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: .85rem; color: var(--ink-500); font-weight: 600; }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink-900);
  font-family: inherit;
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--gold-500); }
.form-field textarea { resize: vertical; }
.form-note { font-size: .78rem; color: var(--ink-400); text-align: center; margin: 0; }

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

/* ===== Footer ===== */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { font-size: .9rem; margin: 16px 0 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--ink-500);
}
.footer-social a:hover { border-color: var(--gold-500); color: var(--gold-600); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 { color: var(--ink-900); font-size: .95rem; margin-bottom: 6px; }
.footer-col a, .footer-col span { color: var(--ink-500); font-size: .9rem; }
.footer-col a:hover { color: var(--gold-600); }

.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--ink-400); }
.footer-domain { letter-spacing: .5px; }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface);
  color: var(--ink-900);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow-2);
  transition: transform .25s var(--ease);
}
.whatsapp-float svg { fill: var(--success); width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }
