/* ==========================================================================
   KENA KOMERC — DESIGN SYSTEM V2
   Industrial Minimalism · Warm Material Palette · Animated
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  --color-teal:        #098467;
  --color-teal-dark:   #065C47;
  --color-teal-light:  #E8F4F0;
  --color-beige:       #D2D3C6;
  --color-bg:          #F6F4F0;
  --color-surface:     #FFFFFF;
  --color-surface-alt: #F0EDE8;
  --color-text:        #1C1C1A;
  --color-text-muted:  #5E5E58;
  --color-text-light:  #8C8C86;
  --color-border:      #D8D5CE;
  --color-line:        #E8E5DE;
  --color-error:       #C0392B;
  --color-success:     #098467;
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   2rem;
  --text-4xl:   2.75rem;
  --text-5xl:   3.5rem;
  --text-6xl:   4.5rem;
  --sp-1:   0.25rem;
  --sp-2:   0.5rem;
  --sp-3:   0.75rem;
  --sp-4:   1rem;
  --sp-5:   1.25rem;
  --sp-6:   1.5rem;
  --sp-8:   2rem;
  --sp-10:  2.5rem;
  --sp-12:  3rem;
  --sp-16:  4rem;
  --sp-20:  5rem;
  --sp-24:  6rem;
  --sp-32:  8rem;
  --container-max: 1320px;
  --container-px:  var(--sp-6);
  --header-h:      72px;
  --top-bar-h:     40px;
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
  --t-xslow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.07);
  --shadow-md:   0 4px 12px rgba(0, 0, 0, 0.10);
  --shadow-lg:   0 8px 24px rgba(0, 0, 0, 0.12);
  --radius-sm: 2px;
  --radius-md: 4px;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Prevents horizontal scroll when children use wide transforms (see data-anim). */
  overflow-x: hidden;
}
body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; color: var(--color-text); }
p { max-width: 72ch; }

/* --------------------------------------------------------------------------
   3. SKIP LINK
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute; top: -100%; left: var(--sp-4); z-index: 9999;
  background: var(--color-teal); color: #fff;
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600;
  padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-3); }

/* --------------------------------------------------------------------------
   4. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(var(--text-xl), 2vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

.text-label {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted);
}

.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: var(--sp-8); margin-bottom: var(--sp-3); }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: var(--sp-4); }
.entry-content ul, .entry-content ol { padding-left: var(--sp-6); list-style: revert; }
.entry-content a { color: var(--color-teal); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--color-teal-dark); }
.entry-content blockquote {
  border-left: 3px solid var(--color-teal); padding: var(--sp-4) var(--sp-6);
  margin: var(--sp-6) 0; background: var(--color-teal-light); font-style: italic;
}

/* --------------------------------------------------------------------------
   5. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container { max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-px); }
.section { padding-block: var(--sp-24); }
.section--tight { padding-block: var(--sp-16); }
.section--light { background: var(--color-surface-alt); }
.section-header { margin-bottom: var(--sp-12); }
.section-header .text-label { margin: auto; margin-bottom: var(--sp-2); }
.section-header h2 { max-width: 24ch; }
.section-header--center { text-align: center; }
.section-header--center h2 { margin-inline: auto; }

/* --------------------------------------------------------------------------
   6. TOP BAR
   -------------------------------------------------------------------------- */
