:root {
  --bg: #f4f8fb;
  --surface: #ffffff;
  --ink: #26394d;
  --muted: #718093;
  --line: #d9e5ef;
  --blue: #1f74b7;
  --blue-deep: #145184;
  --cyan: #54c1d5;
  --accent: #eb2b62;
  --shadow: 0 18px 55px rgba(31, 116, 183, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Tajawal", "Rubik", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 15.5px;
  line-height: 1.85;
  letter-spacing: 0;
}
h1, h2, h3, h4, h5, h6, button, input, textarea, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(18px);
}
.topbar {
  min-height: 54px;
  background: #eef5fa;
  color: #64768a;
  font-size: 14px;
  border-bottom: 1px solid rgba(217, 229, 239, .72);
}
.topbar-inner {
  width: 100%;
  max-width: 1180px;
  min-height: 54px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  color: #63768a;
  font-weight: 500;
}
.topbar-action {
  background: var(--accent);
  color: white !important;
  padding: 0 34px;
  font-weight: 800 !important;
}
.nav-shell {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 104px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 152px;
}
.brand img { width: 128px; height: auto; }
.site-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #52657b;
  font-size: 16px;
  font-weight: 800;
  flex: 1;
}
.site-menu a { position: relative; }
.site-menu a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: white !important;
  padding: 12px 20px;
  border-radius: 8px;
  margin-inline-start: auto;
  box-shadow: 0 10px 24px rgba(31, 116, 183, .2);
}
.menu-toggle { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.menu-toggle span { display: block; height: 2px; background: var(--ink); margin: 7px; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr minmax(340px, 540px);
  align-items: center;
  gap: 48px;
  padding: 54px max(24px, calc((100vw - 1180px) / 2));
  background: linear-gradient(135deg, #eef6fb 0%, #f8fbfd 52%, #eaf6fa 100%);
  overflow: hidden;
}
.hero-media { order: 2; }
.hero-media img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.hero-copy { order: 1; }
.hero-copy span, .page-hero span, .section-kicker {
  color: var(--blue);
  font-weight: 800;
  margin: 0 0 10px;
}
.hero h1, .page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.15;
  letter-spacing: 0;
  color: #25384c;
}
.hero p {
  margin: 24px 0 0;
  max-width: 520px;
  color: #617287;
  font-size: 18px;
}
.hero-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  border: 1px solid transparent;
}
.button.primary { background: var(--accent); color: white; }
.button.secondary { background: var(--blue); color: white; }
.button.ghost { color: var(--blue-deep); border-color: var(--line); background: white; }
.button.light { color: white; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); }

