/* Value Wash landing page. The client's own identity, as in the apps (vw_design tokens):
   navy #003366, cyan #00B4E6, Tajawal. Logical properties throughout: Arabic (RTL) first,
   English (LTR) by the same rules. */

@font-face {
  font-family: 'Tajawal';
  src: url('/assets/fonts/Tajawal-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('/assets/fonts/Tajawal-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('/assets/fonts/Tajawal-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Tajawal';
  src: url('/assets/fonts/Tajawal-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-display: swap;
}

:root {
  --navy: #003366;
  --navy-700: #0a4a86;
  --navy-900: #001f3f;
  --accent: #00b4e6;
  --accent-soft: #e6f6fd;
  --bg: #f5f8fc;
  --surface: #ffffff;
  --ink: #152b42;
  --ink-2: #5b6b80;
  --line: #e2e8f0;
  --success: #16a34a;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 20px 50px -24px rgba(0, 51, 102, 0.35);
  --wrap: 1160px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Tajawal', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  color: var(--navy);
  font-weight: 800;
}

p {
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: 84px;
}

.wrap--narrow {
  width: min(100% - 32px, 820px);
}

.skip {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  padding: 10px 16px;
  background: var(--navy);
  color: #fff;
  border-radius: 12px;
  z-index: 100;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* --- navigation ------------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.nav__row {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav__name {
  font-weight: 800;
  font-size: 20px;
  color: var(--navy);
}

.nav__links {
  display: flex;
  gap: 28px;
  margin-inline-start: auto;
}

.nav__links a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  transition: color 0.2s;
}
.nav__links a:hover {
  color: var(--navy);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang {
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  min-height: 44px;
}
.lang:hover {
  border-color: var(--navy);
}

/* --- buttons and badges ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 26px;
  min-height: 48px;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s;
}
.btn--sm {
  padding: 10px 20px;
  min-height: 44px;
  font-size: 15px;
}
.btn--primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(0, 51, 102, 0.7);
}
.btn--primary:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 180, 230, 0.16);
  color: #c9f1ff;
  font-weight: 700;
  font-size: 14px;
}
.chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0, 180, 230, 0.25);
}

/* --- hero ------------------------------------------------------------------------------ */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(0, 180, 230, 0.35), transparent 60%),
    radial-gradient(700px 500px at 0% 110%, rgba(0, 180, 230, 0.18), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-900) 100%);
  overflow: hidden;
  padding-block: 88px 104px;
}

.hero::after {
  /* a soft wave into the page */
  content: '';
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 64px;
  background: var(--surface);
  clip-path: ellipse(75% 100% at 50% 100%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  margin-block: 18px 18px;
  letter-spacing: -0.01em;
}

.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255, 255, 255, 0.82);
  max-width: 34em;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  scroll-margin-top: 120px;
}

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  min-height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
}
.store svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.store small {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}
.store span {
  direction: ltr;
  text-align: start;
}

.hero__trial {
  margin-top: 18px;
  font-size: 15px;
}
.hero__trial a {
  color: #9be6ff;
  font-weight: 700;
  text-underline-offset: 4px;
}
.hero__trial a:hover {
  color: #fff;
}

/* --- the phone illustration ------------------------------------------------------------ */
.phone {
  justify-self: center;
  width: min(330px, 80vw);
  aspect-ratio: 9 / 18.5;
  border-radius: 46px;
  padding: 12px;
  background: linear-gradient(145deg, #1c3654, #0b1c2f);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.6),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(-3deg);
  animation: float 7s ease-in-out infinite;
}
[dir='ltr'] .phone {
  transform: rotate(3deg);
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -12px;
  }
}

.phone__screen {
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

.ph-head {
  background: linear-gradient(160deg, var(--navy), var(--navy-700));
  padding: 26px 16px 22px;
  border-end-start-radius: 26px;
  border-end-end-radius: 26px;
}
.ph-logo {
  width: 54px;
  margin-inline: auto;
  filter: brightness(0) invert(1);
}
.ph-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 12px;
  font-size: 12px;
  color: var(--ink-2);
}
.ph-search svg,
.ph-tile svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.ph-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ph-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  font-size: 11px;
}
.ph-order b {
  display: block;
  font-size: 13px;
  color: var(--navy);
}
.ph-order span {
  color: var(--ink-2);
}
.ph-badge {
  flex: none;
  background: var(--accent-soft);
  color: var(--navy) !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
}

.ph-title {
  font-weight: 800;
  font-size: 13px;
  color: var(--navy);
}

