/* Pioneers Laundries. Built on Ahmed's site (sections, copy); identity tokens from the company profile. */

:root {
  --night: #053446;
  --navy: #075a7c;
  --ink: #173e4b;
  --muted: #5b7279;
  --green: #5a9f22;
  --yellow: #d5d329;
  --paper: #f6f6f2;
  --white: #ffffff;
  --sage: #e9efeb;

  --line: rgba(23, 62, 75, .14);
  --line-strong: rgba(23, 62, 75, .3);
  --line-on-dark: rgba(255, 255, 255, .18);
  --text-on-dark: rgba(255, 255, 255, .76);

  --font: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --fs-hero: clamp(54px, 9.4vw, 140px);
  --fs-display: clamp(48px, 7vw, 108px);
  --fs-display-2: clamp(34px, 4.6vw, 68px);
  --fs-title: clamp(22px, 2.2vw, 30px);
  --fs-lead: clamp(18px, 1.45vw, 21px);
  --fs-body: 17px;
  --fs-label: 12px;

  --gutter: clamp(16px, 4.5vw, 64px);
  --wrap: 1320px;
  --header-h: 76px;
  --strip-h: 34px;
  --section-pad: clamp(88px, 10vw, 152px);

  --ease: cubic-bezier(.7, 0, .16, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --rise: 1.05s;
}

/* Base */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .3em; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--white); color: var(--night); font-weight: 700;
}
.skip:focus { top: 12px; }

main > section { position: relative; padding-block: var(--section-pad); }
.band-night { background: var(--night); color: var(--white); }
.band-navy { background: var(--navy); color: var(--white); }
.band-green { background: var(--green); color: var(--white); }
.band-sage { background: var(--sage); }
.band-white { background: var(--white); }

/* Type */

.display { font-size: var(--fs-display); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
.display-2 { font-size: var(--fs-display-2); font-weight: 800; line-height: 1.22; color: var(--navy); }
.band-night .display-2, .band-navy .display-2 { color: var(--white); }
.lead { font-size: var(--fs-lead); line-height: 1.85; max-width: 34em; }
.band-night .lead, .band-navy .lead { color: var(--text-on-dark); }
.small { font-size: 15px; }
.muted { color: var(--muted); }
.band-navy .small, .band-night .small { color: var(--text-on-dark); }
.stop { color: var(--green); }
.line { display: block; overflow: hidden; padding-block: .1em .18em; margin-block: -.1em -.18em; }
.line > span { display: block; }

.label { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--navy); }
.label.on-dark { color: var(--white); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); flex: none; }
.dot-white { background: var(--white); }

.kicker {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  padding-block-end: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 15px; font-weight: 700; color: var(--navy);
}
.kicker .code { direction: ltr; font-size: var(--fs-label); letter-spacing: .1em; text-transform: uppercase; }
.kicker.on-dark { color: var(--white); border-color: var(--line-on-dark); }
.kicker.on-dark .code { color: var(--yellow); }

.split-head {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 64px; align-items: end;
  margin-top: clamp(48px, 6vw, 88px);
}
.split-head .lead { color: var(--muted); }
.contracts-head .display-2 + .lead, .request-head .display-2 + .lead, .about-text .display-2 + .lead { margin-top: 28px; }

/* Big Latin type used as ornament (Ahmed's "B2B" mark, the 2019 year) */

.ornament {
  position: absolute; inset-inline-end: -.06em; bottom: -.2em;
  direction: ltr;
  font-size: clamp(200px, 30vw, 480px); font-weight: 800; line-height: 1; letter-spacing: -.04em;
  color: var(--white); opacity: .06;
  pointer-events: none; user-select: none;
}
.ornament-ink { color: var(--navy); opacity: .05; top: .1em; bottom: auto; }
section:has(> .ornament) { overflow: hidden; overflow: clip; }