.top-bar {
  background: var(--color-text);
  color: rgba(255,255,255,0.7);
  font-size: var(--text-xs);
  height: var(--top-bar-h);
  display: flex;
  align-items: center;
}
.top-bar__inner {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
}
.top-bar__contact { display: flex; gap: var(--sp-6); align-items: center; }
.top-bar__item {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  color: rgba(255,255,255,0.7); transition: color var(--t-fast);
}
.top-bar__item:hover { color: #fff; }
.top-bar__item svg { flex-shrink: 0; opacity: 0.6; }
.top-bar__social { display: flex; gap: var(--sp-3); align-items: center; }
.top-bar__social a { color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.top-bar__social a:hover { color: #fff; }

/* Top-bar right: social + language switcher */
.top-bar__right { display: flex; align-items: center; gap: var(--sp-4); }
.top-bar__social-link { color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.top-bar__social-link:hover { color: #fff; }

/* WP Multilang language switcher in top bar */
.top-bar__lang-switcher { display: flex; align-items: center; }
.top-bar__lang-switcher .wpm-language-switcher {
  display: flex; align-items: center; gap: var(--sp-1);
  list-style: none; margin: 0; padding: 0;
}
.top-bar__lang-switcher .wpm-language-switcher li { margin: 0; }
.top-bar__lang-switcher .wpm-language-switcher a,
.top-bar__lang-switcher .wpm-language-switcher span {
  display: flex; align-items: center;
  opacity: 0.5; transition: opacity var(--t-fast);
  cursor: pointer;
}
.top-bar__lang-switcher .wpm-language-switcher a:hover { opacity: 0.9; }
.top-bar__lang-switcher .wpm-language-switcher .active a,
.top-bar__lang-switcher .wpm-language-switcher .active span { opacity: 1; }
.top-bar__lang-switcher .wpm-language-switcher img {
  width: 20px; height: 14px; object-fit: cover;
  border-radius: 2px; display: block;
}
/* Separator between language flags */
.top-bar__lang-switcher .wpm-language-switcher li + li::before {
  content: '|'; color: rgba(255,255,255,0.25);
  margin-right: var(--sp-1); font-size: 10px;
}

/* Front page: hide top bar, header overlays video */
.is-front-page .top-bar { display: none; }

/* --------------------------------------------------------------------------
   7. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-line);
  height: var(--header-h);
  display: flex; align-items: center; flex-direction: column; justify-content: center;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-8); width: 100%;
}

/* Transparent header on homepage */
.is-front-page .site-header {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent; border-color: transparent;
}
.is-front-page .site-header .nav-primary a,
.is-front-page .site-header .site-logo__fallback { color: #fff; }
.is-front-page .site-header .nav-toggle span { background: #fff; }
.is-front-page .site-header .header-cta { background: #fff; color: var(--color-teal); border-color: #fff; }

/* Scrolled state */
.is-front-page .site-header--scrolled {
  background: var(--color-surface); border-color: var(--color-line);
  box-shadow: var(--shadow-sm);
}
.is-front-page .site-header--scrolled .nav-primary a,
.is-front-page .site-header--scrolled .site-logo__fallback { color: var(--color-text); }
.is-front-page .site-header--nav-open:not(.site-header--scrolled) .site-logo__fallback {
  color: var(--color-text);
}
.is-front-page .site-header--scrolled .nav-primary a:hover,
.is-front-page .site-header--scrolled .nav-primary .current-menu-item > a { color: var(--color-teal); }
.is-front-page .site-header--scrolled .nav-toggle span { background: var(--color-text); }
/* Mobile menu open before scroll: same contrast as scrolled header */
.is-front-page .site-header--nav-open:not(.site-header--scrolled) .nav-toggle span {
  background: var(--color-text);
}
.is-front-page .site-header--scrolled .header-cta {
  background: var(--color-teal); color: #fff; border-color: var(--color-teal);
}

/* Logo invert on transparent header (not when mobile menu is open — bar is white) */
.is-front-page .site-header:not(.site-header--scrolled):not(.site-header--nav-open) .site-logo img {
  filter: brightness(0) invert(1);
}

/* Logo */
.site-logo a, .site-logo__fallback { display: inline-flex; align-items: center; }
.site-logo img { height: 48px; width: auto; transition: filter 0.3s ease; }
.site-logo__fallback {
  font-family: var(--font-heading); font-size: var(--text-xl); font-weight: 700;
  color: var(--color-text); letter-spacing: -0.02em; transition: color 0.3s ease;
}

/* Header actions (CTA + hamburger) */
.header-actions { display: flex; align-items: center; gap: var(--sp-3); }

/* Language switcher in main header (visible on all pages including homepage) */
.header-lang-switcher { display: flex; align-items: center; }
.header-lang-switcher .wpm-language-switcher {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.header-lang-switcher .wpm-language-switcher li { margin: 0; }
.header-lang-switcher .wpm-language-switcher a,
.header-lang-switcher .wpm-language-switcher span {
  display: flex; align-items: center;
  opacity: 0.45; transition: opacity var(--t-fast);
  cursor: pointer;
}
.header-lang-switcher .wpm-language-switcher a:hover { opacity: 0.85; }
.header-lang-switcher .wpm-language-switcher .active a,
.header-lang-switcher .wpm-language-switcher .active span { opacity: 1; }
.header-lang-switcher .wpm-language-switcher img {
  width: 20px; height: 14px; object-fit: cover;
  border-radius: 2px; display: block;
}
/* White-shadow border on flags over transparent homepage header */
.is-front-page .site-header .header-lang-switcher .wpm-language-switcher img {
  box-shadow: 0 0 0 1px rgba(255,255,255,0.25);
}
.is-front-page .site-header--nav-open:not(.site-header--scrolled) .header-lang-switcher .wpm-language-switcher img {
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12);
}

/* --------------------------------------------------------------------------
   8. PRIMARY NAV
   -------------------------------------------------------------------------- */
.nav-primary-wrap { flex: 1; display: flex; justify-content: flex-end; }
.nav-primary { display: flex; align-items: center; gap: var(--sp-1); }
.nav-primary li { position: relative; }
.nav-primary a {
  display: block; font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 500;
  color: var(--color-text); padding: var(--sp-2) var(--sp-3); position: relative;
  transition: color var(--t-fast);
}
.nav-primary a::after {
  content: ''; position: absolute; bottom: 0; left: var(--sp-3); right: var(--sp-3);
  height: 2px; background: var(--color-teal);
  transform: scaleX(0); transform-origin: left center; transition: transform var(--t-base);
}
.nav-primary a:hover,
.nav-primary .current-menu-item > a,
.nav-primary .current-page-ancestor > a { color: var(--color-teal); }
.nav-primary a:hover::after,
.nav-primary .current-menu-item > a::after,
.nav-primary .current-page-ancestor > a::after { transform: scaleX(1); }

/* Dropdown sub-menu */
.nav-primary .menu-item-has-children { position: relative; }
/* Make the link flex so the chevron stays inline */
.nav-primary .menu-item-has-children > a {
  display: inline-flex; align-items: center; gap: var(--sp-1);
}
/* Override the teal underline ::after → turn it into a chevron arrow */
.nav-primary .menu-item-has-children > a::after {
  content: '';
  /* Reset underline styles */
  position: static; bottom: auto; left: auto; right: auto;
  background: none; transform-origin: center;
  /* Chevron shape */
  display: inline-block; flex-shrink: 0;
  width: 6px; height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.75;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.nav-primary .menu-item-has-children:hover > a::after,
.nav-primary .menu-item-has-children:focus-within > a::after {
  transform: rotate(-135deg) translateY(2px);
  opacity: 1;
}
.nav-primary .sub-menu {
  position: absolute; top: 100%; left: 0; z-index: 300;
  min-width: 220px; padding: var(--sp-2) 0;
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.nav-primary .menu-item-has-children:hover > .sub-menu,
.nav-primary .menu-item-has-children:focus-within > .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-primary .sub-menu li { position: relative; }
.nav-primary .sub-menu a {
  display: block; padding: var(--sp-2) var(--sp-5);
  font-size: var(--text-sm); font-weight: 400;
  color: var(--color-text-muted); white-space: nowrap;
}
.nav-primary .sub-menu a::after { display: none; }
.nav-primary .sub-menu a:hover { color: var(--color-teal); background: var(--color-teal-light); }

/* Transparent header dropdown override */
.is-front-page .site-header:not(.site-header--scrolled) .nav-primary .sub-menu {
  background: rgba(28, 28, 26, 0.95); border-color: rgba(255,255,255,0.1);
}
.is-front-page .site-header:not(.site-header--scrolled) .nav-primary .sub-menu a {
  color: rgba(255,255,255,0.7);
}
.is-front-page .site-header:not(.site-header--scrolled) .nav-primary .sub-menu a:hover {
  color: #fff; background: rgba(255,255,255,0.1);
}

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 44px; height: 44px; padding: var(--sp-2); flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--color-text);
  border-radius: 1px; transition: transform var(--t-base), opacity var(--t-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   9. MOBILE NAV
   -------------------------------------------------------------------------- */
.nav-mobile {
  width: 100%; background: var(--color-surface); border-bottom: 1px solid var(--color-line);
  padding: 0; display: none;
  box-sizing: border-box;
}
.nav-mobile:not([hidden]) { display: block; }
/* Horizontal padding lives here so links, dividers, and CTA share the same inset (no full-bleed edges). */
.nav-mobile__inner {
  box-sizing: border-box;
  max-width: 100%;
  padding-inline: var(--container-px);
  padding-block: var(--sp-3) var(--sp-6);
}
.nav-mobile__list { display: flex; flex-direction: column; }
.nav-mobile__list li + li { border-top: 1px solid var(--color-line); }
.nav-mobile__list a {
  display: block; padding: var(--sp-3) 0;
  font-family: var(--font-heading); font-size: var(--text-base); font-weight: 500;
  color: var(--color-text); transition: color var(--t-fast);
}
.nav-mobile__list a:hover,
.nav-mobile__list .current-menu-item > a { color: var(--color-teal); }
.nav-mobile .sub-menu {
  padding-left: var(--sp-4); border-left: 2px solid var(--color-teal-light);
  margin-left: var(--sp-2);
}
.nav-mobile .sub-menu a { font-size: var(--text-sm); color: var(--color-text-muted); }
.nav-mobile .sub-menu a:hover { color: var(--color-teal); }
.nav-mobile__cta { padding-top: var(--sp-4); }
.nav-mobile__cta .btn { width: 100%; justify-content: center; }

/* --------------------------------------------------------------------------
   10. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600;
  letter-spacing: 0.02em; line-height: 1;
  padding: 0.8125rem 1.5rem; border-radius: var(--radius-sm); border: 2px solid transparent;
  white-space: nowrap; cursor: pointer; text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.btn:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 3px; }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 0.5625rem 1rem; font-size: var(--text-xs); }
.btn--lg { padding: 1rem 2rem; font-size: var(--text-base); }
.btn--primary { background: var(--color-teal); color: #fff; border-color: var(--color-teal); }
.btn--primary:hover { background: var(--color-teal-dark); border-color: var(--color-teal-dark); }
.btn--secondary { background: transparent; color: var(--color-teal); border-color: var(--color-teal); }
.btn--secondary:hover { background: var(--color-teal); color: #fff; }
.btn--ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn--ghost:hover { border-color: var(--color-text); }
.btn--white { background: #fff; color: var(--color-teal); border-color: #fff; }
.btn--white:hover { background: var(--color-teal-light); border-color: var(--color-teal-light); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* --------------------------------------------------------------------------
   11. VIDEO HERO — Cinematic Split Layout
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 90vh; min-height: 100dvh;
  display: flex; align-items: stretch; overflow: hidden; background: #0a0a0a;
  width: 100%;
  max-width: 100%;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(135deg, rgba(5,18,29,0.85) 0%, rgba(5,18,29,0.4) 50%, rgba(9,132,103,0.25) 100%),
    linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 40%);
}

.hero__inner {
  position: relative; z-index: 2;
  display: flex; align-items: stretch; justify-content: space-between;
  min-height: 90vh; min-height: 100dvh;
  padding-top: calc(var(--header-h) + var(--sp-8));
  padding-bottom: var(--sp-8);
  padding-inline: clamp(2rem, 5vw, 6rem);
  width: 100%;
}

.hero__left {
  display: flex; flex-direction: column; justify-content: flex-end;
  width: 65%; gap: 0; padding-bottom: var(--sp-16);
}

/* Hero elements should animate in immediately, not wait for scroll */
.hero [data-anim] { opacity: 1 !important; transform: none !important; }
.hero [data-anim] {
  animation: hero-fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero [data-anim][data-anim-delay="200"] { animation-delay: 0.2s; }
.hero [data-anim][data-anim-delay="400"] { animation-delay: 0.4s; }
.hero [data-anim][data-anim-delay="600"] { animation-delay: 0.6s; }
@keyframes hero-fade-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

.hero__title-wrap { margin-bottom: var(--sp-10); }
.hero__title {
  font-size: clamp(3.5rem, 8vw, 8rem);
  color: #fff; font-weight: 700; letter-spacing: -0.03em; line-height: 0.95;
}

/* Glassmorphism info box */
.hero__info-box {
  background: linear-gradient(77deg, rgba(5,18,29,0.8) 0%, rgba(32,51,65,0.8) 100%);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: var(--sp-10) var(--sp-12);
  max-width: 700px;
}
.hero__info-text {
  color: #B2BDC6; font-size: var(--text-lg); line-height: 1.7;
  margin-bottom: var(--sp-6); max-width: none;
}
.hero__info-link {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  color: #fff; font-family: var(--font-heading); font-size: var(--text-xs);
  font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  transition: gap var(--t-base);
}
.hero__info-link:hover { gap: var(--sp-5); }
.hero__info-link svg { transition: transform var(--t-base); }
.hero__info-link:hover svg { transform: translateX(4px); }

.hero__right {
  display: flex; align-items: center; justify-content: center;
  width: 35%; position: relative;
}

/* Play video button */
.hero__play-btn {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-4);
  cursor: pointer; background: none; border: none; color: #fff;
  transition: transform var(--t-base);
}
.hero__play-btn:hover { transform: scale(1.08); }
.hero__play-icon {
  border-radius: 50%;
  box-shadow: 0 0 0 16px rgba(52,73,87,0.4);
  transition: box-shadow var(--t-base);
}
.hero__play-btn:hover .hero__play-icon {
  box-shadow: 0 0 0 24px rgba(52,73,87,0.3), 0 0 0 48px rgba(52,73,87,0.15);
}
.hero__play-label {
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.7;
}

/* Scroll CTA */
.hero__scroll-cta {
  position: absolute; bottom: var(--sp-12); right: var(--sp-8); z-index: 3;
  display: flex; align-items: center; gap: var(--sp-3);
  color: #fff;
  writing-mode: vertical-rl; text-orientation: mixed;
  transition: opacity var(--t-base);
}
.hero__scroll-text {
  font-family: var(--font-heading); font-size: var(--text-xs);
  letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6;
}
.hero__scroll-cta svg {
  animation: scroll-bounce 2s ease-in-out infinite;
  writing-mode: horizontal-tb;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* Decorative corner accent */
.hero__accent {
  position: absolute; bottom: 0; right: 0; z-index: 1;
  width: 120px; height: 120px;
  background: var(--color-teal); opacity: 0.15;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* --------------------------------------------------------------------------
   12. STATS BAR
   -------------------------------------------------------------------------- */
.stats-bar {
  background: var(--color-text); border-bottom: none;
  padding-block: var(--sp-12);
  position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(9,132,103,0.08) 100%);
}
.stats-bar__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6);
  text-align: center; position: relative; z-index: 1;
}
.stat-item {
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  position: relative;
}
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: 0; top: 15%; height: 70%;
  width: 1px; background: rgba(255,255,255,0.1);
}
.stat-item__value { display: flex; align-items: baseline; justify-content: center; white-space: nowrap; gap: 2px; }
.stat-item__number {
  font-family: var(--font-heading); font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700; color: var(--color-teal); line-height: 1; letter-spacing: -0.02em;
}
.stat-item__suffix {
  font-family: var(--font-heading); font-size: var(--text-2xl); font-weight: 700; color: var(--color-teal);
}
.stat-item__label { font-size: var(--text-sm); color: rgba(255,255,255,0.5); letter-spacing: 0.02em; }

/* --------------------------------------------------------------------------
   13. MISSION / VISION
   -------------------------------------------------------------------------- */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
.mission-block {
  position: relative; padding: var(--sp-10) var(--sp-8);
  background: var(--color-surface); border: 1px solid var(--color-line);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.mission-block:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mission-block__number {
  position: absolute; top: var(--sp-6); right: var(--sp-6);
  font-family: var(--font-heading); font-size: 4rem; font-weight: 800;
  color: var(--color-teal); opacity: 0.07; line-height: 1; pointer-events: none;
}
.mission-block__accent {
  position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--color-teal), var(--color-teal-dark));
}
.mission-block .text-label { margin-bottom: var(--sp-2); color: var(--color-teal); }
.mission-block h2, .mission-block h3 { font-size: var(--text-2xl); margin-bottom: var(--sp-4); }
.mission-block p { color: var(--color-text-muted); margin-bottom: var(--sp-4); }
.mission-block__list { display: flex; flex-direction: column; gap: var(--sp-3); }
.mission-block__list li {
  font-size: var(--text-sm); color: var(--color-text-muted);
  padding-left: var(--sp-6); position: relative;
}
.mission-block__list li::before {
  content: ''; position: absolute; left: 0; top: 0.5em;
  width: 12px; height: 2px; background: var(--color-teal);
}
.mission-block__closing {
  margin-top: var(--sp-5); font-size: var(--text-sm);
  color: var(--color-text-muted); font-style: italic;
  border-top: 1px solid var(--color-line); padding-top: var(--sp-4);
}

/* --------------------------------------------------------------------------
   13b. MISSION / VISION SPLIT LAYOUT (image + text)
   -------------------------------------------------------------------------- */
.mv-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16);
  align-items: center; margin-bottom: var(--sp-20);
}
.mv-split:last-child { margin-bottom: 0; }
.mv-split--reverse { direction: rtl; }
.mv-split--reverse > * { direction: ltr; }

.mv-split__text .text-label { color: var(--color-teal); margin-bottom: var(--sp-2); }
.mv-split__text h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl)); margin-bottom: var(--sp-5); }
.mv-split__text p { color: var(--color-text-muted); line-height: 1.75; margin-bottom: var(--sp-4); }
.mv-split__text strong { color: var(--color-text); }

.mv-split__list {
  display: flex; flex-direction: column; gap: var(--sp-3);
  margin-block: var(--sp-5); padding: 0; list-style: none;
}
.mv-split__list li {
  padding-left: var(--sp-7); position: relative;
  color: var(--color-text-muted); font-size: var(--text-sm); line-height: 1.65;
}
.mv-split__list li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 14px; height: 2px; background: var(--color-teal);
}

.mv-split__image {
  position: relative; overflow: hidden;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.mv-split__image::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, transparent 60%, rgba(9,132,103,0.15) 100%);
  pointer-events: none;
}
.mv-split__image img {
  display: block; width: 100%; height: auto;
  object-fit: cover; transition: transform 0.6s ease;
}
.mv-split:hover .mv-split__image img { transform: scale(1.03); }

