/* Al Fun Al Jameel – white, black/charcoal and the gold of the company logo. */
:root {
  --dark-950: #0e0e0e;
  --dark-900: #141414;
  --dark-800: #1d1d1d;
  --dark-700: #2b2b2b;
  --dark-600: #434242;
  --gold-400: #dcc283;
  --gold-500: #c8a85a;
  --gold-600: #a8863a;
  --gold-700: #84661f;
  --gold-100: #f7f0de;
  --ink: #1a1a1a;
  --muted: #4f4f4f;
  --line: #e3e1da;
  --bg: #ffffff;
  --bg-alt: #f6f5f1;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(20, 20, 20, .05), 0 10px 30px rgba(20, 20, 20, .07);
  --shadow-lg: 0 20px 50px rgba(20, 20, 20, .16);
  --gold-grad: linear-gradient(135deg, #e3cb8b 0%, #c8a85a 45%, #a8863a 100%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "Noto Kufi Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-x: hidden; }
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.9; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-700); }
a:hover { color: var(--dark-900); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--dark-900); letter-spacing: -.015em; }
html[lang="ar"] :is(h1, h2, h3) { line-height: 1.5; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul[role="list"] { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--gold-500); outline-offset: 2px; }
.icon { width: 22px; height: 22px; flex: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 720px) { .container { padding-inline: 32px; } }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 200; background: var(--gold-500); color: var(--dark-900); padding: 10px 14px; border-radius: 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transform: translate(var(--bx), var(--by));
  transition: transform .25s var(--ease), background-color .2s, color .2s, box-shadow .25s, border-color .2s;
}
.btn .icon { width: 20px; height: 20px; }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 1.05rem; }
.btn-gold { background: var(--gold-grad); color: var(--dark-950); box-shadow: 0 6px 18px rgba(168, 134, 58, .32); }
.btn-gold:hover { color: var(--dark-950); box-shadow: 0 10px 26px rgba(168, 134, 58, .45); filter: brightness(1.05); }
.btn-dark { background: var(--dark-900); color: #fff; }
.btn-dark:hover { background: var(--dark-700); color: #fff; }
.btn-ghost { background: transparent; color: var(--dark-900); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold-500); color: var(--dark-900); }
.btn-ghost .icon { color: #1fa855; }
.btn-outline-light { background: rgba(255, 255, 255, .04); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: #fff; color: var(--dark-900); border-color: #fff; }
.cta-band .btn-outline-light, .panel-dark .btn-outline-light { color: var(--dark-900); border-color: var(--dark-900); background: transparent; }
.cta-band .btn-outline-light:hover, .panel-dark .btn-outline-light:hover { background: var(--dark-900); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { font-weight: 700; color: var(--gold-700); text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--gold-500); padding-bottom: 2px; }
.text-link:hover { color: var(--dark-900); }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(20, 20, 20, .08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dark-900); min-width: 0; }
.brand-logo { width: 33px; height: 48px; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-weight: 800; font-size: 1.08rem; line-height: 1.15; }
.brand-sub { font-size: .76rem; color: var(--muted); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html[lang="ar"] .brand-name { font-size: 1.05rem; }

.nav-toggle { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-weight: 700; color: var(--dark-900); cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: ""; transition: transform .25s; }
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.site-nav { display: none; }
.site-nav.open {
  display: block; position: absolute; inset-inline: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 72px); overflow-y: auto; padding: 8px 16px 20px;
}
.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links > li > a { display: block; padding: 12px 4px; font-weight: 600; text-decoration: none; color: var(--dark-900); border-bottom: 1px solid var(--line); }
.nav-links a[aria-current="page"] { color: var(--gold-700); }
.subnav { list-style: none; margin: 0; padding: 4px 0 8px; }
.subnav a { display: flex; align-items: center; gap: 10px; padding: 8px 4px 8px 18px; font-size: .95rem; color: var(--muted); text-decoration: none; }
html[dir="rtl"] .subnav a { padding: 8px 18px 8px 4px; }
.subnav .icon { width: 18px; height: 18px; color: var(--gold-600); }
.nav-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 16px; }
.display-link, .lang-switch {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem;
  text-decoration: none; color: var(--dark-900); background: #fff; transition: border-color .2s, background .2s;
}
.display-link .icon { width: 18px; height: 18px; color: var(--gold-600); }
.display-link:hover, .lang-switch:hover { border-color: var(--gold-500); background: var(--gold-100); color: var(--dark-900); }
.lang-switch { font-family: var(--font-ar); }
html[lang="ar"] .lang-switch { font-family: var(--font); }

@media (min-width: 1100px) {
  .header-inner { display: grid; grid-template-columns: auto 1fr; grid-template-rows: 76px auto; column-gap: 24px; min-height: 0; }
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: contents; }
  .nav-actions { grid-column: 2; grid-row: 1; justify-self: end; padding: 0; flex-wrap: nowrap; }
  .nav-links { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 2px; border-top: 1px solid var(--line); margin-inline: -12px; }
  .nav-links > li > a { border: 0; padding: 12px 12px 13px; font-size: .95rem; position: relative; color: var(--dark-700); transition: color .2s; }
  .nav-links > li > a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--gold-500); transform: scaleX(0); transition: transform .25s var(--ease); }
  .nav-links > li > a:hover, .nav-links > li > a[aria-current="page"] { color: var(--dark-900); }
  .nav-links > li > a:hover::after, .nav-links > li > a[aria-current="page"]::after { transform: scaleX(1); }
  .brand-logo { width: 38px; height: 55px; }
  .brand-name { font-size: 1.2rem; }
  .brand-sub { font-size: .8rem; }
  .has-sub { position: relative; }
  .has-sub > a::before { content: ""; position: absolute; inset-inline-end: -2px; top: 50%; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); opacity: .6; }
  .has-sub > a { padding-inline-end: 18px !important; }
  .subnav {
    position: absolute; top: 100%; inset-inline-start: 0; min-width: 300px; padding: 8px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60;
  }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
  .subnav a, html[dir="rtl"] .subnav a { padding: 9px 12px; border-radius: 8px; color: var(--dark-900); }
  .subnav a:hover { background: var(--bg-alt); }
}
@media (max-width: 420px) { .brand-sub { display: none; } .nav-toggle-label { display: none; } }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--dark-950); padding-block: 64px 72px; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; opacity: 0; transform: scale(1.06) translate(var(--hx, 0), var(--hy, 0)); transition: opacity 1.4s ease, transform .6s ease-out; }
.hero-img.is-active { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 14, 14, .95) 0%, rgba(14, 14, 14, .82) 50%, rgba(14, 14, 14, .45) 100%); }
html[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(14, 14, 14, .95) 0%, rgba(14, 14, 14, .82) 50%, rgba(14, 14, 14, .45) 100%); }
.hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; z-index: 2; background: var(--gold-grad); }
.hero-inner { position: relative; z-index: 2; }
.hero-inner > * { max-width: 780px; animation: rise .8s var(--ease) both; }
.hero-inner > :nth-child(2) { animation-delay: .08s; }
.hero-inner > :nth-child(3) { animation-delay: .16s; }
.hero-inner > :nth-child(4) { animation-delay: .24s; }
.hero-inner > :nth-child(5) { animation-delay: .32s; }
.hero-inner > :nth-child(6) { animation-delay: .4s; }
@keyframes rise { from { transform: translateY(16px); opacity: .001; } to { transform: none; opacity: 1; } }
.hero-logo { display: block; width: fit-content; margin-bottom: 26px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.hero-logo img { width: 150px; height: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-400); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--gold-500); }
html[lang="ar"] .eyebrow { letter-spacing: 0; font-size: .95rem; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; text-wrap: balance; margin-bottom: 18px; }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #e8e5df; margin-bottom: 30px; max-width: 640px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px !important; }
.hero-badges li { border: 1px solid rgba(220, 194, 131, .6); color: var(--gold-400); border-radius: 999px; padding: 4px 14px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; background: rgba(14, 14, 14, .45); }
@media (min-width: 900px) { .hero { min-height: min(760px, calc(100vh - 120px)); display: flex; align-items: center; padding-block: 90px; } .hero-logo img { width: 190px; } }