.split-section, .impact-band, .content-section, .download-band, .cta-section {
  padding: 92px max(24px, calc((100vw - 1180px) / 2));
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  background: white;
}
h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.2;
  letter-spacing: 0;
}
h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.35; }
.section-copy p, .article-body p, .service-detail p, .shop-state p {
  color: #66788c;
  margin: 0 0 18px;
}
.image-frame img, .impact-band figure img, .service-figure img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.founder {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.founder img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.founder span { display: block; color: var(--accent); font-size: 14px; }

.impact-band {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
  background: #edf6fb;
}
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.check-list li {
  position: relative;
  padding: 18px 22px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.metrics-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metrics-section div { background: white; padding: 38px 24px; text-align: center; }
.metrics-section strong { display: block; color: var(--blue); font-size: 48px; line-height: 1; }
.metrics-section span { color: var(--muted); font-weight: 800; }

.content-section { background: white; }
.content-section.muted { background: #f6fafc; }
.content-section > .section-kicker, .content-section > h2 { text-align: center; }
.brand-grid, .service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}
.brand-card, .service-card, .contact-card, .download-card, .article-aside {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 10px 34px rgba(31,116,183,.07);
}
.brand-card img { height: 58px; width: auto; margin: 0 0 22px; filter: saturate(.82); }
.brand-card p, .service-card p { color: #687b8f; margin: 0; }
.service-grid { grid-template-columns: repeat(5, 1fr); }
.service-card { min-height: 262px; display: flex; flex-direction: column; }
.service-card img { width: 76px; height: 70px; object-fit: contain; margin-bottom: 18px; }
.service-card a { margin-top: auto; color: var(--blue); font-weight: 900; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 34px;
}
.gallery-item {
  border: 0;
  padding: 0;
  background: transparent;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.gallery-item:hover img { transform: scale(1.05); }

.download-band {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 48px;
  align-items: center;
  background: #eef6fb;
}
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.download-card {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white url("assets/teeth-bg.jpg") center/cover;
}
.download-card span { color: var(--accent); font-weight: 900; }
.download-card strong { font-size: 22px; color: var(--ink); }

.cta-section {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  background: var(--blue-deep);
  color: white;
}
.cta-section p { margin: 0 0 8px; color: #bde4f3; }
.cta-section h2 { margin: 0; }

.page-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-items: center;
  padding: 70px max(24px, calc((100vw - 1180px) / 2));
  background: #0f426d;
  color: white;
  overflow: hidden;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}
.page-hero div { position: relative; max-width: 760px; }
.page-hero h1 { color: white; }
.page-hero p { max-width: 760px; color: #d5edf7; font-size: 20px; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 34px;
  align-items: start;
}
.article-body {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 34px;
}
.article-aside { position: sticky; top: 140px; display: grid; gap: 12px; }
.article-aside span {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--blue);
  font-weight: 800;
}

.service-detail {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 44px;
  align-items: center;
}
.service-icon-large { width: 112px; height: 100px; object-fit: contain; margin-bottom: 24px; }
.service-figure img { width: 100%; max-height: 720px; object-fit: contain; background: white; }
.shop-state { text-align: center; min-height: 420px; }
.centered { justify-content: center; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.contact-card span { color: var(--muted); font-weight: 800; }
.contact-card strong { display: block; margin: 12px 0 24px; font-size: 24px; overflow-wrap: anywhere; }

.site-footer {
  background: linear-gradient(180deg, #0d466f 0%, #073657 100%);
  color: white;
}
.footer-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 66px 24px 44px;
  display: grid;
  grid-template-columns: 1.42fr .78fr .82fr .98fr;
  gap: 36px;
  align-items: start;
}
.footer-brand,
.footer-column {
  text-align: start;
}
.footer-brand img {
  width: 108px;
  margin-bottom: 18px;
  background: transparent;
  border-radius: 0;
  padding: 0;
  filter: brightness(0) invert(1);
  opacity: .7;
}
.footer-brand h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 25px;
  line-height: 1.45;
}
.footer-brand p {
  max-width: 380px;
  margin: 0;
  color: #c4d7e2;
  line-height: 1.95;
}
.footer-column {
  display: grid;
  gap: 11px;
  justify-items: start;
}
.footer-column h4 {
  margin: 0 0 12px;
  color: white;
  font-size: 19px;
  font-weight: 900;
}
.footer-column a {
  color: #c8dce8;
  font-weight: 700;
  justify-self: start;
}
.footer-column a:hover { color: white; }
.footer-contact a {
  overflow-wrap: anywhere;
}
.footer-contact span[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
}
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 24px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #b9d4e4;
}
.footer-bottom p {
  margin: 0;
}
.footer-links {
  display: flex;
  gap: 18px;
  color: #d9eef7;
  font-weight: 800;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(5, 24, 39, .88);
  padding: 28px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(980px, 94vw); max-height: 86vh; border-radius: 8px; }
.lightbox button {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1040px) {
  .hero, .split-section, .impact-band, .download-band, .service-detail, .article-layout {
    grid-template-columns: 1fr;
  }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .download-grid { grid-template-columns: 1fr; }
  .metrics-section { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1120px) {
  .nav-shell { min-height: 78px; padding: 0 16px; gap: 14px; }
  .brand { flex-basis: auto; }
  .brand img { width: 92px; }
  .menu-toggle { display: block; }
  .site-menu {
    position: absolute;
    inset-inline: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .site-menu.is-open { display: flex; }
  .site-menu a { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .nav-cta { border-radius: 0; text-align: center; margin-inline-start: 0; box-shadow: none; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .topbar { font-size: 12.5px; }
  .topbar-inner {
    min-height: auto;
    flex-wrap: wrap;
    gap: 8px 16px;
    justify-content: flex-start;
    padding: 8px 16px;
  }
  .topbar a { min-height: 34px; }
  .topbar-action { padding: 0 14px; }
  .nav-shell { min-height: 78px; padding: 0 16px; gap: 14px; }
  .brand { flex-basis: auto; }
  .brand img { width: 92px; }
  .menu-toggle { display: block; }
  .site-menu {
    position: absolute;
    inset-inline: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    overflow: hidden;
  }
  .site-menu.is-open { display: flex; }
  .site-menu a { padding: 14px 18px; border-bottom: 1px solid var(--line); }
  .nav-cta { border-radius: 0; text-align: center; margin-inline-start: 0; box-shadow: none; }
  .hero { min-height: auto; padding: 42px 18px; gap: 28px; }
  .hero h1, .page-hero h1 { font-size: 42px; }
  .split-section, .impact-band, .content-section, .download-band, .cta-section, .page-hero {
    padding-inline: 18px;
    padding-block: 56px;
  }
  .service-grid, .metrics-section { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr; padding: 48px 18px 34px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding: 20px 18px; }
  .footer-links { flex-wrap: wrap; }
}