/* --------------------------------------------------------------------------
   14. SERVICES (V2 — card layout)
   -------------------------------------------------------------------------- */
.section--dark {
  background: var(--color-text); color: #fff;
  position: relative; overflow: hidden;
}
.section--dark::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(9,132,103,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(9,132,103,0.08) 0%, transparent 50%);
}
.services-grid--4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-6); position: relative; z-index: 1; }
.service-card {
  display: flex; flex-direction: column; gap: var(--sp-4);
  padding: var(--sp-10) var(--sp-6) var(--sp-8);
  background: var(--color-surface); border: 1px solid var(--color-line);
  position: relative; overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}
.service-card--dark {
  background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.08);
  backdrop-filter: blur(4px);
}
.service-card__number {
  position: absolute; top: var(--sp-4); right: var(--sp-5);
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 700;
  color: var(--color-teal); opacity: 0.4;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--color-teal), var(--color-teal-dark));
  transform: scaleX(0); transform-origin: left; transition: transform var(--t-base);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.service-card:hover::after { transform: scaleX(1); }
.service-card--dark:hover { background: rgba(255,255,255,0.08); box-shadow: 0 8px 32px rgba(9,132,103,0.2); }
.service-card__icon { color: var(--color-teal); }
.service-card--dark .service-card__icon { opacity: 0.9; }
.service-card__title { font-size: var(--text-lg); font-weight: 600; }
.service-card--dark .service-card__title { color: #fff; }
.service-card__desc { font-size: var(--text-sm); color: var(--color-text-muted); flex: 1; line-height: 1.7; }
.service-card--dark .service-card__desc { color: rgba(255,255,255,0.55); }
.service-card__link {
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600;
  color: var(--color-teal); margin-top: auto;
  transition: letter-spacing var(--t-fast), gap var(--t-fast);
  display: inline-flex; align-items: center; gap: var(--sp-2);
}
.service-card:hover .service-card__link { letter-spacing: 0.04em; gap: var(--sp-3); }

/* --------------------------------------------------------------------------
   15. MACHINERY
   -------------------------------------------------------------------------- */
.machinery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
.machinery-content { display: flex; flex-direction: column; gap: var(--sp-4); }
.machinery-content h2 { margin-bottom: var(--sp-2); }
.machinery-content > p { color: var(--color-text-muted); line-height: 1.7; }
.machinery-list {
  display: flex; flex-direction: column; gap: var(--sp-4);
  margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid var(--color-line);
}
.machinery-list li {
  display: flex; gap: var(--sp-4); align-items: flex-start;
}
.machinery-list__icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-teal-light); color: var(--color-teal); border-radius: 50%;
}
.machinery-list li div { display: flex; flex-direction: column; gap: var(--sp-1); }
.machinery-list li strong { font-family: var(--font-heading); font-size: var(--text-base); font-weight: 600; }
.machinery-list li span { font-size: var(--text-sm); color: var(--color-text-muted); }
.machinery-visual__frame {
  aspect-ratio: 4/3; background: var(--color-beige); border: 1px solid var(--color-line);
  position: relative; overflow: hidden;
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.machinery-visual__frame img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; position: absolute; inset: 0;
}
.machinery-visual__frame::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, transparent 60%, rgba(9,132,103,0.12) 100%);
  pointer-events: none;
}
.machinery-visual__accent {
  position: absolute; top: -8px; left: -8px; width: 60px; height: 60px;
  background: var(--color-teal); z-index: 1;
}
.machinery-visual__accent-2 {
  position: absolute; bottom: -8px; right: -8px; width: 40px; height: 40px;
  border: 3px solid var(--color-teal); z-index: 1;
}

