:root {
  --bg: #f3f4f7;
  --surface: #ffffff;
  --surface-soft: #fafbfc;
  --ink: #1a1d24;
  --ink-soft: #5f6572;
  --primary: #ea1d2c;
  --primary-2: #b41522;
  --accent: #171a21;
  --line: #d8dde6;
  --radius: 18px;
  --shadow: 0 18px 35px rgba(23, 26, 33, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, #ffffff 0, #f3f4f7 34%),
    linear-gradient(135deg, #f2f3f7 0%, #eceff4 100%);
  font-family: "Cairo", sans-serif;
  line-height: 1.65;
}

body.lang-en {
  font-family: "Sora", sans-serif;
}

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 5.5rem 0;
}

.section-muted {
  background: linear-gradient(180deg, #fbfbfd 0%, #f2f4f8 100%);
  border-block: 1px solid var(--line);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(243, 244, 247, 0.9);
  border-bottom: 1px solid rgba(23, 26, 33, 0.08);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  text-decoration: none;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
}

.brand-logo {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  transition: 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(234, 29, 44, 0.08);
}

.lang-toggle {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: var(--surface);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.42rem 0.8rem;
  cursor: pointer;
  transition: 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.lang-toggle:hover {
  color: #fff;
  background: var(--primary);
}

.mobile-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  gap: 4px;
  flex-direction: column;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: 0.2s ease;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.flag-icon {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(23, 26, 33, 0.16);
}

.hero {
  padding-top: 0;
  padding-bottom: 4.4rem;
}

.hero-full {
  width: 100%;
}

.hero-carousel {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid #d9dbe3;
  box-shadow: var(--shadow);
  position: relative;
  min-height: 330px;
  margin-bottom: 1.15rem;
}

.hero-full .hero-carousel {
  width: 100%;
  border-radius: 0;
  border-inline: none;
  min-height: 460px;
  margin-bottom: 1.35rem;
}

.hero-carousel::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
  z-index: 2;
}

.hero-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  z-index: 6;
  color: #fff;
  background: rgba(23, 26, 33, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.35rem 0.68rem;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}

.slide-caption {
  position: absolute;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: min(900px, calc(100% - 36px));
  bottom: 54px;
  padding: 1.1rem 1.2rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(23, 26, 33, 0.9) 0%, rgba(23, 26, 33, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  backdrop-filter: blur(2px);
  text-align: center;
}

.slide-caption h2 {
  margin-bottom: 0.25rem;
  font-size: clamp(1.55rem, 2.9vw, 2.45rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.slide-caption p {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  color: rgba(255, 255, 255, 0.93);
  max-width: 64ch;
  margin-inline: auto;
}

.hero-slide .slide-caption h2,
.hero-slide .slide-caption p {
  opacity: 0;
  transform: translateY(14px);
}

.hero-slide.is-active .slide-caption h2 {
  animation: slideCaptionFade 0.7s ease forwards;
}

.hero-slide.is-active .slide-caption p {
  animation: slideCaptionFade 0.7s ease 0.12s forwards;
}

@keyframes slideCaptionFade {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-controls {
  position: absolute;
  inset-inline: 14px;
  bottom: 10px;
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  z-index: 7;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  flex: 1;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #fff;
  transform: scale(1.15);
}

.hero-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(23, 26, 33, 0.48);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  backdrop-filter: blur(4px);
  transition: 0.2s ease;
}

.hero-nav-btn .arrow-icon {
  width: 18px;
  height: 18px;
}

.hero-nav-btn:hover {
  background: rgba(180, 21, 34, 0.82);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.75rem;
  align-items: stretch;
}

.eyebrow {
  color: var(--primary-2);
  font-weight: 700;
  margin: 0 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-size: 0.86rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.24;
}

h1 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
}

h2 {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
}

.lead {
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.13rem);
  max-width: 64ch;
}

.lead.small {
  max-width: 78ch;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.btn {
  border: none;
  border-radius: 12px;
  text-decoration: none;
  padding: 0.75rem 1.05rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
  box-shadow: var(--shadow);
}

.btn-secondary {
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-panel {
  background: linear-gradient(150deg, #fff8f8 0%, #f7f1f2 100%);
  border: 1px solid #ead9dd;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  display: grid;
  gap: 0.9rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.stat-value {
  display: block;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
}

.stat-label {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-lead {
  margin: 0;
  color: var(--ink-soft);
  max-width: 74ch;
  font-size: 1.03rem;
}

.image-band {
  margin: 1rem 0 1.1rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 18px rgba(23, 26, 33, 0.1);
}

.image-band.compact {
  margin-top: 0;
}

.image-band img {
  width: 100%;
  height: clamp(180px, 24vw, 240px);
  object-fit: cover;
  display: block;
}

.dual-cards,
.product-layout,
.contact-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 8px 20px rgba(16, 37, 59, 0.06);
  padding: 1.1rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.services-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 1rem;
  align-items: start;
}

.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.services-spotlight {
  background: linear-gradient(160deg, #171a21 0%, #b41522 100%);
  color: #f3f6fa;
  border-color: rgba(255, 255, 255, 0.14);
}

.services-spotlight .eyebrow {
  color: #ffd0d4;
  margin-bottom: 0.45rem;
}

.services-spotlight h3 {
  color: #fff;
}

.services-spotlight p {
  margin: 0 0 0.8rem;
}

.spotlight-note {
  color: rgba(243, 246, 250, 0.92);
  font-size: 0.95rem;
  line-height: 1.75;
}

.spotlight-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.spotlight-points span {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.87rem;
}

.service-card {
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fcf8f8 100%);
  border: 1px solid var(--line);
  padding: 0.95rem 1rem;
  transition: 0.25s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 29, 44, 0.35);
  box-shadow: 0 10px 24px rgba(23, 26, 33, 0.14);
}

.service-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover::after {
  opacity: 1;
}

.service-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 0.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  font-weight: 700;
  flex: 0 0 36px;
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-title {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.45;
  font-size: 1rem;
}

.premium-product-layout {
  align-items: stretch;
}

.product-visual-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 340px;
}

.product-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-visual-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(23, 26, 33, 0) 0%, rgba(23, 26, 33, 0.92) 100%);
}

.product-visual-overlay .eyebrow {
  color: #c3dcf3;
}

.product-visual-overlay h3 {
  margin: 0;
  color: #fff;
}

.product-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.check-list li {
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}

.check-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  margin-inline-end: 0.5rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.why-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
  padding: 0.9rem;
}

.metric-card strong {
  display: block;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.metric-card span {
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.premium-trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.trust-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  padding: 0.95rem;
  box-shadow: 0 10px 20px rgba(23, 26, 33, 0.08);
}

.trust-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.trust-mark {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #ffe6e8;
  color: var(--primary);
  font-size: 0.85rem;
}

.trust-title {
  margin: 0;
  color: var(--primary);
  font-size: 1rem;
  font-weight: 800;
}

.trust-text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.contact-list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.72rem 0.8rem;
  background: var(--surface-soft);
}

.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-2), var(--primary));
  display: grid;
  place-items: center;
  flex: 0 0 36px;
}

