/* ============================================================
   IBS Automation — base stylesheet
   Brand palette extracted from ibsautomation.com
   ============================================================ */

:root {
  /* Brand */
  --c-primary:        #7eb023;
  --c-primary-dark:   #6b961e;
  --c-primary-soft:   rgba(126, 176, 35, 0.08);

  /* Text */
  --c-text:           #2a2a2a;
  --c-text-muted:     #666666;
  --c-text-faint:     #999999;
  --c-text-on-dark:   #ffffff;

  /* Neutrals */
  --c-bg:             #ffffff;
  --c-bg-alt:         #f7f7f7;
  --c-bg-soft:        #f0f0f0;
  --c-border:         #ebebeb;
  --c-border-strong:  #dddddd;

  /* Dark sections */
  --c-dark:           #1a1a1a;
  --c-dark-2:         #2a2a2a;
  --c-dark-menu:      #1d1d1d;
  --c-dark-menu-2:    #242424;

  /* Type */
  --font-body:    'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head:    'Montserrat', 'Open Sans', sans-serif;
  --font-display: 'Montserrat', sans-serif;
  --font-body-ar: 'Cairo', 'Open Sans', sans-serif;
  --font-head-ar: 'Cairo', 'Montserrat', sans-serif;
  --font-paragraph-ar: 'Almarai', 'Cairo', sans-serif;
  --fs-base:      16px;
  --lh-base:      1.65;

  /* Layout */
  --container-max: 1240px;
  --container-pad: clamp(16px, 4vw, 32px);
  --radius:    2px;
  --radius-sm: 0;
  --radius-lg: 4px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
  --shadow:    0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 30px 60px rgba(0,0,0,0.18), 0 10px 20px rgba(0,0,0,0.1);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  220ms;

  /* Z */
  --z-header:   100;
  --z-dropdown: 110;
  --z-overlay:  200;
}

/* ============================================================
   Reset + base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: var(--fs-base);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* overflow-x: clip keeps children from causing horizontal scroll WITHOUT
     creating a new scroll container (which would break `position: sticky`
     on the header). `hidden` would break sticky. */
  overflow-x: clip;
  max-width: 100vw;
}

body {
  margin: 0;
  overflow-x: clip;
  max-width: 100vw;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: var(--lh-base);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html[lang="ar"] {
  font-size: 110%;
}
html[lang="ar"] body,
[dir="rtl"] body {
  font-family: var(--font-body-ar);
  line-height: 1.8;
}
html[lang="ar"] .nav-link,
html[lang="ar"] .mega-cat,
html[lang="ar"] .mega-sub a,
html[lang="ar"] .dropdown-simple li a {
  font-size: 0.84rem;
}
html[lang="ar"] .m-nav-link { font-size: 0.895rem; }
html[lang="ar"] .m-nav-level-2 > .m-nav-row > .m-nav-link { font-size: 0.85rem; }
html[lang="ar"] .m-nav-level-3 > .m-nav-row > .m-nav-link { font-size: 0.9rem; }

/* Arabic hero title 10% smaller — long Arabic phrases read larger than Latin equivalents */
html[lang="ar"] .hero h1 {
  font-size: clamp(1.53rem, 3.24vw, 2.3rem);
}

/* Paragraphs use Almarai in Arabic for easier long-form reading.
   Everything else (labels, nav, buttons, headings, form fields) stays on Cairo. */
html[lang="ar"] p,
html[lang="ar"] .hero-tagline,
html[lang="ar"] .section-subheading,
html[lang="ar"] .about-story-text p,
html[lang="ar"] .about-story-continuation p,
html[lang="ar"] .blog-card-excerpt,
html[lang="ar"] .faq-body p,
html[lang="ar"] .green-banner-body p,
html[lang="ar"] .card p,
html[lang="ar"] .service-card-teaser,
html[lang="ar"] .mvv-card p,
html[lang="ar"] .reason-card p,
html[lang="ar"] .process-flow-step p,
html[lang="ar"] .footer-about-text,
html[lang="ar"] .project-description {
  font-family: var(--font-paragraph-ar);
}
/* Form labels, buttons, nav, headings stay on Cairo explicitly */
html[lang="ar"] .contact-form label,
html[lang="ar"] .contact-form input,
html[lang="ar"] .contact-form select,
html[lang="ar"] .contact-form textarea,
html[lang="ar"] .btn,
html[lang="ar"] .nav-link,
html[lang="ar"] .mega-cat,
html[lang="ar"] .mega-sub a,
html[lang="ar"] .dropdown-simple li a,
html[lang="ar"] .lang-current,
html[lang="ar"] .m-nav-link,
html[lang="ar"] .m-lang-option,
html[lang="ar"] .footer-heading,
html[lang="ar"] .footer-col a,
html[lang="ar"] .section-eyebrow,
html[lang="ar"] .stat-label,
html[lang="ar"] .about-stat-label,
html[lang="ar"] .faq-item summary,
html[lang="ar"] .breadcrumbs,
html[lang="ar"] .project-filter-btn,
html[lang="ar"] .topbar-email,
html[lang="ar"] .topbar-phone,
html[lang="ar"] .hero-eyebrow,
html[lang="ar"] .green-banner-eyebrow,
html[lang="ar"] .blog-card-link,
html[lang="ar"] .protocol-badge,
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6 {
  font-family: var(--font-head-ar);
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="ar"] h6,
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] h4, [dir="rtl"] h5, [dir="rtl"] h6 {
  font-family: var(--font-head-ar);
}
html[lang="ar"] .nav-link,
html[lang="ar"] .btn,
html[lang="ar"] .section-eyebrow,
html[lang="ar"] .stat-label,
html[lang="ar"] .mega-cat,
html[lang="ar"] .mega-sub a,
html[lang="ar"] .dropdown-simple li a,
html[lang="ar"] .footer-heading,
html[lang="ar"] .lang-current,
html[lang="ar"] .m-nav-link,
html[lang="ar"] .faq-item summary,
[dir="rtl"] .nav-link,
[dir="rtl"] .btn,
[dir="rtl"] .section-eyebrow,
[dir="rtl"] .stat-label,
[dir="rtl"] .footer-heading {
  font-family: var(--font-head-ar);
  letter-spacing: 0;
}

/* Catch-all: Cairo + no letter-spacing for every Arabic text element that
   was styled with English-idiomatic spacing/casing that breaks Arabic script. */
html[lang="ar"] .inspiring-heading,
html[lang="ar"] .inspiring-eyebrow,
html[lang="ar"] .hero-eyebrow,
html[lang="ar"] .green-banner-eyebrow,
html[lang="ar"] .blog-card-link,
html[lang="ar"] .project-card-link,
html[lang="ar"] .service-card-cta,
html[lang="ar"] .card-link,
html[lang="ar"] .project-filter-btn,
html[lang="ar"] .protocol-badge,
html[lang="ar"] .contact-form label,
html[lang="ar"] .contact-form select,
html[lang="ar"] .contact-form select option,
html[lang="ar"] .contact-form input,
html[lang="ar"] .contact-form textarea,
html[lang="ar"] .topbar-phone,
html[lang="ar"] .topbar-email {
  font-family: var(--font-head-ar);
  letter-spacing: 0 !important;
  text-transform: none;
}
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3,
html[lang="ar"] h4, html[lang="ar"] h5, html[lang="ar"] h6 {
  letter-spacing: 0 !important;
}

/* Nuclear letter-spacing reset for Arabic:
   Arabic is a cursive script — any positive letter-spacing disconnects
   the letters and makes text look like random disconnected glyphs. No
   Arabic text in any design benefits from letter-spacing > 0, so we
   zero it out universally. This catches dozens of selectors across
   hero subs, buttons, badges, filter tabs, card labels, etc. */
