/* =========================================================
   ELS Textiles Ltd. — site2 stylesheet (independent of site1)
   Terry towel & bath-linen manufacturer. Distinct visual language
   from site1: warm terracotta/teal palette, tighter/structured
   radii, angular buttons, full-bleed hero slider, accent-border
   cards instead of icon-lift cards, woven-stripe motifs.
   Color scheme + light/dark mode driven at runtime via CSS custom
   properties on <html> — see assets/js/theme-switcher.js
   ========================================================= */

:root {
  /* brand colors — overridden live by the floating color switcher */
  --primary: #b5502e;
  --primary-rgb: 181, 80, 46;
  --secondary: #1f6f66;
  --secondary-rgb: 31, 111, 102;

  /* neutrals — flipped by the light/dark switcher */
  --ink: #201a16;
  --ink-soft: #4f463e;
  --muted: #78706a;
  --bg: #fffdfb;
  --bg-soft: #f7f2ec;
  --bg-alt: #efe6db;
  --border: #e5dbcd;
  --card-bg: #ffffff;
  --white: #ffffff;
  --nav-bg-scrolled: rgba(26, 20, 15, 0.95);

  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;

  /* tighter, more structured radii than site1 — an industrial-mill feel */
  --radius-lg: 12px;
  --radius-md: 8px;
  --radius-sm: 4px;

  --shadow-soft: 0 22px 46px -22px rgba(32, 22, 12, 0.32);
  --shadow-card: 0 12px 28px -16px rgba(32, 22, 12, 0.22);

  --transition: all 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="dark"] {
  --ink: #f3ede6;
  --ink-soft: #d7cbc0;
  --muted: #a89c90;
  --bg: #14100d;
  --bg-soft: #1a1511;
  --bg-alt: #211a15;
  --border: #322820;
  --card-bg: #1c1611;
  --nav-bg-scrolled: rgba(10, 8, 6, 0.95);
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-soft);
  background-color: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}

p { color: var(--muted); line-height: 1.75; }
a { text-decoration: none; color: inherit; }
::selection { background: var(--primary); color: var(--white); }

.text-primary-c { color: var(--primary) !important; }
.text-secondary-c { color: var(--secondary) !important; }
.bg-soft { background-color: var(--bg-soft) !important; }
.bg-ink { background-color: var(--ink) !important; }

.section-padding { padding: 100px 0; }
@media (max-width: 767.98px) { .section-padding { padding: 66px 0; } }
.container { max-width: 1260px; }

/* ---------- buttons — soft rounded, shadow-lift, sliding icon
   (a current, widely-used pattern: solid rounded-lg fill, no gimmicky
   angled cuts, icon nudges on hover) ---------- */
.btn { font-family: var(--font-head); font-weight: 600; font-size: 0.94rem; border-radius: 10px; padding: 0.85rem 1.9rem; transition: var(--transition); letter-spacing: 0.01em; border: none; }
.btn i { transition: transform 0.25s ease; display: inline-block; }
.btn:hover i { transform: translateX(4px); }

.btn-brand {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px -10px rgba(var(--primary-rgb), 0.65);
}
.btn-brand:hover, .btn-brand:focus { color: var(--white); background: var(--secondary); box-shadow: 0 14px 30px -10px rgba(var(--secondary-rgb), 0.55); transform: translateY(-2px); }

.btn-brand-outline { border: 1.5px solid rgba(255,255,255,0.55); color: var(--white); background: transparent; }
.btn-brand-outline:hover { background: var(--white); color: var(--ink); transform: translateY(-2px); border-color: var(--white); }

.btn-secondary-c { background: var(--secondary); color: var(--white); box-shadow: 0 10px 24px -10px rgba(var(--secondary-rgb), 0.55); }
.btn-secondary-c:hover { color: var(--white); background: var(--primary); box-shadow: 0 14px 30px -10px rgba(var(--primary-rgb), 0.55); transform: translateY(-2px); }

.btn-sm-pill { padding: 0.6rem 1.5rem; font-size: 0.85rem; border-radius: 50px; }

/* ---------- section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 0.76rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--primary);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--secondary); display: inline-block; }

.section-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); margin-bottom: 18px; }
.section-sub { max-width: 640px; color: var(--muted); }
.section-sub.mx-auto { text-align: center; margin-left: auto; margin-right: auto; }

/* =========================================================
   TOPBAR
   ========================================================= */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar a { color: rgba(255,255,255,0.72); }
.topbar a:hover { color: var(--secondary); }
.topbar .divider { color: rgba(255,255,255,0.22); }
.topbar .topbar-social a {
  width: 26px; height: 26px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); margin-left: 6px; font-size: 0.75rem;
  transition: var(--transition);
}
.topbar .topbar-social a:hover { background: var(--secondary); color: var(--white); }

/* =========================================================
   NAVBAR
   ========================================================= */
.site-navbar {
  position: fixed; top: 0; width: 100%; z-index: 1050;
  padding: 0; transition: var(--transition); background: transparent;
  top: 39px;
}
.site-navbar.scrolled {
  background: var(--nav-bg-scrolled);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -15px rgba(0,0,0,0.4);
  top: 0;
}