/* --------------------------------------------------------------------------
   16. CATEGORY GRID
   -------------------------------------------------------------------------- */
.categories-section { border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-4); }
.category-tile {
  position: relative; display: block; aspect-ratio: 4/3;
  overflow: hidden; background: var(--color-beige); border: 1px solid var(--color-line);
}
.category-tile__image { width: 100%; height: 100%; position: absolute; inset: 0; }
.category-tile__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.category-tile:hover .category-tile__image img { transform: scale(1.06); }
.category-tile__image--placeholder { background: var(--color-beige); }
.category-tile__label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(9,132,103,0.92) 0%, rgba(9,132,103,0.6) 60%, transparent 100%);
  color: #fff; padding: var(--sp-6) var(--sp-5) var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-1);
}
.category-tile__label span:first-child { font-family: var(--font-heading); font-size: var(--text-base); font-weight: 600; }
.category-tile__count { font-size: var(--text-xs); opacity: 0.8; }
.categories-section__cta { margin-top: var(--sp-10); text-align: center; }

/* --------------------------------------------------------------------------
   17. PARTNERS MARQUEE
   -------------------------------------------------------------------------- */
.partners-section { padding-block: var(--sp-16); overflow: hidden; }
.partners-section .section-header { margin-bottom: var(--sp-10); }
.partners-section__label { text-align: center; margin-bottom: var(--sp-8); }
.marquee { width: 100%; overflow: hidden; }
.marquee__track {
  display: flex; width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__item {
  flex-shrink: 0; padding: var(--sp-4) var(--sp-10);
  display: flex; align-items: center; justify-content: center;
}
/* Logo image variant */
.marquee__item a {
  display: flex; align-items: center;
}
.marquee__item img {
  height: 44px; width: auto; max-width: 160px;
  object-fit: contain;
  filter: grayscale(1) opacity(0.45);
  transition: filter var(--t-base), transform var(--t-base);
}
.marquee__item a:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.06);
}
.marquee:hover .marquee__track { animation-play-state: paused; }
/* Text variant (fallback) */
.marquee__item span {
  font-family: var(--font-heading); font-size: var(--text-lg); font-weight: 600;
  color: var(--color-border); white-space: nowrap;
  transition: color var(--t-base);
}
.marquee:hover .marquee__item span { color: var(--color-text-muted); }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --------------------------------------------------------------------------
   18. CTA BANNER
   -------------------------------------------------------------------------- */