/* ---------------------------------------------------------------- page hero */
.page-hero { position: relative; background: var(--dark-900); color: #fff; padding-block: 48px 52px; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--gold-grad); z-index: 2; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 14, 14, .93), rgba(14, 14, 14, .7)); }
html[dir="rtl"] .page-hero.has-image::before { background: linear-gradient(270deg, rgba(14, 14, 14, .93), rgba(14, 14, 14, .7)); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 10px; }
.page-hero-intro { color: #e8e5df; font-size: 1.1rem; max-width: 680px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: #bdb8ae; margin-bottom: 14px; }
.crumbs a { color: var(--gold-400); text-decoration: none; }
.crumbs a:hover { color: #fff; }
@media (min-width: 900px) { .page-hero { padding-block: 84px 88px; } }

/* ---------------------------------------------------------------- sections */
.section { padding-block: 64px; }
.section-alt { background: var(--bg-alt); }
/* Certifications: a light cream band with gold accents (black is kept for the hero and footer). */
.section-dark { background: radial-gradient(1000px 420px at 85% -10%, rgba(200, 168, 90, .18), transparent 60%), var(--gold-100); }
@media (min-width: 900px) { .section { padding-block: 96px; } }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head.center { text-align: center; margin-inline: auto; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--gold-700); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .78rem; margin-bottom: 10px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
.section-head.center .kicker::after { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: .92rem; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 800; text-wrap: balance; margin-bottom: 12px; }
.section-intro { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section-head.light .section-title { color: #fff; }
.section-head.light .section-intro { color: #cfcac0; }
.section-head.light .kicker { color: var(--gold-400); }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 36px; }
.head-row .section-head { margin-bottom: 0; }
.lead-dark { font-size: 1.15rem; color: var(--ink); }
.prose > * + .media-frame { margin-top: 28px; }

.split { display: grid; gap: 36px; align-items: start; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.35fr 1fr; gap: 56px; }
  .split-media { grid-template-columns: 1fr 1fr; align-items: center; }
  .split-wide { grid-template-columns: 1.6fr 1fr; }
}
.media-frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split-media .media-frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 5px; background: var(--gold-grad); }
.check-list { display: grid; gap: 10px; margin: 22px 0 28px !important; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.check-list .icon { color: var(--gold-600); margin-top: 2px; }
@media (min-width: 640px) { .check-list { grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------- stats */
.stats-band { background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(20, 20, 20, .05); position: relative; }
.stats-band .stats { display: grid; grid-auto-flow: row; gap: 0; margin: 0 auto; padding-block: 8px; }
.stats-band li { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 12px; border-bottom: 1px solid var(--line); }
.stats-band li:last-child { border-bottom: 0; }
.stat-num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.1; color: var(--gold-700); font-family: var(--font); font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: .95rem; margin-top: 6px; }
@media (min-width: 720px) {
  .stats-band .stats { grid-auto-flow: column; grid-auto-columns: 1fr; padding-block: 18px; }
  .stats-band li { border-bottom: 0; border-inline-start: 1px solid var(--line); }
  .stats-band li:first-child { border-inline-start: 0; }
}

/* ---------------------------------------------------------------- cards */
.card-grid { display: grid; gap: 22px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .3s, border-color .3s, transform .3s var(--ease); }
.card:hover { box-shadow: var(--shadow-lg); border-color: rgba(200, 168, 90, .6); }
.card-media { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--dark-800); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 14, 14, .45)); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-body h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card-body h3 a { color: inherit; text-decoration: none; }
.card-body h3 a:hover { color: var(--gold-700); }
.card-body p { color: var(--muted); font-size: .98rem; }
.card-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--gold-grad); color: var(--dark-950); margin-bottom: 14px; }
.service-card .card-icon { margin-top: -46px; position: relative; z-index: 1; border: 3px solid #fff; box-shadow: var(--shadow); }
.card-cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; color: var(--gold-700); }
.card-cta .arrow { width: 18px; height: 18px; transition: transform .25s var(--ease); }
html[dir="rtl"] .card-cta .arrow { transform: scaleX(-1); }
.card-cta:hover .arrow { transform: translateX(4px); }
html[dir="rtl"] .card-cta:hover .arrow { transform: scaleX(-1) translateX(4px); }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.media-tag { position: absolute; z-index: 1; inset-inline-start: 14px; bottom: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--gold-grad); color: var(--dark-950); box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.equip-teaser .card-body { padding-block: 18px; }
.equip-teaser .card-body h3 { margin: 0; }

.project-card { border-top: 4px solid var(--gold-500); }
.project-card .card-body { padding: 26px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px !important; font-size: .9rem; color: var(--dark-600); font-weight: 600; }
.meta li { display: flex; align-items: center; gap: 6px; }
.meta .icon { width: 17px; height: 17px; color: var(--gold-600); }

/* ---------------------------------------------------------------- certifications */
.cert-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .cert-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.cert-card { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; transition: border-color .3s, transform .3s var(--ease), background .3s; }
.cert-card:hover { border-color: var(--gold-500); box-shadow: var(--shadow-lg); }
/* Certificate documents are not shown on the site (owner request); each card shows the standard and number. */
.cert-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 30px 20px 26px; border-top: 4px solid var(--gold-500); }
.cert-badge { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--gold-grad); color: var(--dark-950); box-shadow: 0 10px 24px rgba(168, 134, 58, .3); margin-bottom: 18px; }
.cert-badge .icon { width: 38px; height: 38px; }
.cert-body { padding: 0; }
.cert-body h3 { color: var(--dark-900); font-size: 1.25rem; margin-bottom: 4px; font-family: var(--font); }
.cert-body p { color: var(--ink); font-size: .9rem; margin: 0 0 6px; }
.cert-body .cert-no { color: var(--muted); font-size: .82rem; margin: 0; }
.cert-note { color: var(--muted); font-size: .92rem; margin: 28px 0 0; max-width: 900px; }