/* Buttons */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 54px; padding: 0 28px;
  font: 700 16px/1 var(--font);
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn .arrow { transition: transform .5s var(--ease-out); }
.btn:hover .arrow { transform: translateX(-5px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--night); }
.btn-light { background: var(--white); color: var(--night); }
.btn-light:hover { background: var(--sage); }
.btn-line { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-line:hover { border-color: var(--white); }

/* Header with Ahmed's profile strip */

.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 50;
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: background-color .4s, color .4s, border-color .4s;
}
.site-header.on-light { color: var(--ink); }
.site-header.is-solid { background: var(--paper); color: var(--ink); border-color: var(--line); }

.header-strip {
  height: var(--strip-h); overflow: hidden;
  border-bottom: 1px solid var(--line-on-dark);
  font-size: 13px;
  transition: height .45s var(--ease), border-color .45s;
}
.strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; height: 100%; }
.strip-tag { margin-inline-end: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--yellow); }
.strip-title { font-weight: 700; }
.strip-muted { margin-inline-start: 12px; color: var(--text-on-dark); }
.header-strip a { font-weight: 700; text-decoration: none; color: var(--yellow); white-space: nowrap; }
.header-strip a:hover { text-decoration: underline; }
.strip-meta { font-weight: 600; opacity: .8; }
.on-light .header-strip { border-color: var(--line); }
.on-light .strip-tag { color: var(--green); }
.on-light .strip-muted { color: var(--muted); }
.on-light .header-strip a { color: var(--navy); }
.is-solid .header-strip { height: 0; border-color: transparent; }

.header-inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.brand { display: block; width: 168px; flex: none; }
.brand img { width: 100%; }
.brand-on-light { display: none; }
.on-light .brand-on-dark, .is-solid .brand-on-dark { display: none; }
.on-light .brand-on-light, .is-solid .brand-on-light { display: block; }
.site-nav { display: flex; align-items: center; gap: 32px; margin-inline-end: auto; }
.site-nav ul { display: flex; gap: 30px; }
.site-nav a { font-size: 15px; font-weight: 600; text-decoration: none; }
.site-nav ul a { position: relative; padding-block: 6px; }
.site-nav ul a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out);
}
.site-nav ul a:hover::after { transform: scaleX(1); }
.nav-phone { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.lang { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-decoration: none; }
.btn-header { min-height: 44px; padding: 0 20px; font-size: 15px; background: var(--white); color: var(--night); }
.on-light .btn-header, .is-solid .btn-header { background: var(--navy); color: var(--white); }
.on-light .btn-header:hover, .is-solid .btn-header:hover { background: var(--night); }
.menu-toggle { display: none; }

/* 01 Hero: Ahmed's photo with a navy panel. Headline, button and photo fit the first screen. */

main > .hero { padding-block: calc(var(--header-h) + var(--strip-h)) 0; }
.hero { height: max(680px, 100svh); display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
.hero-media { grid-area: 1 / 1; position: relative; min-height: 0; }
.hero-media .frame { position: absolute; inset: 0; height: auto; }
.hero-panel {
  grid-area: 1 / 1; align-self: end; justify-self: start;
  position: relative; z-index: 1;
  width: min(680px, 54vw); margin-inline-start: var(--gutter);
  padding: clamp(28px, 3.4vw, 52px);
  background: var(--navy); color: var(--white);
}
.hero-panel .label { margin-bottom: 20px; }
.hero-title { font-size: clamp(38px, 4.9vw, 76px); font-weight: 800; line-height: 1.14; letter-spacing: -.01em; }
.hero-panel .lead { margin-top: 18px; font-size: clamp(16px, 1.25vw, 19px); color: var(--text-on-dark); }
.hero-panel .actions { margin-top: 26px; }
.hero-facts { background: var(--paper); border-top: 1px solid var(--line); }
.hero-facts .facts { border-top: 0; }
.hero-facts .facts div { padding-block: 16px 18px; }
.hero-facts .facts dd { margin-top: 2px; font-size: 17px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); }
.facts div { padding-block: 20px 28px; padding-inline: 0 24px; }
.facts div + div { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.facts dd { margin-top: 6px; font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; line-height: 1.5; color: var(--navy); }
.facts bdi, .facts b { font-weight: 800; }

/* Frames with parallax media */

.frame { position: relative; overflow: hidden; height: 100%; }
.frame img {
  width: 100%; height: 118%; object-fit: cover;
  transform: translate3d(0, var(--shift, -9%), 0);
  will-change: transform;
}

/* 02 Business contracts */

.contracts-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(40px, 7vw, 120px); align-items: start;
  margin-top: clamp(48px, 6vw, 88px);
}
.contracts .small { margin-top: 18px; max-width: 34em; }

.index { border-top: 1px solid var(--line-strong); counter-reset: none; }
.index li {
  display: flex; align-items: baseline; gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.index-no { flex: none; width: 32px; font-size: 14px; font-weight: 700; color: var(--green); }
.index-name { font-size: var(--fs-title); font-weight: 700; line-height: 1.4; color: var(--navy); }
.index.on-dark { border-color: var(--line-on-dark); }
.index.on-dark li { border-color: var(--line-on-dark); }
.index.on-dark .index-no { color: var(--yellow); }
.index.on-dark .index-name { color: var(--white); }

.features {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--line-on-dark);
}
.features li {
  padding-block: 22px 4px; padding-inline: 0 24px;
  font-size: 17px; font-weight: 700; line-height: 1.6;
}
.features li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--line-on-dark); }
.features li::before { content: ""; display: block; width: 22px; height: 3px; margin-bottom: 14px; background: var(--yellow); }

