:root {
  --blue: #0659ab;
  --blue-2: #0e74d1;
  --navy: #0a2540;
  --green: #45b035;
  --yellow: #fdc500;
  --ink: #0f1b2d;
  --muted: #5b6b80;
  --line: #e3e9f1;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(10, 37, 64, .08);
  --font: "Inter", system-ui, sans-serif;
}
[dir="rtl"] { --font: "Noto Kufi Arabic", "Inter", system-ui, sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
[dir="rtl"] svg.flip { transform: scaleX(-1); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 2px solid transparent; cursor: pointer; transition: .2s; font-family: inherit; }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-2); }
.btn-accent { background: var(--yellow); color: var(--navy); }
.btn-accent:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--c, var(--blue)); }
.btn-light:hover { transform: translateY(-1px); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy); color: #c9d6e6; font-size: 13px; }
.topbar-inner { display: flex; gap: 24px; justify-content: flex-end; padding-block: 7px; }
.topbar b { color: #fff; font-weight: 600; margin-inline-end: 4px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.95); backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: .2s; }
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(10,37,64,.06); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; gap: 6px; margin-inline-start: auto; }
.nav > a, .dropdown > a { white-space: nowrap; padding: 8px 14px; border-radius: 10px; font-weight: 500; font-size: 15px; color: var(--muted); transition: .15s; display: block; }
.nav a:hover, .nav a.active { color: var(--blue); background: var(--bg-alt); }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; inset-inline-start: 0; min-width: 270px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.dropdown:hover .dropdown-menu, .dropdown:focus-within .dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.dropdown-menu a { display: block; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; }
.dropdown-menu a:hover { background: var(--bg-alt); color: var(--blue); }
.dropdown-menu small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.header-actions { display: flex; align-items: center; gap: 12px; white-space: nowrap; flex-shrink: 0; }
.brand { flex-shrink: 0; }
.lang-switch { display: flex; background: var(--bg-alt); border-radius: 999px; padding: 4px; }
.lang-switch button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); }
.lang-switch button[lang="ar"], .lang-switch button[lang="ckb"] { font-family: "Noto Kufi Arabic", sans-serif; }
.lang-switch button[lang="en"] { font-family: "Inter", sans-serif; }
.lang-switch button.active { background: #fff; color: var(--blue); box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.menu-btn { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- hero ---------- */
/* Motion hero: dark cinematic stage, live canvas (or video) background, animated headline */
.hero { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 50% 0%, #0b2f5c 0%, #071a33 55%, #040d1c 100%); color: #fff; padding: 90px 0 150px; min-height: clamp(620px, calc(100svh - 117px), 920px); display: flex; align-items: center; }
.hero > .container { width: 100%; }
/* Background layers (bottom → top): canvas or video, darkening veil, grain, mouse spotlight */
.hero-canvas, .hero-slides { position: absolute; inset: -12% 0; width: 100%; height: 124%; z-index: -3; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
/* Slides: cross-fade (opacity) + slow zoom-out (Ken Burns). The leaving slide keeps its zoom
   until it has fully faded, then resets while invisible, so there is never a jump. */
.hero-slides { overflow: hidden; background: #071a33; }
.hero-slide { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 0s linear 1.7s; }
.hero-slide.active { opacity: 1; transform: scale(1); transition: opacity 1.6s ease, transform calc(var(--slide-ms, 6000ms) + 1800ms) linear; }

/* "Now showing" line under the buttons: company name + progress dots */
.slide-nav { display: flex; align-items: center; gap: 18px; margin-top: 34px; flex-wrap: wrap; }
.slide-label { display: grid; line-height: 1.3; padding-inline-start: 14px; border-inline-start: 3px solid var(--yellow); }
.slide-label:hover .slide-name { text-decoration: underline; }
.slide-tag { font-size: 12px; color: #9fb4cf; text-transform: uppercase; letter-spacing: .08em; }
[dir="rtl"] .slide-tag { letter-spacing: 0; font-size: 13px; }
.slide-name { font-size: 16px; font-weight: 700; color: #fff; }
.slide-label.swap { animation: swap .6s ease; }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.slide-dots { display: flex; gap: 8px; }
.slide-dot { width: 34px; height: 18px; padding: 7px 0; border: 0; background: none; cursor: pointer; }
.slide-dot i { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.25); overflow: hidden; position: relative; }
.slide-dot.active i::after { content: ""; position: absolute; inset: 0; background: var(--yellow); transform-origin: left; animation: dotfill var(--slide-ms, 6000ms) linear forwards; }
[dir="rtl"] .slide-dot.active i::after { transform-origin: right; }
.slides-paused .slide-dot.active i::after { animation-play-state: paused; }
@keyframes dotfill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero-veil { position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(180deg, rgba(4,13,28,.15) 0%, rgba(4,13,28,0) 40%, rgba(4,13,28,.55) 100%); }
.hero.has-media .hero-veil { background: linear-gradient(90deg, rgba(4,13,28,.88) 0%, rgba(4,13,28,.6) 55%, rgba(4,13,28,.35) 100%); }
[dir="rtl"] .hero.has-media .hero-veil { background: linear-gradient(270deg, rgba(4,13,28,.88) 0%, rgba(4,13,28,.6) 55%, rgba(4,13,28,.35) 100%); }
.hero.has-media::after { display: none; } /* no dot texture over photos */
@media (max-width: 860px) { .hero.has-media .hero-veil, [dir="rtl"] .hero.has-media .hero-veil { background: rgba(4,13,28,.72); } }
.hero-spot { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), rgba(120,190,255,.13), transparent 60%); }
.hero:hover .hero-spot { opacity: 1; }
/* Faint dotted grid gives the dark stage some texture */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 75%); }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 8vw, 104px); line-height: 1; font-weight: 800; margin: 18px 0 22px; letter-spacing: -.035em; }
[dir="rtl"] .hero h1 { letter-spacing: 0; }
.hero h1 .w { display: inline-block; }
/* "Group": moving golden shine + soft glow */
.hero h1 .shine { display: inline-block; padding: 0 .04em .08em; color: var(--yellow); background: linear-gradient(100deg, #fdc500 0%, #fdc500 35%, #fff6c7 50%, #fdc500 65%, #fdc500 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 0 28px rgba(253,197,0,.35)); animation: shine 5s linear infinite; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.hero p { font-size: 18px; color: #c9d8ec; max-width: 560px; }
.hero .kicker.light { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(69,176,53,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(69,176,53,0); } 100% { box-shadow: 0 0 0 0 rgba(69,176,53,0); } }
.hero .btn-accent { box-shadow: 0 10px 30px rgba(253,197,0,.25); }
.hero .btn-ghost { backdrop-filter: blur(6px); background: rgba(255,255,255,.04); }

/* Intro: headline words rise out of a blur one after another; everything else follows */
.hero .intro { opacity: 0; animation: intro .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--i, 0) * 70ms + 100ms); }
@keyframes intro { from { opacity: 0; transform: translateY(26px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
.hero-logos .hero-logo { opacity: 0; animation: fadein 1s ease forwards; animation-delay: .9s; }
@keyframes fadein { to { opacity: 1; } }
.hero.no-intro .intro, .hero.no-intro .hero-logo { animation: none; opacity: 1; }

/* Scroll cue */
.scroll-cue { position: absolute; left: 50%; bottom: 104px; translate: -50% 0; z-index: 1; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px; opacity: 0; animation: fadein 1s ease 1.6s forwards; }
.scroll-cue::before { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@media (max-height: 760px), (max-width: 860px) { .scroll-cue { display: none; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-logos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-logo { position: relative; display: block; background: #fff; border-radius: 20px; aspect-ratio: 4/3; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.hero-grid > *, .hero-logos > *, .company-hero-grid > * { min-width: 0; }
.hero-logo img { position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain; }
.company-hero-logo img { width: 100%; height: 100%; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 15px; }
.kicker.light { color: var(--yellow); background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: 999px; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -80px; position: relative; z-index: 2; }
.pillar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; display: flex; gap: 16px; border: 1px solid var(--line); }
.pillar h3 { font-size: 18px; margin-bottom: 4px; }
.pillar p { color: var(--muted); font-size: 14.5px; }
.ic { width: 48px; height: 48px; border-radius: 14px; background: color-mix(in srgb, var(--c, var(--blue)) 10%, white); color: var(--c, var(--blue)); display: grid; place-items: center; flex-shrink: 0; }

/* ---------- sections ---------- */
.section { padding: 90px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 44px; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.2; margin: 8px 0 0; font-weight: 800; letter-spacing: -.01em; }
.lead { color: var(--muted); font-size: 17px; margin: 18px 0 24px; }

.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: 24px; aspect-ratio: 4/3.3; object-fit: cover; width: 100%; }
.years { position: absolute; inset-inline-end: -20px; bottom: -24px; background: var(--yellow); color: var(--navy); border-radius: 20px; padding: 18px 24px; box-shadow: var(--shadow); text-align: center; }
.years b { display: block; font-size: 44px; line-height: 1; }
.years span { font-size: 13px; font-weight: 600; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checks svg { color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }

.company-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.company-card { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: .25s; position: relative; overflow: hidden; }
.company-card::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--c); }
.company-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.logo-box { height: 140px; display: grid; place-items: center; margin-bottom: 16px; }
.logo-box img { max-height: 130px; object-fit: contain; }
.tag { display: inline-block; align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--c, var(--blue)); background: color-mix(in srgb, var(--c, var(--blue)) 10%, white); padding: 4px 10px; border-radius: 999px; }
.tag.light { color: #fff; background: rgba(255,255,255,.18); }
.company-card h3 { font-size: 18px; margin: 10px 0 14px; line-height: 1.4; }
.more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--c); }
.more svg { width: 16px; height: 16px; transition: .2s; }
.company-card:hover .more svg { transform: translateX(4px); }
[dir="rtl"] .company-card:hover .more svg { transform: scaleX(-1) translateX(4px); }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: .25s; }
.service:hover { border-color: var(--c, var(--blue)); box-shadow: var(--shadow); }
.service h3 { font-size: 17px; margin: 18px 0 8px; }
.service p { color: var(--muted); font-size: 14.5px; }

/* ---------- inner pages ---------- */
.page-hero { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 70px 0; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 800; }
.page-hero p { color: #d7e3f2; max-width: 680px; margin: 10px auto 0; }

.company-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--c) 75%, black), var(--c)); color: #fff; padding: 60px 0 80px; }
.company-hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.company-hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.15; font-weight: 800; margin: 14px 0 10px; }
.company-hero p { color: rgba(255,255,255,.88); font-size: 17px; max-width: 620px; }
.company-hero .tagline { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.company-hero .legal { font-size: 14px; opacity: .8; margin-bottom: 10px; }
.company-hero-logo { background: #fff; border-radius: 28px; padding: 40px; display: grid; place-items: center; aspect-ratio: 4/3; box-shadow: 0 25px 50px rgba(0,0,0,.25); }
.company-hero-logo img { max-height: 100%; object-fit: contain; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; opacity: .85; margin-bottom: 18px; }
.back svg { width: 16px; height: 16px; transform: scaleX(-1); }
[dir="rtl"] .back svg { transform: none; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; transition: .25s; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.product figcaption { padding: 14px 18px; font-weight: 600; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.g-item { border: 1px solid var(--line); background: #fff; border-radius: 14px; overflow: hidden; cursor: zoom-in; padding: 0; aspect-ratio: 1; transition: .2s; }
.g-item:hover { transform: scale(1.03); box-shadow: var(--shadow); }
.g-item img { width: 100%; height: 100%; object-fit: cover; }

.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.partner { background: #fff; border-radius: 14px; border: 1px solid var(--line); height: 110px; display: grid; place-items: center; padding: 18px; }
.partner.dark { background: var(--navy); }
.partner img { max-height: 70px; object-fit: contain; }

.cta-band { background: var(--c); color: #fff; padding: 40px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-inner h3 { font-size: 24px; }
.cta-inner .hero-cta { margin: 0; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.info { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); }
.info h4 { margin-bottom: 4px; }
.info a { color: var(--blue); font-weight: 600; }
.info small, .info p { color: var(--muted); }
.form { background: var(--bg-alt); border-radius: 20px; padding: 32px; display: grid; gap: 16px; }
.form h3 { font-size: 22px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; outline: none; }
.form input:focus, .form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(6,89,171,.15); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .btn { justify-self: start; }
.note { font-size: 13px; color: var(--muted); }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: #a9b9cc; padding-top: 64px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr; gap: 40px; }
.footer-logo { height: 52px; width: auto; background: #fff; padding: 8px 12px; border-radius: 12px; margin-bottom: 16px; }
.footer h4 { color: #fff; margin-bottom: 14px; font-size: 16px; }
.footer a { display: block; padding: 3px 0; transition: .15s; }
.footer a:hover { color: #fff; }
.footer a.ltr { display: block; }
[dir="rtl"] .footer a.ltr { text-align: right; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-block: 22px; font-size: 13px; text-align: center; }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(5,15,30,.88); z-index: 100; display: grid; place-items: center; padding: 30px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 92vw; border-radius: 12px; background: #fff; }
.lightbox-close { position: absolute; top: 18px; inset-inline-end: 22px; background: #fff; border: 0; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; cursor: pointer; }

/* ---------- scroll effects ---------- */
/* Reading progress bar along the bottom of the sticky header */
.scroll-progress { position: absolute; inset-inline: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--green), var(--yellow)); transform: scaleX(var(--progress, 0)); transform-origin: left; pointer-events: none; }
[dir="rtl"] .scroll-progress { transform-origin: right; background: linear-gradient(270deg, var(--green), var(--yellow)); }

/* Reveal on scroll. Only active when JS adds .fx to <html>, so content is never hidden if scripts fail.
   Uses the `translate` property, so it never fights the hover `transform` on cards. */
.fx .reveal { opacity: 0; translate: 0 32px; transition: opacity .7s ease, translate .8s cubic-bezier(.2,.7,.2,1), transform .25s, box-shadow .25s, border-color .25s; transition-delay: var(--d, 0ms), var(--d, 0ms), 0s, 0s, 0s; }
.fx .reveal.reveal-start { translate: -48px 0; }
.fx .reveal.reveal-end { translate: 48px 0; }
/* :where() keeps these at the same priority as .visible below, so .visible always wins */
:where([dir="rtl"]).fx .reveal.reveal-start { translate: 48px 0; }
:where([dir="rtl"]).fx .reveal.reveal-end { translate: -48px 0; }
.fx .reveal.reveal-zoom { translate: none; scale: .94; transition-property: opacity, scale, transform, box-shadow, border-color; transition-duration: .45s, .5s, .25s, .25s, .25s; }
/* Sideways slides must never create a horizontal scrollbar on phones */
html, body { overflow-x: clip; }
.fx .reveal.visible { opacity: 1; translate: none; scale: none; }
.fx .reveal.instant { transition: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-canvas, .hero-slides { transform: none; }
  .hero-slide, .hero-slide.active { transform: none; transition: opacity .3s; }
  .slide-dot.active i::after { animation: none; transform: none; }
  .hero .intro, .hero-logos .hero-logo, .scroll-cue { animation: none; opacity: 1; }
  .hero h1 .shine, .pulse-dot, .scroll-cue::before { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .company-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* Header: drop the duplicate Contact button first, then switch to the menu button */
@media (max-width: 1150px) {
  .hide-sm { display: none; }
}
@media (max-width: 960px) {
  .menu-btn { display: flex; }
  .nav { position: absolute; top: 76px; inset-inline: 0; flex-direction: column; background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 12px; }
  .header-actions { margin-inline-start: auto; }
}
@media (max-width: 860px) {
  .hero-grid, .about-grid, .company-hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 120px; min-height: 0; }
  .pillars { grid-template-columns: 1fr; }
  .years { inset-inline-end: 12px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .topbar-inner { justify-content: center; gap: 14px; font-size: 12px; }
  .brand img { height: 36px; }
  .lang-switch button { padding: 5px 8px; font-size: 12px; }
  .company-grid, .service-grid, .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}