/* ---------------------------------------------------------------- industries & safety */
.industry-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .industry-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .industry-grid { grid-template-columns: repeat(3, 1fr); } }
.industry { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .3s, border-color .3s, transform .3s var(--ease); overflow: hidden; }
.industry::after { content: ""; position: absolute; inset-inline-start: 0; top: 0; width: 100%; height: 3px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
html[dir="rtl"] .industry::after { transform-origin: right; }
.industry:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.industry:hover::after { transform: scaleX(1); }
.industry h3 { font-size: 1.15rem; }
.industry p { color: var(--muted); margin: 0; font-size: .98rem; }
.industry-icon, .safety-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--gold-100); color: var(--gold-700); margin-bottom: 16px; }
.industry-icon .icon, .safety-icon .icon { width: 26px; height: 26px; }
.safety-grid { display: grid; gap: 18px; }
@media (min-width: 800px) { .safety-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
.safety-item { display: flex; gap: 18px; align-items: flex-start; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.safety-item .safety-icon { margin: 0; background: var(--gold-grad); color: var(--dark-950); }
.safety-item h3 { font-size: 1.12rem; margin-bottom: 6px; }
.safety-item p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- services page */
.service-list { display: grid; gap: 28px; }
.service-block { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 140px; }
.service-photo { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.service-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-block:hover .service-photo img { transform: scale(1.04); }
.service-content { padding: 28px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.service-content h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.service-content p { color: var(--muted); }
@media (min-width: 900px) {
  .service-block { grid-template-columns: 1fr 1fr; }
  .service-photo { aspect-ratio: auto; min-height: 340px; }
  .service-content { padding: 44px 48px; }
  .service-block:nth-child(even) .service-photo { order: 2; }
}
.equip-grid .card { scroll-margin-top: 140px; }
.notice { background: var(--gold-100); border-inline-start: 4px solid var(--gold-500); border-radius: var(--radius-sm); padding: 14px 18px; color: var(--dark-800); font-weight: 600; margin-bottom: 30px; }

/* ---------------------------------------------------------------- gallery */
.gallery-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-grid li { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--dark-800); }
.gallery-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-grid li:hover img { transform: scale(1.05); }

/* ---------------------------------------------------------------- panels, about */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.panel-title { font-size: 1.25rem; margin-bottom: 14px; }
.panel-dark { background: var(--gold-100); border-color: rgba(200, 168, 90, .45); border-top: 4px solid var(--gold-500); }
.panel-dark a { color: var(--dark-900); }
.panel-dark a.btn-gold { color: var(--dark-950); }
.about-logo { width: 150px; margin: 0 auto 22px; }
.fact-list { margin: 0; display: grid; gap: 14px; }
.fact-list div { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.fact-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-700); font-weight: 700; }
html[lang="ar"] .fact-list dt { letter-spacing: 0; font-size: .9rem; }
.fact-list dd { margin: 2px 0 0; font-weight: 600; color: var(--dark-900); }
.vm-grid { display: grid; gap: 22px; }
@media (min-width: 800px) { .vm-grid { grid-template-columns: 1fr 1fr; } }
.vm-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.vm-item > .icon { width: 44px; height: 44px; color: var(--gold-600); margin-bottom: 14px; }
.vm-item p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- clients */
.client-marquee { overflow: hidden; padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.client-track { display: flex; width: max-content; animation: client-scroll 42s linear infinite; }
.client-marquee:hover .client-track, .client-marquee:focus-within .client-track { animation-play-state: paused; }
[dir="rtl"] .client-track { animation-direction: reverse; }
@keyframes client-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.client-track li { width: 210px; margin-inline-end: 18px; display: flex; flex-direction: column; gap: 10px; align-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; transition: box-shadow .3s, border-color .3s; }
.client-track li:hover { box-shadow: var(--shadow); border-color: var(--gold-500); }
.client-track img { width: 100%; height: auto; aspect-ratio: 9 / 5; object-fit: contain; transition: transform .3s ease; }
.client-track li:hover img { transform: scale(1.06); }
.client-track span { font-size: .82rem; font-weight: 600; color: var(--dark-600); line-height: 1.35; }
@media (max-width: 600px) { .client-track li { width: 170px; } .client-track { animation-duration: 34s; } }

/* ---------------------------------------------------------------- contact & quote */
.contact-list { margin: 0; display: grid; gap: 14px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.contact-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--gold-grad); color: var(--dark-950); flex: none; }
.contact-row dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-700); font-weight: 700; }
html[lang="ar"] .contact-row dt { letter-spacing: 0; font-size: .9rem; }
.contact-row dd { margin: 0; font-weight: 600; color: var(--dark-900); overflow-wrap: anywhere; }
.contact-row a { color: var(--dark-900); }
.contact-row a:hover { color: var(--gold-700); }
.icon-list { display: grid; gap: 14px; }
.icon-list li { display: flex; gap: 12px; align-items: flex-start; overflow-wrap: anywhere; }
.icon-list .icon { color: var(--gold-700); margin-top: 3px; }