/* 03 Success story */

.case-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px clamp(40px, 7vw, 120px); align-items: end;
  margin-top: clamp(48px, 6vw, 88px);
}
.case-grid .display-2 { font-size: clamp(36px, 5vw, 76px); }
.case-text { display: grid; gap: 16px; font-size: var(--fs-lead); max-width: 32em; }
.case-meta { font-size: 15px; color: var(--muted); }
.case-meta strong { color: var(--navy); }
.metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(56px, 7vw, 104px);
  border-top: 1px solid var(--line-strong);
}
.metrics div { padding-block: 24px 0; padding-inline: 0 24px; }
.metrics div + div { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.metrics dt { font-size: clamp(56px, 7vw, 104px); font-weight: 800; line-height: 1; color: var(--navy); }
.metrics div:last-child dt { color: var(--green); }
.metrics dd { margin-top: 12px; font-weight: 600; color: var(--muted); }

/* 04 Contract request */

.request-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px clamp(40px, 7vw, 120px); align-items: start;
  margin-top: clamp(48px, 6vw, 88px);
}
.direct { display: grid; gap: 20px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line-on-dark); }
.direct dt { font-size: 14px; color: var(--text-on-dark); }
.direct dd { font-size: clamp(22px, 2vw, 28px); font-weight: 700; }
.direct a { text-decoration: none; }
.direct a:hover { text-decoration: underline; }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 32px; }
.field { display: grid; gap: 4px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--text-on-dark); }
.field input, .field select, .field textarea {
  width: 100%; padding: 10px 0 14px;
  background: transparent; color: var(--white);
  border: 0; border-bottom: 1px solid var(--line-on-dark); border-radius: 0;
  font-size: 18px; font-weight: 600;
  transition: border-color .3s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .38); font-weight: 400; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--yellow); }
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(-45deg, transparent 50%, currentColor 50%); background-position: 6px 22px, 12px 22px; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.7; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 24px; }
.form-note { font-size: 14px; color: var(--text-on-dark); }
.form-status { min-height: 1.8em; font-size: 15px; font-weight: 600; color: var(--yellow); }