html[lang="ar"] *,
[dir="rtl"] * {
  letter-spacing: 0 !important;
}
/* Arabic: never uppercase nav-like text — Arabic doesn't have case, and
   `text-transform: uppercase` combined with letter-spacing breaks the script. */
html[lang="ar"] .nav-link,
html[lang="ar"] .mega-cat,
html[lang="ar"] .mega-sub a,
html[lang="ar"] .dropdown-simple li a,
html[lang="ar"] .btn,
html[lang="ar"] .faq-item summary,
html[lang="ar"] .project-filter-btn,
html[lang="ar"] .section-eyebrow,
html[lang="ar"] .hero-eyebrow,
html[lang="ar"] .green-banner-eyebrow,
html[lang="ar"] .inspiring-eyebrow,
html[lang="ar"] .inspiring-heading,
html[lang="ar"] .stat-label,
html[lang="ar"] .about-stat-label,
html[lang="ar"] .footer-heading,
html[lang="ar"] .blog-card-link,
html[lang="ar"] .service-card-cta,
html[lang="ar"] .protocol-badge,
html[lang="ar"] .project-card-title {
  text-transform: none;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  color: var(--c-dark-2);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.7rem, 3.6vw, 2.55rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.28rem, 2.72vw, 1.9rem); }
h3 { font-size: clamp(0.98rem, 1.53vw, 1.2rem); }
h4 { font-size: 0.9rem; }

p { margin: 0 0 1em; }

a {
  color: var(--c-primary-dark);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--c-primary); }

img, svg { max-width: 100%; height: auto; display: block; }

button { font: inherit; cursor: pointer; border: 0; background: transparent; }

ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.icon { flex-shrink: 0; }

[dir="rtl"] .icon-directional { transform: scaleX(-1); }

/* ============================================================
   Buttons — sharp corners, WordPress style
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0;
  border: 2px solid transparent;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}
.btn-primary:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-border-strong);
}
.btn-outline:hover {
  border-color: var(--c-primary);
  color: var(--c-primary-dark);
  background: transparent;
}
.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.btn-ghost {
  padding-inline: 0;
  color: var(--c-primary-dark);
  font-weight: 700;
}
.btn-ghost:hover { color: var(--c-primary); }

/* ============================================================
   Header — topbar + dark-styled mega nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}
.navbar {
  background: #fff;
  transition: box-shadow var(--dur) var(--ease);
}
.site-header[data-scrolled] .navbar { box-shadow: var(--shadow-sm); }

.topbar {
  background: var(--c-dark-menu);
  color: #bbb;
  font-size: 0.82rem;
  max-height: 160px;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), opacity 0.2s var(--ease);
}
.site-header[data-scrolled] .topbar {
  max-height: 0;
  opacity: 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 22px;
}
.topbar-email {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 600;
}
.topbar-email:hover { color: var(--c-primary); }

.topbar-social { display: inline-flex; gap: 6px; align-items: center; }
.topbar-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  color: #ddd;
  transition: color var(--dur);
}
.topbar-social a:hover { color: var(--c-primary); }

.topbar-phones {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ddd;
  font-weight: 600;
  flex-wrap: wrap;
}
.topbar-phone-icon { color: #fff; margin-inline-end: 4px; }
.topbar-phone {
  color: #ddd;
  padding: 0 4px;
}
.topbar-phone:hover { color: var(--c-primary); }
.topbar-phone + .topbar-phone::before {
  content: "-";
  margin-inline-end: 8px;
  color: #555;
}

@media (max-width: 1024px) {
  .topbar-email span { display: none; }
}
@media (max-width: 768px) {
  .topbar-phones { display: none; }
  .topbar-inner { justify-content: space-between; min-height: 40px; }
}

.navbar { background: #fff; }
.navbar-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 88px;
}

.brand { display: inline-flex; flex-shrink: 0; }
.brand img { height: 32px; width: auto; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-inline-start: auto;
  padding: 8px;
}
.nav-toggle-bar {
  display: block;
  width: 26px; height: 2px;
  background: var(--c-text);
  border-radius: 2px;
}

.primary-nav {
  margin-inline-start: auto;
  margin-inline-end: 28px;
}
.nav-list {
  display: flex;
  gap: 14px;
  align-items: center;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.77rem;
  color: var(--c-text);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nav-link:hover { color: var(--c-primary); }
.nav-item.has-dropdown:hover > .nav-link,
.nav-item.current > .nav-link { color: var(--c-primary); }

.nav-chevron { transition: transform var(--dur); }
.nav-item.has-dropdown:hover .nav-chevron { transform: rotate(180deg); }
[dir="rtl"] .nav-item.has-dropdown:hover .nav-chevron { transform: rotate(180deg) scaleX(-1); }

/* Dropdown (simple — Services) */
.dropdown {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  background: var(--c-dark-menu);
  color: #fff;
  padding: 8px 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--dur) var(--ease);
  z-index: var(--z-dropdown);
  box-shadow: var(--shadow-lg);
  border-bottom: 3px solid var(--c-primary);
}
.nav-item.has-dropdown:hover > .dropdown,
.nav-item.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-simple ul { display: flex; flex-direction: column; }
.dropdown-simple li a {
  display: block;
  padding: 12px 18px;
  color: #ddd;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: start;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dropdown-simple li:last-child a { border-bottom: 0; }
.dropdown-simple li a:hover {
  background: var(--c-dark-menu-2);
  color: var(--c-primary);
}

/* Mega menu — cascade: categories first, sub-panel only when a category is hovered */
.dropdown-mega {
  display: flex;
  inset-inline-start: 0;
  inset-inline-end: auto;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
}
.mega-categories {
  display: flex;
  flex-direction: column;
  background: var(--c-dark-menu);
  min-width: 260px;
  padding: 8px 0;
  border-bottom: 3px solid var(--c-primary);
  box-shadow: var(--shadow-lg);
}
.mega-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  color: #ddd;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: color var(--dur);
}
[dir="rtl"] .mega-cat { text-align: right; }
.mega-cat:last-child { border-bottom: 0; }
.mega-cat-chevron { opacity: 0.4; transition: all var(--dur); flex-shrink: 0; }
.mega-cat:hover,
.mega-cat.is-active {
  color: var(--c-primary);
  background: var(--c-dark-menu-2);
}
.mega-cat:hover .mega-cat-chevron,
.mega-cat.is-active .mega-cat-chevron {
  opacity: 1;
  transform: translateX(2px);
}
[dir="rtl"] .mega-cat:hover .mega-cat-chevron,
[dir="rtl"] .mega-cat.is-active .mega-cat-chevron {
  transform: translateX(-2px) scaleX(-1);
}

.mega-subs {
  position: relative;
  min-width: 0;
  width: 0;
  background: var(--c-dark-menu);
  padding: 0;
  overflow: hidden;
  transition: width var(--dur) var(--ease), padding var(--dur) var(--ease);
  box-shadow: none;
  border-bottom: 0;
}
.dropdown-mega.has-active-sub .mega-subs {
  width: 300px;
  padding: 8px 0;
  border-bottom: 3px solid var(--c-primary);
  box-shadow: var(--shadow-lg);
}
.mega-sub {
  display: none;
  flex-direction: column;
}
.mega-sub.is-active { display: flex; }
.mega-sub a {
  display: block;
  padding: 12px 14px;
  color: #ddd;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.77rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
}
[dir="rtl"] .mega-sub a { text-align: right; }
.mega-sub a:last-child { border-bottom: 0; }
.mega-sub a:hover {
  background: var(--c-dark-menu-2);
  color: var(--c-primary);
}

.lang-switcher {
  position: relative;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}
.lang-current {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: transparent;
  color: var(--c-text);
  text-transform: uppercase;
  cursor: pointer;
}
.lang-current img {
  width: 20px; height: 13px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}
