/* ============================================================
   ALEEMSONS CHEMICALS — Corporate site stylesheet
   Direction: clean, mostly-white B2B corporate style — modelled on
   elchemy.com (minimal color, real product cards, icon-grid industries,
   no serif/no gradient-panel hero) and hwtc.com.pk (simple hero, plain
   icon "why us" grid, flat page headers). Distinct from sister site
   Norvick's editorial/gradient-panel look.
   ============================================================ */

:root {
  /* Brand palette — matched to the Aleemsons logo blue (#1f467a).
     Used sparingly: white/off-white dominates, color reserved for CTAs,
     icons and small accents (elchemy's "relies on imagery/spacing, not
     bold color" approach). */
  --navy:        #12263f;
  --navy-900:    #0c1a2c;
  --navy-800:    #12263f;
  --navy-700:    #1a3354;
  --navy-600:    #1f467a;
  --teal:        #1f467a;   /* logo blue — accent on light surfaces */
  --teal-bright: #8fb3dc;   /* lighter blue accent on dark surfaces */
  --teal-dark:   #1f467a;   /* label text on pale-blue tints */
  --teal-soft:   #eaf1f9;   /* pale blue tint */
  --accent:      #1f467a;   /* logo blue — fills, buttons */
  --accent-press:#173a66;

  --ink:    #10202f;
  --body:   #5a6270;
  --muted:  #7d8694;
  --line:   #e2e6ec;
  --bg:     #ffffff;
  --bg-alt: #f5f7fa;
  --bg-tint:#ebeff5;

  /* Flatter, tighter scale than an "editorial magazine" — closer to
     elchemy's restrained corporate cards. */
  --radius: 8px;
  --radius-lg: 14px;
  --radius-pill: 100px;
  --shadow-sm: 0 2px 10px rgba(15,28,46,.05);
  --shadow:    0 8px 26px rgba(15,28,46,.08);
  --shadow-lg: 0 20px 48px rgba(10,20,32,.14);

  --container: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* Inter, site-wide — clean corporate sans, no serif, no mono. */
  --ff-head: "Inter", "Segoe UI", system-ui, sans-serif;
  --ff-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --ff-mono: "Inter", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }   /* honour the hidden attribute over display rules */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.62;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1,h2,h3,h4,h5 { font-family: var(--ff-head); color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; }
em, .italic { font-style: normal; } /* no italic accents — flatter, more corporate */

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.bg-alt { background: var(--bg-alt); }
.bg-navy { background: var(--navy); color: #d8dce6; }
.text-center { text-align: center; }
.grid { display: grid; gap: 28px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-body); font-weight: 600; font-size: .92rem;
  padding: 13px 24px; border-radius: var(--radius);
  transition: all .25s var(--ease); cursor: pointer; line-height: 1;
}
.btn svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-press); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn--outline:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn--light:hover { border-color: var(--accent); color: var(--accent); }
.btn--sm { padding: 9px 16px; font-size: .84rem; }

/* ---------- Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-body); font-weight: 700; font-size: .78rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark);
  margin-bottom: 16px;
}
.eyebrow--center { justify-content: center; }
.section-title { font-family: var(--ff-head); font-weight: 700; font-size: clamp(1.5rem, 2.3vw, 2rem); letter-spacing: -.015em; line-height: 1.2; color: var(--ink); }
.section-title .accent { color: var(--teal-dark); }
.section-lead { font-size: 1rem; color: var(--body); max-width: 620px; margin-top: 16px; line-height: 1.6; }
.head-block { max-width: 720px; margin-bottom: 44px; }
.head-block.center { margin-left: auto; margin-right: auto; text-align: center; }
.head-block.center .section-lead { margin-left: auto; margin-right: auto; }

/* ============================================================
   TOP UTILITY BAR
   ============================================================ */
