@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/tajawal-400.ttf") format("truetype");
}

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/tajawal-700.ttf") format("truetype");
}

@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/tajawal-800.ttf") format("truetype");
}

/* ─────────────────────────────────────────────
   Car Wax — Brand Tokens
───────────────────────────────────────────── */

:root {
  --navy: #173c5b;
  --blue: #087fad;
  --aqua: #c8f0f2;
  --ink: #153b54;
  --muted: #516d7b;
  --paper: #f5fbfc;
  --line: #d6e6eb;
  --radius: 24px;
  --width: 1160px;
}

/* ─────────────────────────────────────────────
   Reset
───────────────────────────────────────────── */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Tajawal", Tahoma, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.85;
  background: #fff;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 3px solid #d76c1b;
  outline-offset: 5px;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.4;
  font-weight: 800;
}

h1,
h2 {
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
}

h2 span {
  color: var(--blue);
}

h3 {
  font-size: 1.2rem;
}

/* ─────────────────────────────────────────────
   Global
───────────────────────────────────────────── */

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

.section {
  padding-block: 76px;
}

.eyebrow {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--blue);
  margin-bottom: 20px;
}

.skip-link {
  position: fixed;
  top: -100px;
  right: 16px;
  background: var(--navy);
  color: #fff;
  padding: 12px;
  z-index: 20;
}

.skip-link:focus {
  top: 12px;
}

/* ─────────────────────────────────────────────
   Header
───────────────────────────────────────────── */

.site-header {
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 5;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-block: 12px;

  
  direction: rtl;
}

/* ─────────────────────────────────────────────
   Brand / Logo
───────────────────────────────────────────── */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  direction: rtl;

  flex-shrink: 0;
  white-space: nowrap;
}

/* الشعار */
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex: none;
}

/*
 * CAR WAX + العبارة الصغيرة
 */
.brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  line-height: 1.3;
  min-width: 0;
}

/*
 * اسم CAR WAX
 */
.brand-name {
  display: block;

  font-family: Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 900;

  letter-spacing: 1px;
  line-height: 1.05;

  direction: ltr;
  text-align: right;

  color: var(--navy);

  white-space: nowrap;
}

.brand-copy small {
  display: block;

  margin-top: 5px;

  font-family: "Tajawal", Tahoma, sans-serif;
  font-size: 0.6rem;
  font-weight: 400;

  letter-spacing: 0;

  direction: rtl;
  text-align: right;

  color: var(--muted);

  white-space: nowrap;
}

/* ─────────────────────────────────────────────
   Navigation
───────────────────────────────────────────── */

.header-inner nav {
  display: flex;
  gap: 22px;

  order: 3;
  width: 100%;

  justify-content: center;

  font-size: 0.9rem;
}

.header-inner nav a {
  transition: color 0.2s;
}

.header-inner nav a:hover,
.site-footer a:hover {
  color: var(--blue);
}

/* ─────────────────────────────────────────────
   Buttons
───────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 26px;

  padding: 14px 24px;

  color: #fff;
  background: var(--blue);

  border: 1px solid transparent;
  border-radius: 8px;

  font-size: 1rem;
  font-weight: 700;

  transition:
    background 0.2s,
    transform 0.2s;
}

.button:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

.button-small {
  padding: 10px 15px;
  font-size: 0.75rem;
  gap: 10px;
}

/* ─────────────────────────────────────────────
   Hero
───────────────────────────────────────────── */

.hero {
  overflow: hidden;

  background:
    radial-gradient(
      ellipse at 15% 35%,
      #d1f0f1 0,
      transparent 55%
    ),
    linear-gradient(
      120deg,
      #f1fafb,
      #fff
    );
}

.hero-grid {
  display: grid;
  gap: 24px;

  padding-block: 52px 40px;

  align-items: center;
}

.dot {
  display: inline-block;

  width: 7px;
  height: 7px;

  border-radius: 100%;

  background: var(--blue);

  margin-left: 8px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);

  line-height: 1.35;

  letter-spacing: -2px;
}

.hero h1 span {
  color: var(--blue);
}

