:root {
  --ink: #172033;
  --muted: #5a6475;
  --line: #dbe2ea;
  --brand: #11845b;
  --brand-dark: #0a6545;
  --warn: #c33f2f;
  --gold: #d59a2a;
  --sky: #eaf6fb;
  --soft: #f7f9fb;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Cairo', Tahoma, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  direction: rtl;
}

a {
  color: inherit;
}

.topbar {
  background: linear-gradient(90deg, #101828, #1d2c47);
  color: var(--white);
  font-size: 15px;
}

.topbar-inner,
.nav-inner,
.section-inner,
.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--brand);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  text-decoration: none;
  color: var(--muted);
}

.nav-dropdown > a:hover {
  color: var(--brand);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(16, 24, 40, 0.14);
  min-width: 210px;
  padding: 8px;
  z-index: 10;
}

.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}

.dropdown-menu a:hover {
  background: var(--soft);
  color: var(--brand-dark);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: block;
}

.nav-links a.lang-toggle {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
  font-weight: 700;
  color: var(--brand-dark);
}

.nav-links a.btn-nav {
  background: var(--brand);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a.btn-nav:hover {
  background: var(--brand-dark);
  color: var(--white);
}

.dropdown-menu {
  max-height: 70vh;
  overflow-y: auto;
}

.hero {
  background:
    linear-gradient(90deg, rgba(11, 35, 54, 0.95), rgba(17, 132, 91, 0.8)),
    radial-gradient(circle at 85% 12%, rgba(213, 154, 42, 0.32), transparent 30%),
    radial-gradient(circle at 20% 30%, rgba(213, 154, 42, 0.22), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 14px),
    var(--ink);
  color: var(--white);
}

.hero-inner {
  min-height: 560px;
  display: grid;
  grid-template-columns: 1fr 360px;
  align-items: center;
  gap: 44px;
  padding: 64px 0 44px;
}

.eyebrow {
  color: #f0c75e;
  font-weight: 700;
  margin: 0 0 8px;
}

h1,
h2,
h3 {
  line-height: 1.35;
  margin: 0 0 16px;
  font-weight: 800;
}

h1 {
  font-size: 46px;
}

h2 {
  font-size: 32px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0 0 14px;
}

.hero-copy {
  font-size: 19px;
  color: #eef8ff;
  max-width: 740px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(17, 132, 91, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(17, 132, 91, 0.45);
}

.section h2 {
  position: relative;
  padding-bottom: 12px;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold), #f0c75e);
}

.btn-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-media {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 28px;
  text-align: center;
}

.hero-media img {
  width: min(250px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.28));
}

.hero-media strong {
  display: block;
  margin-top: 18px;
  font-size: 24px;
}

.hero-media span {
  color: #dcefff;
}

.section {
  padding: 58px 0;
}

.section-soft {
  background: var(--soft);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.14);
}

.card h3 {
  color: var(--brand-dark);
}

.stars {
  color: var(--gold);
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.review-cat {
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.card-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 14px;
}

.card-image img {
  width: 100%;
  height: auto;
  display: block;
}

.card-image.tinted::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 132, 91, 0.15), rgba(10, 101, 69, 0.55));
  pointer-events: none;
}

.trustbar {
  background: #101828;
  color: var(--white);
  padding: 22px 0;
}

.trustbar .section-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: #f0c75e;
}

.hero-alt .hero-media {
  order: -1;
}

.theme-desert .hero {
  background:
    linear-gradient(90deg, rgba(58, 30, 8, 0.95), rgba(158, 92, 22, 0.78)),
    radial-gradient(circle at 85% 12%, rgba(240, 199, 94, 0.35), transparent 32%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.025) 0 2px, transparent 2px 14px),
    #241505;
  color: var(--white);
}

.card strong {
  color: var(--brand-dark);
}

.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.areas span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  background: var(--white);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: start;
}

.notice {
  border-right: 4px solid var(--gold);
  background: #fff8ea;
  padding: 18px;
  border-radius: 8px;
}

.cta {
  background: var(--brand-dark);
  color: var(--white);
  padding: 46px 0;
}

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

.cta p {
  color: #e8fff6;
}

.footer {
  background: #101828;
  color: #d5dbea;
  padding: 26px 0;
  font-size: 14px;
}

.footer .section-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer h4 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: 17px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer ul li {
  margin-bottom: 8px;
}

.footer ul a {
  color: #d5dbea;
  text-decoration: none;
}

.footer ul a:hover {
  color: #f0c75e;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(17, 132, 91, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(17, 132, 91, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(17, 132, 91, 0);
  }
}

.floating-call {
  animation: pulse-ring 2.2s infinite;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .floating-call {
    animation: none;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  font-size: 14px;
  width: 100%;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-links a {
  color: #d5dbea;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.floating-call {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 8;
  background: var(--brand);
  color: var(--white);
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.floating-whatsapp {
  position: fixed;
  left: 18px;
  bottom: 84px;
  z-index: 8;
  background: #25d366;
  color: var(--white);
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: var(--white);
}

.price-table th,
.price-table td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: right;
}

.price-table th {
  background: var(--soft);
}

.price-table .price {
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
}

.price-table .quote-link {
  color: var(--brand-dark);
  font-weight: 700;
}

@media (max-width: 850px) {
  .topbar-inner,
  .nav-inner,
  .cta .section-inner,
  .footer .section-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px;
  }

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

  .footer ul {
    column-count: 2;
    column-gap: 18px;
  }

  .footer ul li {
    break-inside: avoid;
  }

  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table td {
    display: block;
    width: 100%;
  }

  .price-table thead {
    display: none;
  }

  .price-table tr {
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 12px;
    background: var(--white);
    padding: 6px 4px;
  }

  .price-table td {
    border: none;
    padding: 6px 12px;
  }

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

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

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }
}

@media (max-width: 850px) {
  .menu-toggle {
    display: block;
  }

  .site-header .nav-inner {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .site-header .nav-links {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 12px;
  }

  .site-header .nav-links.open {
    display: flex;
  }

  .site-header .nav-links > a,
  .site-header .nav-dropdown > a {
    padding: 10px 4px;
    border-top: 1px solid var(--line);
  }

  .site-header .nav-dropdown {
    width: 100%;
  }

  .site-header .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--line);
    border-radius: 0;
    max-height: none;
    padding: 4px 12px;
  }

  .site-header .nav-links a.btn-nav {
    text-align: center;
    margin-top: 10px;
  }

  .site-header .nav-links a.lang-toggle {
    align-self: flex-start;
    margin-top: 10px;
  }
}