.topbar { background: var(--navy-900); color: #a9afba; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.topbar a:hover { color: #fff; }
.topbar__left { display: flex; gap: 26px; align-items: center; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; }
.topbar__item svg { width: 14px; height: 14px; color: var(--teal-bright); }
.topbar__right { display: flex; gap: 18px; align-items: center; }
.topbar__right .sep { width: 1px; height: 14px; background: rgba(255,255,255,.18); }
.topbar__social { display: flex; gap: 14px; }
.topbar__social svg { width: 15px; height: 15px; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s var(--ease); }
.header.is-stuck { box-shadow: 0 4px 16px rgba(15,28,46,.06); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav__link {
  font-family: var(--ff-body); font-weight: 500; font-size: .9rem; color: var(--ink);
  padding: 10px; position: relative; display: inline-flex; align-items: center; gap: 6px;
}
.nav__link:hover, .nav__link.active { color: var(--accent); }
.nav__link svg { width: 12px; height: 12px; opacity: .6; }

/* Mega-menu dropdown (Industries) — icon + title + description, 2 columns */
.has-menu { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: 680px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 16px; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  z-index: 120;
}
/* hover bridge so the menu doesn't close when moving from link to panel */
.mega::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-menu:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: var(--radius); }
.mega__item:hover { background: var(--bg-alt); }
.mega__ic { width: 38px; height: 38px; flex: none; border-radius: var(--radius); background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; transition: .2s var(--ease); }
.mega__ic svg { width: 20px; height: 20px; }
.mega__item:hover .mega__ic { background: var(--accent); color: #fff; }
.mega__txt { display: flex; flex-direction: column; gap: 3px; }
.mega__txt b { font-weight: 600; font-size: .92rem; color: var(--ink); line-height: 1.25; }
.mega__item:hover .mega__txt b { color: var(--accent); }
.mega__txt em { font-style: normal; font-size: .8rem; color: var(--body); line-height: 1.4; }
.mega__all { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 8px; padding: 12px; border-top: 1px solid var(--line); font-weight: 600; font-size: .86rem; color: var(--accent); }
.mega__all svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.mega__all:hover svg { transform: translateX(4px); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--navy); transition: all .2s var(--ease); }
.icon-btn:hover { background: var(--bg-alt); color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.nav-toggle { display: none; }

/* Mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10,20,32,.45); opacity: 0; visibility: hidden; transition: .3s; z-index: 200; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: -340px; width: 320px; max-width: 86vw; height: 100%; background: #fff; z-index: 210; box-shadow: var(--shadow-lg); transition: right .3s var(--ease); display: flex; flex-direction: column; padding: 24px; }
.drawer.open { right: 0; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.drawer__head img { height: 36px; }
.drawer nav a { display: block; padding: 14px 6px; font-weight: 500; font-size: 1.02rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.drawer nav a:hover { color: var(--accent); }

/* ============================================================
   HERO — open, flat, left-aligned. No panel, no gradient, no search.
   ============================================================ */
/* Full-screen banner: fills the viewport below the top bar + header (120px). */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: calc(100vh - 120px); background: var(--navy-900); }
/* crossfading background slideshow (pure CSS, zero-JS) */
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg span { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; animation: heroFade 24s infinite; will-change: opacity; }
.hero__bg span:nth-child(1) { animation-delay: 0s; }
.hero__bg span:nth-child(2) { animation-delay: 8s; }
.hero__bg span:nth-child(3) { animation-delay: 16s; }
@keyframes heroFade { 0% { opacity: 0; } 4% { opacity: 1; } 29% { opacity: 1; } 34% { opacity: 0; } 100% { opacity: 0; } }
/* readability overlay — navy, heavier on the left where the text sits */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(8,17,28,.92) 0%, rgba(8,17,28,.78) 42%, rgba(8,17,28,.42) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 680px; padding: 48px 0; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px; color: #dfe8f2; background: rgba(255,255,255,.1);
  padding: 6px 13px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.2);
  font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 18px; backdrop-filter: blur(4px);
}
.hero h1 { color: #fff; font-weight: 700; font-size: clamp(1.9rem, 3.4vw, 3rem); line-height: 1.12; letter-spacing: -.02em; }
.hero h1 .accent { color: var(--teal-bright); }
.hero__lead { font-size: 1.05rem; color: #c8d0dc; margin: 18px 0 28px; max-width: 560px; line-height: 1.6; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.hero .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .hero__bg span { animation: none; opacity: 0; }
  .hero__bg span:nth-child(1) { opacity: 1; }
}

/* Slim stat strip */
.stat-strip { background: #fff; border-bottom: 1px solid var(--line); }
.stat-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-strip .s { padding: 26px 24px; position: relative; }
.stat-strip .s + .s::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 1px; background: var(--line); }
.stat-strip .n { font-family: var(--ff-head); font-weight: 700; font-size: 1.7rem; color: var(--ink); line-height: 1; letter-spacing: -.02em; }
.stat-strip .n .plus { color: var(--teal-dark); }
.stat-strip .l { margin-top: 6px; font-size: .88rem; color: var(--body); font-weight: 500; }

/* ============================================================
   INTRO / ABOUT teaser
   ============================================================ */
.about-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.about-media { position: relative; }
.about-media__main { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.about-media__badge { position: absolute; right: 18px; bottom: -18px; background: #fff; border: 1px solid var(--line); color: var(--ink); border-radius: var(--radius-lg); padding: 18px 22px; box-shadow: var(--shadow); max-width: 220px; }
.about-media__badge .n { font-family: var(--ff-head); font-weight: 700; font-size: 1.7rem; line-height: 1; color: var(--accent); }
.about-media__badge .t { font-size: .84rem; margin-top: 6px; color: var(--body); }
.about-media__accent { display: none; }
.about-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 24px 0 30px; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); font-size: .95rem; }
.about-list svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }

