:root {
  --bg: #071a14;
  --bg-soft: #0c261d;
  --surface: #123328;
  --surface-2: #184233;
  --text: #f3f7f4;
  --muted: #b7c9bf;
  --accent: #d4a24a;
  --accent-2: #f0c36a;
  --line: rgba(243, 247, 244, 0.12);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --font-display: "El Messiri", sans-serif;
  --font-body: "IBM Plex Sans Arabic", sans-serif;
  --container: min(1120px, calc(100% - 2.5rem));
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(212, 162, 74, 0.16), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(46, 140, 104, 0.18), transparent 50%),
    linear-gradient(180deg, #061510 0%, #0a1f18 40%, #071a14 100%);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: auto -20% -30% auto;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(212, 162, 74, 0.12), transparent 65%);
  filter: blur(10px);
  z-index: 0;
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 26, 20, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(145deg, var(--accent-2), var(--accent)),
    radial-gradient(circle at 30% 30%, #fff6, transparent 50%);
  box-shadow: 0 8px 24px rgba(212, 162, 74, 0.35);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(7, 26, 20, 0.55);
  border-radius: 8px;
  transform: rotate(18deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.nav-call {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #b8842f);
  color: #1a1205 !important;
  font-weight: 700 !important;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 0 5rem;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 21, 16, 0.55) 0%, rgba(6, 21, 16, 0.35) 35%, rgba(6, 21, 16, 0.88) 100%),
    linear-gradient(90deg, rgba(6, 21, 16, 0.75) 0%, rgba(6, 21, 16, 0.25) 55%, rgba(6, 21, 16, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-location {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.85rem;
  color: var(--accent-2);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-location::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(212, 162, 74, 0.18);
  animation: pulse 2.2s ease infinite;
}

.hero-brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 6.2rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.hero-tagline {
  margin: 0.6rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 600;
  color: #e8f2ec;
}

.hero-lead {
  margin: 1rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #1a1205;
  box-shadow: 0 14px 30px rgba(212, 162, 74, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  color: var(--text);
  backdrop-filter: blur(8px);
}

.scroll-hint {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  z-index: 1;
}

.scroll-hint span {
  width: 4px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-2);
  animation: scrollDot 1.6s ease infinite;
}

.section {
  position: relative;
  z-index: 1;
  padding: 6rem 0;
}

.section-head {
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section-head h2,
.why-copy h2,
.contact-copy h2,
.about-seo h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.section-head p,
.why-copy > p,
.contact-copy > p {
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.about-seo {
  padding-top: 3.5rem;
  padding-bottom: 1rem;
}

.about-seo-inner {
  max-width: 760px;
  padding: 1.6rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(18, 51, 40, 0.85), rgba(12, 38, 29, 0.55));
}

.about-seo-inner p {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.about-seo-inner a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(18, 51, 40, 0.55);
  padding: 0.15rem 1.1rem 0.15rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.faq-item[open] {
  border-color: rgba(212, 162, 74, 0.35);
  background: rgba(24, 66, 51, 0.65);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-inline-end: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

.faq-item p {
  margin: 0 0 1.05rem;
  color: var(--muted);
  padding-inline-end: 1.5rem;
}

.faq-item a {
  color: var(--accent-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service {
  overflow: hidden;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.service:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 162, 74, 0.35);
  box-shadow: var(--shadow);
}

.service-visual {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.service-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service:hover .service-visual img {
  transform: scale(1.06);
}

.service h3,
.service p {
  padding-inline: 1.2rem;
}

.service h3 {
  margin: 1.1rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.service p {
  margin: 0 0 1.3rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.why {
  background:
    linear-gradient(180deg, transparent, rgba(18, 51, 40, 0.55), transparent);
}

.why-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.why-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.why-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.why-icon {
  width: 14px;
  height: 14px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(212, 162, 74, 0.15);
}

.why-list strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.why-list p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.why-panel {
  border-radius: calc(var(--radius) + 6px);
  padding: 1.6rem;
  background:
    linear-gradient(160deg, rgba(212, 162, 74, 0.16), transparent 45%),
    linear-gradient(180deg, var(--surface), var(--bg-soft));
  border: 1px solid rgba(212, 162, 74, 0.28);
  display: grid;
  gap: 1rem;
  align-content: center;
  box-shadow: var(--shadow);
}

.stat {
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--accent-2);
  line-height: 1.1;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.why-cta {
  width: 100%;
  margin-top: 0.4rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.gallery-wide {
  grid-row: span 2;
}

.gallery-tall {
  grid-column: 2 / 4;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.1rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 1.6rem;
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}

.contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-list span {
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-list a,
.contact-list strong {
  font-size: 1.1rem;
  font-weight: 600;
}

.contact-list a {
  color: var(--accent-2);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(212, 162, 74, 0.55);
  box-shadow: 0 0 0 4px rgba(212, 162, 74, 0.12);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  margin: 0;
  color: #9be7bf;
  font-size: 0.9rem;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2rem 0 6.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: end;
}

.footer-inner strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.footer-inner p {
  margin: 0;
}

.float-wa {
  position: fixed;
  left: 1.1rem;
  bottom: 1.1rem;
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  animation: floatY 3s ease-in-out infinite;
}

.float-wa svg {
  width: 30px;
  height: 30px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoom {
  from { transform: scale(1.08) translateY(0); }
  to { transform: scale(1.16) translateY(-1.5%); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(212, 162, 74, 0.18); }
  50% { box-shadow: 0 0 0 10px rgba(212, 162, 74, 0.08); }
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 960px) {
  .services-grid,
  .why-layout,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 200px 200px;
  }

  .gallery-wide {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 240px;
  }

  .gallery-tall {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    background: rgba(6, 21, 16, 0.96);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    font-size: 1.25rem;
    color: var(--text);
  }

  .hero {
    align-items: center;
    padding-bottom: 4rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-location {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(1120px, calc(100% - 1.4rem));
  }

  .section {
    padding: 4.2rem 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-item {
    min-height: 220px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-img,
  .float-wa,
  .scroll-hint span,
  .hero-location::before {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