.cta-banner {
  background: var(--color-teal); color: #fff; padding-block: var(--sp-16);
}
.cta-banner__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8);
}
.cta-banner h2, .cta-banner h3 { color: #fff; margin-bottom: var(--sp-2); max-width: none; }
.cta-banner p { color: rgba(255,255,255,0.8); font-size: var(--text-lg); max-width: none; }
.cta-banner__actions { flex-shrink: 0; }

/* Pre-footer CTA */
.prefooter-cta {
  background: var(--color-teal); color: #fff;
  padding-block: var(--sp-12);
}
.prefooter-cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-8);
}
.prefooter-cta h3 { color: #fff; margin-bottom: var(--sp-2); }
.prefooter-cta p { color: rgba(255,255,255,0.8); max-width: none; }
.prefooter-cta__actions { display: flex; gap: var(--sp-4); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   19. ABOUT SECTION
   -------------------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: center; }
.about-content { display: flex; flex-direction: column; gap: var(--sp-4); }
.about-content .text-label { margin-bottom: 0; }
.about-content h2 { margin-bottom: var(--sp-2); }
.about-content .btn { align-self: flex-start; margin-top: var(--sp-4); }
.about-image__frame {
  aspect-ratio: 4/3; background: var(--color-beige); border: 1px solid var(--color-line);
  position: relative; overflow: hidden;
  border-radius: var(--radius-sm);
}
.about-image__frame img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; position: absolute; inset: 0;
  transition: transform 0.6s ease;
}
.about-image:hover .about-image__frame img { transform: scale(1.04); }
.about-image__frame::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, transparent 55%, rgba(9,132,103,0.18) 100%);
  pointer-events: none;
}
.about-image__accent {
  position: absolute; bottom: -12px; right: -12px;
  width: 80px; height: 80px; background: var(--color-teal); z-index: 1;
}
.about-image__accent-2 {
  position: absolute; top: -12px; left: -12px;
  width: 50px; height: 50px; border: 3px solid var(--color-teal); z-index: 1;
}

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--color-text); color: var(--color-beige);
  border-top: 4px solid var(--color-teal);
  padding-block: var(--sp-16) var(--sp-8);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--sp-10); margin-bottom: var(--sp-12);
}
.footer-col--brand { display: flex; flex-direction: column; gap: var(--sp-4); }
.footer-logo .site-logo__fallback { color: #fff; }
.footer-logo img { filter: brightness(0) invert(1); height: 40px; width: auto;}
.footer-tagline { font-size: var(--text-sm); color: var(--color-beige); opacity: 0.8; line-height: 1.6; max-width: 32ch; }
.footer-social { display: flex; gap: var(--sp-3); margin-top: var(--sp-2); }
.footer-social a { color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.footer-social a:hover { color: var(--color-teal-light); }
.footer-heading,
.site-footer h4.footer-heading {
  font-family: var(--font-heading); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-4);
}
.footer-nav { display: flex; flex-direction: column; gap: var(--sp-2); }
.footer-nav li a,
.footer-nav a { font-size: var(--text-sm); color: var(--color-beige); opacity: 0.7; transition: color var(--t-fast), opacity var(--t-fast); }
.footer-nav li a:hover,
.footer-nav a:hover { color: #fff; opacity: 1; }
.footer-contact { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-contact__item {
  display: flex; align-items: flex-start; gap: var(--sp-3);
  font-size: var(--text-sm); color: var(--color-beige); opacity: 0.7;
}
.footer-contact__item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.5; width: 16px; height: 16px; }
.footer-contact__item a { color: inherit; transition: color var(--t-fast); }
.footer-contact__item a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--sp-6);
  display: flex; justify-content: space-between; align-items: center;
  font-size: var(--text-xs); color: rgba(255,255,255,0.35);
}
.footer-bottom__credit a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-bottom__credit a:hover {
  color: #fff;
}
@media (max-width: 767px) {
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-2);
  }
}

/* --------------------------------------------------------------------------
   21. WOOCOMMERCE — SHOP ARCHIVE
   -------------------------------------------------------------------------- */