.lead {
  font-size: 1.13rem;

  color: var(--muted);

  margin-top: 22px;

  max-width: 490px;

  line-height: 2;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  align-items: center;

  gap: 24px;

  margin-top: 28px;
}

.text-link {
  font-size: 0.85rem;
  font-weight: 700;

  display: inline-flex;

  gap: 20px;

  align-items: center;
}

.text-link:hover {
  color: var(--blue);
}

.hero-note {
  font-size: 0.75rem;

  color: var(--muted);

  margin-top: 28px;
}

.hero-note span {
  color: var(--blue);

  font-size: 1.3rem;

  margin-left: 8px;
}

/* ─────────────────────────────────────────────
   Hero Art
───────────────────────────────────────────── */

.hero-art {
  position: relative;

  isolation: isolate;

  min-height: 340px;

  display: grid;

  place-items: center;

  padding: 20px;
}

.logo-disc {
  width: min(88%, 370px);

  aspect-ratio: 1;

  border-radius: 50%;

  background: #fff;

  box-shadow: 0 28px 70px #145a7a16;

  overflow: hidden;

  transform: rotate(-5deg);
}

.logo-disc img {
  width: 100%;
  height: 100%;

  object-fit: contain;

  transform: rotate(5deg);
}

.orbit {
  position: absolute;

  border: 1px solid #83bdca66;

  border-radius: 50%;

  z-index: -1;

  width: 92%;

  aspect-ratio: 1;

  transform: rotate(-20deg) scaleY(0.78);
}

.orbit-two {
  width: 108%;

  transform: rotate(25deg) scaleY(0.74);
}

/* ─────────────────────────────────────────────
   Bubbles
───────────────────────────────────────────── */

.bubble {
  position: absolute;

  border-radius: 100%;

  background:
    radial-gradient(
      circle at 30% 25%,
      #fff9,
      #8ad4df88
    );

  border: 1px solid #fff9;

  box-shadow:
    inset -5px -8px 15px #087fad12;
}

.b1 {
  width: 48px;
  height: 48px;

  left: 4%;
  top: 18%;
}

.b2 {
  width: 24px;
  height: 24px;

  right: 14%;
  top: 4%;
}

.b3 {
  width: 72px;
  height: 72px;

  right: 1%;
  bottom: 10%;
}

.b4 {
  width: 18px;
  height: 18px;

  left: 22%;
  bottom: 9%;
}

.b5 {
  width: 34px;
  height: 34px;

  right: 3%;
  top: 25%;
}

/* ─────────────────────────────────────────────
   Floating Label
───────────────────────────────────────────── */

.floating-label {
  position: absolute;

  bottom: 24px;
  left: 0;

  display: flex;

  align-items: center;

  gap: 14px;

  border: 1px solid #fff;

  background: #fffffff2;

  border-radius: 12px;

  padding: 12px 18px;

  box-shadow: 0 10px 30px #173c5b0d;

  font-size: 0.85rem;

  font-weight: bold;
}

.floating-label > span {
  font-size: 2rem;

  color: var(--blue);
}

.floating-label small {
  display: block;

  color: var(--muted);

  font-size: 0.57rem;

  font-weight: 400;
}

.art-caption {
  position: absolute;

  top: 5px;
  left: 0;

  letter-spacing: 3px;

  font-size: 0.57rem;

  color: var(--blue);
}

/* ─────────────────────────────────────────────
   Hero Strip
───────────────────────────────────────────── */

.hero-strip {
  border-block: 1px solid #c7e3e8;

  display: flex;

  align-items: center;

  justify-content: space-evenly;

  gap: 20px;

  padding: 16px 20px;

  color: var(--navy);

  font-size: 0.72rem;

  background: #e3f3f5;
}

.hero-strip i {
  color: var(--blue);

  font-style: normal;
}

.hero-strip span {
  white-space: nowrap;
}

.hero-strip span:last-child,
.hero-strip i:last-of-type {
  display: none;
}

/* ─────────────────────────────────────────────
   About
───────────────────────────────────────────── */