.contact-icon svg {
  width: 19px;
  height: 19px;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.contact-meta strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.contact-meta a,
.contact-meta span {
  color: var(--primary-2);
  text-decoration: none;
  font-weight: 600;
}

.ltr-value {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.contact-meta a:hover {
  text-decoration: underline;
}

.whatsapp-item {
  border-color: rgba(18, 140, 78, 0.35);
  background: linear-gradient(90deg, #f4fff9 0%, #f9fffc 100%);
}

.whatsapp-item .contact-icon {
  background: linear-gradient(135deg, #2fba6a, #0c9f4a);
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.site-footer {
  background: #092038;
  color: #dce9f6;
  padding: 1rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.back-top {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  text-decoration: none;
  display: grid;
  place-items: center;
  transition: 0.2s ease;
}

.back-top svg {
  width: 18px;
  height: 18px;
}

.back-top:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1200px) {
  .premium-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .services-layout,
  .dual-cards,
  .grid-cards,
  .product-layout,
  .trust-grid,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .premium-trust-grid,
  .why-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .brand-logo {
    height: 42px;
  }

  .nav {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-areas:
      "brand lang menu"
      "links links links";
    align-items: center;
    row-gap: 0.45rem;
    padding: 0.55rem 0 0.45rem;
  }

  .brand {
    grid-area: brand;
  }

  .lang-toggle {
    grid-area: lang;
    justify-self: end;
    padding: 0.34rem 0.72rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    grid-area: menu;
    justify-self: end;
  }

  .nav-links {
    grid-area: links;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0.55rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--line);
    box-shadow: 0 8px 20px rgba(23, 26, 33, 0.08);
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    text-align: center;
    font-size: 0.98rem;
    padding: 0.35rem 0.45rem;
  }

  .services-layout,
  .dual-cards,
  .grid-cards,
  .product-layout,
  .trust-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .premium-trust-grid,
  .why-metrics,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .product-stack {
    grid-template-rows: auto;
  }

  .section {
    padding: 4.3rem 0;
  }

  .hero.section {
    padding-top: 0;
    padding-bottom: 2.2rem;
  }

  .hero-carousel {
    min-height: 230px;
  }

  .hero-full .hero-carousel {
    min-height: 265px;
    margin-bottom: 0.9rem;
  }

  .hero-badge {
    font-size: 0.72rem;
    top: 10px;
    inset-inline-start: 10px;
  }

  .hero-controls {
    inset-inline: 10px;
  }

  .hero-nav-btn {
    width: 30px;
    height: 30px;
  }

  .slide-caption {
    bottom: 42px;
    width: calc(100% - 20px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    padding: 0.7rem 0.78rem;
  }

  .slide-caption h2 {
    font-size: clamp(1.05rem, 5.4vw, 1.4rem);
    line-height: 1.3;
  }

  .slide-caption p {
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .cta-group {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .cta-group .btn {
    width: 100%;
  }
}
