:root {
  --navy: #2d2f93;
  --navy-2: #232575;
  --navy-3: #1c1e6a;
  --teal: #e30613;
  --teal-2: #c10510;
  --teal-deep: #2d2f93;
  --foam: #f3f4fc;
  --sand: #ffffff;
  --white: #ffffff;
  --ink: #1a1c4a;
  --muted: #5c6080;
  --line: rgba(45, 47, 147, 0.12);
  --shadow: 0 18px 50px rgba(45, 47, 147, 0.12);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 72px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: "Cairo", "DM Sans", system-ui, sans-serif;
  --bg: #f7f8fc;
  --bg-elev: var(--white);
  --bg-soft: #eef0fa;
  --text: var(--ink);
  --text-soft: var(--muted);
  --accent: var(--navy);
  --accent-2: var(--teal);
  --hero-grad: radial-gradient(1200px 500px at 10% -10%, rgba(227, 6, 19, 0.22), transparent 55%),
    linear-gradient(160deg, #1c1e6a 0%, #2d2f93 55%, #3a3db0 100%);
  --card-glow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  min-height: 100dvh;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

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

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: 1rem;
}

button {
  cursor: pointer;
  touch-action: manipulation;
}

.btn,
.icon-btn,
.lang-btn,
.theme-btn,
.float-btn {
  -webkit-tap-highlight-color: transparent;
}

.skip {
  position: absolute;
  inset-inline-start: 12px;
  top: -48px;
  background: var(--navy);
  color: #fff;
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.app {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: calc(var(--header-h) + var(--safe-t));
  padding-top: var(--safe-t);
  background: rgba(247, 248, 252, 0.9);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(45, 47, 147, 0.12);
  padding: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  font-size: 1.05rem;
}

.brand-tag {
  font-size: 0.72rem;
  color: var(--text-soft);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.92rem;
}

.nav a.active,
.nav a:hover {
  color: var(--text);
  background: var(--bg-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn,
.lang-btn,
.theme-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 700;
}

.lang-btn {
  width: auto;
  min-width: 42px;
  padding: 0 12px;
  font-size: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, #e30613 0%, #b80510 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(227, 6, 19, 0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-dark {
  background: var(--navy);
  color: #fff;
}

:root[data-theme="dark"] .btn-dark {
  background: var(--teal);
  color: #fff;
}

.menu-btn {
  display: none;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--hero-grad);
  color: #f4f5ff;
  border-radius: 0 0 36px 36px;
  padding: 48px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(227, 6, 19, 0.14);
  color: var(--teal);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  line-height: 1.25;
  margin: 16px 0 12px;
}

.hero p {
  color: rgba(244, 245, 255, 0.82);
  max-width: 52ch;
  margin: 0 0 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.hero-card {
  background: color-mix(in srgb, #ffffff 10%, transparent);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  padding: 22px;
  backdrop-filter: blur(10px);
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(45, 47, 147, 0.12);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.25);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.stat {
  text-align: center;
  background: rgba(12, 13, 36, 0.35);
  border-radius: 16px;
  padding: 12px 8px;
}

.stat b {
  display: block;
  font-size: 1.25rem;
  color: var(--teal);
}

.stat span {
  font-size: 0.78rem;
  color: rgba(244, 245, 255, 0.75);
}

.section {
  padding: 64px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}

.section-head h2,
.page-title h1 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.lead {
  color: var(--text-soft);
  margin: 0;
}

.page-title {
  padding: 36px 0 8px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  background-image: var(--card-glow);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(45, 47, 147, 0.16), rgba(227, 6, 19, 0.08));
  color: var(--accent);
  margin-bottom: 12px;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.service-card p {
  color: var(--text-soft);
  margin: 0 0 16px;
  flex: 1;
}

.why-grid,
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

.step-num {
  font-weight: 800;
  color: var(--accent);
  font-size: 1.2rem;
}

.cta-band {
  background: var(--hero-grad);
  color: #f4f5ff;
  border-radius: 28px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.form {
  display: grid;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

option {
  background: var(--bg-elev);
  color: var(--text);
}

input,
textarea {
  -webkit-appearance: none;
  appearance: none;
}

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

input[type="datetime-local"] {
  -webkit-appearance: auto;
  appearance: auto;
  min-height: 48px;
  direction: ltr;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 47, 147, 0.18);
}

.field-error {
  color: #e30613;
  font-size: 0.8rem;
  font-weight: 600;
}

.hint {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.contact-panel {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.ci {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-radius: 16px;
  background: var(--bg-soft);
  color: inherit;
}

a.ci:hover {
  border-color: var(--teal);
  box-shadow: inset 0 0 0 1px var(--teal);
}

.ci-ic {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--foam);
  color: var(--accent);
}

.ci-ic svg {
  width: 20px;
  height: 20px;
}

.ci-tx {
  min-width: 0;
}

.ci-tx b {
  display: block;
  font-size: 0.95rem;
}

.ci-tx span {
  display: block;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.92rem;
  word-break: break-word;
}

.ci-tx small {
  display: block;
  color: var(--text-soft);
  margin-top: 2px;
}

.contact-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 0.92rem;
}

.contact-socials a:hover {
  border-color: var(--teal);
  color: var(--accent);
}

@media (max-width: 640px) {
  .contact-info {
    grid-template-columns: 1fr;
  }
}

.map-wrap {
  overflow: hidden;
  border-radius: 22px;
  min-height: 320px;
  border: 1px solid var(--line);
}

.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  text-align: start;
  background: transparent;
  border: 0;
  color: var(--text);
  padding: 16px 18px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  color: var(--text-soft);
}

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

.about-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
}

.footer {
  margin-top: auto;
  padding: 36px 0 calc(28px + var(--safe-b));
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.footer img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(45, 47, 147, 0.12);
  margin-bottom: 10px;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a,
.socials span {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--text-soft);
}

.socials a:hover {
  color: var(--accent);
  border-color: var(--teal);
}

.float-bar {
  position: fixed;
  inset-inline-end: 16px;
  bottom: calc(16px + var(--safe-b));
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 40;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow);
}

.float-btn.call {
  background: #e30613;
}

.float-btn.wa {
  background: #25d366;
}

.reviews-section {
  position: relative;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.review-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(45, 47, 147, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.review-text {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
  flex: 1;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, #3d40b8 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.reviewer-meta {
  flex: 1;
  min-width: 0;
}

.reviewer-name {
  font-weight: 700;
  font-size: 0.96rem;
  color: var(--text);
  display: block;
}

.reviewer-tag {
  font-size: 0.78rem;
  color: var(--text-soft);
  display: block;
  margin-top: 2px;
}

@media (max-width: 960px) {
  .hero-grid,
  .grid-3,
  .why-grid,
  .reviews-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-2,
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav,
  .header .btn-primary {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
  .mobile-nav.open {
    display: grid;
    gap: 8px;
    padding: 8px 16px 16px;
  }
  .mobile-nav a {
    padding: 12px 10px;
    border-radius: 12px;
    background: var(--bg-soft);
    font-weight: 700;
  }
  .hero,
  .hero-grid,
  .grid-3,
  .why-grid,
  .reviews-grid,
  .footer-grid,
  .cta-band {
    grid-template-columns: 1fr;
    display: grid;
  }
  .cta-band {
    text-align: start;
  }
  .section {
    padding: 44px 0;
  }
  .hero {
    padding: 32px 0 40px;
    border-radius: 0 0 24px 24px;
  }
  .float-bar {
    inset-inline: 12px;
    bottom: calc(12px + var(--safe-b));
    flex-direction: row;
    justify-content: flex-end;
  }
  main {
    padding-bottom: calc(88px + var(--safe-b));
  }
}

@media (max-width: 390px) {
  .container {
    width: min(1120px, calc(100% - 20px));
  }
  .brand-tag {
    display: none;
  }
  .hero h1 {
    font-size: 1.55rem;
  }
}