.lang-chevron {
  opacity: 0.5;
  transition: transform var(--dur);
}
.lang-switcher[data-open] .lang-chevron { transform: rotate(180deg); }
.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline-end: 0;
  min-width: 120px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--c-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all var(--dur) var(--ease);
  z-index: var(--z-dropdown);
}
.lang-switcher[data-open] .lang-dropdown,
.lang-switcher:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--c-text);
  text-transform: uppercase;
}
.lang-dropdown a:hover { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.lang-dropdown img {
  width: 20px; height: 13px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
}

/* ============================================================
   Mobile navbar + drawer
   ============================================================ */
.mobile-drawer { display: none; }

@media (max-width: 1100px) {
  /* Desktop nav + lang hidden on mobile */
  .primary-nav-desktop,
  .lang-switcher-desktop { display: none; }

  /* Navbar: hamburger | centered logo | spacer */
  .navbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 72px;
  }
  .nav-toggle {
    display: inline-flex;
    padding: 10px;
    margin: 0;
    justify-self: start;
  }
  .nav-toggle-bar {
    width: 22px; height: 2px;
  }
  .brand {
    justify-self: center;
    display: inline-flex;
  }
  .brand img { height: 29px; }

  /* Placeholder on right to balance hamburger visually */
  .navbar-inner::after {
    content: "";
    display: block;
    width: 44px;
    height: 1px;
    justify-self: end;
  }

  /* Topbar stays visible on mobile; stacked: email/social on top, phones below.
     Font size scales together so phones fit on one line and email/social stay unified. */
  .topbar-inner {
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 0;
    font-size: clamp(0.62rem, 2.4vw, 0.82rem);
  }
  .topbar-left { gap: 14px; flex-wrap: nowrap; justify-content: center; }
  .topbar-email { font-size: inherit; }
  .topbar-email span { display: inline; }
  .topbar-social { gap: 8px; }
  .topbar-social a {
    width: calc(1em + 4px);
    height: calc(1em + 4px);
  }
  .topbar-social a svg {
    width: 1em;
    height: 1em;
  }

  .topbar-phones {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    font-size: inherit;
    white-space: nowrap;
  }
  .topbar-phone-icon { display: none; }
  .topbar-phone + .topbar-phone::before {
    content: "|";
    margin-inline-end: 8px;
    margin-inline-start: 2px;
    color: #555;
  }
  .topbar-phone { padding: 0 5px; white-space: nowrap; }

  /* Drawer */
  .mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    inset-inline-start: 0;
    width: min(380px, 88vw);
    height: 100vh;
    background: #fff;
    z-index: calc(var(--z-header) + 20);
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0,0,0,0.2);
    transform: translateX(-100%);
    transition: transform 0.35s var(--ease);
    display: flex;
    flex-direction: column;
    padding: 20px 0 32px;
  }
  /* In RTL, inset-inline-start: 0 from the base rule already resolves to right:0
     (because "start" in RTL = right edge). We only need to flip the transform so
     the drawer hides OFF the right edge of the viewport instead of the left. */
  [dir="rtl"] .mobile-drawer {
    transform: translateX(100%);
    box-shadow: -4px 0 24px rgba(0,0,0,0.2);
  }
  .mobile-drawer[data-open] { transform: translateX(0); }


  /* Nav tree */
  .mobile-nav { flex: 1; }
  .m-nav-tree { display: flex; flex-direction: column; }
  .m-nav-item { border-bottom: 1px solid var(--c-border); }
  .m-nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .m-nav-link {
    display: block;
    flex: 1;
    padding: 14px 20px;
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: start;
  }
  .m-nav-link:hover { color: var(--c-primary); }
  .m-nav-toggle {
    padding: 14px 18px;
    color: var(--c-text);
    flex-shrink: 0;
    border-inline-start: 1px solid var(--c-border);
    background: transparent;
    transition: transform var(--dur), color var(--dur);
  }
  .m-nav-toggle svg { transition: transform var(--dur); }
  .m-nav-item.is-open > .m-nav-row > .m-nav-toggle svg { transform: rotate(180deg); }
  .m-nav-toggle:hover { color: var(--c-primary); }

  .m-nav-sub {
    display: none;
    flex-direction: column;
    background: var(--c-bg-alt);
  }
  .m-nav-item.is-open > .m-nav-sub { display: flex; }

  .m-nav-level-2 > .m-nav-row > .m-nav-link { padding-inline-start: 36px; font-weight: 600; font-size: 0.78rem; }
  .m-nav-level-3 > .m-nav-row > .m-nav-link { padding-inline-start: 52px; font-weight: 400; text-transform: none; letter-spacing: 0.02em; font-size: 0.82rem; }

  /* Lang switcher — sits inline inside the mobile nav tree, right after
     the "Contact Us" item. No longer banished to the bottom of the drawer. */
  .m-lang-row {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
  }
  .m-lang-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--c-border);
    color: var(--c-text);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
  }
  .m-lang-option.is-active {
    border-color: var(--c-primary);
    color: var(--c-primary-dark);
    background: var(--c-primary-soft);
  }
  .m-lang-option img {
    width: 22px; height: 14px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(0,0,0,0.1);
  }
}

@media (min-width: 1101px) {
  .mobile-drawer { display: none !important; }
  .nav-toggle { display: none; }
}

/* ============================================================
   Hero — dark overlay image + centered copy, restrained scale
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 132px);
  min-height: calc(100svh - 132px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  color: #fff;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
@media (max-width: 1100px) {
  .hero {
    min-height: calc(100vh - 110px);
    min-height: calc(100svh - 110px);
  }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #111;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.7) 100%),
    url('../images/site/hero.jpg');
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 60%, rgba(126,176,35,0.15), transparent 55%);
  z-index: -1;
}
.hero-inner {
  position: relative;
  max-width: 860px;
  margin-inline: auto;
}
.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.hero h1 .hero-line-1,
.hero h1 .hero-line-2 { display: block; }
.hero h1 .accent { color: var(--c-primary); }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(126,176,35,0.15);
  color: var(--c-primary);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
  border-inline-start: 2px solid var(--c-primary);
}
.hero-eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--c-primary);
  border-radius: 50%;
}
.hero-tagline {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
  max-width: 620px;
  margin-inline: auto;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   Value props — 4 icon row under hero
   ============================================================ */