/* ---------- centred-logo split navbar (logo sits between two menu halves on
   desktop, matching acstextiles.com's two-tier / centred-brand layout) ---------- */
.navbar-split-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.nav-side { flex: 1 1 0; display: flex; }
.nav-side .navbar-nav { flex-direction: row; align-items: center; }
.nav-side-left { justify-content: flex-end; }
.nav-side-right { justify-content: flex-start; }

.navbar-brand-rmg { display: flex; flex-direction: column; align-items: center; gap: 2px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.02em; text-align: center; padding: 0 28px; }
.navbar-brand-rmg img, .navbar-brand-rmg svg { width: 46px; height: 46px; object-fit: contain; }
.navbar-brand-rmg .brand-sub { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.56rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--secondary); margin-top: 2px; }

@media (max-width: 991.98px) {
  .navbar-split-inner { padding: 14px 0; }
  .navbar-brand-rmg { flex-direction: row; text-align: left; padding: 0; }
}

.site-navbar .nav-link { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.9rem; padding: 0.5rem 0.9rem !important; transition: var(--transition); position: relative; }
.site-navbar .nav-link:hover, .site-navbar .nav-link.active { color: var(--secondary); }

.site-navbar .nav-link-wrap { display: flex; align-items: center; }
.site-navbar .nav-item.dropdown { position: relative; }
.site-navbar .dropdown-caret {
  background: none; border: none; color: rgba(255,255,255,0.65);
  padding: 0.5rem 0.55rem; font-size: 0.62rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: var(--transition); cursor: pointer;
}
.site-navbar .dropdown-caret:hover { color: var(--secondary); }
.site-navbar .dropdown-caret i { transition: transform 0.3s ease; display: block; }
.site-navbar .nav-item.dropdown.caret-open .dropdown-caret i { transform: rotate(180deg); }

.site-navbar .dropdown-menu {
  border: none; border-top: 3px solid var(--secondary); border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-soft); padding: 8px; margin-top: 10px; background: var(--card-bg);
}
.site-navbar .dropdown-item { border-radius: var(--radius-sm); padding: 10px 14px; font-size: 0.89rem; color: var(--ink-soft); transition: var(--transition); }
.site-navbar .dropdown-item:hover, .site-navbar .dropdown-item:focus { background: var(--bg-soft); color: var(--primary); }

.site-navbar .navbar-toggler { border: none; color: var(--white); font-size: 1.4rem; background: transparent; }
.site-navbar .navbar-toggler:focus { box-shadow: none; }

/* Desktop: dropdowns open on hover; caret is visible as a pure indicator; the
   nav-link itself always navigates on click. A bridging ::before pseudo-element
   plus an asymmetric transition-delay give a hover-intent grace period so the
   menu doesn't vanish while the mouse travels down into it. */
@media (min-width: 992px) {
  /* the mobile combined menu is a separate duplicate list — desktop uses the
     split nav-side-left / brand-center / nav-side-right layout instead */
  .site-navbar .navbar-collapse { display: none !important; }
  .site-navbar .dropdown-caret { display: inline-flex; pointer-events: none; }
  .site-navbar .nav-item.dropdown:hover .dropdown-caret i { transform: rotate(180deg); }
  .site-navbar .dropdown-menu {
    display: block;
    position: absolute; left: 0; top: 100%;
    min-width: 220px;
    opacity: 0; visibility: hidden; pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    transition-delay: 0.15s;
  }
  .site-navbar .dropdown-menu::before {
    content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
    background: transparent;
  }
  .site-navbar .nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);
    transition-delay: 0s;
  }
}

