:root {
  --bg: #0c0a08;
  --bg-soft: #16110d;
  --panel: rgba(255, 250, 242, 0.06);
  --panel-strong: rgba(255, 250, 242, 0.1);
  --line: rgba(198, 151, 85, 0.24);
  --gold: #c69755;
  --gold-soft: #e0c18a;
  --text: #f8f2e8;
  --muted: #c9bbab;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius: 24px;
  --radius-sm: 18px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(198, 151, 85, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(154, 91, 34, 0.16), transparent 24%),
    linear-gradient(180deg, #140f0c 0%, #0c0a08 40%, #0c0a08 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 85%);
}

body[dir="rtl"] {
  font-family: "Noto Naskh Arabic", "Manrope", sans-serif;
}

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

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.hero,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-logo {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(198, 151, 85, 0.28);
}

.brand-kicker,
.eyebrow,
.card-label,
.lang-switcher span,
.site-nav a,
.service-card span,
.workflow-grid span {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.brand-kicker,
.eyebrow,
.card-label,
.lang-switcher span,
.site-nav a {
  color: var(--gold-soft);
}

.brand-name,
.hero h2,
.section-heading h3,
.cta-copy h3 {
  font-family: "Cormorant Garamond", serif;
}

.brand-name {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 2vw, 2.3rem);
  letter-spacing: 0.04em;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.site-nav a {
  position: relative;
  padding-bottom: 6px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.04);
}

.lang-switcher select {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  outline: 0;
}

.lang-switcher option {
  color: #111;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 250, 242, 0.05);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--text);
}

.menu-toggle span + span {
  margin-top: 6px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: stretch;
  padding: 34px 0 28px;
}

.hero-copy,
.hero-panel,
.section,
.site-footer {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.06), rgba(255, 250, 242, 0.03));
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.section {
  border-radius: var(--radius);
}

.hero-copy {
  padding: clamp(28px, 5vw, 58px);
}

.eyebrow {
  margin: 0 0 12px;
}

.hero h2 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.94;
  max-width: 12ch;
}

.hero-text,
.intro-grid p,
.service-card p,
.advantages-grid p,
.workflow-grid p,
.cta-copy p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  margin: 24px 0 0;
  max-width: 62ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #d9af69 100%);
  color: #1c140d;
}

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

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(24px, 4vw, 34px);
  overflow: hidden;
}

.hero-card {
  padding: 24px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(198, 151, 85, 0.14), rgba(198, 151, 85, 0.04)),
    rgba(255, 250, 242, 0.04);
  border: 1px solid rgba(198, 151, 85, 0.3);
}

.card-label {
  margin: 0 0 10px;
}

.card-value {
  margin: 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.25;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.metrics-grid article,
.advantages-grid article,
.workflow-grid article {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--panel);
  border: 1px solid rgba(255, 250, 242, 0.08);
}

.metrics-grid strong {
  display: block;
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  color: var(--gold-soft);
  margin-bottom: 10px;
}

.metrics-grid span {
  color: var(--muted);
  line-height: 1.6;
}

.section {
  margin-top: 28px;
  padding: clamp(28px, 4vw, 42px);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-heading-media {
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  align-items: center;
  gap: 26px;
}

.section-heading-copy {
  min-width: 0;
}

.section-visual {
  position: relative;
  min-height: 240px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(198, 151, 85, 0.18);
  background:
    radial-gradient(circle at 20% 20%, rgba(198, 151, 85, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.04), rgba(255, 250, 242, 0.02));
}

.section-visual::after {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 250, 242, 0.05);
  pointer-events: none;
}

.section-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
}

.section-heading h3,
.cta-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1;
  max-width: 15ch;
}

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

.services-grid,
.advantages-grid,
.workflow-grid {
  display: grid;
  gap: 18px;
}

.services-grid {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  min-height: 270px;
  padding: 24px;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 250, 242, 0.08), rgba(255, 250, 242, 0.03)),
    var(--panel);
  border: 1px solid rgba(255, 250, 242, 0.08);
}

.service-card span,
.workflow-grid span {
  color: var(--gold);
}

.service-card h4,
.advantages-grid h4,
.workflow-grid h4 {
  margin: 18px 0 12px;
  font-size: 1.12rem;
}

.section-accent {
  background:
    radial-gradient(circle at right center, rgba(198, 151, 85, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.06), rgba(255, 250, 242, 0.03));
}

.advantages-grid {
  grid-template-columns: repeat(2, 1fr);
}

.workflow-grid {
  grid-template-columns: repeat(4, 1fr);
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-footer {
  margin-top: 28px;
  padding: 22px 28px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand,
.footer-contact {
  display: grid;
  gap: 8px;
}

.footer-brand p,
.footer-contact p {
  margin: 0;
}

.footer-brand p:first-child {
  color: var(--text);
  font-weight: 700;
}

.footer-contact {
  justify-items: end;
  text-align: right;
}

.footer-contact a {
  color: var(--gold-soft);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 999px;
  border: 1px solid rgba(198, 151, 85, 0.32);
  background: rgba(20, 15, 12, 0.92);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(14px);
}

.whatsapp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #149e4b 100%);
  color: #fff;
  font-weight: 800;
}

.whatsapp-copy {
  display: grid;
  gap: 2px;
}

.whatsapp-copy strong {
  color: var(--text);
  font-size: 0.96rem;
}

.whatsapp-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

body[dir="rtl"] .site-header,
body[dir="rtl"] .cta-section,
body[dir="rtl"] .site-footer {
  direction: rtl;
}

body[dir="rtl"] .footer-contact {
  justify-items: start;
  text-align: left;
}

body[dir="rtl"] .whatsapp-float {
  right: auto;
  left: 24px;
}

body[dir="rtl"] .site-nav a::after {
  left: auto;
  right: 0;
  transform-origin: right;
}

@media (max-width: 1120px) {
  .hero,
  .services-grid,
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .site-nav,
  .services-grid,
  .advantages-grid,
  .workflow-grid,
  .intro-grid,
  .section-heading-media,
  .cta-section,
  .site-footer,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .cta-section,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact {
    justify-items: start;
    text-align: left;
  }

  .section-visual {
    min-height: 220px;
  }
}

@media (max-width: 680px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(14, 11, 8, 0.94);
  }

  .site-nav.is-open {
    display: flex;
  }

  .lang-switcher {
    width: 100%;
    justify-content: space-between;
  }

  .hero-copy,
  .hero-panel,
  .section {
    padding: 24px 18px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 18px;
    padding-right: 14px;
  }

  .whatsapp-copy small {
    display: none;
  }

  .brand-logo {
    width: 74px;
    height: 74px;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .hero h2 {
    font-size: clamp(2.3rem, 13vw, 3.4rem);
  }

  .section-heading h3,
  .cta-copy h3 {
    font-size: clamp(1.85rem, 11vw, 2.6rem);
  }
}