.value-props {
  padding: 44px 0;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
@media (max-width: 760px) { .value-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px; height: 72px;
  color: var(--c-primary);
  background: #efefef;
  border-radius: 50%;
}
.value-icon svg { width: 32px; height: 32px; }
.value-item h4 {
  margin: 0;
  font-size: 0.92rem;
  color: var(--c-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* ============================================================
   Section base
   ============================================================ */
.section { padding: clamp(56px, 8vw, 90px) 0; }
.section-alt { background: var(--c-bg-alt); }
.section-dark { background: var(--c-dark); color: var(--c-text-on-dark); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #bbb; }

.section-head {
  text-align: center;
  max-width: none;
  margin: 0 auto 44px;
}
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--c-primary-dark);
  margin-bottom: 10px;
}
.section-heading { margin-bottom: 14px; }
.section-subheading { color: var(--c-text-muted); font-size: 0.98rem; line-height: 1.7; }
.section-dark .section-eyebrow { color: var(--c-primary); }

/* ============================================================
   Service cards — 3D flip on hover
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.service-card {
  position: relative;
  perspective: 1400px;
  min-height: 480px;
}
.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.45, 0, 0.2, 1);
}
.service-card:hover .service-card-inner,
.service-card:focus-within .service-card-inner {
  transform: rotateY(180deg);
}
[dir="rtl"] .service-card:hover .service-card-inner,
[dir="rtl"] .service-card:focus-within .service-card-inner {
  transform: rotateY(-180deg);
}

.service-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  background: #fff;
  border: 1px solid var(--c-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Front: media + icon/title + teaser */
.service-card-front {
  padding: 0 0 28px;
}
.service-card-media {
  height: 240px;
  background-color: #e8ebe5;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  margin-bottom: 24px;
}
.service-card-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  margin-bottom: 14px;
}
.service-card-icon {
  display: inline-flex;
  color: var(--c-primary);
  flex-shrink: 0;
}
.service-card-front h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--c-dark-2);
}
.service-card-teaser {
  color: var(--c-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin: 0;
  padding: 0 28px;
}

/* Back: heading + description + full-width CTA */
.service-card-back {
  transform: rotateY(180deg);
  background: #fff;
  border: 2px solid var(--c-primary);
  padding: 40px 30px;
  justify-content: flex-start;
  text-align: start;
}
[dir="rtl"] .service-card-back { transform: rotateY(-180deg); }
.service-card-back h3 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  color: var(--c-dark-2);
  position: relative;
  padding-bottom: 14px;
}
.service-card-back h3::after {
  content: "";
  position: absolute;
  bottom: 0; inset-inline-start: 0;
  width: 48px; height: 3px;
  background: var(--c-primary);
}
.service-card-back p {
  color: var(--c-text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0 0 28px;
  flex: 1;
}
.service-card-cta {
  width: 100%;
  justify-content: center;
  padding: 16px 32px;
}

/* ============================================================
   Solution cards — WordPress style, dark with large icon overlay
   ============================================================ */
.solutions-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
@media (max-width: 960px) { .solutions-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .solutions-row { grid-template-columns: 1fr; } }

.solution-card {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 28px;
  color: #fff;
  text-align: center;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.8) 100%),
              var(--card-bg, linear-gradient(135deg, #222 0%, #111 100%));
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}
.solution-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.3) 100%);
  pointer-events: none;
  transition: opacity var(--dur);
  z-index: -1;
}
.solution-card:hover { color: #fff; }

.solution-icon-wrap {
  position: absolute;
  top: 34%;
  inset-inline-start: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}
[dir="rtl"] .solution-icon-wrap { transform: translate(50%, -50%); }

.solution-card h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.solution-card p {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.65;
  min-height: 48px;
}
.solution-card .btn { align-self: center; padding: 13px 28px; font-size: 0.78rem; }

@media (max-width: 960px) {
  .solution-card { aspect-ratio: auto; min-height: 460px; }
}

/* ============================================================
   About page — inner hero + story + MVV + timeline + reasons + process
   ============================================================ */
.inner-hero {
  position: relative;
  padding: clamp(60px, 9vw, 110px) 0 clamp(50px, 8vw, 90px);
  text-align: center;
  background: linear-gradient(180deg, #f5f6f2 0%, #fafbfa 100%);
  border-bottom: 1px solid var(--c-border);
  overflow: hidden;
  isolation: isolate;
}
.inner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(126,176,35,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126,176,35,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 75%);
  pointer-events: none;
  z-index: -1;
}
.inner-hero-inner {
  position: relative;
  max-width: 960px;
  margin-inline: auto;
}
.inner-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  color: var(--c-dark-2);
}
.inner-hero-tagline {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(0.72rem, 1vw, 0.85rem);
  letter-spacing: 0.24em;
  color: var(--c-text-muted);
  text-transform: uppercase;
}

/* About: two-column story */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
  margin-bottom: 50px;
}
@media (max-width: 900px) { .about-story { grid-template-columns: 1fr; gap: 30px; } }
.about-story-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: #111;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}
.about-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.65) 100%);
  pointer-events: none;
}
@media (max-width: 900px) { .about-story-media { aspect-ratio: 16 / 10; } }
.about-story-play {
  position: relative;
  z-index: 1;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline-start: 5px;
  transition: transform var(--dur), background var(--dur), box-shadow var(--dur);
  box-shadow: 0 0 0 12px rgba(88,182,88,0.25), 0 8px 32px rgba(0,0,0,0.4);
  text-decoration: none;
}
.about-story-play:hover {
  transform: scale(1.08);
  background: var(--c-primary-dark);
  box-shadow: 0 0 0 18px rgba(88,182,88,0.2), 0 10px 40px rgba(0,0,0,0.5);
}
.about-story-text .section-eyebrow { display: block; margin-bottom: 10px; }
.about-story-text .section-heading { margin-bottom: 20px; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.15; }
.about-story-text p { color: var(--c-text-muted); line-height: 1.8; margin: 0; }
.about-story-continuation { max-width: 980px; margin: 0 auto; }
.about-story-continuation p {
  color: var(--c-text-muted);
  line-height: 1.85;
  margin: 0 0 18px;
}

/* Compact green banner (smaller variant) */
.green-banner-compact { padding: 22px 0; }
.green-banner-compact .green-banner-inner { align-items: center; }
.green-banner-compact h2 { font-size: clamp(1rem, 1.6vw, 1.2rem); }

/* MVV — update existing card to include icon */
.mvv-card {
  padding: 36px 30px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.mvv-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  margin-bottom: 18px;
  border-radius: 50%;
}
.mvv-card h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
  color: var(--c-dark-2);
  text-transform: none;
  letter-spacing: 0;
}
.mvv-card p { color: var(--c-text-muted); margin: 0; line-height: 1.75; font-size: 0.95rem; }

/* About stats on dark image */
.about-stats {
  position: relative;
  padding: clamp(60px, 8vw, 90px) 0;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.72) 100%),
    url('../images/pages/about-stats-bg.jpg') center 30% / cover no-repeat, #1a1a1a;
}
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  text-align: center;
}
@media (max-width: 900px) { .about-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.about-stat-icon { color: var(--c-primary); margin-bottom: 6px; }
.about-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-head);
  font-weight: 600;
}
.about-stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--c-primary);
  line-height: 1;
}

/* About timeline — two-column */
.about-timeline {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) { .about-timeline { grid-template-columns: 1fr; gap: 30px; } }
.about-timeline-visual svg { width: 100%; height: auto; max-width: 480px; }
.about-timeline-visual {
  padding: 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  overflow: hidden;
}
.about-timeline-text .section-heading { margin-bottom: 18px; font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.2; }
.about-timeline-text p { color: var(--c-text-muted); line-height: 1.8; margin: 0 0 26px; }
.about-timeline-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
@media (max-width: 640px) { .about-timeline-list { grid-template-columns: 1fr; } }
.about-timeline-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--c-text);
  line-height: 1.5;
}
.about-timeline-list li .icon {
  color: var(--c-primary);
  margin-top: 3px;
  flex-shrink: 0;
}
.about-timeline-list strong { color: var(--c-primary-dark); font-weight: 700; margin-inline-end: 4px; }

/* Reasons — with icon (About variant) */
.about-reasons .reason-card::before { display: none; }
.about-reasons .reason-card {
  text-align: center;
  padding: 36px 26px;
}
.reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px; height: 70px;
  color: var(--c-primary);
  background: var(--c-primary-soft);
  border-radius: 50%;
  margin-bottom: 16px;
}
.about-reasons .reason-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.about-reasons .reason-card p { font-size: 0.92rem; line-height: 1.75; }

/* Process — night city photo with IBS green overlay ~80% */
.process-section {
  position: relative;
  padding: clamp(70px, 10vw, 110px) 0;
  background:
    linear-gradient(135deg, rgba(126,176,35,0.82) 0%, rgba(100,140,20,0.84) 100%),
    url('../images/pages/about-hero-bg.webp') center / cover no-repeat,
    #7eb023;
  color: #fff;
}
.section-head-light h2 { color: #fff; }
.section-head-light p { color: rgba(255,255,255,0.92); }
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
  padding: 14px;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .process-flow {
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
    gap: 8px;
  }
}
@media (max-width: 520px) { .process-flow { grid-template-columns: 1fr; } }
.process-flow-step {
  text-align: center;
  padding: 20px 20px 28px;
  position: relative;
}
.process-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 40%;
  inset-inline-end: 0;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}