.about-grid {
  display: grid;

  gap: 26px;
}

.about-copy p {
  color: var(--muted);

  margin-bottom: 18px;

  font-size: 0.95rem;
}

/* ─────────────────────────────────────────────
   Features
───────────────────────────────────────────── */

.features {
  background: var(--paper);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;

  gap: 24px;

  justify-content: space-between;

  align-items: end;

  margin-bottom: 36px;
}

.section-heading > p {
  font-size: 0.85rem;

  color: var(--muted);
}

.feature-grid {
  display: grid;

  gap: 16px;
}

.feature {
  position: relative;

  padding: 30px;

  border: 1px solid var(--line);

  border-radius: var(--radius);

  background: #fff;
}

.feature-icon {
  display: inline-grid;

  place-items: center;

  width: 48px;
  height: 48px;

  background: #e9f6f8;

  border-radius: 14px;

  color: var(--blue);

  font-size: 1.8rem;

  margin-bottom: 28px;
}

.card-index {
  position: absolute;

  left: 26px;
  top: 30px;

  font: 0.7rem Arial;

  color: #78939e;
}

.feature p {
  margin-top: 14px;

  font-size: 0.87rem;

  color: var(--muted);
}

/* ─────────────────────────────────────────────
   Steps
───────────────────────────────────────────── */

.steps {
  list-style: none;

  padding: 0;

  margin: 38px 0 0;

  display: grid;

  gap: 28px;

  counter-reset: steps;
}

.steps li {
  border-top: 1px solid var(--line);

  padding-top: 24px;
}

.step-number {
  font: 2.7rem Arial;

  color: var(--blue);

  display: block;

  margin-bottom: 16px;
}

.steps p {
  color: var(--muted);

  font-size: 0.87rem;

  margin-top: 12px;

  max-width: 280px;
}

/* ─────────────────────────────────────────────
   Seasonal Offers
───────────────────────────────────────────── */

.offers-section {
  padding-block: 12px 30px;
}

.offer-panel {
  border-radius: 28px;

  overflow: hidden;

  display: grid;

  background: var(--navy);

  color: #fff;

  position: relative;
}

.offer-content {
  padding: 36px 26px;

  position: relative;

  z-index: 1;
}

.offer-content .eyebrow {
  color: #a0d9e5;
}

.pill {
  display: inline-block;

  border: 1px solid #ffffff4a;

  border-radius: 100px;

  padding: 4px 14px;

  font-size: 0.7rem;

  margin-bottom: 20px;
}

.offer-content h2 {
  font-size: clamp(2.2rem, 4.8vw, 3.8rem);

  line-height: 1.4;
}

.offer-content > p:not(.eyebrow) {
  color: #d2e5ed;

  font-size: 0.9rem;

  margin-block: 18px 24px;
}

.button-white {
  background: #fff;

  color: var(--navy);
}

.button-white:hover {
  background: var(--aqua);

  color: var(--navy);
}

.offer-note {
  display: block;

  font-size: 0.64rem;

  color: #c0d9e5;

  margin-top: 18px;
}

/* ─────────────────────────────────────────────
   Offer Art
───────────────────────────────────────────── */

.offer-art {
  min-height: 280px;

  position: relative;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #087fad,
      #10668e
    );

  padding: 36px;

  display: grid;

  place-items: center;
}

.offer-word {
  font:
    900 clamp(3.5rem, 7vw, 5.8rem) / 0.95 Arial,
    sans-serif;

  color: #fff;

  letter-spacing: -4px;

  transform: rotate(-8deg);

  z-index: 1;
}

.offer-word em {
  color: #a9e4e5;

  font-style: normal;
}

.offer-ring {
  position: absolute;

  width: 320px;

  aspect-ratio: 1;

  border: 50px solid #69cadb22;

  border-radius: 100%;

  left: -40px;
  top: -40px;
}

.offer-spark {
  position: absolute;

  right: 22px;
  top: 10px;

  font-size: 5rem;

  color: #b8ece9;
}

