/* ==========================================================================
   Driwe, main stylesheet
   Layout follows the client's approved mockup. Values resolve to the
   landing-page-design tokens (type scale, spacing, radius) wherever the
   mockup allows. Previous Truck'N Roll hero kept in dev/archive/.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
	--bg: #FFFFFF;
	--ink: #0E0E0C;           /* van black */
	--ink-2: #3F3E3A;
	--line: rgba(14, 14, 12, 0.12);
	--yellow: #FDC000;        /* sampled from the Driwe logo and livery */
	--green: #12803A;         /* WhatsApp button, 5:1 with white text */
	--green-hover: #0E6B30;

	--s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
	--s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

	--r-md: 6px; --r-lg: 8px; --r-xl: 12px; --r-2xl: 16px; --r-full: 9999px;

	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--font: 'Poppins', system-ui, sans-serif;
	--font-ar: 'IBM Plex Sans Arabic', 'Poppins', system-ui, sans-serif;

	--gutter: var(--s-400);
	--container: 1440px;
	--nav-h: 88px;            /* logo 56 + 2 x 16 padding; keeps the hero exactly one screen tall */
	color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font);
	font-size: 16px;
	line-height: 24px;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
[dir="rtl"] body { font-family: var(--font-ar); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
p { text-wrap: pretty; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.icon { width: 1em; height: 1em; flex: none; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--r-md); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip-link {
	position: fixed; top: var(--s-200); inset-inline-start: var(--s-200); z-index: 100;
	padding: var(--s-75) var(--s-100); border-radius: var(--r-full);
	background: var(--ink); color: var(--bg);
	transform: translateY(-200%);
	transition: transform 300ms var(--ease);
}
.skip-link:focus { transform: none; }

/* ---------- Text styles (landing-page-design B1) ---------- */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.title-5 { font-size: 12px; line-height: 16px; font-weight: 500; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-2 { font-size: 16px; line-height: 24px; font-weight: 500; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.body-7 { font-size: 24px; line-height: 32px; font-weight: 400; }   /* added: hero subheadline (text-2xl) */
.button-xl { font-size: 20px; line-height: 28px; font-weight: 600; } /* added: hero CTA (text-xl) */
.button-lg { font-size: 18px; line-height: 28px; font-weight: 600; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.button-xsm { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-4 { font-size: 12px; line-height: 16px; font-weight: 500; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: var(--s-100);
	border-radius: var(--r-xl);
	white-space: nowrap;
	transition: background-color 300ms var(--ease), transform 500ms var(--ease), box-shadow 300ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--r-xl); }
.btn--wa { background: var(--green); color: #FFFFFF; }
.btn--wa:hover { background: var(--green-hover); transform: translateY(-2px); }
.btn--wa:active { transform: scale(0.98); }
.btn--nav { padding: var(--s-75) var(--s-200); }
.btn--nav .icon { width: 24px; height: 24px; }
.btn--lg { padding: var(--s-100) var(--s-300); }
.btn--lg .icon { width: 28px; height: 28px; }
.btn--xl { padding: var(--s-100) var(--s-400); box-shadow: 0 8px 24px rgba(14, 14, 12, 0.16); }
.btn--xl .icon { width: 32px; height: 32px; }

/* ==========================================================================
   Header (mockup: logo left, Recovery | Mobile services, WhatsApp button)
   ========================================================================== */
.nav {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0);
	transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.nav.is-scrolled {
	background: rgba(255, 255, 255, 0.88);
	-webkit-backdrop-filter: blur(16px) saturate(1.4);
	backdrop-filter: blur(16px) saturate(1.4);
	box-shadow: 0 1px 0 var(--line);
}
.nav__bar {
	position: relative; z-index: 2;
	display: flex; align-items: center; gap: var(--s-400);
	max-width: var(--container); margin-inline: auto;
	padding: var(--s-200) var(--gutter);
}
.nav__logo { display: block; flex: none; border-radius: var(--r-md); }
.nav__logo img { height: 56px; width: auto; }
.nav__links {
	display: flex; align-items: center; gap: var(--s-400);
	margin-inline-start: auto;
}
.nav__divider { width: 2px; height: 28px; background: var(--yellow); border-radius: var(--r-full); }
.nav__link { position: relative; padding-block: var(--s-75); font-weight: 600; }
.nav__link::after {
	content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 2px;
	background: var(--yellow); border-radius: var(--r-full);
	transform: scaleX(0); transform-origin: right;
	transition: transform 500ms var(--ease);
}
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }
[dir="rtl"] .nav__link::after { transform-origin: left; }
[dir="rtl"] .nav__link:hover::after, [dir="rtl"] .nav__link.is-current::after { transform-origin: right; }
.nav__end { display: flex; align-items: center; gap: var(--s-300); }
.nav__lang { color: var(--ink-2); padding-block: var(--s-75); transition: color 300ms var(--ease); }
.nav__lang:hover { color: var(--ink); }
.nav__lang[lang="ar"] { font-family: var(--font-ar); font-size: 16px; line-height: 24px; }
.nav__lang[lang="en"] { font-family: var(--font); }

.nav__toggle {
	display: none;
	position: relative; width: 40px; height: 40px; border-radius: var(--r-full);
	background: var(--ink);
}
.nav__toggle-line {
	position: absolute; inset-inline-start: 12px; top: 50%;
	width: 16px; height: 2px; margin-top: -1px;
	border-radius: var(--r-full); background: #FFFFFF;
	transition: transform 500ms var(--ease);
}
.nav__toggle-line:first-child { transform: translateY(-3px); }
.nav__toggle-line:last-child { transform: translateY(3px); }
.nav.is-open .nav__toggle-line:first-child { transform: rotate(45deg); }
.nav.is-open .nav__toggle-line:last-child { transform: rotate(-45deg); }

.nav__panel {
	position: fixed; inset: 0; z-index: 1;
	padding: 112px var(--s-300) var(--s-400);
	background: rgba(255, 255, 255, 0.94);
	-webkit-backdrop-filter: blur(24px);
	backdrop-filter: blur(24px);
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 300ms var(--ease), visibility 0s linear 300ms;
}
.nav.is-open .nav__panel {
	opacity: 1; visibility: visible; pointer-events: auto;
	transition: opacity 300ms var(--ease), visibility 0s;
}
.nav__panel-links { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-300); }
.nav__panel-link {
	opacity: 0; transform: translateY(var(--s-300));
	transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}
.nav__panel-link.btn { margin-top: var(--s-300); }
.nav.is-open .nav__panel-link { opacity: 1; transform: none; }
.nav.is-open .nav__panel-link:nth-child(2) { transition-delay: 60ms; }
.nav.is-open .nav__panel-link:nth-child(3) { transition-delay: 120ms; }
.nav.is-open .nav__panel-link:nth-child(4) { transition-delay: 180ms; }
html.nav-open { overflow: hidden; }

@media (max-width: 1023px) {
	:root { --nav-h: 80px; }
	.nav__logo img { height: 48px; }
	.nav__links { gap: var(--s-300); }
}
@media (max-width: 767px) {
	.nav__links, .nav__lang { display: none; }
	.nav__toggle { display: block; }
	.nav__bar { gap: var(--s-100); padding-block: var(--s-100); }
	.nav__logo { margin-inline-end: auto; }
	.nav__logo img { height: 40px; }
	.nav__end { gap: var(--s-100); }
	.nav.is-open { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (min-width: 768px) {
	.nav__panel { display: none; }
}

/* ==========================================================================
   Hero (client mockup)
   Centred headline, van over a diagonal yellow field, WhatsApp CTA on the band.
   ========================================================================== */
.hero {
	/* Van size: as wide as the layout allows while the whole hero fits one screen. */
	--van-w: min(1360px, calc(100vw - 2 * var(--gutter)), calc((100svh - 440px) * 2.95));
	--van-h: calc(var(--van-w) * 0.339);
	--field-top: var(--s-700);                /* where the diagonal meets the right edge, from the hero top */
	--field-left: 100%;                       /* where it meets the left edge: the bottom corner */
	--van-drop: var(--s-500);                 /* extra space between the subheadline and the van */
	position: relative;
	overflow: clip;
	padding-top: var(--s-200);
	/* Fill the screen below the header so the yellow band runs to the bottom edge. */
	display: flex; flex-direction: column;
	min-height: calc(100svh - var(--nav-h));
}

.hero__head {
	position: relative; z-index: 2;
	max-width: var(--container); margin-inline: auto;
	padding-inline: var(--gutter);
	text-align: center;
}
.hero__title {
	font-size: 96px; line-height: 1;          /* text-8xl */
	font-weight: 700;
	letter-spacing: -0.035em;
	color: var(--ink);
}
.hero__sub { margin: var(--s-200) auto 0; max-width: 900px; color: var(--ink-2); }

.hero__stage {
	position: relative;
	flex: 1;
	display: flex; flex-direction: column;
	margin-top: calc(var(--s-300) + var(--van-drop));
}
.hero__field {
	/* One straight diagonal across the whole hero: bottom left corner up to the right edge
	   at headline height (client sketch). */
	position: absolute; inset: 0;
	background: var(--yellow);
	clip-path: polygon(0 var(--field-left), 100% var(--field-top), 100% 100%, 0 100%);
	z-index: 0;
}
.hero__van {
	position: relative; z-index: 1;
	width: var(--van-w);
	margin-inline: auto;
}
.hero__van img {
	width: 100%; height: auto;
	filter: drop-shadow(0 28px 20px rgba(14, 14, 12, 0.28));
}
.hero__cta {
	position: relative; z-index: 1;
	flex: 1;                                  /* takes the remaining yellow, CTA centred in it */
	display: flex; align-items: center; justify-content: center;
	padding-block: var(--s-300);
}

/* Arabic */
[dir="rtl"] .hero__title { font-family: var(--font-ar); letter-spacing: 0; line-height: 1.25; }

/* Load in: headline rises, yellow field wipes in, van drives in from the right (it faces left). */
.js .hero__title, .js .hero__sub, .js .hero__cta { opacity: 0; transform: translateY(var(--s-400)); }
.js .hero__field { transform: translateX(-100%); }
.js .hero__van { opacity: 0; transform: translateX(32vw); }

.hero__title { transition: opacity 800ms var(--ease) 80ms, transform 800ms var(--ease) 80ms; }
.hero__sub   { transition: opacity 800ms var(--ease) 180ms, transform 800ms var(--ease) 180ms; }
.hero__field { transition: transform 1200ms var(--ease) 200ms; }
.hero__van   { transition: opacity 600ms var(--ease) 380ms, transform 1600ms var(--ease) 380ms; }
.hero__cta   { transition: opacity 800ms var(--ease) 1000ms, transform 800ms var(--ease) 1000ms; }

.is-loaded .hero__title, .is-loaded .hero__sub, .is-loaded .hero__cta,
.is-loaded .hero__field, .is-loaded .hero__van { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.js .hero__title, .js .hero__sub, .js .hero__cta, .js .hero__field, .js .hero__van { transform: none; }
	.js .hero__field { opacity: 0; transition: opacity 600ms var(--ease); }
	.is-loaded .hero__field { opacity: 1; }
}

/* Responsive */
@media (max-width: 1279px) {
	.hero__title { font-size: 72px; }          /* text-7xl */
	.hero { --van-w: min(1360px, calc(100vw - 2 * var(--gutter)), calc((100svh - 400px) * 2.95)); }
}
@media (max-width: 1023px) {
	.hero__title { font-size: 60px; }          /* text-6xl */
	.hero__sub { font-size: 20px; line-height: 28px; }
	.hero { --van-w: calc(100vw - 2 * var(--gutter)); }
}
@media (max-width: 767px) {
	:root { --gutter: var(--s-200); --nav-h: 64px; }
	.hero {
		/* Phones: natural height instead of a full screen, so there are no padded gaps.
		   The van fills the width inside the 16px side margins (sized from the hero itself via
		   container units, so a desktop scrollbar can never push it past the edge), and the
		   diagonal is measured from the van so its wheels and shadow always sit on yellow. 116px = CTA band (24 top + 52 button + 40 bottom). */
		padding-top: var(--s-300);
		min-height: 0;
		container-type: inline-size;
		--van-w: calc(100cqi - 2 * var(--gutter));
		--van-drop: var(--s-200);
		--field-left: calc(100% - 116px - var(--van-h) * 0.3);   /* left edge: just above the front wheel */
		--field-top: calc(100% - 116px - var(--van-h) * 1.55);   /* right edge: well above the roof */
	}
	.hero__stage { flex: none; }
	.hero__van { margin-inline: var(--gutter); }
	.hero__cta { flex: none; padding-block: var(--s-300) var(--s-500); }
	.hero__title { font-size: 48px; letter-spacing: -0.04em; }   /* text-5xl */
	[dir="rtl"] .hero__title { font-size: 48px; }
	.hero__sub { font-size: 18px; line-height: 28px; margin-top: var(--s-100); }
	.btn--xl { padding: var(--s-100) var(--s-300); }
	.btn--xl .button-xl { font-size: 18px; }
	.btn--xl .icon { width: 28px; height: 28px; }
}

/* ==========================================================================
   Mobile services (client mockup: title, 7 yellow and black icons, 4 + 3 rows)
   Refined: each service is a card that opens WhatsApp with the service prefilled.
   ========================================================================== */
.services {
	padding: var(--s-900) var(--gutter);
	scroll-margin-top: var(--nav-h);
}
.services__head { max-width: 720px; margin-inline: auto; text-align: center; }
.services__title {
	font-size: 48px; line-height: 48px;       /* Heading 2 size, bold to match the hero */
	font-weight: 700;
	letter-spacing: -0.03em;
}
.services__sub { margin-top: var(--s-200); color: var(--ink-2); font-weight: 400; }

.services__grid {
	list-style: none;
	max-width: 1280px;
	margin: var(--s-600) auto 0;
	padding: 0;
	display: flex; flex-wrap: wrap; justify-content: center;   /* 4 on top, the last 3 centred */
	gap: var(--s-200);
}
.svc { flex: 0 0 calc((100% - 3 * var(--s-200)) / 4); min-width: 0; }
.svc__link {
	display: flex; align-items: center; gap: var(--s-200);
	height: 100%;
	padding: var(--s-300);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--r-2xl);
	transition: transform 500ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease);
}
.svc__link:hover {
	border-color: var(--yellow);
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(14, 14, 12, 0.08);
}
.svc__link:active { transform: scale(0.98); }
.svc__link:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: var(--r-2xl); }

.svc__icon { flex: none; display: block; }
.icon-duo {
	display: block; width: 64px; height: 64px; color: var(--ink);
	overflow: visible;
	transition: transform 500ms var(--ease);
}
.icon-duo .duo { fill: var(--yellow); }
/* Thicken Phosphor's outline so the icons carry the weight of the mockup's bold icons. */
.icon-duo path:not(.duo) { stroke: currentColor; stroke-width: 5; stroke-linejoin: round; }
.svc__link:hover .icon-duo { transform: rotate(-8deg) scale(1.06); }

.svc__text { display: flex; flex-direction: column; gap: var(--s-50); min-width: 0; }
.svc__label { font-size: 20px; line-height: 28px; font-weight: 600; text-wrap: balance; }
.svc__book {
	display: inline-flex; align-items: center; gap: var(--s-50);
	color: var(--ink-2);
	transition: color 300ms var(--ease);
}
.svc__arrow { width: 14px; height: 14px; transition: transform 500ms var(--ease); }
[dir="rtl"] .svc__arrow { transform: scaleX(-1); }
.svc__link:hover .svc__book { color: var(--green); }
.svc__link:hover .svc__arrow { transform: translate(2px, -2px); }
[dir="rtl"] .svc__link:hover .svc__arrow { transform: scaleX(-1) translate(2px, -2px); }

[dir="rtl"] .services__title { letter-spacing: 0; line-height: 1.3; }

/* Reveal on scroll (played once) */
.js [data-reveal] .services__head,
.js [data-reveal] .svc { opacity: 0; transform: translateY(var(--s-400)); }
[data-reveal] .services__head { transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
[data-reveal] .svc { transition: opacity 700ms var(--ease) calc(160ms + var(--i) * 60ms), transform 700ms var(--ease) calc(160ms + var(--i) * 60ms); }
.js [data-reveal].is-in .services__head,
.js [data-reveal].is-in .svc { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] .services__head, .js [data-reveal] .svc { transform: none; }
}

@media (max-width: 1023px) {
	.svc { flex-basis: calc((100% - var(--s-200)) / 2); }
}
@media (max-width: 767px) {
	.services { padding-block: var(--s-700); }
	.services__title { font-size: 36px; line-height: 40px; }   /* Heading 3 size */
	.services__sub { font-size: 16px; line-height: 24px; }
	.services__grid { margin-top: var(--s-400); gap: var(--s-100); }
	.svc { flex-basis: calc((100% - var(--s-100)) / 2); }
	.svc__link { flex-direction: column; align-items: flex-start; gap: var(--s-100); padding: var(--s-200); }
	.icon-duo { width: 52px; height: 52px; }
	.svc__label { font-size: 16px; line-height: 24px; }
	.svc__book { font-size: 12px; line-height: 16px; }
}

/* ==========================================================================
   Vehicle recovery (client mockup: yellow band, big two line title, question,
   short black rule, truck on the right). Refined with a WhatsApp booking button,
   a call link and a drive in reveal. The truck stays on the right in Arabic so it
   always faces the headline.
   ========================================================================== */
.recovery {
	background: var(--yellow);
	padding-block: var(--s-800);
	overflow: clip;
	scroll-margin-top: var(--nav-h);
}
.recovery__inner {
	max-width: var(--container); margin-inline: auto;   /* same left edge as the logo */
	padding-inline: var(--gutter);
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);   /* more room for the truck */
	align-items: center;
	gap: var(--s-400);
}
[dir="rtl"] .recovery__inner { direction: ltr; }          /* keep truck on the right, facing the text */
[dir="rtl"] .recovery__text { direction: rtl; }

.recovery__title {
	font-size: 96px; line-height: 1;          /* text-8xl, as large as the mockup */
	font-weight: 700;
	letter-spacing: -0.04em;
	color: var(--ink);
}
.recovery__line { display: block; overflow: clip; padding-block: 0.04em 0.08em; margin-block: -0.04em -0.08em; }
.recovery__line > span { display: inline-block; }
[dir="rtl"] .recovery__title { letter-spacing: 0; line-height: 1.25; }

.recovery__sub { margin-top: var(--s-300); max-width: 440px; color: var(--ink); }
.recovery__rule {
	display: block; width: 80px; height: 3px; margin-block: var(--s-400);
	background: var(--ink); border-radius: var(--r-full);
	transform-origin: left;
}
[dir="rtl"] .recovery__rule { transform-origin: right; }

.recovery__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-300); }
.recovery__actions .btn { box-shadow: 0 8px 24px rgba(14, 14, 12, 0.16); }
.recovery__call {
	color: var(--ink);
	text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px;
	text-decoration-color: rgba(14, 14, 12, 0.4);
	transition: text-decoration-color 300ms var(--ease);
}
.recovery__call:hover { text-decoration-color: var(--ink); }
.recovery__call .ltr { font-weight: 600; }