@media (max-width: 900px) {
  .process-flow-step::after { display: none; }
}
.process-flow-icon {
  display: inline-flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  margin-bottom: 16px;
}
.process-flow-step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.process-flow-step p {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-size: 0.85rem;
  line-height: 1.65;
}

/* Protocols — badge row */
.protocols-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
.protocol-badge {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-text);
  letter-spacing: 0.04em;
  transition: border-color var(--dur), color var(--dur), transform var(--dur);
}
.protocol-badge:hover {
  border-color: var(--c-primary);
  color: var(--c-primary-dark);
  transform: translateY(-2px);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; gap: 28px; } }
.story-head .section-eyebrow { margin-bottom: 14px; }
.story-head .section-heading { margin: 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.story-body p { color: var(--c-text-muted); line-height: 1.8; margin-bottom: 20px; }
.story-body .btn { margin-top: 12px; }

.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 860px) { .mvv-grid { grid-template-columns: 1fr; } }
.mvv-card {
  padding: 40px 32px;
  background: #fff;
  border-top: 3px solid var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.mvv-card h3 {
  margin-bottom: 14px;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary-dark);
}
.mvv-card p { color: var(--c-text-muted); margin: 0; line-height: 1.75; }

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: milestones;
}
.timeline::before {
  content: "";
  position: absolute;
  inset-inline-start: 80px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--c-border);
}
.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 18px 0;
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--c-primary-dark);
  padding-inline-start: 0;
  position: relative;
}
.timeline-year::after {
  content: "";
  position: absolute;
  inset-inline-end: 28px;
  top: 10px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(126,176,35,0.12);
}
.timeline-body h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--c-dark-2);
}
.timeline-body p { margin: 0; color: var(--c-text-muted); font-size: 0.95rem; }
@media (max-width: 640px) {
  .timeline::before { inset-inline-start: 8px; }
  .timeline-item { grid-template-columns: 1fr; gap: 4px; padding-inline-start: 36px; }
  .timeline-year::after { inset-inline-start: -30px; inset-inline-end: auto; top: 6px; }
  .timeline-year { font-size: 1.15rem; }
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: reasons;
}
@media (max-width: 900px) { .reasons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .reasons-grid { grid-template-columns: 1fr; } }
.reason-card {
  position: relative;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--c-border);
  transition: border-color var(--dur), transform var(--dur), box-shadow var(--dur);
  counter-increment: reasons;
}
.reason-card::before {
  content: "0" counter(reasons);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.2rem;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.reason-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(126,176,35,0.1);
}
.reason-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.reason-card p { color: var(--c-text-muted); margin: 0; font-size: 0.95rem; line-height: 1.7; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }
.process-step {
  position: relative;
  padding: 28px 24px;
  background: #fff;
  border-top: 3px solid var(--c-primary);
  box-shadow: var(--shadow-sm);
}
.process-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.process-step h3 { margin-bottom: 8px; font-size: 1.15rem; }
.process-step p { color: var(--c-text-muted); margin: 0; font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   Projects archive — card grid + filter
   ============================================================ */
.projects-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 30px;
  padding-inline: 20px;
}
@media (max-width: 960px) { .projects-archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .projects-archive-grid { grid-template-columns: 1fr; } }
.project-card {
  display: block;
  position: relative;
  overflow: hidden;
  color: var(--c-text);
}
.project-card.is-hidden { display: none; }
.project-card-media {
  aspect-ratio: 4 / 3;
  background-color: var(--c-bg-soft);
  background-size: cover;
  background-position: center;
}
.project-card-hover {
  position: absolute;
  inset: 0;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}
.project-card:hover .project-card-hover,
.project-card:focus-visible .project-card-hover {
  opacity: 1;
}
.project-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #fff;
  margin-bottom: 6px;
}
.project-card-title {
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}
.project-card-cat {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.92);
}
.project-card-body {
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--c-dark-2);
}
.project-card-tagline {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 14px;
  flex: 1;
}
.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary-dark);
  margin-top: auto;
}

/* ============================================================
   Blog archive
   ============================================================ */
.blog-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

/* ============================================================
   Contact page — 2-column locations + form
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-locations {
  position: sticky;
  top: 120px;
}
@media (max-width: 900px) { .contact-locations { position: static; } }
.contact-locations .section-heading { margin-bottom: 24px; }

.contact-location {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
}
.contact-location:last-of-type { border-bottom: 0; }
.contact-location h3 {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--c-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.contact-location p { margin: 0 0 4px; color: var(--c-text-muted); font-size: 0.95rem; }
.contact-location p a { color: var(--c-text); font-weight: 600; }
.contact-location p a:hover { color: var(--c-primary-dark); }

.contact-email {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--c-primary-soft);
  border-inline-start: 3px solid var(--c-primary);
}
.contact-email a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Light variant of contact form (used on /contact page, white bg) */
.contact-form-light label { color: var(--c-text-muted); }
.contact-form-light label::after { content: ":"; margin-inline-start: 1px; }
.contact-form-light input,
.contact-form-light select,
.contact-form-light textarea {
  background: #fff;
  border-color: var(--c-border-strong);
  color: var(--c-text);
}
.contact-form-light input:focus,
.contact-form-light select:focus,
.contact-form-light textarea:focus {
  border-color: var(--c-primary);
  background: #fff;
}
.contact-form-light select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1.5 6 6.5 11 1.5'/></svg>");
}

/* ============================================================
   Generic (block-based) pages — services, solutions, sub-pages
   ============================================================ */
.inner-hero-media {
  min-height: clamp(280px, 40vh, 440px);
  background-color: #111;
  background-size: cover;
  background-position: center;
  color: #fff;
  position: relative;
  z-index: 0;
  padding: clamp(100px, 14vw, 160px) 0 clamp(60px, 9vw, 100px);
}
.inner-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.7) 100%);
  z-index: -1;
}
.inner-hero-media h1 { color: #fff; }
.inner-hero-media .inner-hero-tagline { color: rgba(255,255,255,0.88); }

.generic-block { padding: clamp(44px, 6vw, 70px) 0; }
.generic-rich-container { max-width: 920px; }
.generic-heading {
  margin-bottom: 18px;
  color: var(--c-dark-2);
}

.image-text-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .image-text-grid { grid-template-columns: 1fr; gap: 24px; }
}
.generic-block:nth-of-type(even) .image-text-grid {
  grid-template-columns: 1.15fr 1fr;
}
@media (max-width: 860px) {
  .generic-block:nth-of-type(even) .image-text-grid { grid-template-columns: 1fr; }
  .generic-block:nth-of-type(even) .image-text-media { order: -1; }
}
.image-text-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--c-bg-soft);
}
.image-text-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-text-body h2 {
  margin-bottom: 16px;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: var(--c-dark-2);
}

/* Rich text body output from scraped HTML */
.rich-body {
  color: var(--c-text);
  line-height: 1.8;
  font-size: 1rem;
}
.rich-body p { margin: 0 0 1em; color: var(--c-text-muted); }
.rich-body p:last-child { margin-bottom: 0; }
.rich-body h2, .rich-body h3, .rich-body h4 {
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  color: var(--c-dark-2);
}
.rich-body ul, .rich-body ol {
  margin: 0 0 1em;
  padding-inline-start: 1.4em;
  color: var(--c-text-muted);
  list-style: disc;
}
.rich-body ol { list-style: decimal; }
.rich-body li { margin-bottom: 0.4em; line-height: 1.7; }
.rich-body a { color: var(--c-primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.rich-body a:hover { color: var(--c-primary); }
.rich-body strong { color: var(--c-dark-2); }
.rich-body em { font-style: italic; }
.rich-body img { max-width: 100%; height: auto; margin: 1em 0; }

/* ============================================================
   Blog post page
   ============================================================ */
.blog-post-header {
  padding: clamp(90px, 12vw, 140px) 0 clamp(40px, 6vw, 60px);
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.8) 100%), #1a1a1a;
  position: relative;
  isolation: isolate;
}
.blog-post-cover {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: 0.5;
}
.blog-post-header h1 {
  color: #fff;
  margin: 12px 0 18px;
  max-width: 820px;
}
.blog-post-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-head);
  font-size: 0.88rem;
  margin: 0;
}
.blog-post-author { opacity: 0.85; }