/* ============================================================
   INDUSTRIES — plain icon+label tile grid (elchemy/hwtc pattern),
   not full-bleed photo cards.
   ============================================================ */
.markets-grid { grid-template-columns: repeat(4, 1fr); }
.industry-tile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 26px; transition: all .25s var(--ease); text-align: left;
}
.industry-tile:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.industry-tile__icon { width: 52px; height: 52px; border-radius: var(--radius); background: var(--teal-soft); display: grid; place-items: center; margin-bottom: 18px; }
.industry-tile__icon svg { width: 26px; height: 26px; color: var(--teal-dark); }
.industry-tile h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.industry-tile p { font-size: .88rem; color: var(--body); line-height: 1.55; }
.industry-tile__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 600; font-size: .82rem; color: var(--accent); }
.industry-tile__link svg { width: 14px; height: 14px; }

/* Industries — full-bleed PHOTO cards (home), like Brenntag/Elchemy/AMC */
.industries-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.industry-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 260px;
  display: flex; align-items: flex-end; background-size: cover; background-position: center;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.industry-card::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,17,28,.9) 0%, rgba(8,17,28,.45) 45%, rgba(8,17,28,.1) 100%);
  transition: background .35s var(--ease); }
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.industry-card:hover::after { background: linear-gradient(to top, rgba(31,70,122,.92) 0%, rgba(8,17,28,.5) 55%, rgba(8,17,28,.12) 100%); }
.industry-card__body { position: relative; z-index: 2; padding: 24px; width: 100%; }
.industry-card h3 { color: #fff; font-size: 1.14rem; line-height: 1.2; }
.industry-card__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  font-weight: 600; font-size: .82rem; color: #fff; opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease); }
.industry-card:hover .industry-card__link { opacity: 1; transform: translateY(0); }
.industry-card__link svg { width: 15px; height: 15px; }
/* Detailed variant (Industries overview page) — taller, description always visible */
.industry-card--detailed { min-height: 320px; }
.industry-card--detailed .industry-card__desc { color: #cdd5df; font-size: .88rem; line-height: 1.5; margin-top: 8px; }
.industry-card--detailed .industry-card__link { opacity: 1; transform: none; margin-top: 14px; }

/* ============================================================
   PRODUCT preview cards (Home) — image/icon, title, description, dual CTA
   ============================================================ */
.products-grid { grid-template-columns: repeat(3, 1fr); }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s var(--ease); display: flex; flex-direction: column; }
.product-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.product-card__icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--teal-soft); display: grid; place-items: center; margin: 26px 26px 18px; }
.product-card__icon svg { width: 28px; height: 28px; color: var(--teal-dark); }
.product-card h3 { font-size: 1.08rem; color: var(--ink); margin: 0 26px 10px; }
.product-card p { font-size: .9rem; margin: 0 26px; flex: 1; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 26px 26px; }
.product-card__tags span { font-size: .74rem; font-weight: 600; color: var(--teal-dark); background: var(--teal-soft); padding: 4px 10px; border-radius: var(--radius-pill); }

/* ============================================================
   PRODUCT RANGE — dark band with category tiles (Home)
   ============================================================ */
.prod-band { background: var(--navy); color: #fff; }
.prod-band__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.prod-band .eyebrow { color: var(--teal-bright); margin-bottom: 12px; }
.prod-band .section-title { color: #fff; max-width: 620px; }
.prod-band .section-title .accent { color: var(--teal-bright); }
.prod-band__cta { flex: none; }
/* in-band search that routes to the Products page (?q=) */
.prod-band__search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px;
  padding: 6px 6px 6px 18px; margin-bottom: 32px; box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.prod-band__search-ic { width: 19px; height: 19px; color: var(--muted); flex: none; }
.prod-band__search input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--ff-body);
  font-size: 1rem; color: var(--ink); padding: 13px 0; }
