/* ==========================================================
   Wasl Growth — landing page
   ========================================================== */
:root {
  --navy: #0a1d4a;
  --navy-2: #0f2a63;
  --ink: #1b2440;
  --muted: #4a5578;
  --blue: #1463ff;
  --blue-2: #0b4fe0;
  --blue-light: #3d8bff;
  --bg-soft: #f3f6fc;
  --line: #e3e9f5;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(14, 42, 99, 0.08);
  --grad: linear-gradient(135deg, #2b7bff 0%, #0b4fe0 100%);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Cairo", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Icons ---------- */
.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

.check-dot {
  flex: none;
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 3px 8px rgba(20, 99, 255, .3);
}
.check-dot svg {
  width: 14px; height: 14px; fill: none; stroke: #fff;
  stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 700; border: 0; cursor: pointer;
  border-radius: 999px; transition: transform .2s ease, box-shadow .2s ease, filter .2s;
}
.btn-primary {
  color: #fff; background: var(--grad);
  box-shadow: 0 10px 24px rgba(20, 99, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(20, 99, 255, .45); filter: brightness(1.05); }
.btn-primary:active { transform: translateY(0); }
.btn-sm { padding: 10px 22px; font-size: 15px; border-radius: 14px; }
.btn-lg { padding: 16px 34px; font-size: 18px; }
.btn-block { width: 100%; padding: 14px 18px; font-size: 16px; border-radius: 14px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(-4px); }

/* ==========================================================
   HERO
   ========================================================== */
.hero-wrap {
  position: relative;
  min-height: 620px;
  background:
    radial-gradient(800px 420px at 85% 30%, #ffffff 0%, rgba(255,255,255,0) 70%),
    linear-gradient(180deg, #f4f7fd 0%, #eef3fb 100%);
  isolation: isolate;
  overflow: hidden;
}

/* Photo pinned to the physical left with a curved, blue-edged border */
.hero-media {
  position: absolute; inset-block: 0; left: 0;
  width: 50%;
  z-index: -1;
  filter: drop-shadow(0 0 26px rgba(20, 99, 255, .35));
}
.hero-arc, .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hero-arc {
  background: linear-gradient(180deg, #4d9bff 0%, #1463ff 45%, #0b3fc0 100%);
  -webkit-clip-path: url(#heroClipOuter);
          clip-path: url(#heroClipOuter);
}
.hero-img {
  object-fit: cover; object-position: 30% center;
  -webkit-clip-path: url(#heroClipInner);
          clip-path: url(#heroClipInner);
}

/* Top bar */
.topbar {
  display: flex; align-items: center; gap: 36px;
  padding-block: 22px;
  position: relative; z-index: 5;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 24px; color: var(--navy);
  direction: ltr;
}
.brand img { width: 58px; height: auto; }
.nav-links {
  display: flex; list-style: none; margin: 0; padding: 0;
}
.nav-links li + li { border-inline-start: 1px solid #c9d3e6; }
.nav-links a {
  display: block; padding: 2px 18px; font-weight: 600; font-size: 15px; color: var(--navy);
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta { margin-inline-start: auto; }
.menu-toggle { display: none; }

/* Hero copy */
.hero { padding-block: 24px 64px; position: relative; }
.hero-copy { width: 47%; max-width: 580px; }

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 18px; border-radius: 12px;
  background: var(--grad); color: #fff;
  font-weight: 700; font-size: 15px;
  box-shadow: 0 8px 18px rgba(20, 99, 255, .3);
}

.hero h1 {
  margin-top: 22px;
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1.35; font-weight: 900; color: var(--navy);
  letter-spacing: -0.3px;
}
.accent { color: var(--blue); }
.lead {
  margin-top: 18px; font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.85;
  max-width: 480px;
}
.hero .btn-lg { margin-top: 26px; }
.assure {
  display: flex; align-items: center; gap: 10px;
  margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--muted);
}

/* ==========================================================
   PROBLEM
   ========================================================== */
.problem {
  position: relative;
  padding-block: 56px;
  min-height: 400px;
  background: #fff;
  overflow: hidden;
}
.problem-media {
  position: absolute; inset-block: 0; right: 0;
  width: 56%;
}
.problem-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: left center;
  -webkit-mask-image: linear-gradient(to left, #000 88%, transparent 100%);
          mask-image: linear-gradient(to left, #000 88%, transparent 100%);
}
.problem-inner { position: relative; display: flex; justify-content: flex-end; }
.problem-copy { width: 46%; }
.problem h2 {
  font-size: clamp(23px, 2.3vw, 31px); line-height: 1.45; font-weight: 900; color: var(--navy);
}
.problem p { margin-top: 16px; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.9; }

.checklist { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15.5px; color: var(--ink); }

/* ==========================================================
   SECTION TITLES
   ========================================================== */
.section-title { text-align: center; }
.section-title h2 {
  font-size: clamp(20px, 2vw, 26px); font-weight: 900; color: var(--navy); line-height: 1.5;
}
.section-title.lined { display: flex; align-items: center; gap: 28px; }
.section-title.lined::before,
.section-title.lined::after {
  content: ""; flex: 1; height: 2px;
  background: linear-gradient(90deg, rgba(20,99,255,0), var(--blue) 60%);
}
.section-title.lined::before { background: linear-gradient(270deg, rgba(20,99,255,0), var(--blue) 60%); }
.section-sub { text-align: center; margin-top: 4px; font-weight: 600; color: var(--muted); font-size: 15px; }

/* ==========================================================
   SERVICES
   ========================================================== */
.services { padding-block: 40px 18px; }
.service-grid {
  margin-top: 26px;
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 10px 16px; text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.service-card:hover { transform: translateY(-4px); border-color: #c6d7fb; box-shadow: 0 16px 34px rgba(14, 42, 99, .12); }
.s-ico { width: 44px; height: 44px; margin: 0 auto 10px; }
.s-ico .f { fill: var(--blue); }
.s-ico .f.soft { fill: #cfe0ff; }
.s-ico .s { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-size: 15px; font-weight: 800; color: var(--navy); line-height: 1.5; }
.service-card p { font-size: 15px; font-weight: 600; color: var(--ink); }

/* ==========================================================
   SOLUTIONS
   ========================================================== */
.solutions { padding-block: 30px 20px; }
.solution-grid { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.solution-card {
  position: relative; margin: 0; border-radius: 14px; overflow: hidden;
  aspect-ratio: 230 / 118; background: #ddd;
  box-shadow: var(--shadow);
}
.solution-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.solution-card:hover img { transform: scale(1.06); }
.solution-card figcaption {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  min-width: 62%; text-align: center;
  padding: 4px 22px 6px; border-radius: 12px 12px 0 0;
  background: rgba(10, 18, 40, .72); backdrop-filter: blur(4px);
  color: #fff; font-weight: 800; font-size: 17px;
}

/* ==========================================================
   FORM / STEPS / WHY
   ========================================================== */
.trio {
  padding-block: 20px 48px;
  display: grid; grid-template-columns: 0.95fr 1.45fr 1.05fr; gap: 18px; align-items: stretch;
}
.panel {
  border-radius: 18px; padding: 26px 22px;
  background: var(--bg-soft);
}
.panel h2 { font-size: 19px; font-weight: 900; color: var(--navy); text-align: center; }

/* Form panel */
.panel-form {
  background: linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  color: #fff; padding: 22px 18px;
  box-shadow: 0 20px 40px rgba(10, 29, 74, .3);
  scroll-margin-top: 20px;
}
.panel-form h2 { color: #fff; font-size: 18px; }
.form-sub { text-align: center; color: #ffc34d; font-size: 13px; font-weight: 600; line-height: 1.6; margin-top: 6px; }
.lead-form { margin-top: 14px; display: grid; gap: 9px; }
.hp { display: none; }
.field { position: relative; display: block; }
.field input, .field select {
  width: 100%; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink);
  background: #fff; border: 2px solid transparent; border-radius: 999px;
  padding: 7px 40px 7px 16px; outline: none; appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #2a3352; opacity: 1; }
.field select:invalid { color: #2a3352; }
.field input:focus, .field select:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(61, 139, 255, .35); }
.f-ico {
  position: absolute; top: 50%; right: 14px; transform: translateY(-50%);
  width: 17px; height: 17px; fill: none; stroke: var(--navy); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round; pointer-events: none;
}
.lead-form .btn-block { margin-top: 6px; }
.lead-form .btn-block .ico { transform: scaleX(-1); }
.privacy {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 12px; color: #ffc34d; font-weight: 600;
}
.privacy .ico { width: 14px; height: 14px; color: #fff; }
.form-status { text-align: center; font-size: 14px; font-weight: 700; min-height: 0; }
.form-status.ok { color: #7dffb3; }
.form-status.err { color: #ffb0b0; }
.lead-form.sent .field, .lead-form.sent .btn-block { opacity: .55; pointer-events: none; }

/* Steps panel */
.panel-steps { scroll-margin-top: 20px; }
.steps {
  list-style: none; padding: 0; margin: 30px 0 0;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 6px;
}
.steps li:not(.arrow) { flex: 1; text-align: center; display: grid; justify-items: center; }
.steps .num {
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad); color: #fff; font-weight: 800; font-size: 14px;
  position: relative; z-index: 1; margin-bottom: -10px;
  box-shadow: 0 4px 10px rgba(20, 99, 255, .35);
}
.step-ico {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%;
  background: #e6eefc;
}
.step-ico svg { width: 34px; height: 34px; }
.step-ico .s { fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.step-ico .f { fill: var(--blue); }
.steps p { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--navy); line-height: 1.6; }
.steps .arrow {
  align-self: center; margin-top: 4px; color: var(--navy); font-size: 22px; font-weight: 700;
  transform: scaleX(-1);
}

/* Why panel */
.panel-why { scroll-margin-top: 20px; }
.panel-why .checklist { margin-top: 22px; gap: 14px; }
.panel-why .checklist li { font-size: 14.5px; }

/* ==========================================================
   FAQ
   ========================================================== */
.faq { padding-block: 10px 60px; }
.faq-list { margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 14px 20px;
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 700;
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 10px; color: var(--muted); font-weight: 500; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  position: relative; overflow: hidden;
  background: linear-gradient(90deg, #07163a 0%, #0a1d4a 50%, #07163a 100%);
  color: #fff;
}
.footer-stripes { position: absolute; inset: 0; pointer-events: none; }
.footer-stripes span {
  position: absolute; top: -10%; bottom: -10%; left: 33%;
  width: 34px; transform: skewX(-28deg);
  background: linear-gradient(180deg, #3d8bff, #0b4fe0);
  opacity: .95;
}
.footer-stripes span + span { left: calc(33% + 46px); width: 10px; opacity: .6; }
.footer-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-block: 34px;
}
.brand-light { color: #fff; font-size: 22px; }
.tagline { font-size: 20px; font-weight: 700; }
.accent-light { color: var(--blue-light); }
.socials { display: flex; gap: 12px; }
.socials a {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--navy); transition: transform .2s, background .2s;
}
.socials a:hover { transform: translateY(-3px); background: #d9e7ff; }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.socials svg .fill { fill: currentColor; stroke: none; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1080px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .trio { grid-template-columns: 1fr 1fr; }
  .panel-form { grid-row: span 2; }
}

@media (max-width: 900px) {
  .hero-wrap { min-height: 0; }
  .hero-media { position: relative; width: 100%; height: 300px; }
  .hero-arc, .hero-img { -webkit-clip-path: none; clip-path: none; }
  .hero-media { filter: none; }
  .hero-arc { display: none; }
  .hero-img { border-radius: 0 0 40px 40px; }
  .topbar { position: absolute; top: 0; left: 0; right: 0; width: auto; padding-inline: 20px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); gap: 16px; }
  .hero-wrap { display: flex; flex-direction: column; padding-top: 86px; }
  .hero-media { order: 1; }
  .hero { order: 2; padding-block: 28px 48px; }
  .hero-copy { width: 100%; max-width: none; }

  .menu-toggle {
    display: grid; gap: 5px; margin-inline-start: auto;
    background: none; border: 0; padding: 8px; cursor: pointer;
  }
  .menu-toggle span { width: 24px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .2s, opacity .2s; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: #fff; box-shadow: 0 16px 30px rgba(10,29,74,.12);
    padding: 8px 20px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li + li { border: 0; border-top: 1px solid var(--line); }
  .nav-links a { padding: 12px 4px; }

  .problem { padding-block: 0 40px; }
  .problem-media { position: relative; width: 100%; height: 280px; }
  .problem-media img { -webkit-mask-image: none; mask-image: none; object-position: 30% center; }
  .problem-copy { width: 100%; margin-top: 24px; }
  .problem p br { display: none; }

  .solution-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-list { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container { width: min(1200px, 100% - 32px); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .trio { grid-template-columns: 1fr; }
  .panel-form { grid-row: auto; }
  .steps { flex-wrap: wrap; justify-content: center; row-gap: 22px; }
  .steps li:not(.arrow) { flex: 0 0 42%; }
  .steps .arrow { display: none; }
  .section-title.lined::before, .section-title.lined::after { display: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-stripes span { left: 70%; }
  .hero .btn-lg { width: 100%; font-size: 16px; padding-inline: 20px; }
  .lead { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