.blog-post-body {
  max-width: 760px;
  margin: clamp(50px, 7vw, 80px) auto;
  font-size: 1.05rem;
  line-height: 1.85;
}
.blog-post-body h1 { font-size: clamp(1.45rem, 2.8vw, 1.9rem); margin-top: 1.6em; }
.blog-post-body h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-top: 1.6em; }
.blog-post-body h3 { font-size: clamp(1.1rem, 1.8vw, 1.3rem); margin-top: 1.4em; }
.blog-post-body p { font-size: 1.02rem; line-height: 1.9; }

/* ============================================================
   Project detail page
   ============================================================ */
.project-hero {
  position: relative;
  padding: clamp(100px, 14vw, 160px) 0 clamp(50px, 8vw, 80px);
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.project-hero-media {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.project-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.85) 100%);
  z-index: -1;
}
.project-hero-inner { max-width: 900px; }
.project-hero h1 { color: #fff; margin: 10px 0 16px; }
.project-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  color: rgba(255,255,255,0.92);
  margin-bottom: 28px;
  max-width: 680px;
}

.breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.breadcrumbs a { color: rgba(255,255,255,0.75); }
.breadcrumbs a:hover { color: var(--c-primary); }
.breadcrumbs span[aria-current] { color: var(--c-primary); }

.project-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.project-meta > div { display: flex; flex-direction: column; gap: 2px; }
.project-meta dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-head);
  font-weight: 600;
  margin: 0;
}
.project-meta dd {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.project-body-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) { .project-body-grid { grid-template-columns: 1fr; gap: 32px; } }

.project-body .section-heading { margin-bottom: 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.project-description {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--c-text-muted);
  margin-bottom: 36px;
  max-width: 640px;
}
.project-subheading {
  margin: 0 0 18px;
  font-size: 1.2rem;
  color: var(--c-primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}
.project-solutions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.project-solutions li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-border);
  color: var(--c-text);
  font-size: 0.95rem;
  line-height: 1.5;
}
.project-solutions li .icon {
  color: var(--c-primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.project-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 120px;
}
@media (max-width: 900px) { .project-side { position: static; } }
.project-side-card {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 3px solid var(--c-primary);
}
.project-side-card h4 {
  margin: 0 0 16px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary-dark);
  font-weight: 700;
}
.project-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-partners li {
  display: inline-block;
  padding: 6px 12px;
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.project-cta-card p {
  color: var(--c-text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 20px;
}
.project-cta-card .btn { width: 100%; justify-content: center; }

.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.project-gallery-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  background-color: var(--c-bg-soft);
  overflow: hidden;
}
.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.project-gallery-item:hover img { transform: scale(1.04); }

/* ============================================================
   Green CTA banners
   ============================================================ */
.green-banner {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-dark) 100%);
  color: #fff;
  padding: 32px 0 24px;
}
.green-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.green-banner-text { flex: 1; min-width: 280px; }
.green-banner-eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.green-banner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.4;
  font-weight: 700;
}
.green-banner .btn-outline-light {
  padding: 12px 24px;
  font-size: 0.78rem;
  flex-shrink: 0;
}
.green-banner-body {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-top: 18px;
}
.green-banner-body p {
  margin: 0;
  color: rgba(255,255,255,0.92);
  font-size: 0.92rem;
  line-height: 1.75;
  text-align: start;
}

/* ============================================================
   Professional Engineering Solutions
   ============================================================ */
.engineering-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 860px) { .engineering-grid { grid-template-columns: 1fr; gap: 28px; } }
.engineering-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.engineering-logo {
  max-width: 420px;
  width: 100%;
  height: auto;
  opacity: 0.9;
}
.engineering-photo {
  display: block;
  width: 100%;
  height: auto;
  max-width: 520px;
  margin-inline: auto;
}
@media (max-width: 860px) { .engineering-photo { max-width: 420px; } }
.engineering-content .section-heading {
  margin-bottom: 28px;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}
.engineering-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.engineering-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--c-text);
  font-weight: 600;
}
.engineering-list li .icon {
  color: var(--c-primary);
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================================
   Inspiring Innovation
   ============================================================ */
.inspiring {
  padding: clamp(50px, 8vw, 80px) 0 0;
  text-align: center;
  background: var(--c-bg-alt);
  position: relative;
  overflow: hidden;
}
.inspiring-image {
  display: block;
  width: 90%;
  max-width: 1150px;
  height: auto;
  margin: clamp(24px, 4vw, 40px) auto 0;
}
.inspiring-eyebrow {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  color: var(--c-primary-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.inspiring-heading {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
  letter-spacing: 0.04em;
  color: var(--c-dark-2);
  max-width: 860px;
  margin-inline: auto;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ============================================================
   Project filters + grid
   ============================================================ */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 40px;
}
.project-filter-btn {
  padding: 10px 18px;
  background: transparent;
  color: var(--c-text-muted);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--c-border);
  cursor: pointer;
  transition: all var(--dur);
}
.project-filter-btn:hover,
.project-filter-btn.is-active {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.project-filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  min-height: 200px;
}
.project-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--c-text-faint);
  padding: 40px 0;
  font-style: italic;
}

.section-foot {
  text-align: center;
  margin-top: 50px;
}
.section-head-left { text-align: start; max-width: 900px; margin-inline: 0; }

/* ============================================================
   Blog cards
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: #fff;
  border: 1px solid var(--c-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur), box-shadow var(--dur), border-color var(--dur);
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-primary);
  box-shadow: 0 20px 40px rgba(126,176,35,0.12);
}
.blog-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}
.blog-card-body { padding: 26px 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.4;
}
.blog-card-body h3 a { color: var(--c-dark-2); }
.blog-card-body h3 a:hover { color: var(--c-primary-dark); }
.blog-card-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--c-text-faint);
  font-size: 0.8rem;
}
.blog-card-excerpt {
  color: var(--c-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0 0 18px;
  flex: 1;
}
.blog-card-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-primary-dark);
}

/* ============================================================
   Trusted clients logos
   ============================================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 20px;
  align-items: center;
}
@media (max-width: 900px) { .clients-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .clients-grid { grid-template-columns: repeat(2, 1fr); } }
.client-logo {
  aspect-ratio: 16 / 9;
  background: var(--c-bg-alt);
  border: 1px solid var(--c-border);
}

/* Drag-scrollable client logos row — full viewport width, 10px gutters, 12 per row */
.clients-carousel {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  padding: 24px 10px;
  overflow-x: auto;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  scrollbar-width: none;
  direction: ltr;
}
.clients-carousel::-webkit-scrollbar { display: none; }
.clients-carousel.is-grabbing { cursor: grabbing; scroll-behavior: auto; }
.clients-track {
  display: flex;
  gap: 16px;
  direction: ltr;
  align-items: center;
  width: max-content;
}
.client-tile {
  flex: 0 0 auto;
  width: calc((100vw - 20px - 176px) / 12);
  min-width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
@media (max-width: 960px) { .client-tile { width: calc((100vw - 20px - 80px) / 6); } }
@media (max-width: 520px) { .client-tile { width: calc((100vw - 20px - 48px) / 4); } }
.client-tile img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.75;
  transition: all 0.3s ease;
  user-select: none;
  -webkit-user-drag: none;
}
.clients-carousel:not(.is-grabbing) .client-tile { pointer-events: auto; }
.client-tile:hover img { filter: grayscale(0); opacity: 1; }

/* ============================================================
   Contact form
   ============================================================ */
