:root {
  --ink: #0b1f33;
  --muted: #607487;
  --blue: #0766c6;
  --blue-deep: #063b7a;
  --cyan: #0fa7c9;
  --green: #19a974;
  --gold: #c9972f;
  --line: #dce8f2;
  --soft: #f4f8fb;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(6, 59, 122, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.topbar {
  background: #062f61;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.topbar .container {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-links,
.contact-row,
.social-row,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 232, 242, 0.72);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 14px 30px rgba(11, 31, 51, 0.08);
  background: rgba(255, 255, 255, 0.96);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  min-width: 210px;
  flex: 0 0 auto;
}

.brand-logo {
  width: 205px;
  height: auto;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1 1 auto;
  min-width: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 10px;
  border-radius: 8px;
  color: #233b53;
  font-weight: 650;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-deep);
  background: #edf6ff;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  box-shadow: 0 14px 28px rgba(7, 102, 198, 0.22);
}

.btn-secondary {
  color: var(--blue-deep);
  background: var(--white);
  border-color: var(--line);
}

.btn-whatsapp {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 28px rgba(25, 169, 116, 0.18);
}

.btn-ghost {
  color: var(--blue-deep);
  background: #eef7ff;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 114px);
  display: flex;
  align-items: center;
  padding: 86px 0 54px;
  background:
    linear-gradient(90deg, rgba(7, 42, 82, 0.92), rgba(7, 70, 132, 0.68), rgba(255, 255, 255, 0.2)),
    url("https://images.unsplash.com/photo-1581093458791-9f3c3ae89232?auto=format&fit=crop&w=1800&q=80") center / cover;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 92px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.94));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-deep);
  background: #e9f6ff;
  border: 1px solid #c9e8fb;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8fbff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 22px 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 16px;
}

h3 {
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.lead {
  color: #dcebf8;
  font-size: clamp(17px, 2vw, 21px);
  max-width: 680px;
}

.section-intro .lead,
.page-intro .lead,
.split-copy .lead {
  color: var(--muted);
}

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

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 42px;
  max-width: 720px;
}

.proof-item {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.proof-item strong {
  display: block;
  font-size: 24px;
}

.proof-item span {
  display: block;
  color: #dcebf8;
  font-size: 13px;
}

section {
  padding: 88px 0;
}

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

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 36px;
}

.section-intro > div {
  max-width: 720px;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(11, 31, 51, 0.02);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: #c8dcec;
}

.feature-card,
.product-card,
.service-card,
.cert-card,
.trust-card {
  padding: 26px;
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: #eaf6ff;
  margin-bottom: 18px;
}

.icon.gold {
  color: var(--gold);
  background: #fff7e6;
}

.icon.green {
  color: var(--green);
  background: #eaf9f3;
}

.product-card img,
.gallery-card img,
.preview-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card .content,
.preview-card .content,
.gallery-card .content {
  padding: 22px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 10px;
  color: #31506b;
  background: #f0f6fb;
  font-size: 13px;
  font-weight: 700;
}

.arabic-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid #c9e8fb;
  border-radius: 8px;
  color: var(--blue-deep);
  background: #eef8ff;
  font-weight: 800;
}

.hero .arabic-note {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

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

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric-panel {
  position: absolute;
  left: 24px;
  bottom: 24px;
  width: min(320px, calc(100% - 48px));
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 32px rgba(11, 31, 51, 0.12);
}

.metric-panel strong {
  display: block;
  color: var(--blue-deep);
  font-size: 34px;
  line-height: 1;
}

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

.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #324c65;
}

.check-list i {
  color: var(--green);
  margin-top: 3px;
}

.industries {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.industry {
  min-height: 132px;
  padding: 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.industry:last-child {
  border-right: 0;
}

.industry i {
  color: var(--blue);
}

.cert-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cert-pill {
  min-height: 118px;
  padding: 22px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  grid-auto-rows: 230px;
  gap: 16px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #d9e8f3;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.gallery-tile:hover img {
  transform: scale(1.05);
}

.gallery-tile.large {
  grid-row: span 2;
}

.gallery-label {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: calc(100% - 32px);
  color: var(--white);
  background: rgba(6, 47, 97, 0.82);
  border-radius: 8px;
  padding: 10px 12px;
  font-weight: 800;
}

.quote-band {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 47, 97, 0.96), rgba(7, 102, 198, 0.84)),
    url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.quote-band .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.quote-band p {
  color: #dcebf8;
  max-width: 690px;
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: start;
}

.form-panel,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: #2d4760;
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cdddea;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(7, 102, 198, 0.12);
}

.page-hero {
  padding: 92px 0 72px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 47, 97, 0.95), rgba(7, 102, 198, 0.72)),
    var(--page-image, url("https://images.unsplash.com/photo-1631217868264-e5b90bb7e133?auto=format&fit=crop&w=1700&q=80")) center / cover;
}

.page-intro {
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #dcebf8;
  font-weight: 700;
  margin-bottom: 18px;
}

.timeline {
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.timeline-item {
  position: relative;
  padding: 22px 22px 22px 70px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--blue);
  font-weight: 900;
}

.site-footer {
  color: #d8e8f6;
  background: #071d32;
  padding: 64px 0 28px;
}

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

.site-footer h3 {
  color: var(--white);
  font-size: 16px;
}

.site-footer .brand {
  width: max-content;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--white);
  margin-bottom: 16px;
}

.site-footer .brand-logo {
  width: 250px;
  max-width: 100%;
  mix-blend-mode: normal;
}

.site-footer a,
.site-footer p {
  color: #bfd2e3;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9fb6c9;
  font-size: 14px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .nav-links {
    position: fixed;
    inset: 115px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 13px 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-actions .btn-secondary {
    display: none;
  }

  .grid-4,
  .industries,
  .cert-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .industry {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .footer-grid,
  .form-wrap,
  .split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .nav {
    min-height: 70px;
  }

  .nav-links {
    top: 84px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 168px;
    max-height: 48px;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 76px 0 46px;
  }

  .hero-proof,
  .grid-2,
  .grid-3,
  .grid-4,
  .cert-strip,
  .industries,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .section-intro,
  .quote-band .container,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  section {
    padding: 64px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-tile.large {
    grid-row: span 1;
  }

  .split-media img {
    min-height: 320px;
  }

  .metric-panel {
    position: static;
    width: 100%;
    margin-top: 14px;
  }

  .hero-actions,
  .btn {
    width: 100%;
  }
}
