:root {
  --blue: #0d5fa8;
  --blue-dark: #083f76;
  --navy: #0b1830;
  --red: #d5212a;
  --green: #22b865;
  --ink: #111827;
  --muted: #657187;
  --soft: #f6f9fc;
  --line: #e7edf3;
  --white: #fff;
  --shadow: 0 14px 38px rgba(12, 33, 58, .10);
  --radius: 18px;
  --header-height: 70px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  -webkit-text-size-adjust: 100%;
}
body {
  min-width: 320px;
  margin: 0;
  padding-bottom: 82px;
  overflow-x: clip;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container {
  width: min(100% - 28px, 1140px);
  margin-inline: auto;
}
.section-space { padding-block: clamp(54px, 8vw, 96px); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(13, 34, 60, .07);
  box-shadow: 0 5px 20px rgba(8, 35, 65, .04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-wrap {
  position: relative;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand {
  position: relative;
  isolation: isolate;
  width: clamp(126px, 38vw, 164px);
  flex: 0 0 auto;
}
.brand img {
  width: 100%;
  height: 48px;
  object-fit: contain;
}
.menu-button {
  position: absolute;
  inset-inline-start: 0;
  width: 44px;
  height: 44px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 9px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.menu-button:hover { background: var(--soft); }
.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 4px;
  background: var(--navy);
}
.menu-button span:nth-child(2) { width: 72%; }
.desktop-nav, .desktop-call { display: none; }

.nav-overlay {
  position: fixed;
  z-index: 1100;
  inset: 0;
  background: rgba(4, 13, 28, .58);
  backdrop-filter: blur(2px);
}
.nav-overlay[hidden] { display: none; }
.mobile-nav {
  position: fixed;
  z-index: 1200;
  inset: 0 0 0 auto;
  width: min(88vw, 350px);
  height: 100dvh;
  padding: max(20px, env(safe-area-inset-top)) 22px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  box-shadow: -20px 0 50px rgba(0, 0, 0, .18);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .28s ease, visibility .28s ease;
}
.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
}
.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-head img {
  width: min(170px, 65%);
  height: 54px;
  object-fit: contain;
}
.close-menu {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: var(--soft);
  font-size: 20px;
  cursor: pointer;
}
.mobile-nav > a {
  min-height: 50px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}
.mobile-nav .drawer-call {
  min-height: 48px;
  margin-top: 20px;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
}

/* Hero */
.hero {
  padding-top: clamp(22px, 5vw, 60px);
  background: linear-gradient(180deg, #fff 0%, #f9fcff 100%);
}
.hero-inner {
  display: grid;
  gap: 26px;
  text-align: center;
}
.hero-card {
  position: relative;
  width: min(100%, 680px);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgba(8, 63, 118, .10);
  border-radius: clamp(16px, 4vw, 24px);
  background: #f4f7fb;
  box-shadow: 0 16px 42px rgba(8, 63, 118, .15);
  isolation: isolate;
}
.hero-slides {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f4f7fb;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity .55s ease, transform .8s ease, visibility .55s ease;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}
.slider-arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  color: #fff;
  background: rgba(8, 63, 118, .78);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
  transform: translateY(-50%);
  cursor: pointer;
  transition: .2s ease;
}
.slider-arrow:hover { background: var(--blue-dark); }
.slider-prev { inset-inline-start: 8px; }
.slider-next { inset-inline-end: 8px; }
.slider-dots {
  position: absolute;
  z-index: 5;
  bottom: 8px;
  left: 50%;
  display: flex;
  gap: 7px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(3, 20, 42, .40);
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
}
.slider-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .65);
  cursor: pointer;
  transition: width .25s ease, background .25s ease;
}
.slider-dots button.active { width: 25px; background: #fff; }
.hero-copy { max-width: 680px; margin-inline: auto; }
.mini-label, .section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--blue-dark);
  background: #ecf9ff;
  font-size: 12px;
  font-weight: 800;
}
.hero h1 {
  margin: 12px 0 10px;
  color: #111;
  font-size: clamp(28px, 8.1vw, 50px);
  line-height: 1.3;
  letter-spacing: -.7px;
  text-wrap: balance;
}
.hero-copy p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(13px, 3.7vw, 16px);
}
.hero-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.btn {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 9px 24px rgba(11, 174, 240, .18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(8, 63, 118, .20); }
.btn-primary { color: #fff; background: linear-gradient(90deg, var(--blue), #12c5f7); }
.btn-whatsapp { color: #fff; background: var(--green); }
.btn-light { color: var(--navy); background: #fff; }
.stats-grid {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}
.stats-grid article {
  min-height: 78px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid #edf2f7;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 39, 70, .06);
}
.stats-grid strong { color: var(--blue-dark); font-size: 21px; line-height: 1.2; }
.stats-grid small { color: var(--muted); font-size: 11px; }

/* About and shared headings */
.content-grid { display: grid; gap: 30px; }
.rounded-photo {
  position: relative;
  overflow: hidden;
  border-radius: clamp(17px, 4vw, 24px);
  background: #f5f6f7;
  box-shadow: var(--shadow);
}
.rounded-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 22%;
  background: linear-gradient(transparent, rgba(9, 26, 48, .22));
}
.rounded-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.section-copy h2, .section-heading h2 {
  margin: 10px 0 12px;
  color: #111827;
  font-size: clamp(25px, 6.8vw, 40px);
  line-height: 1.35;
  text-wrap: balance;
}
.section-copy p, .section-heading p { color: var(--muted); font-size: clamp(13px, 3.4vw, 15px); }
.ticks {
  display: grid;
  gap: 9px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}
.ticks li { color: #263348; font-size: 13px; font-weight: 700; }
.ticks i { margin-inline-end: 7px; color: var(--blue); }
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 900;
}
.services, .reviews { background: var(--soft); }
.section-heading { max-width: 720px; margin: 0 auto 28px; text-align: center; }
.section-heading.compact { margin-bottom: 20px; }

/* Services */
.service-list { display: grid; gap: 18px; }
.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(9, 31, 59, .07);
}
.service-card > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.service-body { position: relative; padding: 20px 18px 22px; }
.service-number {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  color: #dbe5ec;
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}
.service-body h3 { margin: 0 0 6px; padding-inline-end: 48px; color: var(--navy); font-size: 19px; }
.service-body p { margin: 0 0 12px; color: var(--muted); font-size: 13px; }
.service-body a { color: var(--blue-dark); font-size: 12px; font-weight: 900; }

/* Areas */
.area-list { display: grid; gap: 8px; }
.area-list span {
  min-width: 0;
  min-height: 39px;
  display: grid;
  place-items: center;
  padding: 7px 12px;
  overflow-wrap: anywhere;
  border: 1px solid #e7edf3;
  border-radius: 9px;
  color: #4d5b6d;
  background: #fff;
  box-shadow: 0 5px 15px rgba(11, 36, 64, .04);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* Gallery */
.gallery-grid { display: grid; gap: 13px; }
.gallery-card {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .45s ease; }
.gallery-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 62%, rgba(3, 14, 28, .84)); }
.gallery-card figcaption {
  position: absolute;
  z-index: 2;
  inset-inline: 17px;
  bottom: 13px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.gallery-card:hover img { transform: scale(1.04); }

/* Reviews */
.review-list { display: grid; gap: 14px; }
.review-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid #e7edf3;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 31, 59, .05);
}
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head img {
  width: 76px;
  height: 42px;
  flex: 0 0 auto;
  padding: 4px;
  border: 1px solid #eef8fd;
  border-radius: 9px;
  object-fit: contain;
  background: #fff;
}
.review-head h3 { margin: 0; color: var(--navy); font-size: 15px; }
.stars { color: #ff9e1b; letter-spacing: 1px; font-size: 11px; }
.review-card p { margin: 14px 0 0; color: var(--muted); font-size: 13px; }

/* FAQ */
.accordion { max-width: 850px; display: grid; gap: 10px; margin-inline: auto; }
.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.accordion-item button {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 15px;
  border: 0;
  color: var(--navy);
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  text-align: start;
  cursor: pointer;
}
.accordion-item button span { min-width: 0; }
.accordion-item button i { flex: 0 0 auto; color: var(--blue); transition: transform .25s ease; }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .32s ease; }
.accordion-content p { margin: 0; padding: 0 15px 17px; color: var(--muted); font-size: 12px; }
.accordion-item.open { border-color: rgba(10, 174, 240, .45); box-shadow: 0 8px 24px rgba(10, 174, 240, .08); }
.accordion-item.open button i { transform: rotate(45deg); }

/* CTA and footer */
.cta-strip { padding-block: clamp(42px, 7vw, 58px); color: #fff; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); }
.cta-inner { display: grid; gap: 22px; text-align: center; }
.cta-inner span { font-size: 12px; font-weight: 800; opacity: .9; }
.cta-inner h2 { margin: 4px 0 0; font-size: clamp(23px, 6vw, 34px); line-height: 1.4; text-wrap: balance; }
.cta-buttons { display: grid; gap: 9px; }
.footer { padding-top: 52px; color: rgba(255, 255, 255, .72); background: #08162d; }
.footer-grid { display: grid; gap: 28px; padding-bottom: 35px; }
.footer-about img { width: min(190px, 62vw); height: 72px; object-fit: contain; }
.footer-about p, .footer p { font-size: 12px; }
.footer h3 { margin: 0 0 12px; color: #fff; font-size: 15px; }
.footer-grid > div > a { display: block; margin: 8px 0; font-size: 12px; }
.footer i { width: 18px; color: #4ab5ff; }
.copyright { padding: 16px 0 calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); }
.copyright p { margin: 0; text-align: center; font-size: 10px; }

/* Floating controls */
.mobile-bottom-bar {
  position: fixed;
  z-index: 900;
  right: 12px;
  bottom: max(10px, env(safe-area-inset-bottom));
  left: 12px;
  height: 58px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  box-shadow: 0 15px 38px rgba(0, 0, 0, .22);
}
.mobile-bottom-bar a {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 900;
}
.mobile-bottom-bar a:last-child { background: var(--green); }
.back-top {
  position: fixed;
  z-index: 850;
  inset-inline-end: 14px;
  bottom: calc(80px + env(safe-area-inset-bottom));
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 9px 24px rgba(0, 0, 0, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: .2s ease;
  cursor: pointer;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }

/* Motion */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.brand::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 139, 215, .34) 0%, rgba(10, 139, 215, 0) 70%);
  opacity: 0;
  transform: scale(.55);
  pointer-events: none;
}
.header-logo {
  opacity: 0;
  transform: translateY(-18px) scale(.62) rotate(-10deg);
  transform-origin: center;
  filter: drop-shadow(0 0 0 rgba(10, 139, 215, 0));
  will-change: transform, opacity, filter;
}
.header-logo.logo-load-animation { animation: logoLoadEntrance 1.25s cubic-bezier(.22, 1.3, .36, 1) both; }
.brand.logo-animation-active::after { animation: logoLoadGlow 1.25s ease-out both; }
@keyframes logoLoadEntrance {
  0% { opacity: 0; transform: translateY(-18px) scale(.62) rotate(-10deg); filter: drop-shadow(0 0 0 rgba(10, 139, 215, 0)); }
  48% { opacity: 1; transform: translateY(3px) scale(1.12) rotate(3deg); filter: drop-shadow(0 9px 12px rgba(10, 139, 215, .25)); }
  72% { transform: translateY(-2px) scale(.96) rotate(-1deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); filter: drop-shadow(0 4px 7px rgba(8, 63, 118, .14)); }
}
@keyframes logoLoadGlow {
  0%, 18% { opacity: 0; transform: scale(.55); }
  48% { opacity: 1; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.7); }
}

/* Small phones */
@media (max-width: 359px) {
  .container { width: min(100% - 20px, 1140px); }
  .brand { width: 116px; }
  .brand img { height: 42px; }
  .hero h1 { font-size: 26px; }
  .mini-label { font-size: 10px; }
  .service-body { padding-inline: 15px; }
  .mobile-bottom-bar { right: 8px; left: 8px; }
}

/* Wide phones */
@media (min-width: 480px) {
  .hero-actions, .cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; }
  .hero-actions .btn { min-width: 190px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Tablets */
@media (min-width: 640px) {
  .container { width: min(100% - 40px, 1140px); }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}

@media (min-width: 768px) {
  :root { --header-height: 76px; }
  body { padding-bottom: 0; }
  .brand { width: 172px; }
  .brand img { height: 54px; }
  .hero-inner { gap: 34px; }
  .hero-slides { aspect-ratio: 16 / 9; }
  .slider-arrow { width: 42px; height: 42px; }
  .slider-prev { inset-inline-start: 14px; }
  .slider-next { inset-inline-end: 14px; }
  .area-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-buttons { justify-content: center; }
  .mobile-bottom-bar { display: none; }
  .back-top { bottom: 24px; }
}

/* Desktop navigation and two-column hero */
@media (min-width: 1100px) {
  :root { --header-height: 82px; }
  .nav-wrap { justify-content: flex-start; gap: 22px; }
  .brand { width: 166px; flex: 0 0 166px; }
  .menu-button { display: none; }
  .desktop-nav {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: clamp(15px, 1.7vw, 25px);
    margin-inline-start: auto;
    white-space: nowrap;
  }
  .desktop-nav a { color: #28364a; font-size: 12px; font-weight: 700; transition: color .2s ease; }
  .desktop-nav a:hover { color: var(--blue-dark); }
  .desktop-call {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    flex: 0 0 auto;
    border-radius: 999px;
    color: #fff;
    background: var(--blue);
    font-size: 12px;
    font-weight: 800;
  }
  .mobile-nav, .nav-overlay { display: none !important; }
  .hero-inner {
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    align-items: center;
    gap: clamp(42px, 5vw, 70px);
    text-align: start;
  }
  .hero-card { grid-column: 2; grid-row: 1; width: 100%; }
  .hero-copy { grid-column: 1; grid-row: 1; width: 100%; margin: 0; }
  .hero-copy p { margin-inline: 0; }
  .hero-actions { justify-content: flex-start; }
  .stats-grid { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2px; }
  .content-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(50px, 6vw, 76px); }
  .service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .area-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-card:nth-child(1), .gallery-card:nth-child(5) { grid-column: span 2; }
  .review-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; text-align: start; }
  .cta-buttons { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (min-width: 1280px) {
  .desktop-nav a { font-size: 13px; }
  .desktop-call { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .header-logo, .header-logo.logo-load-animation { opacity: 1; transform: none; filter: none; }
  .reveal { opacity: 1; transform: none; }
}