@media (max-width: 991.98px) {
  .site-navbar { top: 0; }
  .site-navbar .navbar-collapse { background: var(--nav-bg-scrolled); backdrop-filter: blur(10px); margin-top: 14px; padding: 10px 18px 20px; border-radius: var(--radius-md); box-shadow: 0 20px 45px -18px rgba(0,0,0,0.55); border: 1px solid rgba(255,255,255,0.08); max-height: 75vh; overflow-y: auto; }
  .site-navbar .navbar-nav { gap: 2px; }
  .site-navbar .nav-link { padding: 0.65rem 0.25rem !important; }
  .site-navbar .nav-link-wrap { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .site-navbar .nav-item:not(.dropdown) > .nav-link { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .site-navbar .dropdown-menu {
    display: none;
    position: static; background: rgba(255,255,255,0.04); box-shadow: none; border-top: none;
    margin-top: 2px; margin-bottom: 6px;
  }
  .site-navbar .dropdown-menu.show { display: block; }
  .site-navbar .btn-brand { display: inline-block; width: 100%; text-align: center; margin-top: 10px; }
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
/* Asymmetric split banner — a solid angled colour panel carries the text over
   the left ~55% of the photo, leaving the photo itself uncovered on the
   right. Deliberately different from a uniform full-bleed gradient wash. */
.page-hero {
  position: relative; padding: 172px 0 68px; min-height: 400px; display: flex; align-items: center;
  background: var(--ink);
  background-size: cover; background-position: center;
  overflow: hidden;
}
.page-hero .overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(155deg, rgba(var(--primary-rgb),0.95), rgba(20,16,13,0.96));
  clip-path: polygon(0 0, 64% 0, 46% 100%, 0 100%);
}
/* The angled overlay above only covers the left ~46-64% of the banner, so the
   transparent floating navbar (site-navbar, unscrolled) has nothing dark behind
   it where it crosses the uncovered right-hand photo — logo/menu links can read
   poorly there depending on the photo. This full-width top shade sits behind
   the navbar strip only, independent of the clip-path, so nav text/logo stay
   legible everywhere without darkening the rest of the photo. */
.page-hero::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 190px; z-index: 1;
  background: linear-gradient(180deg, rgba(10,8,6,0.55) 0%, rgba(10,8,6,0.24) 60%, rgba(10,8,6,0) 100%);
  pointer-events: none;
}
.page-hero .content { position: relative; z-index: 2; max-width: 460px; }
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.page-hero .breadcrumb-rmg { color: rgba(255,255,255,0.65); font-size: 0.9rem; }
.page-hero .breadcrumb-rmg a { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb-rmg a:hover { color: var(--secondary); }
.page-hero .breadcrumb-rmg .sep { margin: 0 8px; opacity: 0.5; }
@media (max-width: 767.98px) {
  .page-hero { padding: 150px 0 56px; min-height: 320px; }
  .page-hero .overlay { clip-path: none; background: linear-gradient(160deg, rgba(var(--primary-rgb),0.94), rgba(20,16,13,0.94)); }
  .page-hero .content { max-width: 100%; }
}

/* =========================================================
   HOME HERO — full-bleed slider (distinct from site1's split hero)
   ========================================================= */
.hero-slider { position: relative; min-height: 100vh; display: flex; align-items: center; background: var(--ink); overflow: hidden; }
.hero-slideshow { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.8s ease, transform 8s ease; transform: scale(1.06); }
.hero-slide.active { opacity: 1; transform: scale(1); }
/* left-to-right wash (dark behind the text column, lets the photo show through on the
   right) layered with a light top/bottom vignette for navbar + dots legibility */
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(14,11,8,0.86) 0%, rgba(14,11,8,0.58) 32%, rgba(14,11,8,0.22) 58%, rgba(14,11,8,0.08) 82%),
    linear-gradient(180deg, rgba(14,11,8,0.5) 0%, rgba(14,11,8,0) 20%, rgba(14,11,8,0) 76%, rgba(14,11,8,0.4) 100%);
}
.hero-slider .content { position: relative; z-index: 2; width: 100%; text-align: left; padding-top: 120px; padding-bottom: 60px; }

.hero-eyebrow-strip { display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: var(--white); padding: 9px 22px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 28px; border-radius: 50px; }
.hero-eyebrow-strip i { color: var(--secondary); }
.hero-slider h1 { color: var(--white); font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.12; margin: 0 0 22px; max-width: 800px; }
.hero-slider h1 span { color: var(--secondary); }
.hero-slider p.lead { color: rgba(255,255,255,0.72); font-size: 1.08rem; max-width: 520px; margin: 0 0 36px; }
.hero-slider .hero-btn-row { display: flex; gap: 16px; justify-content: flex-start; flex-wrap: wrap; margin-bottom: 54px; }

.hero-stats { display: flex; gap: 44px; margin-top: 10px; flex-wrap: wrap; justify-content: flex-start; }
.hero-stats .stat-num { font-family: var(--font-head); font-weight: 700; font-size: 1.75rem; color: var(--white); }
.hero-stats .stat-label { font-size: 0.74rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.07em; }

/* vertical "scroll" cue, pinned to the hero's right edge like a lot of current
   full-bleed-photo heroes use instead of (or alongside) slide dots */
.hero-scroll-cue {
  position: absolute; right: 34px; bottom: 90px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.6); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
}
.hero-scroll-cue span { writing-mode: vertical-rl; }
.hero-scroll-cue i { animation: scrollBounce 1.6s ease-in-out infinite; color: var(--secondary); }
@keyframes scrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (max-width: 991.98px) { .hero-scroll-cue { display: none; } }

.hero-slide-dots { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 10px; }
.hero-slide-dots button { width: 10px; height: 10px; border-radius: 2px; background: rgba(255,255,255,0.35); border: none; transition: var(--transition); cursor: pointer; padding: 0; }
.hero-slide-dots button.active { background: var(--secondary); width: 30px; }

/* woven-stripe edge separating the hero from the section below */
.hero-slider::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; z-index: 2;
  background: repeating-linear-gradient(115deg, var(--bg) 0 26px, transparent 26px 52px);
  clip-path: polygon(0 100%, 100% 100%, 100% 40%, 0 100%);
  opacity: 0.9;
}

/* =========================================================
   ABOUT BANNER — full-width background photo with an overlaid text panel
   (matches acstextiles.com's About section treatment: bg image + overlay
   text, not a side-by-side split like site1's about-visual)
   ========================================================= */