/* Let the truck run past the container into the side margin, like the mockup where it nearly meets the edge.
   No 3D tilt or upscaling: warping a flat photo bends the wheels into ovals and blurs it,
   so size comes from layout only and the image is always drawn at or below its native resolution. */
.recovery__truck { margin-inline-end: calc(-1 * max(0px, (100vw - var(--container)) / 2 - var(--s-200))); }
.recovery__truck img {
	width: 100%; height: auto;
	filter: drop-shadow(0 32px 24px rgba(14, 14, 12, 0.3));
}

/* Reveal: title lines rise, rule draws, truck drives in from the right */
.js .recovery[data-reveal] .recovery__line > span { transform: translateY(110%); }
.js .recovery[data-reveal] .recovery__sub,
.js .recovery[data-reveal] .recovery__actions { opacity: 0; transform: translateY(var(--s-300)); }
.js .recovery[data-reveal] .recovery__rule { transform: scaleX(0); }
.js .recovery[data-reveal] .recovery__truck { opacity: 0; transform: translateX(28vw); }

.recovery__line > span { transition: transform 900ms var(--ease); }
.recovery__line:nth-child(2) > span { transition-delay: 90ms; }
.recovery__sub { transition: opacity 700ms var(--ease) 240ms, transform 700ms var(--ease) 240ms; }
.recovery__rule { transition: transform 900ms var(--ease) 360ms; }
.recovery__actions { transition: opacity 700ms var(--ease) 440ms, transform 700ms var(--ease) 440ms; }
.recovery__truck { transition: opacity 500ms var(--ease) 160ms, transform 1600ms var(--ease) 160ms; }