/* 05 Pickup and delivery */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(56px, 7vw, 104px); }
.steps li { position: relative; padding-inline-end: 24px; }
.steps li::before {
  content: ""; position: absolute; top: 33px; inset-inline: 0; height: 3px;
  background: var(--navy);
}
.steps li:nth-child(even)::before { background: var(--green); }
.steps li:last-child::before { display: none; }
.node {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  font-size: 22px; font-weight: 800;
  box-shadow: 0 0 0 10px var(--sage);
}
.node-green { background: var(--green); }
.steps h3 { margin-top: 26px; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; line-height: 1.3; color: var(--navy); }
.steps p { margin-top: 6px; color: var(--muted); }

/* 06 Services */

.service-list { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-strong); }
.service-list a {
  display: grid; grid-template-columns: 48px minmax(200px, 1fr) 2fr 40px; align-items: baseline; gap: 24px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color .4s, padding .5s var(--ease-out);
}
.service-list h3 { font-size: var(--fs-title); font-weight: 700; line-height: 1.4; color: var(--navy); }
.service-list p { color: var(--muted); }
.service-list .go { justify-self: end; font-size: 20px; color: var(--navy); transition: transform .5s var(--ease-out); }
.service-list a:hover { background: var(--white); padding-inline: 20px; }
.service-list a:hover .go { transform: translateX(-8px); }

/* 07 Shoe care */

.shoes-grid {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px clamp(40px, 7vw, 120px); align-items: center;
  margin-top: clamp(48px, 6vw, 88px);
}
.shoes-text .lead { margin-top: 24px; color: var(--muted); }
.shoes-text .index { margin-top: 32px; }
.shoes-text .index-name { font-size: 19px; }
.shoes-text .small { margin-top: 16px; }

.compare { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage); }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { clip-path: inset(0 0 0 var(--pos)); }
.compare-line {
  position: absolute; top: 0; bottom: 0; inset-inline-start: calc(100% - var(--pos)); width: 2px; margin-inline-start: -1px;
  background: var(--white);
}
.compare-line::after {
  content: "↔"; position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); color: var(--navy); font-size: 18px; font-weight: 700;
}
.compare figcaption {
  position: absolute; inset-inline: 0; bottom: 0;
  display: flex; justify-content: space-between;
  padding: 14px 18px;
  font-size: 13px; font-weight: 700; color: var(--white);
  pointer-events: none;
}
.compare figcaption span { padding: 4px 10px; background: rgba(5, 52, 70, .72); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; direction: ltr; }
.compare-range:focus-visible + * { outline: none; }
.compare:has(.compare-range:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }

/* 08 Branches */

.branch-list { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-strong); }
.branch-list li {
  display: grid; grid-template-columns: 240px 1fr auto; align-items: center; gap: clamp(20px, 3vw, 48px);
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}
.thumb { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage); }
.thumb img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.2s var(--ease-out), filter .6s; }
.branch-list li:hover .thumb img { transform: scale(1.04); filter: none; }
.branch-text h3 { font-size: var(--fs-title); font-weight: 700; color: var(--navy); line-height: 1.4; }
.branch-text p { margin-top: 4px; color: var(--muted); }
.branch-link { font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.branch-link:hover { text-decoration: underline; }

/* 09 About */

.about-grid {
  display: grid; grid-template-columns: auto 1fr; gap: 48px clamp(48px, 8vw, 140px); align-items: end;
  margin-top: clamp(48px, 6vw, 88px);
}
.year { display: grid; justify-items: start; gap: 10px; }
.year-num {
  direction: ltr; display: flex;
  font-size: clamp(120px, 18vw, 270px); font-weight: 800; line-height: .82; letter-spacing: -.035em;
  color: var(--green);
}
.year-num > span { display: block; }
.year-cap { font-size: 18px; color: var(--text-on-dark); }
.about-text .lead { margin-top: 24px; }
.promise {
  margin-top: 32px; padding-inline-start: 20px;
  border-inline-start: 3px solid var(--yellow);
  font-size: 19px; font-weight: 600; line-height: 1.8;
}

/* 10 Contact */

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 80px; align-items: end; }
.contact .label { margin-bottom: 20px; }
.contact-side p { max-width: 26em; font-size: 20px; font-weight: 700; line-height: 1.7; }
.contact .btn-light { color: var(--night); }

