:root {
  --navy: #0b1b2b;
  --red: #d62828;
  --red-dark: #b31f1f;
  --sand: #f6f4f1;
  --card: #0f2438;
  --text: #0f172a;
  --muted: #5f6b7a;
  --border: #1f3349;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Cairo", "Tajawal", system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, rgba(11, 27, 43, 0.96), rgba(11, 27, 43, 0.88)), url('images/fire_solutions.jpg') no-repeat center/cover fixed;
  color: #f6f7fb;
  line-height: 1.7;
}

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

img {
  max-width: 100%;
  border-radius: 14px;
}

h1, h2, h3 {
  margin: 0 0 12px;
  color: #fdfdfd;
}

p {
  margin: 0 0 12px;
  color: #dfe6ef;
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  background: rgba(11, 27, 43, 0.95);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}

.top-bar__info {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 14px;
}

.top-bar__actions {
  display: flex;
  gap: 8px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fdfdfd;
  font-size: 13px;
  border: 1px solid rgba(255,255,255,0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  box-shadow: 0 12px 30px rgba(214, 40, 40, 0.35);
}

.btn.secondary {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.2);
}

.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.btn.large {
  padding: 16px 22px;
  font-size: 18px;
}

.nav {
  position: sticky;
  top: 52px;
  z-index: 15;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(11, 27, 43, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo__dot {
  width: 12px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  box-shadow: 0 12px 24px rgba(214, 40, 40, 0.4);
}

.logo__name {
  font-weight: 800;
  margin: 0;
}

.logo__sub {
  margin: 0;
  color: #c6d1de;
  font-size: 13px;
}

.nav__links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 600;
}

.nav__links a {
  padding: 8px 10px;
  border-radius: 8px;
  color: #dfe6ef;
}

.nav__links a:hover {
  background: rgba(255,255,255,0.06);
}

.nav__cta {
  text-align: left;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  align-items: center;
  padding: 48px 24px 24px;
}

.hero__content {
  background: rgba(11, 27, 43, 0.86);
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.eyebrow {
  color: #f0b8b8;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.lead {
  font-size: 18px;
  color: #e7edf5;
}

.cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0;
}

.hero__meta {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #dfe6ef;
}

.hero__visual {
  position: relative;
  background: rgba(11, 27, 43, 0.7);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: var(--red);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.section {
  padding: 36px 24px;
  background: rgba(11, 27, 43, 0.88);
  margin: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 14px 45px rgba(0,0,0,0.25);
}

.section__header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 24px;
}

.card, .process .step, .service-card, .accordion details {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 18px;
}

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

.grid.two { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.icon-circle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(214, 40, 40, 0.12);
  border: 1px solid rgba(214,40,40,0.4);
  font-size: 20px;
}

.service-card__top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

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

.bullets {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  color: #dfe6ef;
}

.bullets li {
  margin: 6px 0;
  padding-left: 12px;
  position: relative;
}

.bullets li::before {
  content: "•";
  position: absolute;
  left: -2px;
  color: var(--red);
}

.video__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 16px;
  align-items: center;
}

.video__wrapper video {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: #000;
}

.video__cta {
  padding: 18px;
  background: rgba(255,255,255,0.04);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
}

.usecases .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.accordion details {
  padding: 14px 16px;
}

.accordion summary {
  cursor: pointer;
  font-weight: 700;
  color: #fdfdfd;
}

.accordion p {
  margin-top: 10px;
  color: #e1e8f0;
}

.contact__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 16px 0;
}

.contact__info {
  text-align: center;
  color: #e7edf5;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.gallery__grid figure {
  margin: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  padding: 12px;
}

.gallery__grid figcaption {
  margin-top: 8px;
  color: #dfe6ef;
  font-size: 14px;
}

.gallery__grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
}

.center { justify-content: center; }

.map-wrapper {
  margin-top: 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.sitelinks {
  background: rgba(255,255,255,0.04);
}

.sitelinks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.sitelink-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(11, 27, 43, 0.92);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.sitelink-card:hover {
  transform: translateY(-2px);
  border-color: rgba(214, 40, 40, 0.5);
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}

.sitelink-card__title {
  font-weight: 700;
  color: #fdfdfd;
}

.sitelink-card__cta {
  color: #f0b8b8;
  font-weight: 600;
  font-size: 14px;
}

.footer {
  background: rgba(7, 17, 27, 0.95);
  color: #dfe6ef;
  padding: 24px;
  margin-top: 20px;
}

.footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  align-items: center;
}

.footer__links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  color: #c6d1de;
}

@media (max-width: 900px) {
  .nav {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .nav__cta {
    text-align: center;
  }
  .hero {
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  .top-bar, .nav, .section, .hero {
    margin: 0;
    border-radius: 0;
  }
  .service-card__top {
    grid-template-columns: 1fr;
  }
}