.about-banner { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 500px; display: flex; align-items: center; background-size: cover; background-position: center; box-shadow: var(--shadow-soft); }
.about-banner .overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,16,13,0.94) 0%, rgba(20,16,13,0.8) 42%, rgba(20,16,13,0.2) 78%, rgba(20,16,13,0.05) 100%); }
.about-banner .content { position: relative; z-index: 2; padding: 52px; max-width: 620px; }
.about-banner .content .eyebrow { color: var(--secondary); }
.about-banner .content h2 { color: var(--white); }
.about-banner .content p { color: rgba(255,255,255,0.72); }
@media (max-width: 767.98px) { .about-banner { min-height: 420px; } .about-banner .content { padding: 32px 24px; } }

/* =========================================================
   ABOUT / SPLIT SECTIONS
   ========================================================= */
.about-visual { position: relative; display: flex; align-items: center; justify-content: center; padding: 26px; }
.about-visual .weave-frame { position: absolute; width: 90%; height: 90%; border: 10px solid var(--bg-alt); border-radius: var(--radius-lg); z-index: 0; }
.about-visual img { position: relative; z-index: 1; width: 100%; max-width: 460px; aspect-ratio: 4/4.7; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.about-visual .exp-badge { position: absolute; z-index: 2; bottom: 4%; left: -6px; background: var(--primary); color: var(--white); border-radius: var(--radius-md); padding: 18px 22px; box-shadow: var(--shadow-soft); }
.about-visual .exp-badge .num { font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--white); line-height: 1; }
.about-visual .exp-badge .lbl { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.8); }

.check-list { list-style: none; padding: 0; margin: 26px 0 32px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 15px; color: var(--ink); font-weight: 500; }
.check-list li i { color: var(--white); background: var(--secondary); width: 26px; height: 26px; min-width: 26px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; margin-top: 2px; }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; padding-top: 44px; border-top: 2px solid var(--border); }
.stats-row .stat-block { text-align: center; position: relative; }
.stats-row .stat-num { font-family: var(--font-head); font-weight: 700; font-size: 2.25rem; color: var(--ink); }
.stats-row .stat-num span { color: var(--primary); }
.stats-row .stat-label { color: var(--muted); font-size: 0.82rem; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
@media (max-width: 767.98px) { .stats-row { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }

/* =========================================================
   FEATURE / FACILITY CARDS — left accent-border, no icon lift
   ========================================================= */
.feature-card { background: var(--card-bg); border-radius: var(--radius-md); padding: 34px 28px; height: 100%; box-shadow: var(--shadow-card); transition: var(--transition); border-left: 4px solid var(--secondary); }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-left-color: var(--primary); }
.feature-icon { width: 54px; height: 54px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--primary); font-size: 1.35rem; margin-bottom: 20px; transition: var(--transition); }
.feature-card:hover .feature-icon { background: var(--primary); color: var(--white); }
.feature-card h4 { font-size: 1.08rem; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; margin-bottom: 0; }

.section-dark { background: var(--ink); position: relative; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.6); }

.feature-card-glass { background: rgba(255,255,255,0.06); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-left: 4px solid var(--secondary); box-shadow: none; }
.feature-card-glass h4 { color: var(--white); }
.feature-card-glass p { color: rgba(255,255,255,0.62); }
.feature-card-glass:hover { background: rgba(255,255,255,0.1); box-shadow: 0 26px 50px -18px rgba(0,0,0,0.4); }

/* ---------- facility cards (manufacturing page) ---------- */
.facility-card { background: var(--card-bg); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); height: 100%; }
.facility-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.facility-card .facility-media { aspect-ratio: 16/11; overflow: hidden; position: relative; }
.facility-card .facility-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.facility-card:hover .facility-media img { transform: scale(1.06); }
.facility-card .facility-step { position: absolute; top: 14px; left: 14px; z-index: 2; width: 34px; height: 34px; border-radius: var(--radius-sm); background: var(--primary); color: var(--white); font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.facility-card .facility-body { padding: 24px 24px 26px; }
.facility-card .facility-body h4 { margin-bottom: 6px; font-size: 1.05rem; }
.facility-card .facility-body p { font-size: 0.88rem; margin-bottom: 0; }

/* ---------- Parallax sections ---------- */
.parallax-section { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 128px 0; overflow: hidden; }
.parallax-section .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,13,10,0.86), rgba(18,13,10,0.92)); }
.parallax-section .content { position: relative; z-index: 2; }
.parallax-section .content h2, .parallax-section .content h3, .parallax-section .content h4 { color: var(--white); }
.parallax-section .content p { color: rgba(255,255,255,0.62); }
@media (max-width: 767.98px) { .parallax-section { background-attachment: scroll; } }

.parallax-banner { position: relative; background-size: cover; background-position: center; background-attachment: fixed; padding: 128px 0; text-align: center; overflow: hidden; }
.parallax-banner .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(var(--primary-rgb),0.72), rgba(18,13,10,0.88)); }
.parallax-banner .content { position: relative; z-index: 2; }
.parallax-banner h2 { color: var(--white); font-size: clamp(1.85rem, 4vw, 2.9rem); max-width: 800px; margin: 0 auto 30px; line-height: 1.32; }
.parallax-banner .fa-quote-left { font-size: 1.9rem; color: var(--secondary); margin-bottom: 24px; display: inline-block; }
@media (max-width: 767.98px) { .parallax-banner { background-attachment: scroll; } }

/* =========================================================
   CERTIFICATION CHIPS + STEP SLIDER
   ========================================================= */