.js .recovery[data-reveal].is-in .recovery__line > span,
.js .recovery[data-reveal].is-in .recovery__sub,
.js .recovery[data-reveal].is-in .recovery__actions,
.js .recovery[data-reveal].is-in .recovery__rule,
.js .recovery[data-reveal].is-in .recovery__truck { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.js .recovery[data-reveal] .recovery__line > span,
	.js .recovery[data-reveal] .recovery__sub,
	.js .recovery[data-reveal] .recovery__actions,
	.js .recovery[data-reveal] .recovery__rule,
	.js .recovery[data-reveal] .recovery__truck { transform: none; }
}

@media (max-width: 1279px) {
	.recovery__title { font-size: 72px; }     /* text-7xl */
}
@media (max-width: 1023px) {
	.recovery__inner { grid-template-columns: minmax(0, 1fr); }
	[dir="rtl"] .recovery__inner { direction: rtl; }
	.recovery__truck { margin-top: var(--s-300); margin-inline-end: 0; }
}
@media (max-width: 767px) {
	.recovery { padding-block: var(--s-700); }
	.recovery__title { font-size: 60px; }     /* text-6xl */
	.recovery__sub { font-size: 20px; line-height: 28px; margin-top: var(--s-200); }
	.recovery__rule { margin-block: var(--s-300); }
	.recovery__actions .btn { width: 100%; }
	.recovery__actions { gap: var(--s-200); }
}

