:root {
  --bg: #070708;
  --bg-soft: #0e0f12;
  --panel: rgba(18, 18, 22, 0.86);
  --panel-soft: rgba(255, 255, 255, 0.03);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(223, 37, 52, 0.28);
  --text: #f5f5f6;
  --muted: #a7a9b0;
  --accent: #df2534;
  --accent-strong: #ff4a5b;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1140px, calc(100% - 2rem));
  --header-height: 84px;
  --transition: 220ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(223, 37, 52, 0.16), transparent 24%),
    linear-gradient(180deg, #050506 0%, #09090b 38%, #070708 100%);
  padding-bottom: 8.5rem;
}

body.rtl {
  font-family: "Tajawal", sans-serif;
}

img,
iframe {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link,
.sr-only {
  position: absolute;
}

.skip-link {
  left: 1rem;
  top: -4rem;
  background: var(--accent);
  color: #fff;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  z-index: 9999;
}

.skip-link:focus-visible {
  top: 1rem;
}

.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-frame {
  overflow-x: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(7, 7, 8, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-logo-wrap {
  width: 78px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0d0d10;
}

.brand-copy {
  display: grid;
  gap: 0.18rem;
}

.brand-copy strong {
  letter-spacing: 0.08em;
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav a {
  color: var(--muted);
  font-weight: 500;
  transition: color var(--transition);
}

.nav a:hover,
.nav a:focus-visible,
.nav a.active {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.language-picker select {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 0 0.95rem;
  font-weight: 700;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition),
    border-color var(--transition);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 14px 34px rgba(223, 37, 52, 0.3);
}

.btn-secondary,
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  color: var(--muted);
}

.btn-secondary:hover,
.btn-secondary:focus-visible,
.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--line-strong);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #fff;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 23px;
}

.nav-toggle span:nth-child(3) {
  top: 30px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 23px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 23px;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  padding-top: 4rem;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 80% 20%, rgba(223, 37, 52, 0.12), transparent 18%),
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.05), transparent 15%);
}

.hero-grid,
.content-grid,
.location-layout,
.contact-layout {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  position: relative;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ff7682;
  font-size: 0.78rem;
  font-weight: 800;
}

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

h1 {
  font-size: clamp(2.8rem, 7vw, 5rem);
  line-height: 0.96;
  max-width: 11ch;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.18rem;
  margin-bottom: 0.7rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-text {
  max-width: 58ch;
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 2rem 0;
}

.hero-points,
.hero-contact-grid,
.contact-list,
.footer-links,
.contact-form {
  display: grid;
  gap: 1rem;
}

.feature-card,
.hero-logo-card,
.mini-card,
.glass-card,
.info-card,
.service-card,
.map-card,
.contact-panel,
.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.feature-card,
.mini-card,
.glass-card,
.info-card,
.service-card,
.contact-panel,
.contact-form {
  padding: 1.35rem;
}

.feature-card strong,
.mini-card strong {
  display: block;
  margin-bottom: 0.4rem;
}

.feature-card p,
.mini-card span {
  margin-bottom: 0;
}

.hero-panel {
  display: grid;
  gap: 1rem;
}

.hero-logo-card {
  padding: 1.4rem;
  text-align: center;
  background:
    radial-gradient(circle at top right, rgba(223, 37, 52, 0.18), transparent 24%),
    var(--panel);
}

.hero-logo {
  width: min(100%, 360px);
  margin: 0 auto 1.25rem;
  border-radius: 22px;
  background: #0e0f12;
  padding: 1rem;
}

.hero-panel-copy p {
  margin-bottom: 0;
}

.mini-card {
  background: rgba(255, 255, 255, 0.03);
}

.mini-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.content-grid,
.location-layout,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.section-heading.centered {
  max-width: 760px;
  margin: 0 auto 2rem;
  text-align: center;
}

.card-grid {
  display: grid;
  gap: 1.2rem;
}

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

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

.landmark-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.8rem;
}

.landmark-list span {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-card {
  padding: 0.8rem;
}

.map-card iframe {
  width: 100%;
  min-height: 460px;
  border: 0;
  border-radius: 22px;
  filter: none;
}

.contact-list a,
.contact-list div {
  display: grid;
  gap: 0.3rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: var(--panel-soft);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-list span {
  color: var(--muted);
  font-size: 0.92rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.captcha-wrap {
  display: flex;
  justify-content: flex-start;
  padding: 0.25rem 0;
}

.captcha-wrap iframe {
  border-radius: 14px;
}

.field label {
  font-weight: 600;
  color: #fff;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  padding: 0.9rem 1rem;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus-visible,
.field textarea:focus-visible,
.language-picker select:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.back-to-top:focus-visible,
.whatsapp-float:focus-visible {
  outline: none;
  border-color: rgba(223, 37, 52, 0.5);
  box-shadow: 0 0 0 4px rgba(223, 37, 52, 0.16);
}

.form-feedback {
  min-height: 1.5rem;
  margin-bottom: 0;
  font-weight: 700;
}

.site-footer {
  padding: 2.8rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.32);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 92px;
  height: 68px;
  object-fit: contain;
  background: #0d0d10;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer p,
.site-footer a {
  color: var(--muted);
}

.site-footer h3,
.site-footer h4 {
  margin-bottom: 0.8rem;
}

.whatsapp-float,
.back-to-top {
  position: fixed;
  right: 1rem;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  z-index: 950;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.whatsapp-float {
  bottom: 1rem;
  background: linear-gradient(135deg, #1cad55, #138a42);
  color: #fff;
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.back-to-top {
  bottom: 5.4rem;
  background: rgba(18, 18, 22, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.not-found-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.not-found-main {
  width: 100%;
  padding: 2rem 1rem;
}

.not-found-card {
  width: min(100%, 640px);
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.not-found-logo {
  width: min(100%, 220px);
  margin: 0 auto 1.5rem;
  background: #0d0d10;
  border-radius: 18px;
  padding: 1rem;
}

body.rtl {
  direction: rtl;
}

body.rtl .brand,
body.rtl .header-actions,
body.rtl .hero-actions,
body.rtl .footer-brand,
body.rtl .landmark-list {
  flex-direction: row-reverse;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1024px) {
  .hero-grid,
  .content-grid,
  .location-layout,
  .contact-layout,
  .why-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid article:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 78px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions .header-cta {
    display: none;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem;
    background: rgba(18, 18, 22, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity var(--transition), transform var(--transition);
  }

  .nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 0 0.8rem;
    border-radius: 14px;
  }

  .hero-grid,
  .content-grid,
  .location-layout,
  .contact-layout,
  .why-grid,
  .services-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .why-grid article:last-child {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1rem, 100%);
  }

  body {
    padding-bottom: 9.5rem;
  }

  h1 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
  }

  .captcha-wrap {
    overflow-x: auto;
  }

  .brand-copy strong {
    font-size: 0.9rem;
  }

  .brand-copy small {
    font-size: 0.82rem;
  }

  .whatsapp-float,
  .back-to-top {
    width: 52px;
    height: 52px;
  }
}
