:root {
  --bg: #f6f8fb;
  --card: #fff;
  --text: #101828;
  --muted: #667085;
  --line: #e4e7ec;
  --red: #e30613;
  --red-dark: #b8050f;
  --navy: #09182d;
  --navy-2: #102544;
  --gold: #d6a33c;
  --green: #12a150;
  --shadow: 0 18px 45px rgba(9, 24, 45, 0.12);
  --soft: 0 8px 22px rgba(9, 24, 45, 0.08);
  --radius: 22px;
  --container: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
select,
textarea {
  font: inherit;
}
.container {
  width: min(var(--container), calc(100% - 32px));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(9, 24, 45, 0.05);
}
.header-row {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  padding: 6px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--soft);
  object-fit: contain;
}
.brand-title {
  margin: 0;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 1000;
  letter-spacing: 0.4px;
}
.brand-subtitle {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.nav-links,
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 900;
  color: var(--navy);
  padding: 10px 4px;
}
.nav-links a:hover {
  color: var(--red);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition: 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 12px 26px rgba(227, 6, 19, 0.24);
}
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: var(--soft);
}
.header-phone {
  direction: ltr;
  unicode-bidi: plaintext;
  font-size: 18px;
  font-weight: 1000;
  letter-spacing: 0.4px;
  padding-inline: 22px;
  min-width: 154px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 12px 26px rgba(227, 6, 19, 0.24);
}
.header-phone:hover {
  color: #fff;
  box-shadow: 0 14px 30px rgba(227, 6, 19, 0.28);
}

.mp-hero {
  padding: 16px 0 10px;
}
.mp-slider {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #0b1628;
  box-shadow: var(--shadow);
  aspect-ratio: 16/6.4;
  min-height: 390px;
  isolation: isolate;
}
.mp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.01);
  transition:
    opacity 0.45s ease,
    transform 0.65s ease;
  pointer-events: none;
  background: #0b1628;
}
.mp-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.mp-slide__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #071224, #11294b);
}
.mp-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  background: #0b1628;
}
.mp-slide__media.is-missing::before {
  content: "ارفع صورة السلايد هنا";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(20px, 4vw, 42px);
  font-weight: 1000;
  background: linear-gradient(135deg, #071224, #11294b);
}
.mp-controls {
  position: absolute;
  z-index: 5;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}
.mp-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  padding: 0;
}
.mp-dot.is-active {
  width: 26px;
  border-radius: 999px;
  background: #fff;
}
.mp-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  font-size: 30px;
  line-height: 1;
}
.mp-arrow:hover {
  background: rgba(0, 0, 0, 0.34);
}
.mp-arrow.prev {
  right: 18px;
}
.mp-arrow.next {
  left: 18px;
}
.hero-quick-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--soft);
}
.hero-quick-actions__title {
  color: var(--navy);
  font-size: 15px;
  font-weight: 1000;
  line-height: 1.4;
}
.hero-quick-actions__hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  margin-top: 2px;
}
.hero-quick-actions__buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.section {
  padding: 22px 0;
}
.request-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
.request-form-shell,
.contact-card,
.social-card,
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--soft);
  overflow: hidden;
}
.request-form-shell {
  background: #fff;
  padding: 26px;
}
.form-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.form-head h3,
.contact-card h3,
.social-card h3 {
  margin: 0;
  color: var(--navy);
  font-size: 26px;
  font-weight: 1000;
}
.form-head p,
.contact-card p,
.social-card p {
  margin: 5px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
  font-weight: 700;
}
.secure-note {
  padding: 9px 13px;
  border-radius: 999px;
  background: #eefaf2;
  border: 1px solid rgba(18, 161, 80, 0.18);
  color: #0a7c3c;
  font-size: 12px;
  font-weight: 900;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 13px;
}
.field,
.field-full {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field-full {
  grid-column: 1/-1;
}
label {
  font-size: 13px;
  color: var(--navy);
  font-weight: 900;
}
.input,
.select,
.textarea {
  width: 100%;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
  padding: 14px 15px;
  outline: 0;
  font-size: 15px;
  font-weight: 700;
}
.textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.8;
}
.input:focus,
.select:focus,
.textarea:focus {
  border-color: rgba(227, 6, 19, 0.38);
  box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.08);
}
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  font-weight: 700;
  max-width: 420px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}
