@font-face {
  font-family: "IBM Plex Sans";
  src: url("/fonts/IBMPlexSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("/fonts/NotoKufiArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  direction: ltr;
  font-family: "IBM Plex Sans", "Noto Kufi Arabic", "Segoe UI", Arial, sans-serif;
  color: #0f1a3a;
  background: #f5f7fb;
}

html[lang="ar"] body {
  direction: rtl;
  font-family: "Noto Kufi Arabic", "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
}

html[lang="en"] body,
html[lang="es"] body {
  font-family: "IBM Plex Sans", "Noto Kufi Arabic", "Segoe UI", Arial, sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5e9f2;
  backdrop-filter: blur(4px);
}

.brand {
  color: inherit;
  text-decoration: none;
  font-size: 1.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #6b7cff;
  color: #ffffff;
  font-weight: 700;
}

.brand-text {
  letter-spacing: 0.2px;
}

.nav-links a {
  color: #334063;
  text-decoration: none;
  font-weight: 600;
}

.nav-links {
  align-items: center;
}

.nav-links a:hover {
  color: #4b5fe5;
}

.lang-select {
  min-width: 120px;
  font-weight: 600;
}

.hero-section {
  padding: 36px 0 28px;
  background: radial-gradient(circle at 80% 20%, #dbe3ff 0%, #f5f7fb 45%);
}

.hero-layout {
  min-height: 520px;
}

.hero-custom-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.hero-kicker {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: #ecf0ff;
  color: #4b5fe5;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-text {
  font-size: 1.08rem;
  color: #4d5a7d;
  margin-bottom: 1.5rem;
}

.hero-mini-cards {
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.hero-cards-section {
  padding: 20px 0 34px;
}

.reports-overview-section {
  padding: 6px 0 54px;
}

.compare-section {
  padding: 8px 0 58px;
}

.compare-title {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 0.35rem;
  color: #102a5c;
}

.compare-accent {
  color: #00a8d6;
}

.compare-board {
  border: 1px solid #dbe3f4;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  background: #fff;
}

.compare-col {
  display: flex;
  flex-direction: column;
}

.compare-col-left {
  background: #fff8f8;
}

.compare-col-good {
  background: #f3fbff;
}

.compare-col-head {
  font-weight: 800;
  letter-spacing: 0.6px;
  font-size: 0.9rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #dbe3f4;
}

.compare-col-left .compare-col-head {
  color: #d14343;
}

.compare-col-good .compare-col-head {
  color: #0c2f73;
}

.compare-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.86rem 1rem;
  border-bottom: 1px solid #dbe3f4;
  min-height: 54px;
}

.compare-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  flex: 0 0 auto;
}

.compare-icon-bad {
  background: #ffe1e1;
  color: #ef4444;
}

.compare-icon-good {
  background: #dff6ff;
  color: #0c2f73;
}

.compare-divider {
  background: linear-gradient(180deg, #0c2f73 0%, #00a8d6 100%);
}

.compare-impact {
  padding: 1rem;
  text-align: center;
}

.compare-impact strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.compare-impact small {
  display: block;
  font-size: 1rem;
}

.compare-impact-bad strong {
  color: #ef4444;
}

.compare-impact-bad small {
  color: #b24545;
}

.compare-impact-good strong {
  color: #0c2f73;
}

.compare-impact-good small {
  color: #35507f;
}

.gallery-section {
  padding-top: 56px;
}

.gallery-slideshow {
  display: grid;
  grid-template-columns: 56px 1fr 56px;
  gap: 0.7rem;
  align-items: center;
}

.gallery-nav {
  height: 56px;
  border-radius: 12px;
  border: 1px solid #d9e3f4;
  background: #ffffff;
  color: #0c2f73;
  font-size: 2rem;
  line-height: 1;
  padding-bottom: 3px;
  box-shadow: 0 6px 18px rgba(23, 40, 89, 0.08);
}

.gallery-main {
  margin: 0;
  background: #ffffff;
  border: 1px solid #dde6f7;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 14px 28px rgba(23, 40, 89, 0.1);
}

.gallery-main img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 10px;
  background: #f8fbff;
}

.gallery-meta {
  margin-top: 0.7rem;
  text-align: center;
  color: #35507f;
  font-weight: 700;
}

.gallery-dots {
  margin-top: 0.55rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: #c6d5ef;
  padding: 0;
}

.gallery-dot.active {
  background: #0c2f73;
}

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

.report-card {
  background: #ffffff;
  border: 1px solid #e2e8f6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(23, 40, 89, 0.07);
}

.report-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid #edf1fb;
}