.contact-section {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.88)),
    url('../images/home-ref/IBS-Cover-photo-global-.jpg') center / cover no-repeat, #1a1a1a;
  color: #fff;
}
.contact-section .section-heading { color: #fff; }
.contact-section .section-subheading { color: rgba(255,255,255,0.8); }

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 24px;
}
.contact-form .field-half { grid-column: span 1; }
.contact-form .field-full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .contact-form { grid-template-columns: 1fr; gap: 20px; }
  .contact-form .field-half { grid-column: 1 / -1; }
}

.contact-form label {
  display: block;
  margin: 0 0 8px;
  color: rgba(255,255,255,0.72);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}
.contact-form label::after {
  content: ":";
  margin-inline-start: 1px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--dur), background var(--dur);
  appearance: none;
  -webkit-appearance: none;
}
.contact-form textarea {
  resize: vertical;
  min-height: 160px;
  font-family: var(--font-body);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  background: rgba(255,255,255,0.04);
}

.contact-form select {
  color: #fff;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='rgba(255,255,255,0.7)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='1 1.5 6 6.5 11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-inline-end: 44px;
}
[dir="rtl"] .contact-form select {
  background-position: left 16px center;
  padding-inline-end: 16px;
  padding-inline-start: 44px;
}
.contact-form select option { color: #111; background: #fff; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-submit-row { text-align: center; margin-top: 8px; }
.form-submit-row .btn { min-width: 200px; justify-content: center; }

/* Contact form success/error banners */
.form-alert {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; margin: 0 auto 28px;
  max-width: 860px; border-radius: 2px;
  font-size: 0.95rem; line-height: 1.5;
}
.form-alert svg { flex-shrink: 0; }
.form-alert-success {
  background: rgba(126, 176, 35, 0.12);
  color: #cfefb6;
  border: 1px solid rgba(126, 176, 35, 0.45);
}
.form-alert-error {
  background: rgba(210, 80, 80, 0.12);
  color: #ffc7c7;
  border: 1px solid rgba(210, 80, 80, 0.5);
}

/* ============================================================
   FAQ accordion
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.faq-item[open] {
  border-color: var(--c-primary);
  box-shadow: 0 8px 20px rgba(126,176,35,0.08);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--c-dark-2);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-chevron { color: var(--c-primary); transition: transform var(--dur); flex-shrink: 0; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-body {
  padding: 0 22px 22px;
  color: var(--c-text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}
.faq-body p { margin: 0; }

/* ============================================================
   Chat widget — floating bubble bottom-right
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-direction: row-reverse;
}
.chat-bubble {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(126,176,35,0.35);
  transition: all var(--dur);
}
.chat-bubble:hover { background: var(--c-primary-dark); transform: translateY(-2px); }
.chat-tooltip {
  background: #fff;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
  font-size: 0.88rem;
  line-height: 1.4;
  border-inline-end: 3px solid var(--c-primary);
}
.chat-tooltip strong { display: block; color: var(--c-primary-dark); margin-bottom: 2px; }
.chat-tooltip p { margin: 0; color: var(--c-text-muted); font-size: 0.82rem; }
@media (max-width: 560px) { .chat-tooltip { display: none; } }

/* ============================================================
   Stats
   ============================================================ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat { padding: 16px; }
.stat-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  line-height: 1;
  color: var(--c-primary);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.85rem;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

/* ============================================================
   Final CTA
   ============================================================ */
.final-cta {
  padding: clamp(70px, 9vw, 100px) 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(126,176,35,0.18), transparent 55%),
    linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #fff;
  text-align: center;
}
.final-cta h2 { color: #fff; margin-bottom: 14px; }
.final-cta p { color: #ccc; font-size: 1.1rem; margin-bottom: 32px; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--c-dark);
  color: #aaa;
  padding: clamp(60px, 7vw, 90px) 0 0;
  font-size: 0.92rem;
  text-align: center;
}
.site-footer a { color: #aaa; }
.site-footer a:hover { color: var(--c-primary); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 50px;
  align-items: start;
  text-align: center;
}
.footer-col, .footer-about { text-align: center; }
.footer-about .footer-brand { justify-content: center; }
.footer-brand { display: inline-flex; }
.footer-brand img { height: 27px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-about-text { color: #888; line-height: 1.7; font-size: 0.9rem; }
.footer-heading {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts .country-label { color: #888; }
.footer-social { display: flex; gap: 16px; margin-top: 24px; justify-content: center; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  transition: color var(--dur), transform var(--dur);
}
.footer-social a:hover {
  color: var(--c-primary);
  transform: translateY(-2px);
}
.footer-legal {
  padding: 26px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #888;
  font-size: 0.85rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  text-align: center;
}
.footer-legal p { margin: 0; }
.footer-agency a { color: var(--c-primary); font-weight: 600; }
.footer-agency a:hover { color: var(--c-primary-dark); }

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; text-align: left; }
  .footer-about { grid-column: 1 / -1; }
  .footer-legal { justify-content: center; text-align: center; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   GLOBAL PAGE HERO BANNER
   Applied to every inner page except the homepage hero.
   Pages only need to set their own ::before background image.
   ═══════════════════════════════════════════════════════════════════════════ */
.page-banner {
  position: relative;
  padding: clamp(70px, 9vw, 110px) 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-banner::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(238,238,238,0.94) 0%, rgba(238,238,238,0.94) 100%),
    url('/assets/images/pages/about-hero-bg.webp') center / cover no-repeat,
    #e8f0e8;
}
.page-banner .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}
.page-banner h1 {
  color: var(--c-dark-2) !important;
  text-align: center !important;
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 auto;
  width: 100%;
  background: transparent;
}
.page-banner .hero-eyebrow {
  color: var(--c-primary);
  margin-bottom: 10px;
}
.page-banner .page-banner-tagline {
  color: var(--c-text-muted);
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  letter-spacing: 0;
  font-weight: 400;
  max-width: 640px;
  margin: 10px auto 0;
  text-align: center;
  width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   SHARED SOLUTION-PAGE STYLES (category pages + sub-subpages)
   Matches live ibsautomation.com layout.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Dark hero (used by all solutions pages) ── */
.sol-page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(90px, 13vw, 170px) 0 clamp(70px, 9vw, 120px);
  text-align: center;
}
.sol-page-hero::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background-color: #0a0a0a;
  background-size: cover;
  background-position: center 28%;
  background-repeat: no-repeat;
}
.sol-page-hero h1 {
  color: #fff; font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700; margin: 0 0 14px; letter-spacing: 0.01em;
}
.sol-page-hero .hero-sub {
  color: var(--c-primary);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin: 0;
}

/* ── Eyebrow + intro paragraph ── */
.sol-eyebrow-section { padding: clamp(60px, 8vw, 100px) 0 clamp(30px, 4vw, 50px); }
.sol-eyebrow {
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--c-dark-2);
  display: block; margin-bottom: 18px;
}
.sol-eyebrow-section p {
  color: var(--c-text-muted); line-height: 1.9; font-size: 0.97rem;
  margin: 0; max-width: 1080px;
}

/* ── Two-col heading + description ── */
.sol-twocol-section { padding: clamp(30px, 4vw, 60px) 0; }
.sol-twocol {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px); align-items: start;
}
@media (max-width: 860px) { .sol-twocol { grid-template-columns: 1fr; } }
.sol-twocol h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.2; margin: 0;
  color: var(--c-dark-2); font-weight: 700;
}
.sol-twocol .sol-twocol-desc {
  color: var(--c-text-muted); line-height: 1.85;
  font-size: 0.97rem; margin: 0;
  padding-top: clamp(6px, 1vw, 14px);
}