.contact-card,
.social-card {
  background: #fff;
  padding: 24px;
}
.contact-list {
  display: grid;
  gap: 11px;
  margin-top: 16px;
}
.contact-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  transition: 0.18s ease;
}
.contact-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--soft);
  border-color: rgba(227, 6, 19, 0.2);
}
.item-icon {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(227, 6, 19, 0.12),
    rgba(214, 163, 60, 0.12)
  );
  color: var(--red);
  font-weight: 1000;
  flex: 0 0 46px;
}
.item-copy strong {
  display: block;
  color: var(--navy);
  font-size: 15px;
  font-weight: 900;
}
.item-copy span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  word-break: break-word;
}
.ltr-text {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: left;
  display: inline-block;
}
.linktree-box {
  display: grid;
  gap: 13px;
  justify-items: center;
  text-align: center;
  margin-top: 14px;
}
.qr-shell {
  width: min(100%, 220px);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 14px;
  box-shadow: var(--soft);
}
.qr-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
}
.linktree-meta strong {
  display: block;
  color: var(--navy);
  font-weight: 1000;
}
.linktree-meta span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
  margin: 6px 0 12px;
}
.map-card iframe {
  border: 0;
  display: block;
  width: 100%;
  height: 400px;
}

.footer {
  padding: 24px 0 100px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.social-footer {
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.social-footer-title {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
}
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
}
.footer-social-link {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: var(--soft);
  transition: 0.18s ease;
}
.footer-social-link:hover {
  transform: translateY(-1px);
  color: var(--red);
  border-color: rgba(227, 6, 19, 0.2);
}
.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
.sticky-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 1000;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 -10px 26px rgba(9, 24, 45, 0.08);
}
.sticky-grid {
  width: min(420px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.to-top {
  position: fixed;
  left: 18px;
  bottom: 88px;
  z-index: 1001;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: 0.18s ease;
}
.to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.toast {
  position: fixed;
  top: 90px;
  right: 16px;
  z-index: 1500;
  width: min(420px, calc(100% - 32px));
  padding: 16px 18px;
  border-radius: 18px;
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow);
  border: 1px solid rgba(227, 6, 19, 0.16);
  border-right: 6px solid var(--red);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: 0.22s ease;
}
.toast.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.toast strong {
  display: block;
  font-size: 16px;
  font-weight: 1000;
  color: var(--navy);
}
.toast span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  font-weight: 700;
  margin-top: 4px;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .header-row {
    flex-wrap: wrap;
    padding: 9px 0;
  }
  .brand {
    flex: 1 1 auto;
  }
  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-inline-start: auto;
  }
  .header-phone {
    min-height: 38px;
    min-width: auto;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 15px;
    line-height: 1;
    font-weight: 1000;
    letter-spacing: 0.2px;
  }
  .mobile-quickbar {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
    width: 100%;
    margin-top: 4px;
  }
  .mobile-quickbar__item {
    min-height: 40px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 900;
    box-shadow: var(--soft);
  }
  .mobile-quickbar__item.is-primary {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    border-color: transparent;
  }
  .mobile-quickbar__icon,
  .mobile-quickbar__icon svg {
    width: 16px;
    height: 16px;
  }
  .mp-slider {
    min-height: unset;
    border-radius: 24px;
    aspect-ratio: 16/9;
  }
  .hero-quick-actions {
    align-items: stretch;
  }
  .mp-arrow {
    display: none;
  }
  .request-wrap,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .sticky-grid {
    grid-template-columns: 1fr;
  }
  .sticky-grid .btn-secondary {
    display: none;
  }
}
@media (max-width: 560px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }
  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .brand-title {
    font-size: 14px;
  }
  .brand-subtitle {
    font-size: 10px;
    white-space: normal;
  }
  .mp-hero {
    padding-top: 10px;
  }
  .mp-slider {
    min-height: unset;
    border-radius: 18px;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 26px rgba(9, 24, 45, 0.1);
  }
  .mp-slide__media img {
    object-fit: contain;
    object-position: center;
    background: #0b1628;
  }
  .mp-controls {
    bottom: 8px;
    right: 50%;
    left: auto;
    transform: translateX(50%);
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.28);
  }
  .mp-dot {
    width: 7px;
    height: 7px;
  }
  .mp-dot.is-active {
    width: 20px;
  }
  .hero-quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding: 10px;
    border-radius: 18px;
  }
  .hero-quick-actions__buttons {
    display: grid;
    grid-template-columns: 1fr;
  }
  .hero-quick-actions .btn {
    min-height: 44px;
    padding-inline: 12px;
  }
  .request-form-shell,
  .contact-card,
  .social-card {
    padding: 18px;
    border-radius: 18px;
  }
  .form-head h3,
  .contact-card h3,
  .social-card h3 {
    font-size: 22px;
  }
  .map-card iframe {
    height: 320px;
  }
  .toast {
    top: auto;
    bottom: 82px;
    right: 10px;
    width: calc(100% - 20px);
  }
  .to-top {
    width: 44px;
    height: 44px;
    bottom: 82px;
    left: 12px;
  }
}

@media (max-width: 420px) {
  .mp-hero {
    padding-top: 8px;
  }
  .mp-slider {
    border-radius: 16px;
    aspect-ratio: 16/9;
  }
  .hero-quick-actions__title {
    font-size: 14px;
  }
  .hero-quick-actions__hint {
    font-size: 11px;
  }
  .hero-quick-actions__buttons {
    grid-template-columns: 1fr;
  }
}
.mobile-quickbar {
  display: none;
}
