/* ==========================================================
   Elaf Nagd Company Ltd. - public website styles
   Visual language taken from the logo: an orange "E" cut by a
   dark road with white lane markings. Slanted bars, asphalt
   textures and moving lane dashes repeat across the page.

   Colors come from CSS variables printed by PHP (admin-editable):
   --c-primary (orange)  --c-primary-dark (charcoal)
   --c-secondary (deep orange, small text on light backgrounds)
   --c-accent (asphalt)  --c-neutral  --c-light-bg  --c-text
   ========================================================== */

:root {
    --c-primary: #ED7323;
    --c-primary-dark: #161719;
    --c-secondary: #B4520F;
    --c-accent: #2B2C2B;
    --c-neutral: #6E7177;
    --c-light-bg: #F5F3EF;
    --c-text: #2E3034;

    --white: #fff;
    --line: color-mix(in srgb, var(--c-primary-dark) 10%, #fff);
    --orange-soft: color-mix(in srgb, var(--c-primary) 13%, #fff);
    --orange-light: color-mix(in srgb, var(--c-primary) 72%, #fff);
    --gold-soft: var(--orange-soft);
    --radius: 6px;
    --radius-sm: 4px;
    --slant: 14px;
    --shadow: 0 24px 48px -24px rgba(16, 17, 19, .38);
    --shadow-sm: 0 8px 20px -10px rgba(16, 17, 19, .28);
    --ease: cubic-bezier(.22, .8, .18, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --header-h: 82px;
    --max: 1240px;
    --dash: repeating-linear-gradient(90deg, var(--c-primary) 0 22px, transparent 22px 40px);
    --asphalt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    --font-ar-head: 'Cairo', system-ui, sans-serif;
    --font-ar-body: 'Tajawal', system-ui, sans-serif;
    --font-en: 'Montserrat', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-ar-body);
    font-size: 18px;
    line-height: 1.85;
    color: var(--c-text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
.lang-en { font-family: var(--font-en); font-size: 16px; line-height: 1.75; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-ar-head); color: var(--c-primary-dark); line-height: 1.3; font-weight: 800; }
.lang-en h1, .lang-en h2, .lang-en h3 { font-family: var(--font-en); letter-spacing: -.015em; }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.75rem); }
h3 { font-size: 1.2rem; }
.lang-en h3 { font-size: 1.1rem; }

.container { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.center { text-align: center; margin-top: 2.6rem; }
.ic { flex-shrink: 0; }

.skip-link {
    position: absolute; inset-inline-start: 12px; top: -60px; z-index: 300;
    background: var(--c-primary); color: var(--c-primary-dark); padding: .6rem 1rem; font-weight: 700;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; }
/* slanted controls are clipped, so they show focus inside their shape */
.btn:focus-visible, .lb-btn:focus-visible, .to-top:focus-visible, .menu-toggle:focus-visible, .g-tabs button:focus-visible, .social a:focus-visible {
    outline: none; box-shadow: inset 0 0 0 3px var(--c-primary-dark), inset 0 0 0 5px #fff;
}

/* ---------- Buttons: slanted like the bars of the logo ---------- */
.btn {
    --cut: 12px;
    position: relative; isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .95rem 2rem; border: 0;
    font-family: var(--font-ar-head); font-weight: 800; font-size: 1rem; line-height: 1.2;
    clip-path: polygon(var(--cut) 0, 100% 0, calc(100% - var(--cut)) 100%, 0 100%);
    transition: color .35s var(--ease), transform .35s var(--ease);
    white-space: nowrap; overflow: hidden;
}
.lang-en .btn { font-family: var(--font-en); font-weight: 700; letter-spacing: .01em; }
.btn::after {
    /* fill that sweeps across on hover */
    content: ''; position: absolute; inset: 0; z-index: -1;
    transform: scaleX(0); transform-origin: var(--from, right); transition: transform .45s var(--ease);
}
.lang-en .btn::after { --from: left; }
.btn:hover::after { transform: scaleX(1); }
.btn .ic { transition: transform .35s var(--ease); }
[dir="rtl"] .btn .ic { transform: scaleX(-1); }
.btn:hover .ic { transform: translateX(5px); }
[dir="rtl"] .btn:hover .ic { transform: scaleX(-1) translateX(5px); }

.btn-gold, .btn-primary { background: var(--c-primary); color: var(--c-primary-dark); }
.btn-gold::after, .btn-primary::after { background: var(--c-primary-dark); }
.btn-gold:hover, .btn-primary:hover { color: #fff; }
.btn-ghost { background: rgba(255,255,255,.16); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost::after { background: #fff; }
.btn-ghost:hover { color: var(--c-primary-dark); }
.btn-outline { background: var(--c-primary-dark); color: #fff; }
.btn-outline::after { background: var(--c-primary); }
.btn-outline:hover { color: var(--c-primary-dark); }
.btn-sm { padding: .65rem 1.4rem; font-size: .92rem; --cut: 9px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }

/* ---------- Eyebrow: three slanted bars from the logo ---------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .7rem;
    color: var(--c-secondary); font-family: var(--font-ar-head); font-weight: 800; font-size: .98rem;
    margin-bottom: .7rem;
}
.eyebrow::before {
    content: ''; width: 34px; height: 12px; flex-shrink: 0;
    background: repeating-linear-gradient(-62deg, currentColor 0 4px, transparent 4px 9px);
}
[dir="rtl"] .eyebrow::before { transform: scaleX(-1); }
.lang-en .eyebrow { font-family: var(--font-en); text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; }
.eyebrow-light { color: var(--c-primary); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 200;
    background: rgba(255,255,255,.97);
    backdrop-filter: saturate(160%) blur(10px);
    -webkit-backdrop-filter: saturate(160%) blur(10px);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px -18px rgba(16,17,19,.5); }
.road-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--line); overflow: hidden; }
.road-progress span {
    position: absolute; inset-block: 0; inset-inline-start: 0; width: 100%;
    background: var(--dash); background-size: 40px 3px;
    transform: scaleX(var(--p, 0)); transform-origin: var(--from, right);
}
.lang-en .road-progress span { --from: left; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); transition: height .3s var(--ease); }
.site-header.scrolled .nav-wrap { height: 68px; }
.brand img { height: 46px; width: auto; transition: height .3s var(--ease); }
.site-header.scrolled .brand img { height: 40px; }

.main-nav { display: flex; gap: 1.8rem; }
.main-nav a {
    position: relative; font-family: var(--font-ar-head); font-weight: 700; font-size: 1rem; color: var(--c-primary-dark); padding: .4rem 0;
    transition: color .25s;
}
.lang-en .main-nav a { font-family: var(--font-en); font-weight: 600; font-size: .92rem; }
.main-nav a::after {
    /* lane marking that slides in */
    content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 3px;
    background: repeating-linear-gradient(90deg, var(--c-primary) 0 8px, transparent 8px 13px);
    clip-path: inset(0 0 0 100%); transition: clip-path .4s var(--ease);
}
[dir="rtl"] .main-nav a::after { clip-path: inset(0 100% 0 0); }
.main-nav a:hover::after, .main-nav a.active::after { clip-path: inset(0 0 0 0); }
.main-nav a:hover, .main-nav a.active { color: var(--c-secondary); }

.nav-actions { display: flex; align-items: center; gap: .8rem; }
.lang-switch {
    display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .9rem;
    color: var(--c-primary-dark); padding: .45rem .8rem; border: 1.5px solid var(--line);
    transition: border-color .25s, color .25s;
}
.lang-switch:hover { border-color: var(--c-primary); color: var(--c-secondary); }
.lang-switch span { font-family: var(--font-ar-head), var(--font-en); }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; background: var(--c-primary-dark); position: relative; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.menu-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; left: 17px; background: var(--c-primary); }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(90vh, 880px); display: flex; align-items: center;
    color: #fff; padding: 6rem 0 7rem; background: var(--c-primary-dark);
}
.hero-media { position: absolute; inset: -6% 0 -6% 0; z-index: -3; will-change: transform; }
.hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    animation: heroPan 26s var(--ease-out) forwards;
}
.hero-bg.is-still { animation: none; }
.hero-shade {
    position: absolute; inset: 0; z-index: -2;
    background:
        var(--asphalt),
        linear-gradient(to left, rgba(16,17,19,.94) 0%, rgba(16,17,19,.78) 42%, rgba(16,17,19,.28) 78%, rgba(16,17,19,.15) 100%),
        linear-gradient(to top, rgba(16,17,19,.85), transparent 45%);
}
.lang-en .hero-shade {
    background:
        var(--asphalt),
        linear-gradient(to right, rgba(16,17,19,.94) 0%, rgba(16,17,19,.78) 42%, rgba(16,17,19,.28) 78%, rgba(16,17,19,.15) 100%),
        linear-gradient(to top, rgba(16,17,19,.85), transparent 45%);
}
.bg-video {
    position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none;
}
.hero .bg-video { z-index: 0; }
.bg-video.on { opacity: 1; }

/* the road of the logo, crossing the hero on the far side */
.hero-road {
    position: absolute; z-index: -1; top: -15%; bottom: -15%; inset-inline-end: 13%;
    width: 120px; background: rgba(43,44,43,.82);
    transform: skewX(-22deg); box-shadow: 0 0 0 1px rgba(255,255,255,.06);
    opacity: 0; animation: roadIn 1.2s var(--ease-out) .2s forwards;
}
.hero-road span {
    position: absolute; inset-block: 0; left: 50%; width: 6px; margin-left: -3px;
    background: repeating-linear-gradient(to bottom, #fff 0 46px, transparent 46px 86px);
    animation: laneRun 1.6s linear infinite;
}
.hero-road::before, .hero-road::after { content: ''; position: absolute; inset-block: 0; width: 3px; background: rgba(255,255,255,.35); }
.hero-road::before { left: 10px; }
.hero-road::after { right: 10px; }
.hero-bars { position: absolute; z-index: -1; inset-inline-end: calc(13% + 150px); top: 50%; display: grid; gap: 18px; transform: translateY(-50%); }
.hero-bars i {
    display: block; width: 110px; height: 38px; background: var(--c-primary);
    clip-path: polygon(16px 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    transform: scaleX(0); transform-origin: var(--from, left); animation: barIn .9s var(--ease-out) forwards;
}
.lang-en .hero-bars i { --from: right; }
.hero-bars i:nth-child(1) { animation-delay: .55s; }
.hero-bars i:nth-child(2) { animation-delay: .7s; width: 80px; }
.hero-bars i:nth-child(3) { animation-delay: .85s; }

.hero-inner { max-width: var(--max); position: relative; }
.hero h1 {
    color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.22; max-width: 15ch; margin-bottom: 1.3rem; font-weight: 900;
}
.lang-en .hero h1 { max-width: 16ch; font-weight: 800; }
.hero h1 span { background: linear-gradient(transparent 80%, color-mix(in srgb, var(--c-primary) 70%, transparent) 80% 90%, transparent 90%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; color: rgba(255,255,255,.86); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.3rem; }

/* entrance: each line rises and comes into focus */
.hero-anim { opacity: 0; transform: translateY(42px); filter: blur(8px); animation: riseIn 1.1s var(--ease-out) forwards; animation-delay: var(--d, 0s); }

.scroll-cue {
    position: absolute; bottom: 2.2rem; left: 50%; width: 6px; height: 54px; margin-left: -3px;
    background: rgba(255,255,255,.15); overflow: hidden;
}
.scroll-cue span { position: absolute; left: 0; width: 6px; height: 16px; background: var(--c-primary); animation: cue 1.6s var(--ease) infinite; }

@keyframes heroPan { from { transform: scale(1.16) translateX(2%); } to { transform: scale(1.04) translateX(0); } }
@keyframes riseIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes laneRun { from { background-position: 0 0; } to { background-position: 0 86px; } }
@keyframes roadIn { from { opacity: 0; clip-path: inset(0 0 100% 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
@keyframes barIn { to { transform: scaleX(1); } }
@keyframes cue { 0% { top: -16px; } 100% { top: 54px; } }

/* ---------- Stats: asphalt band ---------- */
.stats-band { position: relative; z-index: 5; background: var(--asphalt), var(--c-accent); color: #fff; }
.stats-band::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--c-primary); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 2.4rem 1.6rem 2.6rem; text-align: center; position: relative; }
.stat + .stat::before {
    content: ''; position: absolute; inset-inline-start: 0; top: 24%; bottom: 24%; width: 4px;
    background: repeating-linear-gradient(to bottom, rgba(255,255,255,.28) 0 10px, transparent 10px 18px);
}
.stat-num { font-size: clamp(2.2rem, 3.8vw, 3.1rem); font-weight: 800; color: var(--c-primary); line-height: 1.1; font-family: var(--font-en); font-variant-numeric: tabular-nums; }
.stat-num small { font-family: var(--font-ar-head); font-size: .42em; font-weight: 800; color: #fff; white-space: nowrap; }
.lang-en .stat-num small { font-family: var(--font-en); }
.stat-label { color: rgba(255,255,255,.75); font-weight: 500; font-size: 1rem; margin-top: .4rem; }
.stat-bar { display: block; width: 46px; height: 4px; margin: 1rem auto 0; background: var(--c-primary); transform: scaleX(0); transition: transform .9s var(--ease-out) .25s; transition-delay: calc(var(--d, 0s) + .3s); }
.stat.in .stat-bar { transform: scaleX(1); }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-alt { background: var(--c-light-bg); }
.section-head { max-width: 780px; margin: 0 0 clamp(2.5rem, 5vw, 3.6rem); }
.section-head h2 { position: relative; }
.section-sub { color: var(--c-neutral); margin-top: .9rem; font-size: 1.08rem; max-width: 62ch; }
.lang-en .section-sub { font-size: 1rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.about-media { position: sticky; top: calc(var(--header-h) + 2rem); padding-block-end: 4rem; padding-inline-end: 3.5rem; isolation: isolate; }
.about-frame {
    position: absolute; inset-block: 2.5rem 6rem; inset-inline: 2rem 0; z-index: -1;
    background: var(--c-primary); clip-path: polygon(28px 0, 100% 0, calc(100% - 28px) 100%, 0 100%);
}
.about-img-main { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
.about-img-sub {
    position: absolute; inset-inline-end: 0; bottom: 0; width: 50%; aspect-ratio: 4 / 3; object-fit: cover;
    border: 6px solid #fff; box-shadow: var(--shadow);
}
.about-badge {
    position: absolute; top: 1.2rem; inset-inline-start: -1.1rem;
    background: var(--c-primary-dark); color: #fff; font-family: var(--font-ar-head); font-weight: 900; font-size: 1.05rem;
    padding: .8rem 1.6rem; clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
    border-bottom: 4px solid var(--c-primary);
}
.lang-en .about-badge { font-family: var(--font-en); font-weight: 800; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text > p { margin-bottom: 1rem; }
.vm-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.9rem; }
.vm-mini > div {
    display: flex; flex-direction: column; gap: .7rem; padding: 1.3rem 1.3rem 1.4rem;
    background: var(--c-light-bg); position: relative; overflow: hidden;
}
.vm-mini > div::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--dash); background-size: 40px 4px; }
.vm-mini h3 { font-size: 1.08rem; margin-bottom: .2rem; }
.vm-mini p { font-size: .97rem; line-height: 1.75; }
.vm-ic { display: grid; place-items: center; width: 46px; height: 46px; background: var(--c-primary-dark); color: var(--c-primary); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }

/* ---------- Clients marquee ---------- */
.clients-section { overflow: hidden; }
.clients-section .section-head { margin-inline: auto; text-align: center; }
.clients-section .section-sub { margin-inline: auto; }
.marquees { display: grid; gap: 1.2rem; }
.marquee {
    overflow: hidden; direction: ltr;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee calc(var(--n, 12) * 3.6s) linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.client {
    flex: 0 0 auto; width: 210px; height: 156px; margin: 0 10px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
    background: #fff; border: 1px solid var(--line); border-bottom: 3px solid transparent;
    padding: 1rem; transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.client img { max-width: 150px; max-height: 76px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s, transform .4s var(--ease); }
.client figcaption {
    font-family: var(--font-ar-body); font-size: .8rem; font-weight: 700; color: var(--c-neutral); text-align: center; line-height: 1.35;
    direction: rtl; max-width: 100%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.lang-en .client figcaption { direction: ltr; font-family: var(--font-en); font-weight: 600; font-size: .74rem; }
.client:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-bottom-color: var(--c-primary); }
.client:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.05); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.5rem; }
.service {
    position: relative; overflow: hidden; padding: 2.3rem 1.8rem 2.1rem;
    background: #fff; border: 1px solid var(--line);
    transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}
.service::before {
    /* orange road edge that grows down the start side */
    content: ''; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 5px;
    background: var(--c-primary); transform: scaleY(.18); transform-origin: top; transition: transform .6s var(--ease);
}
.service::after {
    /* lane dashes that run along the bottom on hover */
    content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px;
    background: var(--dash); background-size: 40px 4px; opacity: 0; transition: opacity .3s;
    animation: dashRun 1.2s linear infinite paused;
}
.service:hover::after { opacity: 1; animation-play-state: running; }
.service-num {
    position: absolute; top: 1rem; inset-inline-end: 1.3rem; font-family: var(--font-en);
    font-size: 3rem; font-weight: 800; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--c-primary) 35%, #fff); line-height: 1;
    transition: -webkit-text-stroke-color .5s, transform .6s var(--ease);
}
.service-ic {
    display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.4rem;
    background: var(--c-primary-dark); color: var(--c-primary);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: background-color .5s, color .5s, transform .6s var(--ease);
}
.service h3 { margin-bottom: .6rem; }
.service p { font-size: .98rem; line-height: 1.8; }
.service:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--c-primary) 40%, #fff); }
.service:hover::before { transform: scaleY(1); }
.service:hover .service-ic { background: var(--c-primary); color: var(--c-primary-dark); transform: translateX(var(--nudge, -4px)); }
.lang-en .service:hover .service-ic { --nudge: 4px; }
.service:hover .service-num { -webkit-text-stroke-color: var(--c-primary); transform: translateY(-3px); }
.svc-branches { display: grid; gap: .6rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.svc-branches li { display: flex; gap: .6rem; align-items: flex-start; line-height: 1.5; }
.svc-branches .ic { margin-top: .2rem; color: var(--c-primary); }
.svc-branches strong { display: block; font-size: .96rem; font-weight: 800; color: var(--c-primary-dark); }
.svc-branches span { display: block; font-size: .87rem; color: var(--c-neutral); }
.lang-en .svc-branches strong { font-weight: 700; font-size: .9rem; }
.lang-en .svc-branches span { font-size: .82rem; }
@keyframes dashRun { from { background-position: 0 0; } to { background-position: 40px 0; } }
[dir="rtl"] .service::after { animation-direction: reverse; }

/* ---------- Values (asphalt) ---------- */
.section-dark {
    background:
        var(--asphalt),
        linear-gradient(115deg, transparent 0 62%, rgba(237,115,35,.08) 62% 70%, transparent 70%),
        var(--c-primary-dark);
    color: rgba(255,255,255,.78); overflow: hidden;
}
.section-dark .container { position: relative; }
.section-dark h2, .section-dark h3 { color: #fff; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.value {
    position: relative; padding: 2rem 1.8rem 1.9rem; background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.09);
    transition: background-color .4s, transform .45s var(--ease), border-color .4s;
}
.value::before { content: ''; position: absolute; inset-inline-start: 0; top: 0; height: 4px; width: 48px; background: var(--c-primary); transition: width .6s var(--ease); }
.value:hover { background: rgba(255,255,255,.08); transform: translateY(-6px); border-color: rgba(237,115,35,.45); }
.value:hover::before { width: 100%; }
.value-num { position: absolute; top: 1.2rem; inset-inline-end: 1.4rem; font: 800 .9rem/1 var(--font-en); color: rgba(255,255,255,.28); letter-spacing: .1em; }
.value-ic { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 1.1rem; color: var(--c-primary); background: rgba(237,115,35,.12); clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.value h3 { margin-bottom: .45rem; }
.value p { font-size: .98rem; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; counter-reset: why; }
.why {
    display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.6rem 1.4rem;
    background: #fff; border: 1px solid var(--line); position: relative;
    transition: border-color .4s, box-shadow .4s, transform .45s var(--ease);
}
.why::after { content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 3px; background: var(--c-primary); transform: scaleX(0); transform-origin: var(--from, right); transition: transform .5s var(--ease); }
.lang-en .why::after { --from: left; }
.why:hover { box-shadow: var(--shadow-sm); transform: translateY(-4px); }
.why:hover::after { transform: scaleX(1); }
.why-ic {
    display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0;
    background: var(--orange-soft); color: var(--c-secondary);
    transition: background-color .4s, color .4s, transform .6s var(--ease);
}
.why:hover .why-ic { background: var(--c-primary); color: var(--c-primary-dark); transform: rotate(-8deg); }
.why h3 { margin-bottom: .35rem; font-size: 1.12rem; }
.why p { font-size: .96rem; line-height: 1.75; }

/* ---------- Steps: a road that draws itself ---------- */
.steps-wrap { position: relative; }
.steps-road {
    position: absolute; top: 30px; inset-inline: 6%; height: 18px;
    background: var(--c-accent); clip-path: inset(0 0 0 100%); transition: clip-path 1.4s var(--ease-out) .1s;
}
[dir="rtl"] .steps-road { clip-path: inset(0 100% 0 0); }
.steps-road span { position: absolute; inset-inline: 0; top: 50%; height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, #fff 0 18px, transparent 18px 32px); }
.steps-wrap.in .steps-road { clip-path: inset(0 0 0 0); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; position: relative; }
.step { text-align: center; position: relative; padding: 0 .5rem; }
.step-num {
    display: grid; place-items: center; width: 78px; height: 78px; margin: 0 auto 1.3rem;
    background: var(--c-primary); color: var(--c-primary-dark); position: relative; z-index: 1;
    font-family: var(--font-en); font-weight: 800; font-size: 1.35rem;
    clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
    transform: scale(.4); opacity: 0;
    transition: transform .6s var(--ease-out), opacity .4s, background-color .35s, color .35s;
    transition-delay: var(--d, 0s);
}
.steps-wrap.in .step-num { transform: none; opacity: 1; }
.step:hover .step-num { background: var(--c-primary-dark); color: var(--c-primary); }
.step h3, .step p { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--d, 0s) + .12s); }
.steps-wrap.in .step h3, .steps-wrap.in .step p { opacity: 1; transform: none; }
.step h3 { margin-bottom: .45rem; }
.step p { font-size: .97rem; color: var(--c-neutral); }
.js .steps-wrap.reveal { opacity: 1; transform: none; clip-path: none; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; grid-auto-flow: dense; gap: 12px; }
.g-item { position: relative; overflow: hidden; background: var(--c-light-bg); }
.g-item.g-big { grid-column: span 2; grid-row: span 2; }
.g-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin: -1rem 0 2rem; }
.g-tabs button {
    border: 0; background: var(--c-light-bg); color: var(--c-primary-dark); font-family: var(--font-ar-head); font-weight: 700; font-size: .95rem;
    padding: .6rem 1.4rem; clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
    transition: background-color .3s, color .3s;
}
.lang-en .g-tabs button { font-family: var(--font-en); font-weight: 600; font-size: .88rem; }
.g-tabs button:hover { background: var(--orange-soft); color: var(--c-secondary); }
.g-tabs button.active { background: var(--c-primary-dark); color: #fff; box-shadow: inset 0 -3px 0 var(--c-primary); }
.g-play {
    position: absolute; z-index: 2; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
    display: grid; place-items: center; background: var(--c-primary); color: var(--c-primary-dark);
    clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
    transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.g-play .ic { margin-inline-start: 3px; }
[dir="rtl"] .g-play .ic { margin-inline-start: 0; margin-inline-end: -3px; }
.g-item:hover .g-play { transform: scale(1.1); background: #fff; }
.g-len {
    position: absolute; z-index: 2; bottom: 10px; inset-inline-end: 10px; background: rgba(16,17,19,.82); color: #fff;
    font: 600 .78rem/1 var(--font-en); padding: .35rem .55rem; direction: ltr;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .5s; }
.g-item::before {
    /* slanted orange shutter that slides over the photo */
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(115deg, rgba(237,115,35,.0) 0 45%, rgba(237,115,35,.85) 45% 52%, rgba(16,17,19,.55) 52%);
    transform: translateX(var(--off, 100%)); transition: transform .6s var(--ease);
}
[dir="rtl"] .g-item::before { --off: -100%; background: linear-gradient(245deg, rgba(237,115,35,.0) 0 45%, rgba(237,115,35,.85) 45% 52%, rgba(16,17,19,.55) 52%); }
.g-item.is-video::after { content: ''; position: absolute; inset: 0; background: rgba(16,17,19,.25); }
.g-zoom {
    position: absolute; z-index: 2; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px;
    display: grid; place-items: center; background: #fff; color: var(--c-primary-dark);
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
    transform: scale(.5); opacity: 0; transition: transform .45s var(--ease), opacity .3s;
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.07); }
.g-item:hover::before, .g-item:focus-visible::before { transform: translateX(0); }
.g-item:hover .g-zoom, .g-item:focus-visible .g-zoom { transform: scale(1); opacity: 1; transition-delay: .12s; }
.g-item.is-hidden { display: none; }
.g-item.just-shown { animation: tileIn .7s var(--ease-out) both; }
@keyframes tileIn { from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(18px); } to { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center;
    background: rgba(16,17,19,.95); opacity: 0; transition: opacity .3s;
}
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-stage { max-width: min(92vw, 1400px); max-height: 86vh; text-align: center; }
.lb-stage img { max-width: 100%; max-height: 80vh; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,.5); transition: opacity .25s; border-bottom: 4px solid var(--c-primary); }
.lb-stage img.loading { opacity: .2; }
.lb-video { display: block; max-width: 100%; max-height: 80vh; margin: 0 auto; background: #000; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-stage img[hidden], .lb-video[hidden] { display: none; }
.lb-count { color: rgba(255,255,255,.75); margin-top: .8rem; font-family: var(--font-en); font-size: .9rem; direction: ltr; }
.lb-btn {
    position: absolute; display: grid; place-items: center; width: 54px; height: 54px;
    border: 0; background: rgba(255,255,255,.1); color: #fff; transition: background-color .25s, color .25s;
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
}
.lb-btn:hover { background: var(--c-primary); color: var(--c-primary-dark); }
.lb-close { top: 20px; inset-inline-end: 20px; }
.lb-prev { inset-inline-start: 20px; top: 50%; margin-top: -27px; }
.lb-next { inset-inline-end: 20px; top: 50%; margin-top: -27px; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(4.5rem, 8vw, 6.5rem) 0; color: #fff; }
.cta-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; background-attachment: fixed; }
.cta-band .bg-video { z-index: -2; }
.cta-band::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--asphalt), linear-gradient(100deg, rgba(16,17,19,.95) 0%, rgba(16,17,19,.82) 55%, rgba(16,17,19,.55) 100%);
}
.cta-tape {
    position: absolute; inset-inline: 0; top: 0; height: 12px; z-index: 0;
    background: repeating-linear-gradient(-45deg, var(--c-primary) 0 18px, var(--c-primary-dark) 18px 36px);
    animation: tapeRun 2.4s linear infinite;
}
@keyframes tapeRun { from { background-position: 0 0; } to { background-position: 51px 0; } }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; margin-bottom: .4rem; }
.cta-inner p { color: rgba(255,255,255,.82); max-width: 60ch; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: start; }
.contact-side h2 { margin-bottom: .8rem; }
.contact-list { display: grid; gap: 1.2rem; margin-top: 2rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.ci { display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; background: var(--c-primary-dark); color: var(--c-primary); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.contact-list strong { display: block; color: var(--c-primary-dark); font-family: var(--font-ar-head); font-size: 1rem; }
.lang-en .contact-list strong { font-family: var(--font-en); font-size: .92rem; }
.contact-list a, .contact-list span:not(.ci) { display: block; }
.contact-list .ci { display: grid; }
.contact-list a:hover { color: var(--c-secondary); }
.contact-list a[dir="ltr"], .contact-list span[dir="ltr"] { text-align: start; unicode-bidi: plaintext; }
.map-link { display: inline-flex !important; align-items: center; gap: .3rem; color: var(--c-secondary); font-weight: 800; font-size: .94rem; margin-top: .2rem; }
[dir="rtl"] .map-link .ic { transform: scaleX(-1); }

.contact-form {
    display: grid; gap: 1.1rem; padding: clamp(1.6rem, 3.5vw, 2.6rem);
    background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line);
    position: relative;
}
.contact-form::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 6px; background: var(--c-primary-dark); }
.contact-form::after { content: ''; position: absolute; inset-inline: 0; top: 1.5px; height: 3px; background: repeating-linear-gradient(90deg, var(--c-primary) 0 18px, transparent 18px 30px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { display: grid; gap: .35rem; font-weight: 700; font-size: .95rem; color: var(--c-primary-dark); }
.contact-form input, .contact-form select, .contact-form textarea {
    width: 100%; padding: .85rem 1rem; font: inherit; font-weight: 400; color: var(--c-text);
    background: var(--c-light-bg); border: 0; border-bottom: 2px solid color-mix(in srgb, var(--c-primary-dark) 18%, transparent);
    transition: border-color .25s, background-color .25s;
}
.contact-form input[dir="ltr"] { text-align: start; unicode-bidi: plaintext; }
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none; background: #fff; border-bottom-color: var(--c-primary);
}
.contact-form .invalid { border-bottom-color: #C0392B; background: #FDF3F2; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-note { font-size: .86rem; color: var(--c-neutral); text-align: center; }
.form-note a { color: var(--c-secondary); text-decoration: underline; }
.form-status { font-weight: 700; text-align: center; min-height: 1.5em; }
.form-status.ok { color: #1E7D4F; }
.form-status.err { color: #C0392B; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--asphalt), var(--c-primary-dark); color: rgba(255,255,255,.7); padding-top: 4.8rem; font-size: .98rem; }
.footer-road { position: absolute; inset-inline: 0; top: 0; height: 26px; background: var(--c-accent); border-top: 4px solid var(--c-primary); overflow: hidden; }
.footer-road span { position: absolute; inset-inline: 0; top: 50%; height: 3px; margin-top: -1.5px; background: repeating-linear-gradient(90deg, #fff 0 26px, transparent 26px 50px); opacity: .7; animation: laneSide 3s linear infinite; }
[dir="rtl"] .footer-road span { animation-direction: reverse; }
@keyframes laneSide { from { background-position: 0 0; } to { background-position: 50px 0; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 1.3rem; }
.site-footer h3 { color: #fff; font-size: 1.08rem; margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.site-footer h3::before { content: ''; width: 18px; height: 4px; background: var(--c-primary); }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { transition: color .2s, padding .3s var(--ease); }
.footer-links a:hover { color: var(--c-primary); padding-inline-start: 6px; }
.footer-contact { display: grid; gap: .8rem; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact .ic { color: var(--c-primary); margin-top: .25rem; }
.footer-contact a:hover { color: #fff; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; background: rgba(255,255,255,.08); transition: background-color .25s, color .25s; clip-path: polygon(7px 0, 100% 0, calc(100% - 7px) 100%, 0 100%); }
.social a:hover { background: var(--c-primary); color: var(--c-primary-dark); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .9rem; }

.to-top {
    position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 150; width: 50px; height: 50px;
    border: 0; background: var(--c-primary); color: var(--c-primary-dark); display: grid; place-items: center; box-shadow: var(--shadow-sm);
    clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%);
    opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .3s, transform .35s var(--ease), visibility .3s, background-color .25s, color .25s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-primary-dark); color: var(--c-primary); }

/* ---------- General Manager's word (text only, asphalt band) ---------- */
.gm-section {
    position: relative; overflow: hidden; isolation: isolate;
    background:
        var(--asphalt),
        linear-gradient(115deg, rgba(237,115,35,.10) 0 18%, transparent 18%),
        var(--c-primary-dark);
    color: rgba(255,255,255,.8);
}
/* orange road edge with running lane dashes at the top */
.gm-section::before {
    content: ''; position: absolute; inset-inline: 0; top: 0; height: 6px;
    background: var(--dash), var(--c-primary-dark); background-size: 40px 6px;
    border-bottom: 2px solid var(--c-primary);
}
.gm-watermark {
    position: absolute; z-index: -1; inset-inline-end: -1.5rem; bottom: -9rem;
    font: 900 32rem/1 var(--font-ar-head); color: rgba(255,255,255,.035);
    pointer-events: none; user-select: none;
}
.gm-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.gm-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.gm-mark { display: block; width: 64px; margin: .6rem 0 1.4rem; color: var(--c-primary); }
.gm-mark svg { width: 100%; height: auto; fill: currentColor; }
[dir="rtl"] .gm-mark svg { transform: scaleX(-1); }
.gm-quote {
    color: #fff; font-size: clamp(1.75rem, 3.3vw, 2.75rem); line-height: 1.45; font-weight: 800;
    text-wrap: balance;
}
.lang-en .gm-quote { line-height: 1.25; letter-spacing: -.01em; }
.gm-bars { display: flex; gap: 7px; margin-top: 1.8rem; }
.gm-bars i { display: block; height: 7px; width: 54px; background: var(--c-primary); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }
.gm-bars i:nth-child(2) { width: 36px; opacity: .7; }
.gm-bars i:nth-child(3) { width: 20px; opacity: .45; }

.gm-body {
    position: relative; padding-inline-start: clamp(1.4rem, 3vw, 2.6rem);
    border-inline-start: 2px solid rgba(255,255,255,.12);
}
/* orange marker that sits on the side line next to the opening paragraph */
.gm-body::before {
    content: ''; position: absolute; inset-inline-start: -2px; top: .4rem; width: 2px; height: 5.5rem;
    background: var(--c-primary);
}
.gm-body p { margin-bottom: 1.25rem; font-size: 1.06rem; }
.gm-body .gm-lead { color: #fff; font-size: 1.22rem; font-weight: 500; }
.lang-en .gm-body p { font-size: 1rem; }
.lang-en .gm-body .gm-lead { font-size: 1.14rem; }

.gm-sign { display: grid; gap: .15rem; margin-top: 2.2rem; }
.gm-lane {
    display: block; width: 150px; height: 3px; margin-bottom: 1.1rem;
    background: repeating-linear-gradient(90deg, var(--c-primary) 0 18px, transparent 18px 30px);
}
.gm-name { color: #fff; font-family: var(--font-ar-head); font-size: 1.35rem; font-weight: 800; line-height: 1.5; }
.lang-en .gm-name { font-family: var(--font-en); font-size: 1.15rem; }
.gm-role { color: var(--c-primary); font-weight: 700; font-size: .98rem; }
.lang-en .gm-role { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; }

@media (max-width: 960px) {
    .gm-grid { grid-template-columns: 1fr; gap: 2.2rem; }
    .gm-head { position: relative; top: 0; }
    .gm-watermark { font-size: 22rem; bottom: -6rem; }
}
@media (max-width: 640px) {
    .gm-mark { width: 48px; margin-bottom: 1rem; }
    .gm-body p { font-size: 1rem; }
    .gm-body .gm-lead { font-size: 1.1rem; }
}

/* ---------- Simple page (privacy) ---------- */
.page-hero { position: relative; background: var(--asphalt), var(--c-primary-dark); color: #fff; padding: 4.5rem 0 3.8rem; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--dash); background-size: 40px 4px; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.page-body { max-width: 820px; }
.page-body p { margin-bottom: 1.1rem; }

/* ---------- Reveal on scroll ----------
   Default: the block is uncovered from the reading side (like a road
   being laid). .reveal-up: cards rise with a light tilt. .reveal-wipe:
   images uncovered by a slanted mask.                                  */
.js .reveal {
    opacity: 0; transform: translateX(var(--rx, 34px));
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
    transition-delay: var(--d, 0s);
}
.js .lang-en .reveal { --rx: -34px; }
.js .reveal-up { transform: translateY(46px) rotate(var(--rt, -1.2deg)); transform-origin: bottom; }
.js .lang-en .reveal-up { --rt: 1.2deg; }
.js .reveal-wipe { opacity: 1; transform: none; clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); transition: clip-path 1.3s var(--ease-out); transition-delay: var(--d, 0s); }
.js .lang-en .reveal-wipe { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-wipe.in { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
    .main-nav { gap: 1.2rem; }
    .main-nav a { font-size: .94rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery { grid-template-columns: repeat(3, 1fr); }
    .hero-bars { display: none; }
    .brand img { height: 40px; }
}

@media (max-width: 960px) {
    :root { --header-h: 70px; }
    .menu-toggle { display: block; }
    .nav-cta { display: none; }
    .main-nav {
        position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0;
        background: #fff; padding: .5rem 20px 1.2rem; box-shadow: 0 20px 30px -20px rgba(16,17,19,.4);
        clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .45s var(--ease), visibility .45s;
        border-bottom: 4px solid var(--c-primary);
    }
    .main-nav.open { clip-path: inset(0 0 0 0); visibility: visible; }
    .main-nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
    .main-nav a::after { display: none; }
    .brand img, .site-header.scrolled .brand img { height: 36px; }
    .site-header.scrolled .nav-wrap { height: var(--header-h); }

    .hero-road { inset-inline-end: -40px; width: 90px; opacity: .55; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3)::before { display: none; }
    .stat:nth-child(n + 3) { border-top: 1px solid rgba(255,255,255,.08); }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 600px; margin-inline: auto; width: 100%; position: relative; top: 0; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.8rem; }
    .steps-road { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .cta-bg { background-attachment: scroll; }
}

@media (max-width: 640px) {
    body { font-size: 16.5px; }
    .lang-en { font-size: 15.5px; }
    .hero { min-height: 84vh; padding: 4.5rem 0 6rem; }
    .hero-cta .btn { flex: 1 1 auto; }
    .hero-road { width: 58px; inset-inline-end: -30px; animation: none; opacity: .22; }
    .scroll-cue { display: none; }
    .brand img, .site-header.scrolled .brand img { height: 30px; }
    .services-grid, .why-grid, .values-grid, .form-row, .vm-mini { grid-template-columns: 1fr; }
    .about-media { padding-inline-end: 2rem; padding-block-end: 3rem; }
    .about-frame { inset-inline-start: 1rem; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
    .g-tabs { flex-wrap: nowrap; overflow-x: auto; margin: -.5rem -20px 1.4rem; padding: 0 20px .4rem; scrollbar-width: none; }
    .g-tabs::-webkit-scrollbar { display: none; }
    .g-tabs button { flex-shrink: 0; padding: .5rem 1.1rem; font-size: .9rem; }
    .g-play { width: 50px; height: 50px; margin: -25px 0 0 -25px; }
    .stat { padding: 1.7rem .8rem 1.9rem; }
    .stat-num small { display: block; font-size: .42em; line-height: 1.5; }
    .client { width: 164px; height: 130px; margin: 0 7px; }
    .client img { max-width: 120px; max-height: 60px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .lb-prev, .lb-next { top: auto; bottom: 24px; margin-top: 0; }
    .lb-btn { width: 48px; height: 48px; }
    .lang-switch { padding: .4rem .6rem; }
    .steps { grid-template-columns: 1fr; }
    .js .reveal { --rx: 18px; }
    .js .lang-en .reveal { --rx: -18px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
    .hero-anim, .js .reveal { opacity: 1; transform: none; filter: none; }
    .js .reveal-wipe { clip-path: none !important; }
    .hero-bars i { transform: none; }
    .hero-road { opacity: 1; clip-path: none; }
    .steps-road { clip-path: none !important; }
    .step-num, .step h3, .step p { opacity: 1; transform: none; }
    .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; row-gap: 1rem; }
    .marquee-track .client[aria-hidden="true"] { display: none; }
    .marquee { -webkit-mask-image: none; mask-image: none; }
}