/* ── Sub-solution dark panels (used on category pages) ── */
.sol-panels {
  display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr);
}
@media (max-width: 1100px) { .sol-panels { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 700px)  { .sol-panels { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px)  { .sol-panels { grid-template-columns: 1fr; } }
.sol-panel {
  position: relative;
  min-height: 380px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 40px 26px;
  overflow: hidden; isolation: isolate;
  text-decoration: none;
}
.sol-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10,10,10,0.78);
  transition: background 0.3s;
}
.sol-panel:hover::before { background: rgba(10,10,10,0.58); }
.sol-panel-bg {
  position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.sol-panel:hover .sol-panel-bg { transform: scale(1.05); }
.sol-panel-icon {
  width: 90px; height: 90px; margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
}
.sol-panel-icon svg { width: 100%; height: 100%; }
.sol-panel h3 {
  color: #fff; font-size: 0.92rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin: 0 0 14px; line-height: 1.4;
}
.sol-panel p {
  color: rgba(255,255,255,0.82);
  font-size: 0.85rem; line-height: 1.7;
  margin: 0 0 22px;
}
.sol-panel-btn {
  padding: 10px 26px;
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
}
.sol-panel:hover .sol-panel-btn { background: var(--c-primary); border-color: var(--c-primary); }

/* ── Green projects CTA section ── */
.sol-green-cta {
  background: var(--c-primary); position: relative; overflow: hidden;
}
.sol-green-cta-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 70px); align-items: center;
  padding: clamp(50px, 7vw, 90px) 0;
}
@media (max-width: 860px) { .sol-green-cta-inner { grid-template-columns: 1fr; } }
.sol-green-cta-img {
  text-align: center;
}
.sol-green-cta-img img {
  max-width: 100%; max-height: 340px;
  height: auto; display: inline-block;
}
.sol-green-cta h2 {
  color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700; letter-spacing: 0.01em;
  text-transform: uppercase; margin: 0 0 16px; line-height: 1.25;
}
.sol-green-cta .cta-sub {
  color: rgba(255,255,255,0.92); font-size: 0.95rem;
  margin: 0 0 26px;
}
.sol-green-cta-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px;
}
.sol-green-cta-list li {
  color: #fff; font-size: 0.92rem;
  display: flex; align-items: center; gap: 10px;
}
.sol-green-cta-list li::before {
  content: ""; width: 18px; height: 18px;
  border: 2px solid #fff; border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center/10px;
  flex-shrink: 0;
}
.sol-green-cta-btn {
  display: inline-block;
  padding: 12px 34px;
  border: 1px solid #fff; color: #fff;
  font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s, color 0.25s;
}
.sol-green-cta-btn:hover { background: #fff; color: var(--c-primary); }

/* ── Benefits (6 icon grid) ── */
.sol-benefits { padding: clamp(70px, 9vw, 120px) 0; text-align: center; }
.sol-benefits-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700;
  color: var(--c-dark-2); margin: 0 auto 16px; max-width: 900px;
}
.sol-benefits-title::after {
  content: ""; display: block; width: 48px; height: 3px;
  background: var(--c-primary); margin: 20px auto 24px;
}
.sol-benefits-sub {
  max-width: 780px; margin: 0 auto 60px;
  color: var(--c-text-muted); font-size: 0.95rem; line-height: 1.8;
}
.sol-benefits-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 5vw, 60px) clamp(30px, 4vw, 50px);
}
@media (max-width: 800px) { .sol-benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .sol-benefits-grid { grid-template-columns: 1fr; } }
.sol-benefit-item { text-align: center; }
.sol-benefit-icon {
  color: var(--c-primary); margin-bottom: 18px;
  display: flex; align-items: center; justify-content: center;
}
.sol-benefit-icon svg { width: 38px; height: 38px; }
.sol-benefit-item h3 {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-dark-2); margin: 0 0 14px;
}
.sol-benefit-item p {
  color: var(--c-text-muted); font-size: 0.88rem;
  line-height: 1.75; margin: 0; max-width: 340px; margin: 0 auto;
}

/* ── Dark contact form section ── */
.sol-dark-form {
  position: relative; isolation: isolate;
  padding: clamp(60px, 8vw, 100px) 0;
  background: #2a2a2a;
  color: #fff;
}
.sol-dark-form .sol-form-eyebrow {
  text-align: center; display: block;
  color: var(--c-primary); font-size: 0.76rem;
  font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; margin-bottom: 14px;
}
.sol-dark-form h2 {
  text-align: center; color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700; margin: 0 auto 22px; max-width: 900px;
}
.sol-dark-form .sol-form-desc {
  text-align: center; max-width: 800px; margin: 0 auto 18px;
  color: rgba(255,255,255,0.78); font-size: 0.95rem; line-height: 1.75;
}
.sol-dark-form .sol-form-sub {
  text-align: center; color: rgba(255,255,255,0.7);
  font-style: italic; margin: 0 auto 46px; max-width: 700px;
}

/* Contact form fields on dark bg */
.sol-dark-form .contact-form { max-width: 860px; margin: 0 auto; }
.sol-dark-form .contact-form input,
.sol-dark-form .contact-form select,
.sol-dark-form .contact-form textarea {
  width: 100%; padding: 13px 16px; margin-bottom: 14px;
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.92rem; font-family: inherit;
  border-radius: 0;
  transition: border-color 0.2s;
}
.sol-dark-form .contact-form input::placeholder,
.sol-dark-form .contact-form textarea::placeholder { color: rgba(255,255,255,0.45); }
.sol-dark-form .contact-form input:focus,
.sol-dark-form .contact-form select:focus,
.sol-dark-form .contact-form textarea:focus {
  outline: none; border-color: var(--c-primary);
}
.sol-dark-form .contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .sol-dark-form .contact-form-row { grid-template-columns: 1fr; } }
.sol-dark-form .contact-form button {
  width: 100%; padding: 15px;
  background: var(--c-primary); color: #fff;
  border: none; font-size: 0.82rem;
  font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; cursor: pointer;
  transition: background 0.25s;
}
.sol-dark-form .contact-form button:hover { background: #6b961e; }

/* ── Sub-subpage green banner ── */
.sol-sub-banner {
  background: var(--c-primary); color: #fff;
  padding: clamp(60px, 8vw, 110px) 0;
  text-align: center; position: relative;
}
.sol-sub-banner h2 {
  color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 700; margin: 0 0 18px;
}
.sol-sub-banner p {
  color: rgba(255,255,255,0.92); font-size: 0.97rem;
  line-height: 1.8; max-width: 860px; margin: 0 auto 32px;
}
.sol-sub-banner-btn {
  display: inline-block; padding: 14px 36px;
  background: #2a2a2a; color: #fff;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none;
  transition: background 0.25s;
}
.sol-sub-banner-btn:hover { background: #1a1a1a; }

/* ── Sub-subpage feature row (image + text alternating, edge-to-edge)
   Full-bleed 50/50 split. Image cover-fills its half. Text half has light gray bg.
   ── */
.sol-feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  background: #fff;
  min-height: 420px;
}
@media (max-width: 780px) { .sol-feature-row { grid-template-columns: 1fr; } }
.sol-feature-row.reverse > :first-child { order: 2; }
@media (max-width: 780px) { .sol-feature-row.reverse > :first-child { order: 0; } }

.sol-feature-img {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.sol-feature-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
@media (max-width: 780px) { .sol-feature-img, .sol-feature-img img { min-height: 300px; position: relative; } }

.sol-feature-content {
  background: #eeeeee;
  padding: clamp(36px, 5vw, 70px) clamp(30px, 5vw, 80px);
  display: flex; flex-direction: column; justify-content: center;
}
.sol-feature-content h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700; margin: 0 0 20px;
  color: var(--c-dark-2); line-height: 1.2;
}
.sol-feature-content p {
  color: var(--c-text-muted); line-height: 1.85;
  font-size: 0.95rem; margin: 0 0 14px;
}
.sol-feature-content p:last-child { margin-bottom: 0; }