.ph-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.ph-tile {
  border-radius: 16px;
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  min-height: 86px;
}
.ph-tile svg {
  width: 26px;
  height: 26px;
}
.t1 {
  background: #e8f0fa;
}
.t2 {
  background: #e6f7f0;
  color: #0f6b47;
}
.t3 {
  background: #efeafb;
  color: #5b3fa8;
}
.t4 {
  background: #fdf3e4;
  color: #9a5a07;
}

/* --- sections -------------------------------------------------------------------------- */
.section {
  padding-block: 96px;
}
.section--tint {
  background: var(--bg);
}

.section__head {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 52px;
}
.section__head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
}
.section__head p:not(.eyebrow) {
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 18px;
}

.eyebrow {
  color: var(--accent);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}
.eyebrow--light {
  color: #7fdcff;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card h3 {
  font-size: 21px;
  margin-block: 18px 8px;
}
.card p,
.feature p,
.step p {
  color: var(--ink-2);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--navy);
  color: #fff;
}
.icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--soft {
  background: var(--accent-soft);
  color: var(--navy);
  flex: none;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--bg);
}
.feature h3 {
  font-size: 19px;
  margin-bottom: 4px;
}

/* --- steps ----------------------------------------------------------------------------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: none;
}
.step {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 26px;
  border: 1px solid var(--line);
}
.step__n {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 20px;
}
.step h3 {
  font-size: 21px;
  margin-block: 18px 8px;
}

/* --- providers ------------------------------------------------------------------------- */
.providers {
  color: #fff;
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(0, 180, 230, 0.25), transparent 60%),
    linear-gradient(160deg, var(--navy-700), var(--navy));
  padding-block: 96px;
}
.providers__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.providers h2 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-bottom: 16px;
}
.lead--light {
  color: rgba(255, 255, 255, 0.82);
}
.providers__note {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.86);
}

.ticks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 500;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23001f3f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}

/* --- FAQ ------------------------------------------------------------------------------- */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 4px 22px;
  border: 1px solid transparent;
}
.faq details[open] {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
  padding-block: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--navy);
  font-size: 20px;
  line-height: 1;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  color: var(--ink-2);
  padding-bottom: 18px;
}

/* --- footer ---------------------------------------------------------------------------- */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.75);
  padding-block: 36px;
}
.footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__brand img {
  filter: brightness(0) invert(1);
}
.footer__brand b {
  display: block;
  color: #fff;
  font-size: 18px;
}
.footer__brand span,
.footer__copy {
  font-size: 14px;
}

.ph-near {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  font-size: 11px;
}
.ph-near b {
  display: block;
  font-size: 12px;
  color: var(--navy);
}
.ph-near span {
  color: var(--ink-2);
}
.ph-pin {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--navy) !important;
}
.ph-pin svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ph-go {
  margin-inline-start: auto;
  flex: none;
  background: var(--navy);
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 5px 12px;
}

/* --- closing call to action ------------------------------------------------------------ */
.cta {
  padding-block: 0 96px;
}
.cta__box {
  text-align: center;
  border-radius: 32px;
  padding: 56px 24px;
  color: #fff;
  background:
    radial-gradient(600px 300px at 50% 0%, rgba(0, 180, 230, 0.35), transparent 70%),
    linear-gradient(160deg, var(--navy), var(--navy-900));
  box-shadow: var(--shadow);
}
.cta__logo {
  margin-inline: auto;
  filter: brightness(0) invert(1);
}
.cta h2 {
  color: #fff;
  font-size: clamp(28px, 3.4vw, 40px);
  margin-block: 18px 10px;
}
.cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}
.stores--center {
  justify-content: center;
}

/* --- responsive ------------------------------------------------------------------------ */
@media (max-width: 1020px) {
  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav__links {
    gap: 18px;
  }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }
  .nav__actions {
    margin-inline-start: auto;
  }
  .hero {
    padding-block: 56px 96px;
  }
  .hero__grid,
  .providers__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero__copy {
    text-align: center;
  }
  .lead {
    margin-inline: auto;
  }
  .stores {
    justify-content: center;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .section,
  .providers {
    padding-block: 72px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }
  .cards--4,
  .cards--3 {
    grid-template-columns: 1fr;
  }
  .nav__row {
    gap: 12px;
    min-height: 66px;
  }
  .nav__name {
    display: none;
  }
  .nav__actions .btn {
    display: none;
  }
  .store {
    flex: 1 1 100%;
    justify-content: center;
  }
  .footer__row {
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .phone {
    animation: none;
  }
  .card,
  .btn {
    transition: none;
  }
}