.report-card-body {
  padding: 1rem 1rem 1.1rem;
}

.report-card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.report-card-body p {
  margin: 0;
  color: #556486;
}

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

.blog-card {
  background: #fff;
  border: 1px solid #dfe7f6;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(23, 40, 89, 0.08);
}

.blog-card-cover {
  height: 170px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(12, 47, 115, 0.92);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.blog-card-body {
  padding: 1rem 1.1rem 1.2rem;
}

.blog-card-body h3 {
  margin: 0.3rem 0 0.6rem;
  color: #122a5f;
}

.blog-meta {
  color: #6c7ea5;
  font-size: 0.9rem;
}

.blog-link {
  text-decoration: none;
  color: #2c4cb0;
  font-weight: 700;
}

.blog-post-single {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dfe7f6;
  border-radius: 16px;
  padding: 1rem;
}

.blog-post-content {
  margin-top: 0.8rem;
  color: #243a66;
  line-height: 1.7;
}

.blog-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.hero-mini-card {
  background: #ffffff;
  border: 1px solid #e6ebf6;
  border-radius: 18px;
  padding: 1.1rem 1rem;
  box-shadow: 0 8px 18px rgba(23, 40, 89, 0.06);
  text-align: center;
}

.hero-mini-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0c2f73;
  margin-bottom: 0.55rem;
}

.hero-mini-icon svg {
  width: 30px;
  height: 30px;
}

.hero-mini-card h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.hero-mini-card p {
  margin: 0;
  color: #5a6887;
  font-size: 1rem;
  line-height: 1.35;
}

.section-block {
  padding: 70px 0;
}

.section-block.alt {
  background: #eef1fa;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 2rem;
}

.section-head h2 {
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
  margin-bottom: 0.75rem;
}

.section-head p {
  color: #5d6a8a;
  margin-bottom: 0;
}

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

.feature-item,
.step-card {
  background: #ffffff;
  border: 1px solid #e1e6f2;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 6px 18px rgba(23, 40, 89, 0.05);
}

.feature-item h3,
.step-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}

.feature-item p,
.step-card p {
  margin-bottom: 0;
  color: #5d6a8a;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dfe5f4;
  border-radius: 16px;
  padding: 1.7rem;
  box-shadow: 0 10px 30px rgba(23, 40, 89, 0.06);
}

.contact-item {
  background: #f8faff;
  border: 1px solid #dfe7fb;
  border-radius: 12px;
  padding: 1rem;
  height: 100%;
}

.contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #5d6a8a;
}

.contact-note {
  color: #4d5a7d;
  font-size: 0.95rem;
}

.contact-card a {
  text-decoration: none;
}

.site-footer {
  background: #6b7cff;
  color: #edf1ff;
}

.order-page-wrap {
  background: radial-gradient(circle at 20% 20%, #e7edff 0%, #f5f7fb 55%);
  min-height: calc(100vh - 140px);
}

.order-card {
  width: min(760px, 100%);
  border: 1px solid #dbe3f3;
  border-radius: 18px;
  background: #ffffff;
  padding: 1.75rem;
  box-shadow: 0 14px 36px rgba(23, 40, 89, 0.10);
}

@media (max-width: 768px) {
  .site-header .container-xl {
    justify-content: center !important;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    order: 3;
    font-size: 0.95rem;
  }

  .header-actions {
    width: 100%;
    justify-content: center !important;
  }

  .hero-section {
    padding-top: 42px;
  }

  .hero-layout {
    min-height: auto;
  }

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

  .reports-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .compare-board {
    grid-template-columns: 1fr;
  }

  .compare-divider {
    display: none;
  }

  .gallery-slideshow {
    grid-template-columns: 1fr;
  }

  .gallery-nav {
    height: 46px;
    font-size: 1.6rem;
  }

  .header-actions {
    flex-wrap: wrap;
  }

  .lang-select {
    min-width: 110px;
  }

  .order-card {
    padding: 1.15rem;
  }
}

@media (max-width: 520px) {
  .hero-mini-cards {
    grid-template-columns: 1fr;
  }
}