.badge-card {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  border-bottom: 3px solid var(--secondary);
  box-shadow: var(--shadow-card);
  padding: 22px 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
}
.badge-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-bottom-color: var(--primary);
}
.badge-card .badge-media {
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.badge-card .badge-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(8%);
  transition: var(--transition);
}
.badge-card:hover .badge-media img { filter: grayscale(0%); }
.badge-card .badge-label { font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }

.step-slider { position: relative; display: flex; align-items: center; gap: 14px; }
.step-slider-viewport { overflow: hidden; flex: 1; }
.step-slider-track { display: flex; will-change: transform; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.step-slider-track.no-transition { transition: none !important; }
.step-slide {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 10px;
  box-sizing: border-box;
}
@media (min-width: 576px) { .step-slide { flex-basis: 33.3333%; max-width: 33.3333%; } }
@media (min-width: 768px) { .step-slide { flex-basis: 25%; max-width: 25%; } }
@media (min-width: 992px) { .step-slide { flex-basis: 20%; max-width: 20%; } }
.step-slide .badge-card { padding: 22px 14px; }

.step-nav {
  flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  background: var(--card-bg); border: 1px solid var(--border);
  box-shadow: var(--shadow-card); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; transition: var(--transition);
}
.step-nav:hover { background: var(--primary); color: var(--white); border-color: transparent; }
@media (max-width: 575.98px) { .step-nav { width: 38px; height: 38px; font-size: 0.78rem; } }

/* =========================================================
   CLIENT LOGO WALL — flat grid, thin border, no shadow (understated)
   ========================================================= */
.client-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (max-width: 991.98px) { .client-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 575.98px) { .client-wall { grid-template-columns: repeat(3, 1fr); } }

.client-tile {
  background: var(--card-bg);
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
  transition: var(--transition);
}
.client-tile:hover { background: var(--bg-soft); }
.client-tile .client-logo {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* =========================================================
   PRODUCT GALLERY (category cards + filterable grid + lightbox)
   ========================================================= */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px; }
.filter-tabs button {
  border: 1.5px solid var(--border); background: var(--card-bg); color: var(--muted);
  font-family: var(--font-head); font-size: 0.84rem; font-weight: 600;
  padding: 10px 22px; border-radius: var(--radius-sm); transition: var(--transition);
}
.filter-tabs button:hover, .filter-tabs button.active { background: var(--primary); border-color: var(--primary); color: var(--white); }

.catalog-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg-alt);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
}
.catalog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.catalog-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.catalog-card:hover img { transform: scale(1.08); }
.catalog-card .badge-tag {
  position: absolute; top: 14px; left: 0; z-index: 2;
  background: var(--secondary); color: var(--white);
  font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  padding: 6px 16px 6px 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
.catalog-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 46px 20px 18px;
  background: linear-gradient(180deg, transparent, rgba(18, 13, 10, 0.92) 82%);
}
.catalog-caption .cat { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--secondary); font-weight: 700; }
.catalog-caption h5 { margin: 4px 0 0; font-size: 1.02rem; color: var(--white); }

.lightbox-modal .modal-dialog { max-width: 900px; }
.lightbox-modal .modal-content { background: transparent; border: none; }
.lightbox-modal .modal-body { padding: 0; position: relative; }
.lightbox-modal img { width: 100%; border-radius: var(--radius-md); box-shadow: var(--shadow-soft); max-height: 82vh; object-fit: contain; background: var(--ink); }
.lightbox-modal .btn-close { position: absolute; top: -14px; right: -14px; background-color: var(--white); border-radius: 50%; padding: 10px; opacity: 1; box-shadow: var(--shadow-card); z-index: 2; }
.lightbox-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 24px; background: linear-gradient(0deg, rgba(0,0,0,0.75), transparent); border-radius: 0 0 var(--radius-md) var(--radius-md); color: var(--white); font-family: var(--font-head); font-weight: 600; }

/* =========================================================
   TIMELINE (about page)
   ========================================================= */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.timeline-item { position: relative; padding-bottom: 42px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ""; position: absolute; left: -40px; top: 4px; width: 18px; height: 18px; border-radius: var(--radius-sm); background: var(--card-bg); border: 3px solid var(--secondary); transform: rotate(45deg); }
.timeline-item .year { font-family: var(--font-head); font-weight: 700; color: var(--primary); font-size: 1.05rem; margin-bottom: 6px; }

/* =========================================================
   QUALITY LAB / LEADERSHIP TEAM
   ========================================================= */