.offer-mini {
  position: absolute;

  bottom: 20px;
  right: 24px;

  font-size: 0.7rem;

  letter-spacing: 2px;

  color: #c3edf2;
}

/* ─────────────────────────────────────────────
   Download
───────────────────────────────────────────── */

.download {
  text-align: center;

  padding-block: 80px 90px;
}

.download p:not(.eyebrow) {
  color: var(--muted);

  font-size: 0.95rem;

  margin-top: 20px;
}

.store-links {
  display: flex;

  flex-wrap: wrap;

  justify-content: center;

  gap: 14px;

  margin-top: 30px;
}

.store-button {
  display: flex;

  gap: 18px;

  align-items: center;

  direction: ltr;

  background: var(--navy);

  color: #fff;

  padding: 12px 18px;

  border-radius: 12px;

  min-width: 225px;

  text-align: left;

  transition: background 0.2s;
}

.store-button:hover {
  background: var(--blue);
}

.store-button small {
  font-size: 0.75rem;

  display: block;

  direction: rtl;

  text-align: left;
}

.store-button strong {
  font: 600 1.2rem Arial;

  display: block;
}

.store-icon {
  flex: none;

  object-fit: contain;

  width: 34px;
  height: 36px;
}

.store-symbol {
  font-size: 2rem;

  line-height: 1;
}

.store-button > span:last-child {
  margin-left: auto;
}

.placeholder-note {
  display: block;

  margin-top: 20px;

  color: var(--muted);

  font-size: 0.68rem;
}

/* ─────────────────────────────────────────────
   Contact
───────────────────────────────────────────── */

.contact {
  background:
    linear-gradient(
      120deg,
      #eef9fa,
      #f8fbfc
    );

  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;

  gap: 32px;

  align-items: center;
}

.contact-intro {
  color: var(--muted);

  margin-top: 20px;

  max-width: 440px;
}

.contact-methods {
  display: grid;

  gap: 14px;
}

.contact-card {
  display: flex;

  gap: 16px;

  align-items: center;

  background: #fff;

  padding: 24px;

  border: 1px solid var(--line);

  border-radius: 18px;

  transition:
    transform 0.2s,
    border-color 0.2s;
}

.contact-card:hover {
  transform: translateY(-3px);

  border-color: var(--blue);
}

.contact-icon {
  width: 48px;
  height: 48px;

  display: grid;

  place-items: center;

  background: #eaf7f9;

  color: var(--blue);

  border-radius: 14px;

  font-size: 1.6rem;

  flex: none;
}

.contact-card small {
  display: block;

  color: var(--muted);

  font-size: 0.85rem;
}

.contact-card strong {
  display: block;

  font-size: 1.05rem;

  font-weight: 700;

  overflow-wrap: anywhere;
}

.contact-arrow {
  margin-inline-start: auto;

  color: var(--blue);
}

.contact-note {
  font-size: 0.75rem;

  color: var(--muted);
}

/* ─────────────────────────────────────────────
   Footer
───────────────────────────────────────────── */

.site-footer {
  background: #f1f7f9;

  border-top: 1px solid var(--line);
}

.footer-main {
  display: flex;

  flex-wrap: wrap;

  gap: 26px;

  justify-content: space-between;

  align-items: center;

  padding-block: 36px;
}

.footer-brand {
  font: 900 1.4rem Arial;

  letter-spacing: 2px;
}

.footer-brand span {
  display: block;

  font-size: 0.5rem;

  letter-spacing: 1.8px;

  margin-top: 8px;

  color: var(--blue);
}

.footer-main p {
  font-size: 0.85rem;

  color: var(--muted);
}

.footer-main nav {
  display: flex;

  gap: 22px;

  font-size: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid var(--line);

  display: flex;

  justify-content: space-between;

  gap: 16px;

  padding-block: 18px;

  font-size: 0.7rem;

  color: var(--muted);
}

/* ─────────────────────────────────────────────
   Bubble Animation
───────────────────────────────────────────── */