/* ==========================================================================
   Footer
   Contact strip from the client mockup (WhatsApp | phone, yellow divider),
   then a light footer: tagline with the poster style yellow highlight,
   about line, link columns, bottom bar.
   ========================================================================== */
.footer { background: #F6F5F0; color: var(--ink); }

/* Contact strip */
.contactbar { background: var(--bg); border-bottom: 1px solid var(--line); }
.contactbar__inner {
	max-width: var(--container); margin-inline: auto;
	padding: var(--s-400) var(--gutter);
	display: flex; align-items: center; justify-content: center;
	gap: var(--s-600);
}
.contactbar__item {
	display: inline-flex; align-items: center; gap: var(--s-200);
	font-size: 30px; line-height: 36px; font-weight: 700;   /* Heading 4 size, bold like the mockup */
	letter-spacing: -0.02em;
	border-radius: var(--r-full);
}
.contactbar__icon {
	display: grid; place-items: center; flex: none;
	width: 56px; height: 56px; border-radius: var(--r-full);
	transition: transform 500ms var(--ease);
}
.contactbar__icon--wa { background: #25D366; color: #FFFFFF; }
.contactbar__icon--wa .icon { width: 32px; height: 32px; }
.contactbar__icon--phone { background: var(--yellow); color: var(--ink); }
.contactbar__icon--phone .icon { width: 28px; height: 28px; }
.contactbar__text {
	background: linear-gradient(var(--yellow), var(--yellow)) left bottom / 0% 3px no-repeat;
	padding-bottom: var(--s-25);
	transition: background-size 500ms var(--ease);
}
[dir="rtl"] .contactbar__text:not(.ltr) { background-position: right bottom; }
.contactbar__item:hover .contactbar__text { background-size: 100% 3px; }
.contactbar__item:hover .contactbar__icon { transform: rotate(-10deg) scale(1.06); }
.contactbar__item:active .contactbar__icon { transform: scale(0.98); }
.contactbar__divider { width: 2px; height: 56px; background: var(--yellow); border-radius: var(--r-full); }
[dir="rtl"] .contactbar__item { letter-spacing: 0; }

/* Main */
.footer__main {
	max-width: var(--container); margin-inline: auto;
	padding: var(--s-800) var(--gutter) var(--s-700);
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: var(--s-700);
}
.footer__logo { display: inline-block; border-radius: var(--r-md); }
.footer__logo img { height: 48px; width: auto; }
.footer__tag {
	margin-top: var(--s-400);
	display: flex; flex-direction: column; align-items: flex-start;
	font-size: 60px; line-height: 60px; font-weight: 700;   /* Heading 1 size */
	letter-spacing: -0.035em;
}
.footer__tag-mark {
	margin-top: var(--s-75);
	padding: 0 0.14em 0.04em;
	background: var(--yellow);                 /* flat highlight box, as on the Driwe posters */
}
[dir="rtl"] .footer__tag { letter-spacing: 0; line-height: 1.3; }
.footer__about { margin-top: var(--s-300); max-width: 440px; color: var(--ink-2); }

.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-400); align-content: start; padding-top: var(--s-200); }
.footer__heading {
	margin: 0 0 var(--s-200);
	color: var(--ink-2);
	text-transform: uppercase; letter-spacing: 0.08em;
}
[dir="rtl"] .footer__heading { letter-spacing: 0; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--s-200); }
.footer__link {
	display: inline-flex; flex-direction: column; gap: var(--s-25);
	color: var(--ink);
	border-radius: var(--r-md);
	transition: color 300ms var(--ease);
}
.footer__link > :last-child,
.footer__link:not(:has(.footer__label)) {
	background: linear-gradient(var(--ink), var(--ink)) left bottom / 0% 1px no-repeat;
	transition: background-size 500ms var(--ease);
}
.footer__link:hover > :last-child,
.footer__link:not(:has(.footer__label)):hover { background-size: 100% 1px; }
.footer__label { color: var(--ink-2); }
.footer__link .ltr { white-space: nowrap; }
.footer__ext { width: 12px; height: 12px; vertical-align: middle; }
[dir="rtl"] .footer__ext { transform: scaleX(-1); }