.team-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); background: var(--card-bg); transition: var(--transition); }
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); }
.team-card .photo { aspect-ratio: 1/1.05; overflow: hidden; position: relative; }
.team-card .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.team-card:hover .photo img { transform: scale(1.07); }
.team-card .info { padding: 20px 22px; border-top: 3px solid var(--secondary); }
.team-card .info h5 { margin-bottom: 2px; font-size: 1.05rem; }
.team-card .info .role { color: var(--primary); font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-card { background: var(--card-bg); border-radius: var(--radius-lg); padding: 42px 38px; box-shadow: var(--shadow-card); max-width: 720px; margin: 0 auto; text-align: center; border-top: 4px solid var(--secondary); }
.testimonial-card .stars { color: var(--secondary); margin-bottom: 18px; font-size: 0.92rem; }
.testimonial-card p.quote { font-size: 1.12rem; color: var(--ink); font-weight: 500; line-height: 1.7; margin-bottom: 26px; }
.testimonial-card .person { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-card .avatar { width: 50px; height: 50px; border-radius: var(--radius-sm); background: var(--primary); display: flex; align-items: center; justify-content: center; color: var(--white); font-family: var(--font-head); font-weight: 700; }
.testimonial-card .p-name { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.94rem; }
.testimonial-card .p-role { font-size: 0.78rem; color: var(--muted); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-info-card { background: var(--bg-soft); border-radius: var(--radius-md); padding: 24px 22px; display: flex; gap: 18px; align-items: flex-start; margin-bottom: 16px; transition: var(--transition); border-left: 3px solid transparent; }
.contact-info-card:hover { border-left-color: var(--secondary); background: var(--card-bg); box-shadow: var(--shadow-card); }
.contact-info-card i { width: 44px; height: 44px; min-width: 44px; border-radius: var(--radius-sm); background: var(--primary); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.contact-info-card h6 { margin-bottom: 4px; font-size: 0.94rem; }
.contact-info-card p { margin-bottom: 0; font-size: 0.86rem; }

.social-inline { display: flex; gap: 10px; margin-top: 8px; }
.social-inline a { width: 38px; height: 38px; border-radius: var(--radius-sm); background: var(--primary); color: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-inline a:hover { background: var(--secondary); transform: translateY(-4px); }

.contact-form-wrap { background: var(--ink); border-radius: var(--radius-lg); padding: 44px 40px; position: relative; overflow: hidden; }
.contact-form-wrap::before { content: ""; position: absolute; width: 300px; height: 300px; background: radial-gradient(circle, rgba(var(--secondary-rgb),0.28), transparent 70%); top: -100px; right: -100px; }
.contact-form-wrap h3 { color: var(--white); margin-bottom: 8px; }
.contact-form-wrap p.form-sub { color: rgba(255,255,255,0.55); margin-bottom: 28px; }

.form-control-rmg { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); color: var(--white); border-radius: var(--radius-sm); padding: 14px 18px; font-size: 0.93rem; width: 100%; margin-bottom: 16px; transition: var(--transition); }
.form-control-rmg::placeholder { color: rgba(255,255,255,0.4); }
.form-control-rmg:focus { outline: none; border-color: var(--secondary); background: rgba(255,255,255,0.09); box-shadow: 0 0 0 4px rgba(var(--secondary-rgb),0.15); }
textarea.form-control-rmg { resize: none; min-height: 128px; }
.form-msg { font-size: 0.85rem; margin-top: -6px; margin-bottom: 12px; min-height: 20px; }
.form-msg.success { color: #6ee7b7; }
.form-msg.error { color: #fca5a5; }

.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); border: 1px solid var(--border); filter: sepia(8%) saturate(85%); }

/* =========================================================
   NEWSLETTER / CTA STRIP — angular banner
   ========================================================= */
.newsletter-strip { background: linear-gradient(120deg, var(--primary), rgba(var(--primary-rgb),0.78)); border: none; border-radius: var(--radius-lg); padding: 48px 44px; position: relative; z-index: 5; box-shadow: var(--shadow-soft); clip-path: polygon(0 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px)); }
.newsletter-strip h4 { color: var(--white); margin-bottom: 6px; }
.newsletter-strip p { color: rgba(255,255,255,0.62); margin-bottom: 0; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { border: none; border-radius: var(--radius-sm); padding: 14px 22px; flex: 1; min-width: 0; font-size: 0.92rem; }
.newsletter-form input:focus { outline: none; box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
@media (max-width: 575.98px) { .newsletter-form { flex-direction: column; } }

/* =========================================================
   FOOTER — clean 4-column professional layout
   ========================================================= */
/* Centred single-column layout — deliberately not a multi-column footer
   like site1's, so the two sites never read as reskins of each other. */
.site-footer { background: var(--ink); padding: 84px 0 0; color: rgba(255,255,255,0.6); text-align: center; }
.footer-brand-center { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand-center img, .footer-brand-center svg { width: 48px; height: 48px; object-fit: contain; }
.footer-brand-center span { font-family: var(--font-head); font-weight: 700; color: var(--white); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; }
.footer-tagline { max-width: 560px; margin: 0 auto 34px; color: rgba(255,255,255,0.55); }
.footer-nav-row { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 0; margin: 0 0 34px; }
.footer-nav-row a { display: inline-block; padding: 9px 20px; border-radius: 50px; font-size: 0.86rem; color: rgba(255,255,255,0.78); transition: var(--transition); }
.footer-nav-row a:hover { background: rgba(255,255,255,0.08); color: var(--secondary); }
.footer-contact-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 30px; margin-bottom: 30px; font-size: 0.88rem; }
.footer-contact-row .fc-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.65); }
.footer-contact-row .fc-item i { color: var(--secondary); }
.site-footer .social-inline { justify-content: center; margin: 0 0 44px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; font-size: 0.84rem; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--secondary); }
@media (min-width: 768px) { .footer-bottom { justify-content: space-between; } }

/* =========================================================
   BACK TO TOP
   ========================================================= */
#backToTop { position: fixed; bottom: 28px; right: 28px; width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(var(--primary-rgb),0.6); opacity: 0; visibility: hidden; transform: translateY(14px); transition: var(--transition); z-index: 1000; border: none; }
#backToTop.show { opacity: 1; visibility: visible; transform: translateY(0); }
#backToTop:hover { background: var(--secondary); transform: translateY(-5px); }

/* =========================================================
   FLOATING PREFERENCES DOCK — square swatches, vertical tray
   (visually distinct from site1's circular FAB + circle swatches)
   ========================================================= */
.prefs-dock { position: fixed; bottom: 28px; left: 28px; z-index: 1000; font-family: var(--font-body); }
.prefs-fab { width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--primary); border: none; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card); cursor: pointer; transition: var(--transition); font-size: 1.05rem; }
.prefs-fab:hover { transform: translateY(-4px); background: var(--secondary); }
.prefs-fab.spinning i { animation: spinIcon 0.6s ease; }
@keyframes spinIcon { from { transform: rotate(0); } to { transform: rotate(180deg); } }