@media (prefers-reduced-motion: no-preference) {
  .bubble {
    animation: bubble-float 7s ease-in-out infinite;

    will-change: transform;
  }

  .b2 {
    animation-duration: 5.5s;

    animation-delay: -2s;
  }

  .b3 {
    animation-duration: 8.5s;

    animation-delay: -4s;
  }

  .b4 {
    animation-duration: 6s;

    animation-delay: -1s;
  }

  .b5 {
    animation-duration: 9s;

    animation-delay: -6s;
  }
}

@keyframes bubble-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  35% {
    transform: translate3d(8px, -18px, 0) scale(1.04);
  }

  70% {
    transform: translate3d(-6px, -8px, 0) scale(0.98);
  }
}

/* ─────────────────────────────────────────────
   Tablet / Desktop
───────────────────────────────────────────── */

@media (min-width: 700px) {
  .hero-grid {
    grid-template-columns: 1.05fr 1fr;

    padding-block: 75px 65px;

    gap: 30px;
  }

  .hero-art {
    min-height: 450px;
  }

  .header-inner nav {
    order: 0;

    width: auto;
  }

  .brand img {
    width: 64px;
    height: 64px;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-copy small {
    font-size: 0.62rem;
  }

  .header-inner {
    padding-block: 14px;
  }

  .hero-strip span:last-child,
  .hero-strip i:last-of-type {
    display: inline;
  }

  .about-grid {
    grid-template-columns: 1fr 1.1fr;

    gap: 70px;
  }

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

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

    gap: 36px;
  }

  .offer-panel {
    grid-template-columns: 1.1fr 1fr;
  }

  .offer-content {
    padding: 48px;
  }

  .offer-art {
    min-height: 100%;
  }

  .section {
    padding-block: 90px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;

    gap: 60px;
  }
}

/* ─────────────────────────────────────────────
   Medium Screens
───────────────────────────────────────────── */

@media (min-width: 700px) and (max-width: 1000px) {
  .header-inner nav {
    order: 3;

    width: 100%;
  }
}

/* ─────────────────────────────────────────────
   Desktop
───────────────────────────────────────────── */

@media (min-width: 1000px) {
  .hero-art {
    min-height: 500px;
  }

  .logo-disc {
    width: 400px;
  }

  .header-inner nav {
    gap: 30px;
  }

  .section {
    padding-block: 100px;
  }

  .hero h1 {
    font-size: 5.2rem;
  }

  .floating-label {
    left: -10px;

    bottom: 42px;
  }

  .art-caption {
    top: 28px;
  }

  .brand img {
    width: 70px;
    height: 70px;
  }

  .brand-name {
    font-size: 1.2rem;
  }
}

/* ─────────────────────────────────────────────
   Mobile
───────────────────────────────────────────── */

@media (max-width: 699px) {
  .header-inner nav {
    flex-wrap: wrap;

    gap: 8px 18px;

    font-size: 0.85rem;
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand-name {
    font-size: 0.95rem;

    letter-spacing: 0.7px;
  }

  .brand-copy small {
    font-size: 0.53rem;
  }

  .contact-card {
    padding: 18px;

    gap: 12px;
  }

  .contact-card strong {
    font-size: 0.95rem;
  }

  .hero h1 {
    line-height: 1.5;
  }

  .hero-strip span:last-child {
    display: inline;
  }
}

/* ─────────────────────────────────────────────
   Very Small Mobile
───────────────────────────────────────────── */

@media (max-width: 360px) {
  .container {
    width: calc(100% - 28px);
  }

  .header-inner nav {
    gap: 13px;

    font-size: 0.7rem;
  }

  .brand {
    gap: 5px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .brand-name {
    font-size: 0.82rem;
  }

  .brand-copy small {
    font-size: 0.46rem;
  }

  .button-small {
    padding: 8px 10px;

    font-size: 0.7rem;
  }

  .hero-strip {
    gap: 12px;

    font-size: 0.6rem;
  }

  .hero-art {
    min-height: 300px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .footer-main nav {
    gap: 15px;
  }
}

/* ─────────────────────────────────────────────
   Accessibility
───────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .bubble {
    animation: none;

    will-change: auto;
  }
}