/* 11 Partners */

.logo-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line);
  background: var(--white);
}
.logo-grid li {
  display: grid; place-items: center;
  aspect-ratio: 16 / 9; padding: 12% 18%;
  border-bottom: 1px solid var(--line); border-inline-end: 1px solid var(--line);
}
.logo-grid img {
  max-height: 72px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62; mix-blend-mode: multiply;
  transition: filter .5s, opacity .5s;
}
.logo-grid li:hover img { filter: none; opacity: 1; }
/* White-on-transparent source logos: shown dark until clean files arrive. */
.logo-grid img.logo-light,
.logo-grid li:hover img.logo-light { filter: invert(1) grayscale(1); }
.note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* Footer */

.site-footer { position: relative; overflow: hidden; overflow: clip; padding-top: clamp(72px, 8vw, 120px); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr; gap: 40px 64px; }
.footer-brand img { width: 200px; }
.footer-brand p { margin-top: 20px; max-width: 22em; color: var(--text-on-dark); }
.site-footer nav ul { display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer nav a { color: var(--text-on-dark); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-contact { display: grid; gap: 18px; }
.footer-contact dt { font-size: 14px; color: var(--text-on-dark); }
.footer-contact dd { font-weight: 700; }
.wordmark {
  margin-top: clamp(56px, 7vw, 104px);
  font-size: min(15.5vw, 236px); font-weight: 800; line-height: .9; letter-spacing: -.02em;
  white-space: nowrap; color: var(--white); opacity: .08;
  margin-bottom: -.12em;
}
/* The Arabic name runs about 6em wide, so it needs a smaller size to fit the page width. */
html[lang="ar"] .wordmark { font-size: min(14.4vw, 214px); line-height: 1.25; margin-bottom: .02em; }
.footer-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px;
  padding-block: 22px 26px;
  border-top: 1px solid var(--line-on-dark);
  font-size: 13px; color: var(--text-on-dark);
}

/* Inner pages */

.site-nav ul a[aria-current="page"]::after { transform: scaleX(1); }

main > .page-head { padding-block: calc(var(--header-h) + var(--strip-h)) 0; }
.page-head-top { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 4vw, 56px); }
.page-head .label { margin-bottom: 24px; }
.page-title { font-size: clamp(40px, 6.4vw, 96px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; color: var(--navy); }
.page-head .lead { margin-top: 28px; color: var(--muted); }

.quick-links { display: flex; border-top: 1px solid var(--line-strong); }
.quick-links a {
  flex: 1 1 0; display: flex; justify-content: space-between; gap: 12px;
  padding-block: 20px 26px; padding-inline: 0 24px;
  font-size: 18px; font-weight: 700; color: var(--navy); text-decoration: none;
}
.quick-links a + a { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.quick-links a:hover { color: var(--green); }

.rows { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-strong); }
.rows li {
  display: grid; grid-template-columns: 48px minmax(220px, 1fr) 2fr; gap: 24px; align-items: baseline;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
}
.rows h3 { font-size: var(--fs-title); font-weight: 700; line-height: 1.4; color: var(--navy); }
.rows p { color: var(--muted); }
.rows.on-dark { border-color: var(--line-on-dark); }
.rows.on-dark li { border-color: var(--line-on-dark); }
.rows.on-dark h3 { color: var(--white); }
.rows.on-dark p { color: var(--text-on-dark); }
.rows.on-dark .index-no { color: var(--yellow); }

.scope-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(40px, 7vw, 120px); align-items: start;
  margin-top: clamp(48px, 6vw, 88px);
}
.ticks { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.ticks li {
  position: relative;
  padding-block: 16px; padding-inline-start: 36px;
  border-bottom: 1px solid var(--line);
  font-size: 18px; font-weight: 600;
}
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 31px; width: 18px; height: 3px; background: var(--green); }
.checklist-panel { padding: clamp(28px, 3.4vw, 48px); background: var(--sage); }
.checklist-panel .eyebrow { font-size: 14px; font-weight: 700; color: var(--green); }
.checklist-panel h3 { margin-top: 6px; font-size: var(--fs-title); font-weight: 800; line-height: 1.4; color: var(--navy); }
.checklist { margin-top: 24px; counter-reset: item; }
.checklist li {
  counter-increment: item;
  display: grid; grid-template-columns: 44px 1fr;
  padding-block: 14px; border-top: 1px solid var(--line-strong);
  font-weight: 600;
}
.checklist li::before { content: counter(item, decimal-leading-zero); font-size: 14px; font-weight: 800; color: var(--navy); }