.prefs-tray {
  position: absolute; bottom: 60px; left: 0; width: 244px;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft); padding: 20px; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: var(--transition);
}
.prefs-tray.open { opacity: 1; visibility: visible; transform: translateY(0); }
.prefs-tray h6 { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); margin-bottom: 12px; }
.prefs-tray h6:not(:first-child) { margin-top: 18px; }
.prefs-swatches { display: flex; gap: 9px; flex-wrap: wrap; }
.prefs-swatch { width: 26px; height: 26px; border-radius: var(--radius-sm); border: 2px solid var(--card-bg); box-shadow: 0 0 0 1.5px var(--border); cursor: pointer; transition: var(--transition); padding: 0; }
.prefs-swatch:hover { transform: scale(1.14) rotate(6deg); }
.prefs-swatch.active { box-shadow: 0 0 0 2px var(--primary); }
.prefs-mode-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.prefs-mode-toggle button { flex: 1; border: none; background: transparent; color: var(--muted); padding: 8px 0; font-size: 0.82rem; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 6px; }
.prefs-mode-toggle button.active { background: var(--primary); color: var(--white); }

/* =========================================================
   HOME HERO — circular prev/next arrow controls
   ========================================================= */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.32);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: var(--transition); cursor: pointer; font-size: 0.95rem;
}
.hero-arrow:hover { background: var(--secondary); border-color: var(--secondary); }
.hero-arrow.prev { left: 26px; }
.hero-arrow.next { right: 26px; }
@media (max-width: 767.98px) { .hero-arrow { display: none; } }

/* ---------- outline button for use on light backgrounds ---------- */
.btn-outline-ink { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline-ink:hover, .btn-outline-ink:focus { background: var(--ink); color: var(--white); transform: translateY(-2px); }

/* =========================================================
   ABOUT US SNIPPET — centred icon badge + split copy/video card
   ========================================================= */
.icon-badge-circle {
  width: 70px; height: 70px; border-radius: 50%; background: var(--bg-soft);
  border: 2px solid var(--secondary); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 18px;
}

.video-embed-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4/3.1; }
.video-embed-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-embed-card::after { content: ""; position: absolute; inset: 0; background: rgba(20,16,13,0.26); }
.video-play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 74px; height: 74px; border-radius: 50%; background: rgba(255,255,255,0.94);
  color: var(--primary); border: none; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; box-shadow: 0 14px 34px -10px rgba(0,0,0,0.5); transition: var(--transition);
}
.video-play-btn:hover { background: var(--primary); color: var(--white); transform: translate(-50%, -50%) scale(1.08); }

/* =========================================================
   FACILITIES PHOTO GRID — photo tiles with a centred pill label
   ========================================================= */
.photo-tile { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-card); transition: var(--transition); }
.photo-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.photo-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.photo-tile:hover img { transform: scale(1.07); }
.photo-tile-label {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2;
  background: rgba(255,255,255,0.92); color: var(--ink); padding: 10px 26px; border-radius: 50px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.02em;
  white-space: nowrap; box-shadow: var(--shadow-card);
}

/* =========================================================
   PRODUCTS SPLIT — copy column + 2x2 photo grid column
   ========================================================= */
.product-grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.product-tile { position: relative; display: block; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1/1; box-shadow: var(--shadow-card); transition: var(--transition); }
.product-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.product-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.product-tile:hover img { transform: scale(1.08); }
.product-tile .product-tile-cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 2; background: rgba(20,16,13,0.72);
  color: var(--white); padding: 7px 16px; border-radius: 50px; font-size: 0.76rem; font-weight: 600;
}
@media (max-width: 575.98px) { .product-grid-2x2 { gap: 12px; } }

/* =========================================================
   STATS ROW — large serif numerals on a light band
   ========================================================= */