.prod-band__search input::placeholder { color: var(--muted); }
.prod-band__search-btn { flex: none; width: 48px; height: 48px; border-radius: 9px; background: var(--accent);
  color: #fff; display: grid; place-items: center; transition: background .2s var(--ease); }
.prod-band__search-btn:hover { background: var(--accent-press); }
.prod-band__search-btn svg { width: 20px; height: 20px; }
.prod-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prod-tile { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); transition: all .25s var(--ease); }
.prod-tile:hover { background: rgba(255,255,255,.07); border-color: var(--teal-bright); }
.prod-tile__ic { width: 46px; height: 46px; flex: none; border-radius: var(--radius); background: rgba(143,179,220,.16); color: var(--teal-bright); display: grid; place-items: center; transition: .25s var(--ease); }
.prod-tile__ic svg { width: 24px; height: 24px; }
.prod-tile:hover .prod-tile__ic { background: var(--accent); color: #fff; }
.prod-tile__txt { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.prod-tile__txt b { font-weight: 600; font-size: 1rem; color: #fff; line-height: 1.25; }
.prod-tile__txt em { font-style: normal; font-size: .86rem; color: #aeb8c6; line-height: 1.5; }
.prod-tile__arw { width: 18px; height: 18px; flex: none; color: #6b7788; margin-top: 4px; transition: .25s var(--ease); }
.prod-tile:hover .prod-tile__arw { color: var(--teal-bright); transform: translateX(3px); }
@media (max-width: 1080px) { .prod-band__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .prod-band__grid { grid-template-columns: 1fr; } }

/* ============================================================
   VALUE / WHY US — plain icon+label tile grid, reused for every
   "why us" / differentiator section (home, services, about, careers).
   ============================================================ */
.value-grid { grid-template-columns: repeat(4, 1fr); }
.value-card { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.value-card__icon { width: 48px; height: 48px; border-radius: var(--radius); background: var(--teal-soft); display: grid; place-items: center; margin-bottom: 16px; }
.value-card__icon svg { width: 24px; height: 24px; color: var(--teal-dark); }
.value-card h3 { font-size: 1.02rem; color: var(--ink); margin-bottom: 8px; }
.value-card p { font-size: .89rem; }

/* ============================================================
   PARTNERS / AFFILIATES — plain logo strip
   ============================================================ */
.partners { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; align-items: stretch; }
.partner-chip { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 28px 40px; min-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.partner-chip__logo { height: 44px; width: auto; max-width: 220px; object-fit: contain; }
.partner-chip__logo--madocsa { height: 78px; }
.partner-chip__role { font-size: .82rem; color: var(--muted); font-weight: 500; text-align: center; }

/* ============================================================
   CTA BANNER — flat single-color band, no gradient
   ============================================================ */
.cta-banner { background: var(--navy); color: #fff; }
.cta-banner__shape, .cta-banner__shape2 { display: none; }
.cta-banner .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-top: 52px; padding-bottom: 52px; }
.cta-banner h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 2.1rem); max-width: 720px; }
.cta-banner p { color: #b9c0cc; margin-top: 10px; max-width: 560px; }
.cta-banner .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.cta-banner .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Reusable "can't find it? we source to order" card */
.source-cta {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: var(--navy); color: #fff; border-radius: 16px;
  padding: 34px 38px; margin-top: 56px;
  background-image: radial-gradient(circle at 100% 0%, rgba(31,70,122,.55) 0%, transparent 55%);
}
.source-cta__ic {
  flex: none; width: 62px; height: 62px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #7fb0ff;
}
.source-cta__ic svg { width: 30px; height: 30px; }
.source-cta__body { flex: 1 1 340px; min-width: 260px; }
.source-cta__body h3 { color: #fff; font-size: clamp(1.2rem, 2vw, 1.5rem); margin: 0; }
.source-cta__body p { color: #c2c9d6; margin-top: 8px; max-width: 640px; }
.source-cta__body strong { color: #fff; }
.source-cta__actions { display: flex; flex-direction: column; gap: 12px; flex: none; }
.source-cta__actions .btn { justify-content: center; white-space: nowrap; }
.source-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.source-cta .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
@media (max-width: 720px) {
  .source-cta { padding: 26px 22px; gap: 20px; }
  .source-cta__actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .source-cta__actions .btn { flex: 1 1 auto; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--navy-900); color: #96a0ae; padding-top: 64px; font-size: .92rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__brand img { height: 44px; margin-bottom: 18px; }
.footer__brand p { color: #96a0ae; max-width: 320px; }
.footer__social { display: flex; gap: 10px; margin-top: 20px; }
.footer__social a { width: 36px; height: 36px; border-radius: var(--radius); background: rgba(255,255,255,.06); display: grid; place-items: center; color: #d6d9e0; transition: .2s var(--ease); }
.footer__social a:hover { background: var(--teal); color: #fff; }
.footer__social svg { width: 16px; height: 16px; }
.footer h4 { color: #fff; font-size: .96rem; margin-bottom: 18px; }
.footer__links li { margin-bottom: 11px; }
.footer__links a:hover { color: var(--teal-bright); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--teal-bright); flex: none; margin-top: 3px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 22px 0; flex-wrap: wrap; gap: 14px; font-size: .84rem; color: #667181; }
.footer__bottom a:hover { color: #fff; }

/* ============================================================
   PAGE HERO (inner pages) — full-width photo banner + dark overlay,
   centered white title (Al Majeed / elchemy style).
   ============================================================ */
.page-hero { position: relative; overflow: hidden; background: var(--navy-900); }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,17,28,.66) 0%, rgba(8,17,28,.8) 100%); }
.page-hero__inner { position: relative; z-index: 2; padding: 92px 0; text-align: center; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -.015em; }
.page-hero p { color: #d0d7e0; font-size: 1.05rem; max-width: 620px; margin: 14px auto 0; }
.breadcrumb { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: .84rem; color: #b7c1cf; margin-bottom: 16px; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .cur { color: var(--teal-bright); }

/* ============================================================
   RICH CONTENT (about / products detail)
   ============================================================ */
.prose p { margin-bottom: 18px; }
.prose h3 { color: var(--ink); font-size: 1.3rem; margin: 28px 0 12px; }

/* Product range detailed list */
.range-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: .2s var(--ease); }
.range-block:hover { box-shadow: var(--shadow-sm); }
.range-block__head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.range-block__head .ic { width: 42px; height: 42px; border-radius: var(--radius); background: var(--teal-soft); display: grid; place-items: center; color: var(--teal-dark); flex: none; }
.range-block__head .ic svg { width: 22px; height: 22px; }
.range-block__head h3 { color: var(--ink); font-size: 1.08rem; }
.range-block__head .cnt { margin-left: auto; font-size: .78rem; font-weight: 600; color: var(--muted); }
.range-list { padding: 18px 24px; columns: 2; column-gap: 32px; }
.range-list li { break-inside: avoid; padding: 6px 0 6px 18px; position: relative; font-size: .91rem; color: var(--ink); }
.range-list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.range-list .grp { font-weight: 700; color: var(--teal-dark); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding-left: 0; margin-top: 6px; }
.range-list .grp::before { display: none; }
.range-list a.rl-link { color: var(--accent); font-weight: 600; }
.range-list a.rl-link:hover { text-decoration: underline; }

/* Product literature page (datasheet two-column) */
.pf-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 52px; align-items: start; }
.pf-main.prose { font-size: 1.02rem; }
.pf-main.prose > p:first-child { color: var(--ink); }
.pf-main.prose h2 { font-size: 1.4rem; color: var(--ink); margin: 34px 0 14px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.pf-main.prose h2:first-of-type { margin-top: 8px; }
.pf-main.prose ul { list-style: none; padding: 0; margin: 0 0 8px; }
.pf-main.prose ul li { position: relative; padding: 7px 0 7px 22px; color: var(--ink); line-height: 1.55; }
.pf-main.prose ul li::before { content: ""; position: absolute; left: 0; top: 15px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pf-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.pf-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; background: #fff; }
.pf-card--cta { background: var(--navy); border-color: var(--navy); }
.pf-card--cta h3 { color: #fff; font-size: 1.1rem; }
.pf-card--cta p { color: #c2c9d6; font-size: .89rem; margin: 8px 0 16px; line-height: 1.55; }
.pf-card--cta .btn { width: 100%; justify-content: center; margin-top: 10px; }
.pf-card--cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.pf-card--cta .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.pf-card h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-tag { display: inline-block; padding: 6px 13px; border: 1px solid var(--line); border-radius: 100px; font-size: .82rem; color: var(--accent); font-weight: 600; }
.pf-tag:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.pf-rel { list-style: none; padding: 0; margin: 0; }
.pf-rel li { border-bottom: 1px solid var(--line); }
.pf-rel li:last-child { border-bottom: none; }
.pf-rel a { color: var(--ink); font-weight: 600; font-size: .9rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; }
.pf-rel a:hover { color: var(--accent); }
.pf-rel a svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 900px) { .pf-layout { grid-template-columns: 1fr; gap: 32px; } .pf-side { position: static; } }

/* FAQ accordion (product pages) */
.faq { margin: 8px 0 0; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--ink); font-size: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--accent); line-height: 1; flex: none; transition: transform .2s var(--ease); }
.faq-item[open] summary::after { content: "−"; }
.faq-item[open] summary { border-bottom: 1px solid var(--line); }
.faq-item__a { padding: 16px 22px 20px; }
.faq-item__a p { color: var(--body); font-size: .95rem; line-height: 1.65; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: .2s var(--ease); }
.contact-card:hover { border-color: var(--accent); }
.contact-card__ic { width: 44px; height: 44px; border-radius: var(--radius); background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.contact-card__ic svg { width: 22px; height: 22px; }
.contact-card h4 { color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: .92rem; color: var(--body); }
.contact-card a:hover { color: var(--accent); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .78rem; letter-spacing: .02em; color: var(--ink); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: var(--ff-body); font-size: .95rem; color: var(--ink); background: var(--bg-alt); transition: .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(31,70,122,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 340px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal][data-delay="1"] { transition-delay: .08s; }
.js [data-reveal][data-delay="2"] { transition-delay: .16s; }
.js [data-reveal][data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .markets-grid, .products-grid, .industries-grid, .prod-band__grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 920px) {
  .nav, .header__actions .icon-btn.search-d, .topbar__left .topbar__item.hide-sm { display: none; }
  .nav-toggle { display: grid; }
  .about-split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .header-cta { display: none; }
  .header .container { height: 68px; }
  .brand img { height: 38px; }
  .markets-grid, .products-grid, .value-grid, .industries-grid, .prod-band__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .range-list { columns: 1; }
  .topbar { display: none; }
  .about-list { grid-template-columns: 1fr; }
  .cta-banner .container { flex-direction: column; align-items: flex-start; }
  .stat-strip__grid { grid-template-columns: 1fr 1fr; }
  .stat-strip .s:nth-child(2n+1)::before { display: none; }
  .hero { min-height: calc(100svh - 68px); }
  .hero__inner { padding: 36px 0; }
}

/* ============================================================
   BLOG / INSIGHTS
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all .25s var(--ease); }
.blog-card:hover { box-shadow: var(--shadow-sm); border-color: var(--accent); }
.blog-card__media { overflow: hidden; }
.blog-card__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-card__text { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.blog-card__cat { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 12px; }
.blog-card h3 { font-weight: 700; font-size: 1.16rem; line-height: 1.28; color: var(--ink); }
.blog-card p { font-size: .92rem; color: var(--body); margin-top: 10px; flex: 1; }
.blog-card__meta { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: .76rem; color: var(--muted); }
.blog-card__meta .dot { opacity: .5; }

/* Article hero — flat, matches page-hero */
.article-hero { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding: 48px 0 44px; }
.article-hero .breadcrumb { color: var(--muted); margin-bottom: 20px; }
.article-hero .breadcrumb a:hover { color: var(--accent); }
.article-hero .breadcrumb .cur { color: var(--teal-dark); }
.article-hero__cat { font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px; }
.article-hero h1 { font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.16; color: var(--ink); max-width: 880px; }
.article-hero__meta { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: .8rem; color: var(--muted); flex-wrap: wrap; }
.article-hero__meta .dot { opacity: .5; }

/* Article body — narrow reading column */
.article__wrap { max-width: 760px; margin: 0 auto; }
.prose { font-size: 1.04rem; line-height: 1.75; color: #3f4853; }
.prose p { margin-bottom: 20px; }
.prose h2 { font-weight: 700; font-size: 1.5rem; color: var(--ink); margin: 40px 0 14px; }
.prose h3 { font-weight: 700; font-size: 1.22rem; color: var(--ink); margin: 28px 0 10px; }
.prose ul { margin: 0 0 20px; padding: 0; }
.prose ul li { position: relative; padding: 5px 0 5px 24px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* Key-takeaways callout */
.callout { background: var(--bg-alt); border: 1px solid var(--line); border-left: 3px solid var(--teal); padding: 22px 26px; margin: 28px 0; }
.callout h4 { font-weight: 700; font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 14px; }
.callout ul { margin: 0; padding: 0; }
.callout ul li { position: relative; padding: 6px 0 6px 24px; font-size: .96rem; color: var(--ink); list-style: none; }
.callout ul li::before { content: ""; position: absolute; left: 0; top: 14px; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }

/* In-article CTA */
.article__cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding: 28px 30px; background: var(--navy); border-radius: var(--radius-lg); }
.article__cta h3 { color: #fff; font-size: 1.2rem; }
.article__cta p { color: #b9c0cc; margin-top: 6px; font-size: .92rem; }

@media (max-width: 1080px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .blog-grid { grid-template-columns: 1fr; } .prose { font-size: 1rem; } .article__cta { flex-direction: column; align-items: flex-start; } }

/* Logo sizing per context */
.brand img { height: 44px; width: auto; }
.drawer__head img { height: 36px; width: auto; }
.footer__brand img { height: 44px; width: auto; margin-bottom: 18px; }

/* ============================================================
   PRODUCTS — category cards with a plain in-card item list
   (not rounded pill "chips") — same visual language as .range-block.
   Class names (.prod-group / .prod-chip) are kept because the product
   search JS in main.js targets them directly.
   ============================================================ */
.prod-group { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 24px; overflow: hidden; scroll-margin-top: 100px; }
.prod-group__head { display: flex; align-items: center; gap: 14px; padding: 16px 24px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.prod-group__head .ic { width: 38px; height: 38px; border-radius: var(--radius); background: var(--teal-soft); color: var(--teal-dark); display: grid; place-items: center; flex: none; }
.prod-group__head .ic svg { width: 20px; height: 20px; }
.prod-group__head h3 { font-size: 1.05rem; color: var(--ink); }
.prod-group__note { font-size: .84rem; color: var(--muted); }
.prod-group__count { margin-left: auto; font-size: .76rem; font-weight: 700; color: var(--teal-dark); background: var(--teal-soft); padding: 3px 10px; border-radius: var(--radius-pill); }
.prod-chips { padding: 16px 24px 20px; columns: 2; column-gap: 32px; }
.prod-chip { display: block; break-inside: avoid; position: relative; padding: 6px 0 6px 18px; font-size: .92rem; font-weight: 500; color: var(--ink); border: none; background: none; border-radius: 0; line-height: 1.4; }
.prod-chip::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.prod-chip:hover { color: var(--accent); }
/* Linked chips (future sub-pages) read as a text link, not a button */
.prod-chip--link { color: var(--accent); font-weight: 600; cursor: pointer; }
.prod-chip--link svg { width: 12px; height: 12px; opacity: .8; display: inline; vertical-align: -1px; margin-left: 4px; }
.prod-chip--link:hover { color: var(--accent-press); }
/* Search states */
.prod-chip.is-match { color: var(--accent-press); font-weight: 700; }
.prod-chip.is-match::before { background: var(--accent-press); }
.prod-group.is-hidden, .prod-chip.is-hidden { display: none; }

/* Product search bar */
.prod-search { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 4px 6px 4px 18px; margin-bottom: 36px; }
.prod-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,70,122,.14); }
.prod-search__icon { width: 19px; height: 19px; color: var(--muted); flex: none; }
.prod-search input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--ff-body); font-size: .98rem; color: var(--ink); padding: 12px 0; }
.prod-search input::placeholder { color: var(--muted); }
.prod-search__clear { width: 34px; height: 34px; border-radius: 50%; background: var(--bg-alt); color: var(--body); display: grid; place-items: center; flex: none; }
.prod-search__clear:hover { background: var(--teal-soft); color: var(--accent); }
.prod-search__clear svg { width: 15px; height: 15px; }

/* Products hero — Elchemy-style in-banner search over the photo */
.page-hero--search .page-hero__inner { padding-bottom: 40px; }
.prod-search--hero { max-width: 720px; margin: 28px auto 0; background: #fff; border: none;
  border-radius: 12px; padding: 8px 8px 8px 22px; box-shadow: 0 16px 44px rgba(0,0,0,.30); gap: 12px; }
.prod-search--hero:focus-within { box-shadow: 0 16px 44px rgba(0,0,0,.30), 0 0 0 3px rgba(31,70,122,.35); }
.prod-search--hero .prod-search__icon { width: 20px; height: 20px; }
.prod-search--hero input { font-size: 1.02rem; padding: 15px 0; }
.prod-search__btn { flex: none; width: 52px; height: 52px; border-radius: 9px; background: var(--accent);
  color: #fff; display: grid; place-items: center; transition: background .2s var(--ease); }
.prod-search__btn:hover { background: var(--accent-press); }
.prod-search__btn svg { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .prod-search--hero { padding-left: 16px; }
  .prod-search__btn { width: 46px; height: 46px; }
}
.prod-noresults { text-align: center; border: 1px dashed var(--line); background: var(--bg-alt); border-radius: var(--radius-lg); padding: 40px 28px; margin-bottom: 36px; }
.prod-noresults h3 { color: var(--ink); font-size: 1.2rem; margin-bottom: 10px; }
.prod-noresults p { color: var(--body); max-width: 560px; margin: 0 auto 20px; }
.prod-foot { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.prod-foot a { color: var(--accent); font-weight: 600; }
.prod-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Article cover (uploaded via CMS) */
.article__cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 32px; aspect-ratio: 16/8; object-fit: cover; border: 1px solid var(--line); }

/* ============================================================
   CAREERS — job listings + application form
   ============================================================ */
.jobs-list { display: grid; gap: 14px; }
.job-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 26px; background: #fff; transition: border-color .2s var(--ease); }
.job-card:hover { border-color: var(--accent); }
.job-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.job-card__head h3 { font-size: 1.16rem; color: var(--ink); }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 500; color: var(--body); background: var(--bg-alt); border: 1px solid var(--line); padding: 4px 11px; border-radius: var(--radius-pill); }
.job-tag svg { width: 12px; height: 12px; color: var(--teal); }
.job-tag--type { color: var(--teal-dark); background: var(--teal-soft); border-color: transparent; }
.job-card__body { color: var(--body); font-size: .94rem; line-height: 1.65; margin: 12px 0 18px; }
.job-card__body p { margin-bottom: 10px; }
.job-card__body ul { margin: 6px 0 10px; }
.job-card__body li { position: relative; padding: 4px 0 4px 20px; }
.job-card__body li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }
.job-apply { margin-top: 2px; }
.job-empty { text-align: center; border: 1px dashed var(--line); border-radius: var(--radius-lg); padding: 44px 28px; background: var(--bg-alt); }
.job-empty h3 { color: var(--ink); font-size: 1.18rem; margin-bottom: 8px; }
.job-empty p { color: var(--body); max-width: 480px; margin: 0 auto; }

/* form helpers shared by careers + contact */
.field__hint { font-weight: 400; color: var(--muted); font-size: .78rem; }
.form__note { margin-top: 12px; font-size: .8rem; color: var(--muted); line-height: 1.5; }
/* ============================================================
   PRELOADER — flask fills with brand blue, then fades out.
   Safety: a pure-CSS failsafe hides it after 6s even if JS fails,
   so the site can never be trapped behind the overlay.
   ============================================================ */
/* Hidden by default — JS only reveals it if the page is still loading after
   ~700ms. Fast loads never flash it, and if JS fails it simply never appears. */
.preloader {
  position: fixed; inset: 0; z-index: 9999; background: #fff;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.preloader.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }

.preloader__inner { text-align: center; }

/* Logo wipe: a faint mark underneath, the full-colour mark sweeping across it —
   echoing the split in the Aleemsons logo itself. */
.pl-logo { position: relative; width: 190px; margin: 0 auto 26px; }
.pl-logo img { display: block; width: 100%; height: auto; }
.pl-logo__ghost { filter: grayscale(1); opacity: .15; }
.pl-logo__fill  { position: absolute; inset: 0; clip-path: inset(0 100% 0 0);
                  animation: pl-wipe 2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes pl-wipe {
  0%   { clip-path: inset(0 100% 0 0); }
  45%  { clip-path: inset(0 0 0 0); }
  60%  { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 0 100%); }
}

.pl-bar { width: 148px; height: 3px; margin: 0 auto; border-radius: 3px; overflow: hidden;
          background: rgba(31, 70, 122, .14); }
.pl-bar span { display: block; height: 100%; width: 38%; border-radius: 3px;
               background: var(--accent); animation: pl-slide 1.5s ease-in-out infinite; }
@keyframes pl-slide {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(370%); }
}

.preloader__tag  { margin-top: 16px; font-size: .74rem; letter-spacing: .16em;
                   text-transform: uppercase; color: var(--muted); font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .pl-logo__fill { animation: none; clip-path: inset(0 0 0 0); }
  .pl-bar span   { animation: none; width: 100%; }
}

/* Header search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(12,26,44,.97); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility .2s; }
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__close { position: absolute; top: 26px; right: 26px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.1); border: none; cursor: pointer; transition: background .2s var(--ease); }
.search-overlay__close:hover { background: rgba(255,255,255,.22); }
.search-overlay__close svg { width: 24px; height: 24px; }
.search-overlay__form { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; max-width: 640px; background: #fff; border-radius: 14px; padding: 8px 8px 8px 50px; box-shadow: var(--shadow-lg); }
.search-overlay__ic { position: absolute; left: 16px; width: 22px; height: 22px; color: var(--muted); }
.search-overlay__form input { flex: 1; border: none; outline: none; font-size: 1.05rem; padding: 13px 4px; background: transparent; color: var(--ink); font-family: inherit; }
.search-overlay__form .btn { flex: none; }
.search-overlay__hint { color: rgba(255,255,255,.6); font-size: .85rem; }
@media (max-width: 560px) { .search-overlay__form .btn span, .search-overlay__hint { display: none; } }

/* Careers: "email your CV" instruction block */
.cv-note { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px;
           padding: 14px 16px; border: 1px dashed var(--accent);
           border-radius: var(--radius); background: rgba(31, 70, 122, .04); }
.cv-note svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.cv-note p { font-size: .89rem; line-height: 1.55; color: var(--body); margin: 0; }
.cv-note strong { color: var(--ink); }
.cv-note a { color: var(--accent); font-weight: 600; }
.cv-note a:hover { text-decoration: underline; }

.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-banner { border-radius: var(--radius); padding: 13px 16px; margin-bottom: 16px; font-size: .93rem; font-weight: 500; }
.form-banner.is-ok { background: #e9f7ee; border: 1px solid #bfe6cc; color: #1c7a43; }
.form-banner.is-err { background: #fdeced; border: 1px solid #f3c9cc; color: #b32630; }
.field input[type="file"] { padding: 9px 12px; background: #fff; cursor: pointer; }
