:root {
  --ink: #f8f5ee;
  --muted: #b9b2a5;
  --line: rgba(248, 245, 238, 0.12);
  --gold: #c8a96e;
  --gold-2: #e0c888;
  --bg: #090a0b;
  --panel: #121416;
  --panel-2: #181b1f;
  --green: #78997f;
  --red: #9a4c42;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

html[dir="rtl"] body {
  font-family: Cairo, Inter, Arial, sans-serif;
  line-height: 1.85;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  top: -120px;
  left: 50%;
  z-index: 100;
  transform: translateX(-50%);
  padding: 12px 20px;
  background: var(--gold);
  color: #111;
  border-radius: 0 0 6px 6px;
  font-weight: 800;
}

.skip-link:focus {
  top: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(9, 10, 11, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 150px;
  height: 70px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.93rem;
}

.nav a:hover {
  color: var(--gold-2);
}

.nav .language-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(224, 200, 136, 0.55);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(200, 169, 110, 0.12);
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 0 0 1px rgba(200, 169, 110, 0.04) inset;
}

.nav .language-switch:hover,
.nav .language-switch:focus-visible {
  color: #111;
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.whatsapp-float {
  position: fixed;
  inset-inline-end: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 58px;
  padding-block: 6px;
  padding-inline: 7px 20px;
  border: 1px solid rgba(37, 211, 102, 0.46);
  border-radius: 999px;
  background: rgba(12, 18, 15, 0.9);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38), 0 0 24px rgba(37, 211, 102, 0.16);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float::before {
  content: "";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #25d366 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M16.01 3.2A12.72 12.72 0 0 0 5.07 22.4L3.5 28.8l6.55-1.52A12.72 12.72 0 1 0 16.01 3.2Zm0 2.32a10.4 10.4 0 0 1 8.84 15.88 10.39 10.39 0 0 1-13.92 3.7l-.47-.28-3.88.9.93-3.73-.31-.49A10.4 10.4 0 0 1 16 5.52Zm-4.4 4.8c-.22 0-.58.08-.88.4-.3.34-1.16 1.13-1.16 2.76s1.19 3.2 1.35 3.43c.17.22 2.3 3.68 5.66 5 .8.32 1.42.51 1.9.65.8.25 1.53.21 2.1.13.64-.1 1.97-.8 2.24-1.58.28-.77.28-1.43.2-1.58-.08-.14-.3-.22-.64-.39-.33-.16-1.97-.97-2.27-1.08-.3-.11-.52-.16-.74.17-.22.33-.85 1.08-1.04 1.3-.2.22-.38.25-.72.08-.33-.16-1.4-.52-2.68-1.65-.99-.88-1.66-1.98-1.85-2.31-.2-.33-.02-.51.15-.68.15-.15.33-.38.5-.58.16-.19.22-.33.33-.55.11-.22.05-.41-.03-.58-.08-.16-.74-1.78-1.01-2.44-.27-.64-.54-.55-.74-.56h-.63Z'/%3E%3C/svg%3E") center / 32px 32px no-repeat;
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.12);
}

html[dir="rtl"] .whatsapp-float {
  padding-inline: 20px 7px;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  background: rgba(18, 28, 22, 0.96);
  border-color: rgba(37, 211, 102, 0.82);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.44), 0 0 30px rgba(37, 211, 102, 0.24);
  transform: translateY(-2px);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  font-weight: 700;
}

.header-cta {
  max-width: 180px;
  min-height: 46px;
  padding: 0 18px;
  text-align: center;
  line-height: 1.2;
}

.header-cta,
.button.primary {
  background: var(--gold);
  color: #111;
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255,255,255,0.04);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  padding: 140px clamp(18px, 4vw, 48px) 76px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9,10,11,0.96) 0%, rgba(9,10,11,0.78) 42%, rgba(9,10,11,0.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    url("https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=1800&q=80") center/cover;
}

html[dir="rtl"] .hero-media {
  background:
    linear-gradient(270deg, rgba(9,10,11,0.96) 0%, rgba(9,10,11,0.78) 42%, rgba(9,10,11,0.35) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 28%),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=80") center/cover;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  margin: 0 auto;
  max-width: var(--max);
}

html[dir="rtl"] .hero-content {
  margin-right: auto;
  margin-left: 0;
  text-align: right;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 6vw, 5.6rem);
  line-height: 0.98;
}

html[dir="rtl"] h1 {
  max-width: 850px;
  line-height: 1.12;
}

html[dir="rtl"] h2 {
  line-height: 1.22;
}

h2 {
  font-size: clamp(1.7rem, 3.5vw, 3rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: min(680px, 100%);
  margin: 0;
}

.hero-stats div {
  padding: 18px;
  background: rgba(18, 20, 22, 0.76);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  color: var(--gold-2);
  font-size: 2rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 86px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intro p,
.section-heading + p {
  color: var(--muted);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.service-grid,
.proof-grid,
.intent-grid,
.faq-seo-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-grid article,
.proof-grid article,
.intent-grid article,
.faq-seo-list article {
  min-height: 260px;
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-grid span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--gold-2);
  font-weight: 800;
}

.service-grid p,
.proof-grid p,
.intent-grid p,
.faq-seo-list p,
.proof-grid strong {
  color: var(--muted);
}

.intent-grid article {
  min-height: 220px;
  background: linear-gradient(180deg, rgba(120,153,127,0.10), var(--panel));
}

.faq-seo-list article {
  min-height: 210px;
}

.service-grid a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--gold-2);
  font-weight: 800;
}

.proof-grid strong {
  display: block;
  margin-top: 18px;
  font-size: 0.9rem;
}

.logo-strip,
.brand-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding: 22px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.brand-strip {
  grid-template-columns: repeat(6, minmax(90px, 1fr));
  margin-bottom: 0;
}

.logo-strip img,
.brand-strip img {
  width: 100%;
  height: 58px;
  object-fit: contain;
  filter: grayscale(100%) brightness(2.4);
  opacity: 0.78;
}

.triggers {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
}

.trigger-list {
  display: grid;
  gap: 12px;
}

.trigger-list p {
  margin: 0;
  padding: 18px 20px;
  background: var(--panel-2);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  color: var(--muted);
}

html[dir="rtl"] .trigger-list p {
  border-left: 0;
  border-right: 4px solid var(--gold);
}

.process {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 44px;
  border-top: 1px solid var(--line);
}

.process ol {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  counter-increment: step;
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  display: inline-flex;
  margin-right: 12px;
  color: var(--gold-2);
  font-weight: 800;
}

html[dir="rtl"] .process li::before {
  margin-right: 0;
  margin-left: 12px;
}

.process strong {
  color: var(--ink);
}

.contact-band {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto 56px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--panel-2), #111);
  border: 1px solid rgba(200, 169, 110, 0.28);
  border-radius: 10px;
}

.contact-band p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

html[dir="rtl"] .contact-links {
  justify-content: flex-start;
}

.contact-links a {
  color: var(--gold-2);
  font-weight: 800;
}

.concept-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 0 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.concept-footer p {
  margin: 0;
}

.concept-footer a {
  color: var(--gold-2);
  font-weight: 800;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto auto;
    height: auto;
  }

  .nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 132px;
  }

  .hero-stats,
  .intro,
  .triggers,
  .process,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .proof-grid,
  .intent-grid,
  .faq-seo-list,
  .logo-strip,
  .brand-strip {
    grid-template-columns: 1fr;
  }

  .concept-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .header-cta {
    display: none;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}