.stats-row-serif { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-row-serif .stat-serif-block { padding: 0 10px; position: relative; }
.stats-row-serif .stat-serif-block:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.stats-row-serif .num { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: clamp(2.15rem, 4vw, 3.1rem); color: var(--primary); line-height: 1; }
.stats-row-serif .num span { font-size: 0.5em; vertical-align: super; color: var(--secondary); }
.stats-row-serif .lbl { margin-top: 10px; font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
@media (max-width: 767.98px) { .stats-row-serif { grid-template-columns: repeat(2, 1fr); row-gap: 34px; } .stats-row-serif .stat-serif-block:nth-child(2)::after { display: none; } }

/* =========================================================
   CLIENTS LOGO CAROUSEL — paged grid with dot navigation
   ========================================================= */
.logo-carousel-viewport { overflow: hidden; }
.logo-carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.logo-page { flex: 0 0 100%; max-width: 100%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
@media (max-width: 991.98px) { .logo-page { grid-template-columns: repeat(3, 1fr); } }
.logo-carousel-tile { background: var(--card-bg); aspect-ratio: 3/2; display: flex; align-items: center; justify-content: center; padding: 20px 24px; transition: var(--transition); }
.logo-carousel-tile:hover { background: var(--bg-soft); }
.logo-carousel-tile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.logo-carousel-dots { display: flex; gap: 10px; justify-content: center; margin-top: 28px; }
.logo-carousel-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--border); border: none; padding: 0; transition: var(--transition); cursor: pointer; }
.logo-carousel-dots button.active { background: var(--primary); width: 26px; border-radius: 6px; }

/* =========================================================
   OVERLAPPING PHOTO PAIR — visitors/recognition + careers sections
   ========================================================= */
.overlap-photos { position: relative; padding: 0 30px 30px 0; }
.overlap-photos .op-back { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); display: block; }
.overlap-photos .op-front {
  position: absolute; right: 0; bottom: 0; width: 58%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); border: 6px solid var(--bg); display: block;
}
.overlap-photos-alt { padding: 0 0 30px 30px; }
.overlap-photos-alt .op-front { right: auto; left: 0; }
@media (max-width: 575.98px) { .overlap-photos, .overlap-photos-alt { padding: 0 16px 16px 0; } .overlap-photos-alt { padding: 0 0 16px 16px; } .overlap-photos .op-front, .overlap-photos-alt .op-front { width: 62%; } }

/* =========================================================
   ABOUT INTRO BAND — fixed-dark statement band, "Who We Are"
   ========================================================= */
.about-intro-band { background: var(--ink); padding: 96px 0; text-align: center; }
.about-intro-band .serif-title {
  font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic;
  font-size: clamp(2.1rem, 4.2vw, 3rem); color: var(--white); margin-bottom: 28px;
}
.about-intro-band .lead-line { color: rgba(255,255,255,0.92); font-size: 1.08rem; font-weight: 600; max-width: 760px; margin: 0 auto 14px; }
.about-intro-band p.support { color: rgba(255,255,255,0.62); max-width: 780px; margin: 0 auto; line-height: 1.85; }

/* =========================================================
   STRATEGY SPLIT + NUMBERED CARDS
   ========================================================= */
.strategy-intro-text { color: var(--muted); line-height: 1.8; }
.strategy-card {
  background: var(--card-bg); border-radius: var(--radius-md); padding: 36px 30px; height: 100%;
  box-shadow: var(--shadow-card); transition: var(--transition); border-left: 4px solid var(--secondary);
}
.strategy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-left-color: var(--primary); }
.strategy-card .strategy-num-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.strategy-card .strategy-num { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 2.4rem; color: var(--primary); line-height: 1; }
.strategy-card h4 { font-size: 1.08rem; margin: 0; }
.strategy-card p { margin: 0; font-size: 0.94rem; }

/* =========================================================
   COMPLIANCE COLUMNS — Social Compliance / Health & Safety / Ethics
   ========================================================= */
.compliance-col h5 { font-size: 1.18rem; margin-bottom: 18px; }
.compliance-col ul { list-style: none; padding: 0; margin: 0; }
.compliance-col ul li {
  position: relative; padding-left: 20px; margin-bottom: 13px; color: var(--muted); font-size: 0.93rem; line-height: 1.6;
}
.compliance-col ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--secondary);
}

/* =========================================================
   CSR ACTIVITIES STACK
   ========================================================= */
.csr-stack-item { padding: 26px 0; border-top: 1px solid var(--border); }
.csr-stack-item:last-child { padding-bottom: 0; }
.csr-stack-item h5 { color: var(--primary); margin-bottom: 10px; }
.csr-stack-item p { margin: 0; }

/* =========================================================
   SCROLL REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.1s; }
.reveal-delay-2.in-view { transition-delay: 0.2s; }
.reveal-delay-3.in-view { transition-delay: 0.3s; }
.reveal-delay-4.in-view { transition-delay: 0.4s; }

/* ---------- misc ---------- */
.preloader { position: fixed; inset: 0; background: var(--ink); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.5s ease, visibility 0.5s ease; }
.preloader.loaded { opacity: 0; visibility: hidden; }
.preloader .loader-mark { width: 54px; height: 54px; object-fit: contain; animation: floatY 1.4s ease-in-out infinite; }
@keyframes floatY { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-18px) rotate(1deg); } }

hr.section-divider { border: none; border-top: 1px solid var(--border); }