.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
@media (min-width: 720px) { .quote-form { padding: 34px; } }
.form-how { color: var(--muted); font-size: .95rem; background: var(--bg-alt); border-radius: var(--radius-sm); padding: 12px 14px; }
.field-grid { display: grid; gap: 18px; margin-bottom: 22px; }
@media (min-width: 640px) { .field-grid { grid-template-columns: 1fr 1fr; } .field-full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; color: var(--dark-900); }
.req { color: #b42318; }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1px solid #cfccc5; border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-600); outline: none; box-shadow: 0 0 0 4px rgba(200, 168, 90, .25); }
.field [aria-invalid="true"] { border-color: #b42318; }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.form-error { color: #b42318; font-weight: 600; }
.form-after { margin-top: 16px; background: var(--gold-100); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--dark-900); }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: linear-gradient(120deg, #fbf7ec, var(--gold-100)); border-top: 1px solid rgba(200, 168, 90, .35); padding-block: 56px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 50px solid rgba(200, 168, 90, .14); }
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { color: var(--dark-900); font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.cta-inner p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--dark-950); color: #bdb8ae; padding-top: 60px; font-size: .95rem; border-top: 4px solid var(--gold-500); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; } }
.footer-logo { width: 150px; height: auto; margin-bottom: 18px; }
.footer-company { color: #fff; font-weight: 700; margin-bottom: 6px; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px !important; }
.footer-certs li { border: 1px solid rgba(220, 194, 131, .4); color: var(--gold-400); border-radius: 999px; padding: 2px 10px; font-size: .78rem; font-weight: 700; }
.footer-heading { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.footer-links li { margin-bottom: 8px; break-inside: avoid; }
.site-footer a { color: #e8e5df; text-decoration: none; }
.site-footer a:hover { color: var(--gold-400); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .icon { width: 19px; height: 19px; color: var(--gold-500); margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 44px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-display { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(220, 194, 131, .4); border-radius: 999px; padding: 6px 14px; }
.footer-display .icon { width: 17px; height: 17px; color: var(--gold-500); }

/* ---------------------------------------------------------------- WhatsApp button */
.wa-float { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: transform .25s var(--ease), box-shadow .25s; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: wa-pulse 2.4s ease-out infinite; }
@keyframes wa-pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.5); opacity: 0; } }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float .wa-glyph { width: 32px; height: 32px; }
.wa-label { position: absolute; inset-inline-end: 72px; white-space: nowrap; background: var(--dark-900); color: #fff; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- motion */
.js-reveal .reveal-pending { opacity: 0; transform: translateY(28px); }
.reveal-in { animation: rise .8s var(--ease) both; }
.tilt, .tilt.tilt:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s var(--ease), box-shadow .3s, border-color .3s; }
.tilt.is-tilting { transition: transform .08s linear, box-shadow .3s, border-color .3s; }
.tilt::before { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(220, 194, 131, .16), transparent 45%); }
.tilt.is-tilting::before { opacity: 1; }
.cert-card, .industry, .safety-item, .vm-item, .panel { position: relative; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .tilt, .btn, .hero-img { transform: none !important; }
  .client-marquee { -webkit-mask-image: none; mask-image: none; }
  .client-track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; gap: 16px; }
  .client-track li { margin: 0; }
  .client-track li[aria-hidden="true"] { display: none; }
}
@media print { .site-header, .wa-float, .cta-band, .site-footer { display: none; } }
