:root {
  --carbon: #070707;
  --graphite: #171717;
  --steel: #2b2b2b;
  --amber: #f6a800;
  --flame: #ff7a00;
  --sand: #f5f2ea;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  --max: 1180px;
  --font-display: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--carbon);
  font-family: "Segoe UI", Arial, sans-serif;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 78px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  background: rgba(7, 7, 7, 0.9);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.brand-logo {
  width: 230px;
  max-height: 58px;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a,
.header-phone {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}

.nav a:hover,
.header-phone:hover {
  color: var(--amber);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--white);
  font-size: 22px;
}

.hero {
  position: relative;
  min-height: 92vh;
  padding-top: 80px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--carbon);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.14)),
    url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=2400&q=85") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(transparent, var(--carbon));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 90px 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1.02;
  font-weight: 850;
}

h1 {
  max-width: 860px;
  font-size: clamp(40px, 6.6vw, 82px);
}

h2 {
  font-size: clamp(34px, 4.3vw, 56px);
  font-weight: 820;
}

h3 {
  font-size: 24px;
  font-weight: 820;
  line-height: 1.12;
}

.hero-subtitle {
  margin: 28px 0 0;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: clamp(23px, 3vw, 34px);
  font-weight: 850;
  text-transform: uppercase;
}

.hero-text,
.section-heading p,
.section-copy p,
.contact-info p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
  line-height: 1.75;
}

.section-copy p,
.section-heading p,
.contact-info p {
  color: rgba(43, 43, 43, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.btn,
.quote-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover,
.quote-form button:hover {
  transform: translateY(-2px);
}

.primary,
.quote-form button {
  background: var(--amber);
  color: var(--carbon);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2)) 72px;
  background: var(--carbon);
}

.stats article {
  padding: 30px;
  background: #111;
  color: var(--white);
}

.stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 850;
  text-transform: uppercase;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section {
  padding: 96px max(24px, calc((100vw - var(--max)) / 2));
}

.split {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 70px;
}

.label {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 800;
  color: rgba(7, 7, 7, 0.78);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--flame);
}

.arabic {
  direction: rtl;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.image-panel {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.panel-badge {
  position: absolute;
  right: 0;
  top: 0;
  padding: 28px;
  background: var(--amber);
  color: var(--carbon);
}

.panel-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 850;
  line-height: 0.9;
}

.panel-badge span {
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.dark {
  color: var(--white);
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    var(--carbon);
  background-size: 34px 34px;
}

.dark .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 54px;
}

.service-card {
  background: var(--white);
  color: var(--carbon);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-card img {
  height: 240px;
  object-fit: cover;
}

.service-card div {
  padding: 26px;
}

.service-card p {
  color: rgba(43, 43, 43, 0.72);
  line-height: 1.7;
}

.service-card a {
  display: inline-block;
  margin-top: 16px;
  color: var(--flame);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.wide img {
  height: 100%;
}

.gallery-section {
  background: var(--sand);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 270px;
  gap: 20px;
  margin-top: 54px;
}

.gallery figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--carbon);
}

.gallery .tall {
  grid-row: span 2;
}

.gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery figure:hover img {
  transform: scale(1.06);
}

.gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 850;
  text-transform: uppercase;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 46px;
}

blockquote {
  margin: 0;
  padding: 30px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 19px;
  font-weight: 750;
  line-height: 1.65;
}

cite {
  display: block;
  margin-top: 24px;
  color: rgba(43, 43, 43, 0.62);
  font-size: 13px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  margin-top: 48px;
  background: rgba(0, 0, 0, 0.1);
  gap: 1px;
}

.logos span {
  display: grid;
  min-height: 94px;
  place-items: center;
  background: var(--sand);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 850;
  color: rgba(7, 7, 7, 0.62);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  background: var(--sand);
}

.contact-info a {
  color: var(--flame);
  font-weight: 800;
}

.whatsapp-inline {
  margin-top: 18px;
  background: #25d366;
  color: var(--white);
}

.quote-form {
  display: grid;
  gap: 15px;
  padding: 34px;
  background: var(--carbon);
  box-shadow: var(--shadow);
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px;
  font: inherit;
  color: var(--carbon);
  background: var(--white);
  outline: none;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--amber);
}

.form-note {
  margin: 0;
  padding: 14px;
  border: 1px solid rgba(246, 168, 0, 0.4);
  color: var(--amber);
  background: rgba(246, 168, 0, 0.1);
}

.map {
  display: block;
  width: 100%;
  height: 430px;
  border: 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
  color: var(--white);
  background: var(--carbon);
}

.footer strong {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 850;
  text-transform: uppercase;
}

.footer p {
  color: rgba(255, 255, 255, 0.58);
}

.floating-whatsapp {
  position: fixed;
  z-index: 60;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.04);
}

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

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 18px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    inset: 80px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 18px 22px;
    background: var(--carbon);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 15px 0;
  }

  .header-phone {
    display: none;
  }

  .stats,
  .service-grid,
  .testimonial-grid,
  .logos,
  .contact,
  .split {
    grid-template-columns: 1fr 1fr;
  }

  .wide {
    grid-column: span 2;
  }
}

@media (max-width: 680px) {
  .brand-logo {
    width: 176px;
    max-height: 48px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 52px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .hero-content,
  .section {
    width: auto;
    padding-left: 18px;
    padding-right: 18px;
  }

  .section {
    padding-top: 76px;
    padding-bottom: 76px;
  }

  .stats,
  .service-grid,
  .testimonial-grid,
  .logos,
  .contact,
  .split,
  .wide,
  .gallery {
    grid-template-columns: 1fr;
  }

  .stats {
    padding-left: 18px;
    padding-right: 18px;
  }

  .wide {
    grid-column: auto;
    display: block;
  }

  .gallery {
    grid-auto-rows: 320px;
  }

  .gallery .tall {
    grid-row: span 1;
  }

  .footer {
    flex-direction: column;
    padding-left: 18px;
    padding-right: 18px;
  }
}