.faq { margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-block: 24px;
  font-size: var(--fs-title); font-weight: 700; line-height: 1.4; color: var(--navy);
  list-style: none; cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 30px; font-weight: 400; line-height: 1; color: var(--green); transition: rotate .4s var(--ease-out); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { max-width: 46em; padding-bottom: 28px; font-size: var(--fs-lead); color: var(--muted); }

.branch-detail {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px clamp(40px, 6vw, 96px); align-items: center;
  padding-block: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.branch-detail:nth-child(even) .branch-media { order: 2; }
.branch-media .frame { height: clamp(300px, 38vw, 540px); }
.branch-detail .index-no { display: block; margin-bottom: 14px; }
.branch-detail h2 { font-size: clamp(32px, 3.8vw, 56px); font-weight: 800; line-height: 1.25; color: var(--navy); }
.branch-detail .addr { margin-top: 14px; font-size: var(--fs-lead); color: var(--muted); }
.btn-ghost { border-color: var(--line-strong); color: var(--navy); }
.btn-ghost:hover { border-color: var(--navy); }

.channels {
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line-strong);
}
.channels div { padding-block: 22px 28px; padding-inline: 0 24px; }
.channels div + div { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.channels div:nth-child(odd) { padding-inline-start: 0; border-inline-start: 0; }
.channels div:nth-child(n+3) { border-top: 1px solid var(--line); }
.channels dt { font-size: 14px; font-weight: 600; color: var(--muted); }
.channels dd { margin-top: 6px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 800; line-height: 1.4; color: var(--navy); }
.channels dd.address { font-size: 19px; font-weight: 700; }
.channels a { text-decoration: none; }
.channels a:hover { text-decoration: underline; }

.company-table { margin-top: 32px; border-top: 1px solid var(--line-strong); }
.company-table div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.company-table dt { font-weight: 600; color: var(--muted); }
.company-table dd { font-weight: 700; color: var(--navy); }

.pairs { display: grid; gap: 24px; margin-top: 36px; }
.pairs dt { font-size: var(--fs-title); font-weight: 700; line-height: 1.3; }
.pairs dd { margin-top: 6px; color: var(--text-on-dark); }
.about-text > .promise:first-child { margin-top: 0; }
.company-title { margin-top: clamp(64px, 8vw, 104px); }
.split-head .lead a { color: var(--navy); font-weight: 700; }

.prose { max-width: 46em; margin-top: clamp(40px, 5vw, 72px); font-size: 18px; }
.prose h2 { margin-top: 48px; font-size: var(--fs-title); font-weight: 800; line-height: 1.4; color: var(--navy); }
.prose p, .prose ul { margin-top: 14px; }
.prose ul { padding-inline-start: 22px; list-style: disc; }
.prose li + li { margin-top: 6px; }
.draft-note { margin-top: 28px; padding: 14px 18px; border-inline-start: 3px solid var(--yellow); background: var(--white); font-weight: 600; }

/* English pages (left to right) */

html[dir="ltr"] body { line-height: 1.7; }
[dir="ltr"] .hero-title, [dir="ltr"] .page-title, [dir="ltr"] .display { line-height: 1.04; letter-spacing: -.025em; }
[dir="ltr"] .display-2 { line-height: 1.1; letter-spacing: -.02em; }
[dir="ltr"] .hero-title { font-size: clamp(36px, 4.6vw, 72px); }
[dir="ltr"] .page-title { font-size: clamp(38px, 5.8vw, 84px); }
[dir="ltr"] .line { padding-block: .06em .14em; margin-block: -.06em -.14em; }
[dir="ltr"] .btn:hover .arrow { transform: translateX(5px); }
[dir="ltr"] .site-nav ul a::after { transform-origin: left; }
[dir="ltr"] .service-list a:hover .go { transform: translateX(8px); }
[dir="ltr"] .compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
[dir="ltr"] .compare-line { inset-inline-start: var(--pos); }
[dir="ltr"] .field select { background-position: calc(100% - 12px) 22px, calc(100% - 6px) 22px; }
.kicker .code [lang="ar"] { letter-spacing: 0; text-transform: none; font-size: 13px; }
.lang[lang="ar"] { font-size: 17px; letter-spacing: 0; }

/* Motion: only with JS, and never under reduced motion */

@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] .line > span { transform: translateY(var(--travel, 108%)); transition: transform var(--rise) var(--ease); }
  .js [data-reveal] .line:nth-child(2) > span { --travel: 128%; }
  .js [data-reveal] .line:nth-child(3) > span { --travel: 148%; }
  .js [data-reveal].is-in .line > span { transform: none; }

  .js [data-reveal] .year-num > span { transform: translateY(60%); opacity: 0; transition: transform var(--rise) var(--ease), opacity .6s; }
  .js [data-reveal] .year-num > span:nth-child(2) { transform: translateY(75%); }
  .js [data-reveal] .year-num > span:nth-child(3) { transform: translateY(90%); }
  .js [data-reveal] .year-num > span:nth-child(4) { transform: translateY(105%); }
  .js [data-reveal].is-in .year-num > span { transform: none; opacity: 1; }

  .js [data-reveal] .follow,
  .js [data-reveal] .follow-early,
  .js [data-reveal].follow { opacity: 0; transform: translateY(16px); transition: opacity .9s ease, transform .9s var(--ease-out); }
  .js [data-reveal] .follow { transition-delay: .5s; }
  .js [data-reveal] .follow:nth-child(2) { transition-delay: .6s; }
  .js [data-reveal] .follow:nth-child(3) { transition-delay: .7s; }
  .js [data-reveal] .follow:nth-child(4) { transition-delay: .8s; }
  .js [data-reveal] .follow:nth-child(n + 5) { transition-delay: .9s; }
  .js [data-reveal].is-in .follow,
  .js [data-reveal].is-in .follow-early { opacity: 1; transform: none; }

  .js .steps li::before { transform: scaleX(0); transform-origin: right; transition: transform .9s var(--ease); }
  .js .steps li:nth-child(2)::before { transition-delay: .35s; }
  .js .steps li:nth-child(3)::before { transition-delay: .7s; }
  .js .steps.is-in li::before { transform: none; }
  .js .steps .node { transform: scale(.4); opacity: 0; transition: transform .8s var(--ease-out), opacity .4s; }
  .js .steps li:nth-child(2) .node { transition-delay: .35s; }
  .js .steps li:nth-child(3) .node { transition-delay: .7s; }
  .js .steps li:nth-child(4) .node { transition-delay: 1.05s; }
  .js .steps.is-in .node { transform: none; opacity: 1; }
}

