:root {
  --bg: #f7f3eb;
  --surface: #ffffff;
  --surface-soft: #f1e7d8;
  --text: #1f2022;
  --muted: #5f6368;
  --primary: #db6a1f;
  --primary-deep: #a94b12;
  --accent: #2f3d48;
  --success: #1f9f62;
  --shadow: 0 12px 35px rgba(31, 32, 34, 0.14);
  --radius-lg: 22px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Tajawal", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 10%, rgba(219, 106, 31, 0.22), transparent 38%),
    radial-gradient(circle at 92% 18%, rgba(47, 61, 72, 0.22), transparent 34%),
    linear-gradient(180deg, #f5ecdd 0%, #f7f3eb 100%);
  line-height: 1.7;
}

h1,
h2,
h3,
.brand {
  font-family: "Cairo", sans-serif;
  line-height: 1.25;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 235, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(95, 99, 104, 0.16);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.brand {
  text-decoration: none;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: var(--accent);
  border: 1px solid rgba(47, 61, 72, 0.35);
  background: rgba(255, 255, 255, 0.65);
}

.lang-switch:hover {
  background: var(--accent);
  color: #fff;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--primary-deep);
}

.btn-small {
  padding: 0.62rem 0.95rem;
  font-size: 0.92rem;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.2rem 0 2rem;
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.hero-bg-shape-one {
  width: 420px;
  height: 420px;
  top: -160px;
  right: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(219, 106, 31, 0.5), rgba(219, 106, 31, 0));
}

.hero-bg-shape-two {
  width: 350px;
  height: 350px;
  bottom: -110px;
  left: -90px;
  background: radial-gradient(circle at 50% 50%, rgba(47, 61, 72, 0.35), rgba(47, 61, 72, 0));
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
}

.hero-content {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(95, 99, 104, 0.17);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2.1rem;
}

.tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  background: rgba(219, 106, 31, 0.14);
  color: var(--primary-deep);
  border-radius: 999px;
  font-weight: 700;
  padding: 0.28rem 0.75rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  margin-bottom: 0.9rem;
}

.hero p {
  color: var(--muted);
  max-width: 60ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.quick-points {
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
  font-weight: 600;
}

.quick-points li::before {
  content: "✓";
  color: var(--success);
  margin-left: 0.45rem;
}

.hero-card {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.7rem;
}

.hero-card h2 {
  margin-bottom: 0.55rem;
}

.hero-card p {
  opacity: 0.9;
}

.quote-form {
  margin-top: 1.1rem;
  display: grid;
  gap: 0.5rem;
}

.quote-form label {
  font-weight: 700;
  font-size: 0.95rem;
}

.quote-form input,
.quote-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  font-family: inherit;
}

.quote-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.quote-form select {
  color: #fff;
}

.quote-form option {
  color: #1f2022;
}

.form-btn {
  margin-top: 0.65rem;
  width: 100%;
  border-radius: 10px;
}

.section {
  padding: 4rem 0;
}

.page-hero {
  padding: 3.2rem 0 0.8rem;
}

.page-hero-box {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(95, 99, 104, 0.17);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.page-hero p {
  color: var(--muted);
  margin-top: 0.45rem;
}

.center-link {
  margin-top: 1.2rem;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(95, 99, 104, 0.15);
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 32, 34, 0.1);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: 0.75rem;
  font-weight: 700;
}

.text-card {
  background: var(--surface);
  border: 1px solid rgba(95, 99, 104, 0.16);
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 4px 16px rgba(31, 32, 34, 0.07);
}

.text-card h3 {
  margin-bottom: 0.35rem;
}

.text-card p {
  color: var(--muted);
}

.section-head {
  margin-bottom: 1.2rem;
}

.section h2 {
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(95, 99, 104, 0.16);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(31, 32, 34, 0.07);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-panel,
.stats {
  background: var(--surface-soft);
  border: 1px solid rgba(95, 99, 104, 0.14);
  border-radius: var(--radius-lg);
  padding: 1.45rem;
}

.stats {
  display: grid;
  gap: 0.9rem;
  align-content: center;
}

.stat-item {
  background: #fff;
  border-radius: 12px;
  padding: 0.75rem;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 1.8rem;
  color: var(--primary);
  line-height: 1;
}

.contact-box {
  text-align: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, #25343f, #334858 42%, #3f5d71);
  color: #fff;
  padding: 2.1rem;
  box-shadow: var(--shadow);
}

.contact-box p {
  margin-top: 0.45rem;
  opacity: 0.9;
}

.contact-actions {
  margin-top: 1.1rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.contact-actions .btn-outline {
  border-color: #fff;
  color: #fff;
}

.contact-actions .btn-outline:hover {
  background: #fff;
  color: #1f2022;
}

.site-footer {
  padding: 1.3rem 0 2rem;
  text-align: center;
  color: var(--muted);
}

.floating-whatsapp {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 60;
  background: #21c25f;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.reveal,
.reveal-delay {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-delay {
  transition-delay: 0.2s;
}

.reveal.visible,
.reveal-delay.visible {
  opacity: 1;
  transform: translateY(0);
}

html[dir="ltr"] .quick-points li::before {
  margin-left: 0;
  margin-right: 0.45rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
  }

  .nav-actions {
    margin-inline-start: auto;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-content,
  .hero-card,
  .about-panel,
  .stats,
  .contact-box {
    padding: 1.15rem;
  }
}