.shop-page-header {
  background: var(--color-surface); border-bottom: 1px solid var(--color-line);
  padding-block: var(--sp-10);
}
.shop-page-header__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--sp-6); }
.shop-page-header__text .text-label { margin-bottom: var(--sp-2); }
.shop-page-header__text h1 { margin: 0; font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); }
.category-filter { padding-block: var(--sp-6); border-bottom: 1px solid var(--color-line); background: var(--color-surface); }
.category-filter__list { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.category-filter__item a {
  display: inline-block; font-family: var(--font-heading);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4); border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  color: var(--color-text-muted); background: transparent;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.category-filter__item a:hover,
.category-filter__item.is-active a { border-color: var(--color-teal); color: var(--color-teal); background: var(--color-teal-light); }
.shop-loop-wrap { padding-top: var(--sp-6); padding-bottom: var(--sp-16); }

/* Kill WooCommerce's legacy clearfix pseudo-elements on the product grid */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce .products ul::before,
.woocommerce .products ul::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
  content: none !important;
  display: none !important;
}

/* Product grid — robust override */
ul.products,
.woocommerce ul.products,
ul.products.columns-2,
ul.products.columns-3,
ul.products.columns-4 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: var(--sp-6) !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  width: 100% !important;
}
.woocommerce-result-count, .woocommerce-ordering { display: none !important; }

/* --------------------------------------------------------------------------
   22. WOOCOMMERCE — PRODUCT CARD
   -------------------------------------------------------------------------- */
.product-card,
li.product.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-sm);
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: box-shadow var(--t-base), transform var(--t-base);
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-card__link-wrap { display: block; overflow: hidden; }
.product-card__image-wrap {
  aspect-ratio: 4/3; overflow: hidden; background: var(--color-surface-alt);
  position: relative;
}
/* Force ALL images inside product card to fill properly */
.product-card__image-wrap img,
.product-card__image-wrap .product-card__img,
.product-card__image-wrap .wp-post-image,
.product-card__image-wrap .woocommerce-placeholder {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  position: absolute !important;
  inset: 0 !important;
  max-width: none !important;
  transition: transform var(--t-slow);
}
.product-card:hover .product-card__image-wrap img { transform: scale(1.05); }
.product-card__body {
  padding: var(--sp-4) var(--sp-5) var(--sp-5);
  flex: 1; display: flex; flex-direction: column; gap: var(--sp-2);
}
.product-card__category {
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-teal); transition: color var(--t-fast);
}
.product-card__category:hover { color: var(--color-teal-dark); }
.product-card__title {
  font-family: var(--font-heading); font-size: var(--text-base); font-weight: 600;
  line-height: 1.3; color: var(--color-text); flex: 1;
}
.product-card__title a { color: inherit; transition: color var(--t-fast); }
.product-card__title a:hover { color: var(--color-teal); }
.product-card__link {
  display: inline-flex; align-items: center; gap: var(--sp-1);
  margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--color-line);
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600;
  color: var(--color-teal); transition: gap var(--t-fast), color var(--t-fast);
}
.product-card__link:hover { gap: var(--sp-2); color: var(--color-teal-dark); }

/* --------------------------------------------------------------------------
   23. WOOCOMMERCE — SINGLE PRODUCT
   -------------------------------------------------------------------------- */
.single-product-wrap { padding-block: var(--sp-12); }
.single-product-breadcrumb {
  padding-block: var(--sp-4); border-bottom: 1px solid var(--color-line);
  font-size: var(--text-sm); color: var(--color-text-muted);
  display: flex; gap: var(--sp-2); align-items: center;
}
.single-product-breadcrumb a { color: var(--color-text-muted); transition: color var(--t-fast); }
.single-product-breadcrumb a:hover { color: var(--color-teal); }
.single-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: start; }
.single-product__gallery { position: sticky; top: calc(var(--header-h) + var(--sp-8)); }
.product-gallery__main { width: 100%; overflow: hidden; background: var(--color-surface-alt); border: 1px solid var(--color-line); }
.product-gallery__main img, .product-gallery__main-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.product-gallery__thumbs { display: flex; gap: var(--sp-2); margin-top: var(--sp-3); flex-wrap: wrap; }
.product-gallery__thumb {
  width: 80px; height: 60px; object-fit: cover;
  border: 1px solid var(--color-line); cursor: pointer;
  transition: border-color var(--t-fast), opacity var(--t-fast); opacity: 0.7;
}
.product-gallery__thumb:hover, .product-gallery__thumb.is-active { border-color: var(--color-teal); opacity: 1; }
.single-product__summary { padding-top: var(--sp-4); }
.product-summary__category { font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-teal); margin-bottom: var(--sp-3); }
.single-product__summary .product_title {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-3xl));
  font-weight: 700; letter-spacing: -0.01em; margin-bottom: var(--sp-6); color: var(--color-text);
}
.single-product__summary .woocommerce-product-details__short-description { color: var(--color-text-muted); line-height: 1.7; margin-bottom: var(--sp-6); }
.single-product__summary .woocommerce-product-details__short-description p { max-width: none; }
.product_meta { margin-top: var(--sp-6); padding-top: var(--sp-6); border-top: 1px solid var(--color-line); display: flex; flex-direction: column; gap: var(--sp-3); }
.product_meta > span { display: flex; gap: var(--sp-2); align-items: baseline; font-size: var(--text-sm); }
.product_meta .sku_wrapper, .product_meta .posted_in, .product_meta .tagged_as { color: var(--color-text-muted); }
.product_meta .sku, .product_meta a { color: var(--color-text); font-weight: 500; }
.product_meta a:hover { color: var(--color-teal); }
.single-product__cta {
  margin-top: var(--sp-8); padding-top: var(--sp-6); border-top: 1px solid var(--color-line);
  display: flex; gap: var(--sp-4); align-items: center; flex-wrap: wrap;
}
.single-product__cta-label { font-size: var(--text-sm); color: var(--color-text-muted); }

/* --------------------------------------------------------------------------
   24. WOOCOMMERCE — MISC
   -------------------------------------------------------------------------- */