@media (prefers-reduced-motion: no-preference) and (min-width: 641px) {
  html[dir="ltr"].js .steps li::before { transform-origin: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .frame img { height: 100%; transform: none; }
}

/* Tablet */

@media (max-width: 1080px) {
  .site-nav ul { gap: 20px; }
  .header-inner { gap: 24px; }
  .split-head, .contracts-grid, .case-grid, .request-grid, .shoes-grid, .contact-grid { grid-template-columns: 1fr; }
  .facts, .features { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3), .features li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .features li:nth-child(n + 3) { border-top: 1px solid var(--line-on-dark); padding-bottom: 18px; }
  .service-list a { grid-template-columns: 40px 1fr 32px; }
  .service-list p { grid-column: 2; }
  .service-list .go { grid-column: 3; grid-row: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .scope-grid, .branch-detail { grid-template-columns: 1fr; }
  .branch-detail:nth-child(even) .branch-media { order: 0; }
  .rows li { grid-template-columns: 40px 1fr; }
  .rows p { grid-column: 2; }
  .channels { grid-template-columns: 1fr; }
  .channels div + div { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
}

@media (min-width: 761px) and (max-width: 1080px) {
  .hero-facts .facts { grid-template-columns: repeat(4, 1fr); }
  .hero-facts .facts div + div { padding-inline-start: 16px; }
  .hero-facts .facts div:nth-child(3) { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
  .hero-facts .facts div:nth-child(n + 3) { border-top: 0; }
  .hero-facts .facts dd { font-size: 15px; }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    background: none; border: 0; color: inherit; cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .4s var(--ease-out), opacity .3s; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; inset-inline: 0; }
  .bars::before { top: -7px; }
  .bars::after { top: 7px; }
  .menu-open .bars { background: transparent; }
  .menu-open .bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-open .bars::after { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0; top: calc(var(--header-h) + var(--strip-h));
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px var(--gutter) 40px;
    background: var(--night); color: var(--white);
    visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s;
  }
  .is-solid .site-nav { top: var(--header-h); }
  .menu-open .site-nav { visibility: visible; opacity: 1; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding-block: 18px; font-size: 26px; font-weight: 700; border-bottom: 1px solid var(--line-on-dark); }
  .site-nav ul a::after { display: none; }
  .nav-phone { display: block; margin-top: 32px; font-size: 24px; font-weight: 700; }
  .lang { display: none; }
  .strip-muted { display: none; }

  .hero { height: auto; grid-template-rows: auto auto auto; }
  .hero-media { height: 32svh; }
  .hero-panel { grid-area: 2 / 1; width: 100%; margin: 0; padding: 26px var(--gutter) 30px; }
  .hero-facts { grid-area: 3 / 1; }
}

/* Phone */

@media (max-width: 640px) {
  :root { --header-h: 64px; --strip-h: 32px; --fs-body: 16px; }
  .brand { width: 132px; }
  .btn-header { display: none; }
  .strip-title { display: none; }
  .header-strip { font-size: 12px; }
  .hero-title, [dir="ltr"] .hero-title { font-size: 34px; }
  .hero-panel .lead { font-size: 15px; line-height: 1.75; }
  .hero-panel .actions { margin-top: 22px; }
  .hero-panel .actions .btn { flex: 1 1 auto; }
  .metrics { grid-template-columns: 1fr; }
  .metrics div + div { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .metrics div { padding-bottom: 20px; }
  .features { grid-template-columns: 1fr; }
  .features li + li { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line-on-dark); }
  .features li { padding-bottom: 16px; }
  .form { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { display: grid; grid-template-columns: 68px 1fr; column-gap: 20px; padding-block-end: 32px; }
  .steps li::before { top: 0; bottom: 0; inset-inline-start: 33px; inset-inline-end: auto; width: 3px; height: auto; }
  .js .steps li::before { transform: scaleY(0); transform-origin: top; }
  .js .steps.is-in li::before { transform: none; }
  .steps .node { grid-row: span 2; }
  .steps h3 { margin-top: 8px; }
  .about-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch-list li { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .quick-links { flex-direction: column; }
  .quick-links a + a { padding-inline-start: 0; border-inline-start: 0; border-top: 1px solid var(--line); }
  .quick-links a { padding-block: 16px; }
  .company-table div { grid-template-columns: 1fr; gap: 2px; }
}