/* Bottom bar */
.footer__bottom {
	max-width: var(--container); margin-inline: auto;
	padding: var(--s-300) var(--gutter);
	display: flex; align-items: center; justify-content: space-between; gap: var(--s-300);
	border-top: 1px solid var(--line);
	color: var(--ink-2);
}
.footer__bottom-end { display: flex; align-items: center; gap: var(--s-300); }
.footer__lang { color: var(--ink); transition: opacity 300ms var(--ease); }
.footer__lang[lang="ar"] { font-family: var(--font-ar); }
.footer__lang[lang="en"] { font-family: var(--font); }
.footer__lang:hover { opacity: 0.64; }
.footer__top { display: inline-flex; align-items: center; gap: var(--s-75); color: var(--ink); border-radius: var(--r-full); }
.footer__top-icon {
	display: grid; place-items: center; width: 32px; height: 32px;
	border-radius: var(--r-full); background: var(--ink); color: #FFFFFF;
	transition: transform 500ms var(--ease);
}
.footer__top-icon .icon { width: 16px; height: 16px; }
.footer__top:hover .footer__top-icon { transform: translateY(-3px); }

/* Reveal the contact strip */
.js .contactbar[data-reveal] .contactbar__item { opacity: 0; transform: translateY(var(--s-300)); }
.js .contactbar[data-reveal] .contactbar__divider { transform: scaleY(0); }
.contactbar__item { transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.contactbar__item:last-child { transition-delay: 120ms; }
.contactbar__divider { transition: transform 700ms var(--ease) 60ms; }
.js .contactbar[data-reveal].is-in .contactbar__item,
.js .contactbar[data-reveal].is-in .contactbar__divider { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .contactbar[data-reveal] .contactbar__item, .js .contactbar[data-reveal] .contactbar__divider { transform: none; }
}

@media (max-width: 1023px) {
	.footer__main { grid-template-columns: minmax(0, 1fr); gap: var(--s-600); }
}
@media (max-width: 767px) {
	.contactbar__inner { flex-direction: column; align-items: flex-start; gap: var(--s-200); padding-block: var(--s-300); }
	.contactbar__divider { display: none; }
	.contactbar__item { font-size: 24px; line-height: 32px; }
	.contactbar__icon { width: 48px; height: 48px; }
	.contactbar__icon--wa .icon { width: 28px; height: 28px; }
	.contactbar__icon--phone .icon { width: 24px; height: 24px; }
	.footer__main { padding-block: var(--s-600) var(--s-500); }
	.footer__tag { font-size: 48px; line-height: 48px; }
	.footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-400); }
	.footer__col:nth-child(2) { grid-column: 1 / -1; order: 3; }   /* Contact gets the full width so numbers stay on one line */
	.footer__bottom { flex-direction: column; align-items: flex-start; }
	.footer__bottom-end { width: 100%; justify-content: space-between; }
}