.woocommerce-notices-wrapper { margin-bottom: var(--sp-6); }
.woocommerce-message, .woocommerce-info { padding: var(--sp-4) var(--sp-6); border-left: 3px solid var(--color-teal); background: var(--color-teal-light); font-size: var(--text-sm); margin-bottom: var(--sp-4); }
.woocommerce-error { padding: var(--sp-4) var(--sp-6); border-left: 3px solid var(--color-error); background: #fef2f2; font-size: var(--text-sm); margin-bottom: var(--sp-4); }
.woocommerce-pagination { margin-top: var(--sp-12); display: flex; justify-content: center; }
.woocommerce-pagination ul { display: flex; gap: var(--sp-1); align-items: center; }
.woocommerce-pagination ul li a, .woocommerce-pagination ul li span {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 500;
  color: var(--color-text); border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.woocommerce-pagination ul li a:hover { border-color: var(--color-teal); color: var(--color-teal); }
.woocommerce-pagination ul li span.current { background: var(--color-teal); border-color: var(--color-teal); color: #fff; }
.woocommerce-tabs { margin-top: var(--sp-16); padding-top: var(--sp-12); border-top: 1px solid var(--color-line); }
.woocommerce-tabs .tabs { display: flex; gap: 0; border-bottom: 1px solid var(--color-line); margin-bottom: var(--sp-8); }
.woocommerce-tabs .tabs li a {
  display: block; font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600;
  padding: var(--sp-3) var(--sp-6); color: var(--color-text-muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--t-fast), border-color var(--t-fast);
}
.woocommerce-tabs .tabs li.active a, .woocommerce-tabs .tabs li a:hover { color: var(--color-teal); border-bottom-color: var(--color-teal); }
.woocommerce-tabs .woocommerce-Tabs-panel { font-size: var(--text-base); color: var(--color-text-muted); line-height: 1.7; }
.woocommerce-tabs .woocommerce-Tabs-panel h2 { display: none; }
.no-products-found { text-align: center; padding: var(--sp-24) 0; color: var(--color-text-muted); }
.no-products-found h2 { margin-bottom: var(--sp-4); color: var(--color-text); }
.woocommerce-container { padding-block: var(--sp-12); }

/* --------------------------------------------------------------------------
   25. STANDARD PAGES
   -------------------------------------------------------------------------- */
.page-header { margin-bottom: var(--sp-10); padding-bottom: var(--sp-8); border-bottom: 1px solid var(--color-line); }
.page-header .text-label { margin-bottom: var(--sp-2); }
.page-header__title { font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl)); letter-spacing: -0.02em; }
.single-post__thumbnail { margin-bottom: var(--sp-8); overflow: hidden; }
.single-post__thumbnail img { width: 100%; max-height: 480px; object-fit: cover; }
.single-post__content { max-width: 72ch; }
.post-navigation { margin-top: var(--sp-12); padding-top: var(--sp-8); border-top: 1px solid var(--color-line); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: var(--sp-6); }
.post-navigation a { font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600; color: var(--color-teal); }

/* Page hero banner (About, Services, Contact) */
.page-hero {
  background: var(--color-text); color: #fff;
  padding-block: var(--sp-20); position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: 0; bottom: 0;
  width: 200px; height: 200px; background: var(--color-teal); opacity: 0.15;
}
.page-hero .text-label { color: var(--color-teal-light); margin-bottom: var(--sp-3); }
.page-hero h1 { color: #fff; margin-bottom: var(--sp-3); }
.page-hero__breadcrumb { font-size: var(--text-sm); color: rgba(255,255,255,0.5); }
.page-hero__breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--t-fast); }
.page-hero__breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   26. 404 / SEARCH / BLOG
   -------------------------------------------------------------------------- */
.error-404 { max-width: 560px; padding-block: var(--sp-16); }
.error-404__code { font-size: var(--text-5xl); font-family: var(--font-heading); font-weight: 700; color: var(--color-teal); margin-bottom: var(--sp-4); }
.error-404__title { margin-bottom: var(--sp-4); }
.error-404__message { color: var(--color-text-muted); margin-bottom: var(--sp-8); max-width: 45ch; }
.error-404__actions { display: flex; gap: var(--sp-4); flex-wrap: wrap; margin-bottom: var(--sp-8); }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-6); }
.post-card { background: var(--color-surface); border: 1px solid var(--color-line); display: flex; flex-direction: column; transition: box-shadow var(--t-base); }
.post-card:hover { box-shadow: var(--shadow-md); }
.post-card__image-wrap { display: block; overflow: hidden; aspect-ratio: 16/9; }
.post-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.post-card:hover .post-card__image-wrap img { transform: scale(1.04); }
.post-card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.post-card__meta { color: var(--color-text-muted); }
.post-card__title { font-size: var(--text-lg); flex: 1; }
.post-card__title a:hover { color: var(--color-teal); }
.no-results { padding-block: var(--sp-16); max-width: 480px; }
.no-results h2 { margin-bottom: var(--sp-4); }
.no-results p { color: var(--color-text-muted); margin-bottom: var(--sp-6); }
.search-form { display: flex; gap: var(--sp-2); }
.search-field {
  flex: 1; padding: 0.75rem var(--sp-4); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: var(--text-sm);
  background: var(--color-surface); color: var(--color-text); transition: border-color var(--t-fast);
}
.search-field:focus { outline: none; border-color: var(--color-teal); }
.search-submit {
  padding: 0.75rem var(--sp-5); background: var(--color-teal); color: #fff;
  border: none; border-radius: var(--radius-sm); font-family: var(--font-heading);
  font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background var(--t-fast);
}
.search-submit:hover { background: var(--color-teal-dark); }

/* --------------------------------------------------------------------------
   27. CUSTOM PAGE TEMPLATES — ABOUT, SERVICES, CONTACT
   -------------------------------------------------------------------------- */
/* About - What we do */
.what-we-do-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: center; }
.what-we-do-grid__content { display: flex; flex-direction: column; gap: var(--sp-4); }
.what-we-do-grid__visual {
  aspect-ratio: 4/3; background: var(--color-beige);
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.what-we-do-grid__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); }
.contact-info { display: flex; flex-direction: column; gap: var(--sp-6); }
.contact-info__item { display: flex; gap: var(--sp-4); align-items: flex-start; }
.contact-info__icon {
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: var(--color-teal-light); color: var(--color-teal); flex-shrink: 0;
}
.contact-info__text h4 { font-size: var(--text-base); margin-bottom: var(--sp-1); }
.contact-info__text p, .contact-info__text a { font-size: var(--text-sm); color: var(--color-text-muted); }
.contact-info__text a:hover { color: var(--color-teal); }

/* Services detail layout */
.service-detail { padding-block: var(--sp-12); border-bottom: 1px solid var(--color-line); }
.service-detail:last-of-type { border-bottom: none; }
.service-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); align-items: center; }
.service-detail--reverse .service-detail__grid { direction: rtl; }
.service-detail--reverse .service-detail__grid > * { direction: ltr; }
.service-detail__content { display: flex; flex-direction: column; gap: var(--sp-4); }
.service-detail__icon { color: var(--color-teal); margin-bottom: var(--sp-2); }
.service-detail__content h3 { font-size: var(--text-2xl); }
.service-detail__content > p { color: var(--color-text-muted); line-height: 1.7; }
.service-detail__features { display: flex; flex-direction: column; gap: var(--sp-3); margin-top: var(--sp-4); }
.service-detail__features li {
  font-size: var(--text-sm); color: var(--color-text-muted);
  padding-left: var(--sp-5); position: relative;
}
.service-detail__features li::before {
  content: ''; position: absolute; left: 0; top: 0.55em;
  width: 8px; height: 2px; background: var(--color-teal);
}
.service-detail__visual {
  aspect-ratio: 4/3; background: var(--color-beige);
  position: relative; overflow: hidden; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.service-detail__visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

/* Contact form wrapper */
.contact-form-wrap { background: var(--color-surface); border: 1px solid var(--color-line); padding: var(--sp-8); }

/* Contact form styles */
.wpcf7-form { display: flex; flex-direction: column; gap: var(--sp-4); }
.wpcf7-form label { font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 500; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%; padding: 0.75rem var(--sp-4); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); font-family: var(--font-body); font-size: var(--text-sm);
  background: var(--color-surface); transition: border-color var(--t-fast);
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--color-teal); }
.wpcf7-form textarea { min-height: 150px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  padding: 0.8125rem var(--sp-8); background: var(--color-teal); color: #fff;
  border: 2px solid var(--color-teal); border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-size: var(--text-sm); font-weight: 600;
  cursor: pointer; transition: background var(--t-fast); align-self: flex-start;
}
.wpcf7-form input[type="submit"]:hover { background: var(--color-teal-dark); border-color: var(--color-teal-dark); }

/* --------------------------------------------------------------------------
   28. ANIMATIONS
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  /* Generic data-anim system */
  [data-anim] { opacity: 0; transition: opacity 0.6s var(--t-xslow), transform 0.6s var(--t-xslow); }
  [data-anim].is-visible { opacity: 1; transform: none !important; }

  [data-anim="fade-up"] { transform: translateY(24px); }
  [data-anim="fade-down"] { transform: translateY(-24px); }
  [data-anim="fade-left"] { transform: translateX(40px); }
  [data-anim="fade-right"] { transform: translateX(-40px); }
  [data-anim="scale-in"] { transform: scale(0.95); }

  /* Legacy js-fade compat */
  .js-fade { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
  .js-fade.is-visible { opacity: 1; transform: none; }
}

/* Narrow viewports: horizontal entry motion widens scroll width (body bg shows as a side strip). */
@media (max-width: 768px) and (prefers-reduced-motion: no-preference) {
  [data-anim="fade-left"],
  [data-anim="fade-right"] {
    transform: translateY(20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-anim], .js-fade { opacity: 1 !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   29. FOCUS / ACCESSIBILITY
   -------------------------------------------------------------------------- */
:focus-visible { outline: 2px solid var(--color-teal); outline-offset: 3px; border-radius: 1px; }
:focus:not(:focus-visible) { outline: none; }

/* --------------------------------------------------------------------------
   30. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  ul.products, .woocommerce ul.products, ul.products.columns-4 { grid-template-columns: repeat(3, 1fr) !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; }
  .services-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero__inner { flex-direction: column; min-height: 85vh; }
  .hero__left { width: 100%; padding-bottom: var(--sp-8); }
  .hero__right { width: 100%; position: absolute; top: 30%; left: 50%; transform: translateX(-50%); }
  .hero__scroll-cta { display: none; }
  .single-product-layout { grid-template-columns: 1fr; gap: var(--sp-8); }
  .single-product__gallery { position: static; }
  .about-grid, .machinery-grid, .what-we-do-grid, .contact-grid, .service-detail__grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .service-detail--reverse .service-detail__grid { direction: ltr; }
  .service-detail__visual { display: none; }
  .about-image, .machinery-visual { display: none; }
  .mission-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
  .mv-split, .mv-split--reverse { grid-template-columns: 1fr; direction: ltr; gap: var(--sp-8); margin-bottom: var(--sp-12); }
  .mv-split__image { order: -1; }
  .cta-banner__inner, .prefooter-cta__inner { flex-direction: column; text-align: center; }
  .prefooter-cta__actions { justify-content: center; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); gap: var(--sp-8); }
  .stat-item + .stat-item::before { display: none; }
}

@media (max-width: 768px) {
  :root { --container-px: var(--sp-4); }
  .nav-primary-wrap { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .top-bar { display: none; }

  /*
   * Mobile menu: header has a fixed pixel height; the panel lived inside it and was
   * flex-squashed, so only part of the list was visible. Use a fixed overlay with
   * scroll so all items + sub-menus match desktop.
   */
  .site-header__inner {
    position: relative;
    z-index: 210;
    /* Match horizontal inset with .nav-mobile__inner (safe areas + container gutter). */
    padding-inline: max(var(--container-px), env(safe-area-inset-left, 0px))
      max(var(--container-px), env(safe-area-inset-right, 0px));
  }
  .is-front-page .site-header--nav-open .site-header__inner {
    background: var(--color-surface);
    transition: background-color var(--t-fast);
  }
  .nav-mobile:not([hidden]) {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100dvh - var(--header-h));
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    z-index: 205;
    padding: 0;
    border-bottom: none;
    box-shadow: var(--shadow-lg);
  }
  .nav-mobile__inner {
    padding-inline: max(var(--container-px), env(safe-area-inset-left, 0px))
      max(var(--container-px), env(safe-area-inset-right, 0px));
    padding-block: var(--sp-4) max(var(--sp-8), env(safe-area-inset-bottom, 0px));
  }
  ul.products, .woocommerce ul.products, ul.products.columns-4, ul.products.columns-3 {
    grid-template-columns: repeat(2, 1fr) !important; gap: var(--sp-4) !important;
  }
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-8); }
  .hero__title { font-size: clamp(var(--text-3xl), 10vw, var(--text-5xl)); }
  .hero__right { display: none; }
  .services-grid--4 { grid-template-columns: 1fr; }
  .page-hero { padding-block: var(--sp-12); }
}

@media (max-width: 540px) {
  ul.products, .woocommerce ul.products, ul.products.columns-4,
  ul.products.columns-3, ul.products.columns-2 { grid-template-columns: 1fr !important; }
  .category-grid { grid-template-columns: 1fr; }
  .post-grid { grid-template-columns: 1fr; }
  .hero__info-box { padding: var(--sp-5) var(--sp-6); }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .shop-page-header__inner { flex-direction: column; align-items: flex-start; }
  .error-404__actions { flex-direction: column; }
  .prefooter-cta__actions { flex-direction: column; }
  .prefooter-cta__actions .btn { width: 100%; justify-content: center; }
}
