/* ============================================================
   New Optical Solutions — Main Stylesheet
   ============================================================ */

/* ----------------------------------------
   1. CSS Custom Properties
   ---------------------------------------- */
:root {
  --primary:       #0080a2;
  --primary-dark:  #005c7a;
  --primary-mid:   #0092b8;
  --accent:        #7a5c57;
  --accent-dark:   #5e4541;
  --accent-light:  #f5edec;

  --white:       #ffffff;
  --gray-50:     #f8fafc;
  --gray-100:    #f1f5f9;
  --gray-200:    #e2e8f0;
  --gray-300:    #cbd5e1;
  --gray-400:    #94a3b8;
  --gray-500:    #64748b;
  --gray-600:    #475569;
  --gray-700:    #334155;
  --gray-800:    #1e293b;
  --gray-900:    #0f172a;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe 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:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;

  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10);
  --shadow-lg:  0 10px 30px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 40px rgba(0,0,0,.14);

  --ease:       cubic-bezier(.4,0,.2,1);
  --duration:   240ms;

  --header-h:  76px;
  --container: 1200px;
  --gap:        1.5rem;
}

/* ----------------------------------------
   2. Reset & Base
   ---------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ----------------------------------------
   3. Typography
   ---------------------------------------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
}

h1 { font-size: clamp(2rem, 5vw, var(--text-5xl)); }
h2 { font-size: clamp(1.6rem, 4vw, var(--text-4xl)); }
h3 { font-size: clamp(1.25rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }

p { color: var(--gray-600); }

.text-accent  { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-muted   { color: var(--gray-500); }

/* ----------------------------------------
   4. Layout
   ---------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gap);
}

.section { padding-block: 5rem; }
.section--sm { padding-block: 3rem; }
.section--lg { padding-block: 7rem; }
.section--alt { background: var(--gray-50); }
.section--dark {
  background: var(--primary-dark);
  color: var(--white);
}
.section--dark h2,
.section--dark h3,
.section--dark p { color: inherit; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-header { max-width: 640px; margin-bottom: 3rem; }
.section-header p { margin-top: .75rem; font-size: var(--text-lg); }
.section-header--center { text-align: center; margin-inline: auto; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.flex    { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ----------------------------------------
   5. Buttons
   ---------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(154,123,118,.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(154,123,118,.45);
}

.btn-outline-white {
  border: 1.5px solid rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-outline {
  border: 1.5px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-ghost { color: var(--primary-dark); padding-inline: .5rem; }
.btn-ghost:hover { color: var(--accent); }

.btn-lg { padding: 1rem 2.25rem; font-size: var(--text-base); border-radius: var(--radius-lg); }
.btn-sm { padding: .5rem 1.25rem; font-size: var(--text-xs); }

/* ----------------------------------------
   6. Badge / Tag
   ---------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-accent  { background: var(--accent-light); color: var(--accent-dark); }
.badge-primary { background: rgba(0,128,162,.1); color: var(--primary); }
.badge-gray    { background: var(--gray-100); color: var(--gray-600); }

/* ----------------------------------------
   7. Header & Navigation
   ---------------------------------------- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
  transition: background var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}
.site-header.scrolled {
  background: var(--primary);
  border-bottom-color: transparent;
  box-shadow: 0 2px 16px rgba(0,128,162,.3);
}

/* Three-zone header layout */
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding-inline: var(--gap);
}

/* Left zone: globe + search (index.html) */
.header-left {
  display: flex;
  align-items: center;
  gap: .625rem;
}

/* Center zone: logo */
.header-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Right zone: nav + CTA + hamburger */
.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .375rem;
}

/* Logo image (new index.html layout) */
.header-logo-img {
  max-height: 65px;
  width: auto;
  display: block;
  transition: filter var(--duration) var(--ease);
}
.site-header.scrolled .header-logo-img {
  filter: brightness(0) invert(1);
}

/* Logo text (old pages, kept for backward compat) */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text { line-height: 1.1; }
.logo-name {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -.01em;
}
.logo-tagline {
  display: block;
  font-size: var(--text-xs);
  color: var(--gray-500);
  letter-spacing: .04em;
  font-weight: 400;
}
.site-header.scrolled .logo-name { color: var(--white); }
.site-header.scrolled .logo-tagline { color: rgba(255,255,255,.6); }

/* Old pages: justify site-nav & header-actions in the grid */
.site-nav { display: flex; align-items: center; gap: .25rem; justify-self: center; }
.header-actions { display: flex; align-items: center; gap: .625rem; flex-shrink: 0; justify-self: end; }

/* Nav links — default (white header): primary blue */
.nav-link {
  display: flex;
  align-items: center;
  padding: .5rem .875rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}
.nav-link:hover { color: var(--primary-dark); background: rgba(0,128,162,.07); }
.nav-link.active {
  color: var(--primary);
  background: rgba(0,128,162,.07);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

/* Nav links — scrolled (blue header): white */
.site-header.scrolled .nav-link { color: rgba(255,255,255,.85); }
.site-header.scrolled .nav-link:hover { color: var(--white); background: rgba(255,255,255,.1); }
.site-header.scrolled .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,.1);
  text-decoration-color: var(--white);
}

/* Header CTA button — no brown in navbar */
.site-header .btn-primary,
.header-right .btn-primary,
.header-actions .btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,128,162,.3);
}
.site-header .btn-primary:hover,
.header-right .btn-primary:hover,
.header-actions .btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0,128,162,.4);
  transform: translateY(-1px);
}
.site-header.scrolled .btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: none;
}
.site-header.scrolled .btn-primary:hover {
  background: var(--gray-100);
  box-shadow: none;
}

/* Search bar — default (white header) */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}
.header-search-icon {
  position: absolute;
  left: .75rem;
  width: 14px;
  height: 14px;
  color: var(--gray-400);
  pointer-events: none;
  flex-shrink: 0;
  transition: color var(--duration) var(--ease);
}
.site-header.scrolled .header-search-icon { color: rgba(255,255,255,.55); }
.header-search-input {
  background: var(--gray-100);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  color: var(--gray-800);
  padding: .4rem 1rem .4rem 2.25rem;
  font-size: var(--text-sm);
  width: 190px;
  transition: all var(--duration) var(--ease);
  outline: none;
}
.header-search-input::placeholder { color: var(--gray-400); }
.header-search-input:focus {
  background: var(--white);
  border-color: var(--primary);
  width: 220px;
  box-shadow: 0 0 0 2px rgba(0,128,162,.12);
}
/* Scrolled state */
.site-header.scrolled .header-search-input {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.2);
  color: var(--white);
}
.site-header.scrolled .header-search-input::placeholder { color: rgba(255,255,255,.45); }
.site-header.scrolled .header-search-input:focus {
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.5);
  box-shadow: 0 0 0 2px rgba(255,255,255,.1);
}

/* Search autocomplete dropdown */
.search-autocomplete {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(0,0,0,.10);
  z-index: 2000;
  list-style: none;
  margin: 0;
  padding: .25rem 0;
}
.search-ac-item {
  display: flex;
  flex-direction: column;
  padding: .6rem 1rem;
  cursor: pointer;
  transition: background var(--duration) var(--ease);
  gap: .15rem;
}
.search-ac-item:hover,
.search-ac-item--active {
  background: var(--accent-light, #e6f4f8);
}
.search-ac-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-800);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-ac-mfr {
  font-size: .72rem;
  color: var(--primary);
  font-weight: 500;
}
.search-ac-empty {
  padding: .75rem 1rem;
  font-size: var(--text-sm);
  color: var(--gray-400);
  text-align: center;
  cursor: default;
}
/* Mobile search has its own stacking context */
.mobile-search {
  position: relative;
}

/* Globe language toggle (new dropdown style) */
.lang-dropdown-wrapper { position: relative; }

.lang-globe-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--primary);
  background: rgba(0,128,162,.08);
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
}
.lang-globe-btn svg { width: 18px; height: 18px; }
.lang-globe-btn:hover { background: rgba(0,128,162,.15); }
.site-header.scrolled .lang-globe-btn {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.1);
}
.site-header.scrolled .lang-globe-btn:hover { background: rgba(255,255,255,.18); }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 152px;
  display: none;
  flex-direction: column;
  z-index: 200;
  overflow: hidden;
}
.lang-dropdown.open {
  display: flex;
  animation: dropdownIn .15s var(--ease);
}
@keyframes dropdownIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.lang-option {
  padding: .625rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: .625rem;
  transition: all var(--duration) var(--ease);
  text-align: left;
  white-space: nowrap;
  border: none;
  background: none;
  cursor: pointer;
  width: 100%;
}
.lang-option:hover { background: var(--gray-50); color: var(--primary); }
.lang-option.active { color: var(--primary); font-weight: 600; }
.lang-option .lang-flag { font-size: 1rem; line-height: 1; }

/* Old-style lang toggle (kept for other pages' mobile menus) */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: .2rem;
  background: rgba(0,128,162,.08);
  border-radius: var(--radius-full);
  padding: .2rem .375rem;
  flex-shrink: 0;
}
.site-header.scrolled .lang-toggle { background: rgba(255,255,255,.1); }
.lang-btn {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--gray-500);
  padding: .25rem .5rem;
  border-radius: var(--radius-full);
  transition: all var(--duration) var(--ease);
  line-height: 1;
}
.lang-btn.active {
  color: var(--white);
  background: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lang-btn:hover:not(.active) { color: var(--primary); }
.site-header.scrolled .lang-btn { color: rgba(255,255,255,.55); }
.site-header.scrolled .lang-btn.active { background: rgba(255,255,255,.2); color: var(--white); }
.lang-sep { color: var(--gray-300); font-size: 10px; user-select: none; }
.site-header.scrolled .lang-sep { color: rgba(255,255,255,.25); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--radius-md);
  background: rgba(0,128,162,.08);
  transition: background var(--duration) var(--ease);
}
.nav-toggle:hover { background: rgba(0,128,162,.15); }
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
  transform-origin: center;
}
.site-header.scrolled .nav-toggle { background: rgba(255,255,255,.1); }
.site-header.scrolled .nav-toggle:hover { background: rgba(255,255,255,.18); }
.site-header.scrolled .nav-toggle span { background: var(--white); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------
   8. Hero Section
   ---------------------------------------- */
.hero {
  min-height: 100svh;
  padding-top: var(--header-h);
  background: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,43,61,0.84) 0%, rgba(0,128,162,0.68) 100%);
  z-index: 1;
}

/* Background decoration shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hero-circle-1 {
  position: absolute;
  top: -15%; right: -8%;
  width: 65vw; max-width: 700px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.06) 0%, transparent 70%);
}
.hero-circle-2 {
  position: absolute;
  bottom: -20%; right: 8%;
  width: 40vw; max-width: 440px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.hero-circle-3 {
  position: absolute;
  bottom: -10%; right: 20%;
  width: 25vw; max-width: 280px;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 50%;
}
.hero-dots {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-eye-graphic {
  position: absolute;
  right: 6%; top: 50%;
  transform: translateY(-50%);
  opacity: .14;
  width: clamp(280px, 38vw, 520px);
  z-index: 2;
}

.hero > .container { position: relative; z-index: 3; }
.hero-content { position: relative; max-width: 660px; padding-top: 5rem; padding-bottom: 4.5rem; }

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.28);
  color: rgba(255,255,255,.92);
  padding: .375rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; font-size: clamp(1.75rem, 4vw, 3rem); }
.hero h1 span { color: #d4effa; }
.hero p {
  color: rgba(255,255,255,.78);
  font-size: clamp(var(--text-sm), 1.6vw, var(--text-base));
  max-width: 700px;
  margin-bottom: 2.25rem;
  line-height: 1.75;
}
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stats > div {
  min-width: 0;
  flex-shrink: 1;
  text-align: center;
}
.hero-stat-value {
  display: block;
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
}
.hero-stat-label { font-size: var(--text-xs); color: rgba(255,255,255,.55); letter-spacing: .04em; text-transform: uppercase; }

/* Slideshow dot indicators */
.hero-slide-dots {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.hero-dot {
  position: relative;
  width: 8px;
  height: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: 1.5px solid rgba(255,255,255,.55);
  cursor: pointer;
  padding: 0;
  transition: all .3s ease;
}
.hero-dot.active::after {
  background: var(--white);
  border-color: var(--white);
  transform: scale(1.35);
}
.hero-dot:hover:not(.active)::after { background: rgba(255,255,255,.6); }


/* ----------------------------------------
   9. Page Banner (inner pages)
   ---------------------------------------- */
.page-banner {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 3rem;
  background: linear-gradient(135deg, #002b3d 0%, #0080a2 100%);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px;
}
.page-banner-content { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.breadcrumb a { font-size: var(--text-sm); color: rgba(255,255,255,.55); transition: color var(--duration) var(--ease); }
.breadcrumb a:hover { color: rgba(255,255,255,.85); }
.breadcrumb span[aria-hidden] { color: rgba(255,255,255,.3); font-size: var(--text-xs); }
.breadcrumb span[aria-current] { font-size: var(--text-sm); color: #d4effa; }
.page-banner h1 { color: var(--white); margin-bottom: .75rem; }
.page-banner p { color: rgba(255,255,255,.7); max-width: 560px; font-size: var(--text-lg); }

/* ----------------------------------------
   10. Feature / Service Cards
   ---------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration) var(--ease);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(154,123,118,.2);
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-lg);
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  transition: background var(--duration) var(--ease);
}
.card-icon svg { width: 28px; height: 28px; color: var(--accent); }
.card:hover .card-icon { background: var(--accent); }
.card:hover .card-icon svg { color: var(--white); }
.card h3 { margin-bottom: .5rem; font-size: var(--text-xl); }
.card p { font-size: var(--text-sm); line-height: 1.7; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--duration) var(--ease);
}
.card-link:hover { gap: .65rem; }

/* ----------------------------------------
   11. Stats Band
   ---------------------------------------- */
.stats-band { background: var(--primary); padding-block: 3.5rem; }
.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-size: clamp(2rem, 4vw, var(--text-5xl));
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1;
}
.stat-label { display: block; margin-top: .5rem; font-size: var(--text-sm); color: rgba(255,255,255,.6); letter-spacing: .04em; }

/* ----------------------------------------
   12. Brands Grid
   ---------------------------------------- */
.brands-section { padding-block: 4rem; background: var(--gray-50); }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.brand-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
  text-align: center;
  transition: all var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
}
.brand-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
/* Logo wrapper for height alignment */
.brand-logo-wrapper {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
/* Actual logo images */
.brand-logo-img {
  max-height: 60px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform var(--duration) var(--ease);
  display: block;
  margin: 0 auto;
}
.brand-card:hover .brand-logo-img {
  transform: scale(1.08);
}
/* Text placeholder for brands without images */
.brand-logo-placeholder {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--primary);
  opacity: .75;
  transition: opacity var(--duration) var(--ease);
}
.brand-card:hover .brand-logo-placeholder { opacity: 1; }
.brand-card .brand-sub { font-size: var(--text-xs); color: var(--gray-500); letter-spacing: .04em; }

/* ----------------------------------------
   13. CTA Band
   ---------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, #002b3d, #0080a2);
  padding-block: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-band-content { position: relative; z-index: 2; max-width: 640px; margin-inline: auto; }
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,.7); font-size: var(--text-lg); margin-bottom: 2rem; }
.cta-band-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ----------------------------------------
   14. Product Grid
   ---------------------------------------- */
.product-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-100);
  border: 1.5px solid transparent;
  transition: all var(--duration) var(--ease);
}
.filter-btn:hover  { border-color: var(--accent); color: var(--accent); background: var(--accent-light); }
.filter-btn.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(154,123,118,.25);
}

.product-img {
  aspect-ratio: 4/3;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 12px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.product-img-icon { width: 72px; height: 72px; color: var(--accent); opacity: .5; }
.product-img-label { position: absolute; bottom: 1rem; left: 1rem; }

.product-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-brand {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .4rem;
}
.product-body h3 { font-size: var(--text-lg); margin-bottom: .5rem; }
.product-body p { font-size: var(--text-sm); line-height: 1.65; flex: 1; }
.product-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* No results */
.no-results {
  display: none;
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--gray-500);
}
.no-results svg { width: 48px; height: 48px; color: var(--gray-300); margin: 0 auto 1rem; }
.no-results h4 { color: var(--gray-600); margin-bottom: .5rem; font-size: var(--text-xl); }
.no-results p { font-size: var(--text-sm); }

/* ----------------------------------------
   15. Services Detail
   ---------------------------------------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-block: 4rem;
  border-bottom: 1px solid var(--gray-100);
}
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse .service-detail-media { order: 1; }
.service-detail.reverse .service-detail-text  { order: 2; }

.service-detail-media {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--gray-100), var(--accent-light));
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-detail-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(154,123,118,.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.service-media-icon { width: 80px; height: 80px; color: var(--accent); opacity: .6; position: relative; z-index: 1; }

.service-detail-text .section-label { margin-bottom: .75rem; }
.service-detail-text h2 { margin-bottom: 1rem; }
.service-detail-text p { margin-bottom: 1.25rem; line-height: 1.75; }

.service-features { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.service-feature-item { display: flex; align-items: flex-start; gap: .875rem; }
.service-feature-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; margin-top: .15rem; }
.service-feature-item span { font-size: var(--text-sm); color: var(--gray-700); }

/* ----------------------------------------
   16. Team Grid
   ---------------------------------------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-align: center;
  transition: all var(--duration) var(--ease);
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-avatar {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar-initials { font-size: var(--text-4xl); font-weight: 800; color: rgba(255,255,255,.7); letter-spacing: -.04em; }
.team-info { padding: 1.5rem; }
.team-info h4 { margin-bottom: .25rem; }
.team-role { font-size: var(--text-sm); color: var(--accent); font-weight: 500; margin-bottom: .75rem; }
.team-info p { font-size: var(--text-sm); line-height: 1.65; }

/* ----------------------------------------
   17. News / Blog
   ---------------------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(154,123,118,.25);
}
.news-card.featured { grid-column: span 2; flex-direction: row; }
.news-card-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-dark) 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
/* Actual images inside news cards */
.news-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }
/* Keep the icon centered for cards without images (fallback) */
.news-card.featured .news-card-img { width: 45%; flex-shrink: 0; aspect-ratio: unset; }
.news-img-icon { width: 64px; height: 64px; color: rgba(255,255,255,.3); position: relative; z-index: 1; }
.news-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.news-meta { display: flex; align-items: center; gap: .75rem; margin-bottom: .875rem; }
.news-date { font-size: var(--text-xs); color: var(--gray-400); }
.news-card-body h3 { font-size: var(--text-xl); margin-bottom: .625rem; }
.news-card.featured .news-card-body h3 { font-size: var(--text-2xl); }
.news-card-body p { font-size: var(--text-sm); line-height: 1.7; flex: 1; }
.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.25rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--accent);
  transition: gap var(--duration) var(--ease);
}
.news-read-more:hover { gap: .65rem; }

/* ----------------------------------------
   18. Contact
   ---------------------------------------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; align-items: start; }
.contact-info-block {
  background: var(--primary);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  color: var(--white);
}
.contact-info-block h3 { color: var(--white); margin-bottom: .75rem; }
.contact-info-block > p { color: rgba(255,255,255,.7); margin-bottom: 2rem; line-height: 1.7; }

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-detail-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-detail-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; color: #d4effa; }
.contact-detail-text { padding-top: .2rem; }
.contact-detail-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .25rem;
}
.contact-detail-value { color: var(--white); font-size: var(--text-sm); line-height: 1.5; }
.contact-hours { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.contact-hours h4 { color: var(--white); font-size: var(--text-base); margin-bottom: .75rem; }
.hours-row { display: flex; justify-content: space-between; margin-bottom: .375rem; }
.hours-row span:first-child { color: rgba(255,255,255,.6); font-size: var(--text-sm); }
.hours-row span:last-child  { color: var(--white); font-size: var(--text-sm); font-weight: 500; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form-card h3 { margin-bottom: .5rem; }
.contact-form-card > p { margin-bottom: 2rem; font-size: var(--text-sm); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: .5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(154,123,118,.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* Phone field with country-code selector */
.phone-field {
  display: flex;
  gap: .5rem;
}
.phone-field select {
  flex-shrink: 0;
  width: 112px;
}
.phone-field input {
  flex: 1;
  min-width: 0;
}

/* Terms / consent checkbox */
.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
}
.checkbox-option input[type="checkbox"] {
  accent-color: var(--primary);
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
  margin-top: .15rem;
  cursor: pointer;
}
.checkbox-option label {
  font-size: var(--text-sm);
  color: var(--gray-700);
  line-height: 1.55;
  cursor: pointer;
  font-weight: 500;
}
.checkbox-option label a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.checkbox-option label a:hover { color: var(--primary-dark); }

/* Radio group */
.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .875rem;
}
.radio-option {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  padding: .5rem .875rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  transition: border-color var(--duration) var(--ease),
              background   var(--duration) var(--ease);
}
.radio-option:hover { border-color: var(--primary); background: rgba(0,128,162,.04); }
.radio-option input[type="radio"] {
  accent-color: var(--primary);
  width: 1rem; height: 1rem;
  flex-shrink: 0; cursor: pointer;
}
.radio-option:has(input:checked) {
  border-color: var(--primary);
  background: rgba(0,128,162,.08);
  color: var(--primary);
  font-weight: 600;
}
.form-group.error input,
.form-group.error select,
.form-group.error textarea { border-color: #ef4444; }
.form-error-msg { font-size: var(--text-xs); color: #ef4444; margin-top: .375rem; }
.form-success {
  display: none;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: var(--text-sm);
  margin-top: 1rem;
  align-items: center;
  gap: .625rem;
}
.form-success svg { width: 18px; height: 18px; flex-shrink: 0; color: #059669; }

.map-placeholder {
  margin-top: 3rem;
  height: 300px;
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--accent-light) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  border: 1px solid var(--gray-200);
  color: var(--gray-500);
}
.map-placeholder svg { width: 40px; height: 40px; color: var(--accent); opacity: .5; }
.map-placeholder span { font-size: var(--text-sm); }

/* Contact page light-bg info column */
.contact-info-col { display: flex; flex-direction: column; }
.contact-form-col { display: flex; flex-direction: column; }
.contact-info-items { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; margin-bottom: 1.5rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-info-item strong { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--gray-700); margin-bottom: .2rem; }
.contact-info-item p { font-size: var(--text-sm); color: var(--gray-600); margin: 0; }
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-info-col .contact-hours { padding-top: 1.5rem; border-top: 1px solid var(--gray-200); }
.contact-info-col .contact-hours h3 { font-size: var(--text-lg); margin-bottom: .75rem; color: var(--gray-900); }
.contact-info-col .hours-row span:first-child { color: var(--gray-500); }
.contact-info-col .hours-row span:last-child { color: var(--gray-800); }

/* ----------------------------------------
   19. Footer
   ---------------------------------------- */
.site-footer { background: var(--gray-900); color: rgba(255,255,255,.90); padding-top: 4rem; }
.site-footer p { color: rgba(255,255,255,.90); }
.hero-slide-dots { display: none; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: var(--text-sm); line-height: 1.75; max-width: 300px; }
.footer-social { display: flex; gap: .5rem; margin-top: 1.5rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--duration) var(--ease);
  color: rgba(255,255,255,.6);
}
.social-link:hover { background: var(--accent); color: var(--white); }
.social-link svg { width: 16px; height: 16px; }

/* Footer logo image */
.footer-logo-img {
  max-height: 70px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.footer-col h5 {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--white);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-links a { font-size: var(--text-sm); color: rgba(255,255,255,.55); transition: color var(--duration) var(--ease); }
.footer-links a:hover { color: var(--accent); }

.footer-contact-items { display: flex; flex-direction: column; gap: .875rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: .75rem; }
.footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: .2rem; }
.footer-contact-item span { font-size: var(--text-sm); color: rgba(255,255,255,.55); }

.footer-bottom {
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy { font-size: var(--text-xs); color: rgba(255,255,255,.80); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-size: var(--text-xs); color: rgba(255,255,255,.80); transition: color var(--duration) var(--ease); }
.footer-bottom-links a:hover { color: var(--accent); }

/* ----------------------------------------
   20. About Values & Timeline
   ---------------------------------------- */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  transition: all var(--duration) var(--ease);
}
.value-card:hover { border-color: rgba(154,123,118,.25); box-shadow: var(--shadow-md); }
.value-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-lg);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.value-icon svg { width: 24px; height: 24px; color: var(--accent); }
.value-text h4 { margin-bottom: .375rem; }
.value-text p { font-size: var(--text-sm); line-height: 1.65; }

.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item { position: relative; padding-bottom: 2.5rem; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2rem; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--accent-light);
  transform: translateX(-5px);
}
.timeline-year { font-size: var(--text-sm); font-weight: 700; color: var(--accent); letter-spacing: .04em; margin-bottom: .25rem; }
.timeline-item h4 { margin-bottom: .375rem; }
.timeline-item p { font-size: var(--text-sm); }

/* ----------------------------------------
   21. Mobile Navigation Overlay
   ---------------------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 99;
  padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
  flex-direction: column;
  gap: .375rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }

.mobile-search {
  position: relative;
  padding-block: .25rem .75rem;
  margin-bottom: .25rem;
}
.mobile-search-icon {
  position: absolute;
  left: .875rem;
  top: 50%;
  transform: translateY(-60%);
  width: 15px; height: 15px;
  color: rgba(255,255,255,.45);
  pointer-events: none;
}
.mobile-search-input {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-full);
  color: var(--white);
  padding: .625rem 1rem .625rem 2.5rem;
  font-size: var(--text-sm);
  outline: none;
  transition: all var(--duration) var(--ease);
}
.mobile-search-input::placeholder { color: rgba(255,255,255,.4); }
.mobile-search-input:focus {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.80);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  padding: .875rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: all var(--duration) var(--ease);
}
.mobile-nav-link:hover,
.mobile-nav-link.active { background: rgba(255,255,255,.08); color: rgba(255,255,255,.95); }

.mobile-lang-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem;
  margin-top: .5rem;
}

/* Mobile lang options (globe dropdown style in mobile menu) */
.mobile-lang-options {
  display: flex;
  gap: .5rem;
  padding: .5rem 1.25rem;
  margin-top: .375rem;
}
.mobile-lang-options .lang-option {
  flex: 1;
  justify-content: center;
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  color: rgba(255,255,255,.7);
  padding: .625rem;
}
.mobile-lang-options .lang-option:hover { background: rgba(255,255,255,.14); color: var(--white); }
.mobile-lang-options .lang-option.active { background: rgba(255,255,255,.2); color: var(--white); font-weight: 700; }

.mobile-nav-cta {
  margin-top: .75rem;
  width: 100%;
  justify-content: center;
}

/* ----------------------------------------
   22. Scroll Animations
   ---------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-animate].visible { opacity: 1; transform: translateY(0); }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }

/* ----------------------------------------
   23. Responsive — Tablet (≤ 1024px)
   ---------------------------------------- */
@media (max-width: 1024px) {
  :root { --container: 960px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .brands-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-detail { gap: 2.5rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .header-search-input { width: 150px; }
  .header-search-input:focus { width: 180px; }
}

/* ----------------------------------------
   24. Responsive — Mobile (≤ 768px)
   ---------------------------------------- */
@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: flex; }

  /* Hide right-zone nav & CTA on mobile (new layout) */
  .header-right .site-nav { display: none; }
  .header-right .btn { display: none; }

  /* Hide old-layout nav & actions on mobile */
  .site-nav { display: none; }
  .header-search { display: none; }
  .lang-toggle { display: none; }
  .header-actions .btn { display: none; }

  .service-detail,
  .service-detail.reverse { grid-template-columns: 1fr; }
  .service-detail.reverse .service-detail-media { order: -1; }
  .service-detail.reverse .service-detail-text  { order: 0; }

  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .news-card.featured { flex-direction: column; grid-column: span 1; }
  .news-card.featured .news-card-img { width: 100%; aspect-ratio: 16/9; }
  .news-grid { grid-template-columns: 1fr; }

  .product-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .hero { min-height: 100svh; padding-block: calc(var(--header-h) + 2rem) 3rem; }
  .hero-eye-graphic { display: none; }
  .hero-stats { gap: 1rem; }
  .hero-stat-value { font-size: var(--text-xl); }
  .hero-stat-label { font-size: .6rem; }

  /* Services cards: single column on mobile */
  .section .grid-4 { grid-template-columns: 1fr; }

  /* Adjust 3-zone header on mobile: left = globe only, center = logo, right = hamburger */
  .header-inner { grid-template-columns: auto 1fr auto; gap: .5rem; }
  .header-center { margin-left: -1.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .cta-band-actions { flex-direction: column; align-items: center; }
  .stats-band .container { grid-template-columns: 1fr 1fr; }
}

/* ----------------------------------------
   25. Product page aliases
   ---------------------------------------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.filter-bar    { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
}

/* ----------------------------------------
   26. Mega Menu
   ---------------------------------------- */
.mega-menu-wrapper { position: static; }

.mega-menu-trigger {
  display: flex;
  align-items: center;
  border-radius: var(--radius-md);
  transition: background var(--duration) var(--ease);
}
.mega-menu-trigger:hover,
.mega-menu-wrapper.open .mega-menu-trigger {
  background: rgba(0,128,162,.07);
}
.site-header.scrolled .mega-menu-trigger:hover,
.site-header.scrolled .mega-menu-wrapper.open .mega-menu-trigger {
  background: rgba(255,255,255,.1);
}

.mega-trigger-link {
  display: flex;
  align-items: center;
  padding: .75rem .2rem .75rem .875rem;
  min-height: 44px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
  transition: color var(--duration) var(--ease);
  text-decoration: none;
  background: none;
}
.mega-trigger-link:hover { background: none; }
.mega-trigger-link.active {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
.site-header.scrolled .mega-trigger-link { color: rgba(255,255,255,.85); background: none; }
.site-header.scrolled .mega-menu-wrapper.open .mega-trigger-link,
.site-header.scrolled .mega-trigger-link:hover { color: var(--white); background: none; }
.site-header.scrolled .mega-trigger-link.active { text-decoration-color: var(--white); }

.mega-chevron-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem .6rem .75rem .2rem;
  min-height: 44px;
  min-width: 44px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  transition: color var(--duration) var(--ease);
}
.mega-chevron-btn:hover { background: none; }
.site-header.scrolled .mega-chevron-btn { color: rgba(255,255,255,.85); background: none; }
.site-header.scrolled .mega-menu-wrapper.open .mega-chevron-btn,
.site-header.scrolled .mega-chevron-btn:hover { color: var(--white); background: none; }

.mega-chevron {
  width: 12px; height: 12px;
  transition: transform var(--duration) var(--ease);
  flex-shrink: 0;
}
.mega-menu-wrapper.open .mega-chevron { transform: rotate(180deg); }

.mega-menu {
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  z-index: 99;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.mega-menu-wrapper.open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mega-overlay {
  position: fixed;
  inset: 0;
  top: var(--header-h);
  z-index: 98;
  pointer-events: none;
  opacity: 0;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.2s ease, backdrop-filter 0.2s ease;
  cursor: default;
}
.mega-overlay.active {
  pointer-events: auto;
  opacity: 1;
}

.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 2rem 1.5rem;
}

.mega-col {
  padding-inline: 2rem;
  border-right: 1px solid var(--gray-100);
}
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child  { border-right: none; padding-right: 0; }

.mega-col-title {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .875rem;
  padding-bottom: .625rem;
  border-bottom: 2px solid rgba(0,128,162,.12);
}

.mega-links { display: flex; flex-direction: column; }
.mega-links li { list-style: none; }
.mega-links a {
  font-size: var(--text-sm);
  color: var(--gray-600);
  padding: .3rem 0;
  display: block;
  transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}
.mega-links a:hover { color: var(--primary); padding-left: .375rem; }

.mega-footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--gray-100);
  margin-top: 1.25rem;
  padding-top: 1rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.mega-footer a {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--primary);
  transition: color var(--duration) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.mega-footer a:hover { color: var(--primary-dark); }
.mega-footer a.mega-footer-eshop { color: var(--accent); }
.mega-footer a.mega-footer-eshop:hover { color: var(--accent-dark); }

/* Mobile mega section (inside .mobile-menu) */
.mobile-mega-section { display: flex; flex-direction: column; }
.mobile-mega-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1.25rem;
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: all var(--duration) var(--ease);
  width: 100%;
  text-align: left;
  border: none;
  background: none;
  font-family: inherit;
  cursor: pointer;
}
.mobile-mega-btn:hover,
.mobile-mega-btn.open { background: rgba(255,255,255,.08); color: rgba(255,255,255,.95); }
.mobile-mega-btn .mega-chevron { color: rgba(255,255,255,.5); }
.mobile-mega-btn.open .mega-chevron { transform: rotate(180deg); }

.mobile-mega-dropdown {
  margin-left: 1rem;
  margin-bottom: .5rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
  overflow: hidden;
  transition: max-height .3s var(--ease), opacity .3s var(--ease);
  max-height: 0;
  opacity: 0;
}
.mobile-mega-dropdown.open { max-height: 400px; opacity: 1; }

.mobile-mega-all {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.9);
  font-weight: 600;
  padding: .5rem .875rem;
  border-radius: var(--radius-md);
  display: block;
  background: rgba(0,128,162,.3);
  text-align: center;
  margin-bottom: .25rem;
}
.mobile-mega-all:hover { background: rgba(0,128,162,.45); }
.mobile-mega-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .875rem;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.05);
}
.mobile-mega-cat span { font-size: var(--text-sm); color: rgba(255,255,255,.65); font-weight: 500; }
.mobile-mega-cat a { font-size: var(--text-xs); color: rgba(255,255,255,.5); font-weight: 500; transition: color var(--duration) var(--ease); }
.mobile-mega-cat a:hover { color: var(--white); }

/* ----------------------------------------
   27. Product Card Improvements
   ---------------------------------------- */
.product-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-body .badge {
  font-size: 0.65rem;
  padding: .15rem .55rem;
  font-weight: 600;
  letter-spacing: .05em;
  margin-bottom: .875rem;
  align-self: flex-start;
}
.product-body h3 { font-size: var(--text-lg); margin-bottom: .75rem; }
.product-body p  { font-size: var(--text-sm); line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }

/* Blue buttons in all product cards */
.product-body .btn-primary,
.product-card .btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0,128,162,.3);
  align-self: flex-start;
}
.product-body .btn-primary:hover,
.product-card .btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0,128,162,.4);
  transform: translateY(-1px);
}

/* ----------------------------------------
   28. Single Product Description (rich content)
   ---------------------------------------- */
.product-description { line-height: 1.75; color: var(--gray-700); }
.product-description p { margin-bottom: 1rem; }
.product-description p:last-child { margin-bottom: 0; }
.product-description ul,
.product-description ol { padding-left: 1.25rem; margin-bottom: 1rem; }
.product-description li { margin-bottom: .35rem; }
.product-description h2,
.product-description h3,
.product-description h4 { margin-top: 1.5rem; margin-bottom: .5rem; font-weight: 700; color: var(--gray-900); }
.product-description strong { font-weight: 600; color: var(--gray-900); }

/* Product image gallery (single product page) */
.product-gallery {
  display: flex;
  gap: .5rem;
  margin-top: .75rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}
.gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-50);
  transition: border-color .15s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery-thumb:hover { border-color: var(--primary); }
.gallery-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(0,128,162,.25); }

/* ----------------------------------------
   29. Category Overview Cards (products.html)
   ---------------------------------------- */
.cat-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .2s, box-shadow .2s;
  color: inherit;
  background: #fff;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.cat-card-header {
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
}
.cat-card-header img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 0.25rem;
  background: var(--white);
}
.cat-card-body {
  padding: 1.5rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  flex: 1;
}
.cat-card-body h3 {
  margin: 0;
  font-size: 1.15rem;
}
.cat-card-body p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--gray-500);
  flex: 1;
}
/* stretch-link: makes the entire card clickable via the button */
.cat-card-link::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cat-card-link { position: relative; z-index: 1; align-self: flex-start; }
.cat-preview-list { display: flex; flex-direction: column; gap: .3rem; margin-bottom: 1.5rem; }
.cat-preview-list li {
  font-size: var(--text-sm);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.cat-preview-list li::before {
  content: '';
  display: block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  opacity: .6;
}
.cat-preview-list li.more { color: var(--gray-400); font-style: italic; }
.cat-preview-list li.more::before { background: var(--gray-300); }
.cat-card .btn-primary { background: var(--primary); box-shadow: 0 4px 14px rgba(0,128,162,.3); }
.cat-card .btn-primary:hover { background: var(--primary-dark); }

/* ----------------------------------------
   29. Catalog Page (products-catalog.html)
   ---------------------------------------- */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  padding-block: 3rem;
}
.catalog-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - var(--header-h) - 3rem);
  overflow-y: auto;
}
.catalog-sidebar h3 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 1rem;
}
.catalog-sidebar-nav { display: flex; flex-direction: column; gap: .25rem; }
.sidebar-group { display: flex; flex-direction: column; }
.sidebar-link {
  display: block;
  padding: .5rem .75rem;
  border-radius: var(--radius-md);
  font-size: .85rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: background .15s, color .15s;
  white-space: normal;
  line-height: 1.35;
  cursor: pointer;
  user-select: none;
}
.sidebar-link:hover { background: rgba(0,128,162,.08); color: var(--primary); }
.sidebar-link.active {
  background: rgba(0,128,162,.12);
  color: var(--primary);
  box-shadow: inset 3px 0 0 var(--primary);
}
/* Subcategory list */
.sidebar-subcats {
  display: none;
  flex-direction: column;
  gap: .05rem;
  margin: .1rem 0 .35rem .75rem;
  padding-left: .625rem;
  border-left: 2px solid var(--gray-200);
}
.sidebar-subcats.open { display: flex; }
.sidebar-sublink {
  display: block;
  padding: .3rem .625rem;
  font-size: .78rem;
  color: var(--gray-500);
  border-radius: var(--radius-sm);
  transition: color .15s, background .15s;
  cursor: pointer;
  line-height: 1.3;
  white-space: normal;
  user-select: none;
}
.sidebar-sublink:hover { color: var(--primary); background: rgba(0,128,162,.07); }
.sidebar-sublink.active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(0,128,162,.10);
}

.manufacturer-filter { margin-top: 1.5rem; }
.manufacturer-filter h3 {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: .75rem;
}
.brand-pills { display: flex; flex-wrap: wrap; gap: .35rem; }
.brand-pill {
  padding: .3rem .75rem;
  border-radius: var(--radius-full);
  font-size: .75rem;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  transition: all var(--duration) var(--ease);
}
.brand-pill:hover { border-color: var(--primary); color: var(--primary); }
.brand-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.catalog-content { min-width: 0; }
.catalog-section { margin-bottom: 4rem; }
.catalog-section:last-child { margin-bottom: 0; }
.catalog-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--gray-100);
}
.catalog-section-header h2 { font-size: clamp(1.4rem, 3vw, var(--text-3xl)); margin: 0; }
.catalog-count-badge {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--primary);
  background: rgba(0,128,162,.1);
  border-radius: var(--radius-full);
  padding: .25rem .75rem;
  flex-shrink: 0;
}

/* Mobile catalog: horizontal tab bar */
.catalog-tab-bar {
  display: none;
  overflow-x: auto;
  gap: .5rem;
  padding: 1rem 0 .75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.catalog-tab-bar::-webkit-scrollbar { display: none; }
.catalog-tab {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-600);
  background: var(--gray-100);
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all var(--duration) var(--ease);
  flex-shrink: 0;
  text-decoration: none;
}
.catalog-tab:hover { color: var(--primary); background: rgba(0,128,162,.06); }
.catalog-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 220px 1fr; }
  .cat-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .catalog-layout { grid-template-columns: 1fr; padding-block: 1.5rem; }
  .catalog-sidebar { display: none; }
  .catalog-tab-bar { display: flex; }
  .cat-cards-grid { grid-template-columns: 1fr; }
}

/* Visually hidden utility for accessible labels */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Skip to content */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: #0080a2;
  color: white;
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
}
.skip-to-content:focus {
  top: 0;
}

/* Visible focus for keyboard navigation (WCAG 2.1 AA) */
*:focus-visible {
  outline: 3px solid #0080a2;
  outline-offset: 2px;
}

/* TranslatePress Switcher Override */
.lang-dropdown .trp-shortcode-switcher__wrapper {
  display: flex !important;
  flex-direction: column !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.lang-dropdown .trp-shortcode-anchor { display: none !important; }
.lang-dropdown .trp-shortcode-overlay { position: static !important; }
.lang-dropdown .trp-current-language-item__wrapper { display: none !important; }
.lang-dropdown .trp-switcher-dropdown-list {
  display: flex !important;
  flex-direction: column !important;
  position: static !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: all !important;
}
.lang-dropdown .trp-language-item {
  display: block !important;
  padding: .5rem 1.25rem !important;
  color: var(--gray-700) !important;
  text-decoration: none !important;
  font-size: .875rem !important;
  white-space: nowrap !important;
}
.lang-dropdown .trp-language-item:hover { color: var(--primary) !important; }
.lang-dropdown .trp-language-item__current { color: var(--primary) !important; font-weight: 600 !important; }
.lang-dropdown .trp-flag-image { display: none !important; }
.lang-dropdown .trp-shortcode-arrow { display: none !important; }

/* ── Service Card Highlight ── */
.card--highlight {
  animation: cardHighlight 2.5s ease forwards;
}
@keyframes cardHighlight {
  0%   { box-shadow: 0 0 0 3px var(--primary); background: rgba(0,128,162,0.06); }
  70%  { box-shadow: 0 0 0 3px var(--primary); background: rgba(0,128,162,0.06); }
  100% { box-shadow: none; background: transparent; }
}

/* ── Single Post ── */
.single-article {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.single-article__header {
  margin-bottom: 2rem;
}

.single-article__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--gray-500);
  font-size: .875rem;
  padding: .75rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.single-article__date {
  color: var(--gray-500);
  font-size: .875rem;
}

.single-article__byline { display: none; }

.single-article__hero img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.single-article__body {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 3rem;
}

/* Gallery */
.single-article__gallery { margin: 2.5rem 0 0; }
.single-article__gallery h2 { font-size: 1.25rem; margin-bottom: 1rem; }
.single-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}
.single-gallery-item {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray-100);
}
.single-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
  display: block;
}
.single-gallery-item:hover img,
.single-gallery-item:focus-visible img { transform: scale(1.04); }

/* Share */
.single-article__share { margin-bottom: 3rem; }
.single-share-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.single-share-label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--gray-700);
  white-space: nowrap;
}
.single-share-buttons { display: flex; gap: .5rem; flex-wrap: wrap; }

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: 6px;
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}
.share-btn:hover { opacity: .85; }
.share-btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
.share-btn--facebook { background: #1877f2; color: #fff; }
.share-btn--whatsapp { background: #25d366; color: #fff; }
.share-btn--copy { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.share-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Article body content */
.single-article__body p { margin-bottom: 1.5rem; }
.single-article__body h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; color: var(--gray-900); }
.single-article__body h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; color: var(--gray-900); }
.single-article__body ul,
.single-article__body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.single-article__body li { margin-bottom: .5rem; }
.single-article__body img { max-width: 100%; height: auto; border-radius: var(--radius-lg); }
.single-article__body a { color: var(--primary); text-decoration: underline; }

.single-article__divider { display: none; }

/* ----------------------------------------
   Team Cards — About page
   ---------------------------------------- */
.team-grid-5 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--gap);
}

/* Each card spans 2 of 6 columns → 3 per row */
.team-grid-5 .team-card { grid-column: span 2; }

/* Push cards 4 & 5 inward by one column to centre them */
.team-grid-5 .team-card:nth-child(4) { grid-column: 2 / span 2; }
.team-grid-5 .team-card:nth-child(5) { grid-column: 4 / span 2; }

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem 1.25rem 1.75rem;
  text-align: center;
  transition: box-shadow var(--duration) var(--ease),
              transform   var(--duration) var(--ease);
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.team-card__photo-wrap {
  width: 160px; height: 160px;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto 1.25rem;
  border: 3px solid var(--gray-200);
  background: var(--gray-100);
  transition: border-color var(--duration) var(--ease);
}
.team-card:hover .team-card__photo-wrap { border-color: var(--primary); }

.team-card__photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.team-card__avatar {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: rgba(255,255,255,.7);
}

.team-card__name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .25rem;
  line-height: 1.3;
}
.team-card__role {
  font-size: var(--text-sm);
  color: var(--primary);
  font-weight: 500;
}

/* ----------------------------------------
   Testimonials — About page
   ---------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: box-shadow var(--duration) var(--ease);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-card__header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__photo-wrap {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--gray-200);
  background: var(--gray-100);
}
.testimonial-card__photo { width: 100%; height: 100%; object-fit: cover; display: block; }

.testimonial-card__avatar {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: rgba(255,255,255,.7);
}

.testimonial-card__name {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: .2rem;
}
.testimonial-card__title {
  font-size: var(--text-sm);
  color: var(--gray-500);
  line-height: 1.4;
}

.testimonial-card__quote {
  font-style: italic;
  color: var(--gray-700);
  line-height: 1.75;
  padding-left: 1.5rem;
  position: relative;
  flex-grow: 1;
}
.testimonial-card__quote::before {
  content: '\201C';
  position: absolute;
  left: 0; top: -.375rem;
  font-size: 2.75rem;
  line-height: 1;
  color: var(--primary);
  opacity: .25;
  font-style: normal;
}

.testimonial-card__yt {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: var(--radius-md);
  background: #ff0000;
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: opacity .2s, transform .2s;
}
.testimonial-card__yt:hover { opacity: .85; transform: translateY(-1px); }
.testimonial-card__yt:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.testimonial-card__yt svg { flex-shrink: 0; }

@media (max-width: 1024px) {
  /* 4-col grid: cards span 2 → 2 per row; card 5 centred */
  .team-grid-5 { grid-template-columns: repeat(4, 1fr); }
  .team-grid-5 .team-card:nth-child(4) { grid-column: span 2; }
  .team-grid-5 .team-card:nth-child(5) { grid-column: 2 / span 2; }
}
@media (max-width: 768px) {
  /* simple 2-col, all overrides cancelled */
  .team-grid-5 { grid-template-columns: repeat(2, 1fr); }
  .team-grid-5 .team-card,
  .team-grid-5 .team-card:nth-child(4),
  .team-grid-5 .team-card:nth-child(5) { grid-column: span 1; }
  .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .team-grid-5 { grid-template-columns: 1fr; }
}

/* ── ESPA Banner ── */
.espa-banner {
  position: fixed;
  top: 80px;
  right: 16px;
  left: auto;
  background: transparent;
  border: none;
  z-index: 1000;
}
.espa-banner a {
  display: block;
  line-height: 0;
}
.espa-banner img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* ============================================================
   Single Brand Page
   ============================================================ */

/* ── Hero ── */
@keyframes brandOrbFloat {
  0%, 100% { transform: translateY(0) scale(1);     opacity: .55; }
  50%       { transform: translateY(-22px) scale(1.06); opacity: .9; }
}
@keyframes brandFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.brand-hero {
  padding-top:    calc(var(--header-h) + 4.5rem);
  padding-bottom: 5rem;
  background:     linear-gradient(135deg, #001e2e 0%, var(--primary-dark) 55%, var(--primary) 100%);
  position:       relative;
  overflow:       hidden;
  text-align:     center;
}

.brand-hero__bg {
  position:       absolute;
  inset:          0;
  pointer-events: none;
}

.brand-hero__orb {
  position:       absolute;
  border-radius:  50%;
  background:     radial-gradient(circle, rgba(255,255,255,.14) 0%, transparent 68%);
  animation:      brandOrbFloat linear infinite;
}
.brand-hero__orb--1 { width:540px; height:540px; top:-200px; right:-120px; animation-duration:11s; }
.brand-hero__orb--2 { width:320px; height:320px; bottom:-110px; left:-80px; animation-duration:15s; animation-direction:reverse; animation-delay:-5s; }
.brand-hero__orb--3 { width:200px; height:200px; top:22%; left:12%; animation-duration: 9s; animation-delay:-3s; }
.brand-hero__orb--4 { width:140px; height:140px; bottom:18%; right:18%; animation-duration:13s; animation-delay:-7s; }

.brand-hero__inner {
  position:        relative;
  z-index:         2;
  display:         flex;
  flex-direction:  column;
  align-items:     center;
}

.brand-hero .breadcrumb {
  align-self: flex-start;
  margin-bottom: 3.5rem;
}

.brand-hero__logo-wrap {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  min-height:      120px;
  min-width:       220px;
  margin-bottom:   1.5rem;
  padding:         1rem 2rem;
}

.brand-hero__logo-img {
  max-height:     110px;
  max-width:      320px;
  object-fit:     contain;
  display:        block;
  mix-blend-mode: screen;
  filter:         drop-shadow(0 2px 16px rgba(0,0,0,.5));
}

.brand-hero__name {
  font-size:      var(--text-3xl);
  font-weight:    800;
  color:          var(--primary);
  letter-spacing: -.02em;
}

.brand-hero__title {
  font-size:      var(--text-3xl);
  font-weight:    700;
  color:          var(--white);
  margin-bottom:  .35rem;
  letter-spacing: -.015em;
}

.brand-hero__sublabel {
  font-size:      var(--text-xs);
  font-weight:    600;
  color:          rgba(255,255,255,.45);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.brand-hero__fade-in           { animation: brandFadeUp .75s var(--ease) both; }
.brand-hero__fade-in--d1       { animation-delay: .18s; }
.brand-hero__fade-in--d2       { animation-delay: .34s; }

/* ── Stats Bar ── */
.brand-stats {
  background:   var(--gray-900);
  padding-block: 2.75rem;
}

.brand-stats__inner {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap:                   2rem;
  text-align:            center;
}

.brand-stat {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            .5rem;
}

.brand-stat__num {
  font-size:      var(--text-4xl);
  font-weight:    800;
  color:          var(--white);
  letter-spacing: -.03em;
  line-height:    1;
  display:        block;
}

.brand-stat__num--accent { color: var(--primary-mid); }

.brand-stat__label {
  font-size:      var(--text-xs);
  font-weight:    600;
  color:          rgba(255,255,255,.45);
  letter-spacing: .07em;
  text-transform: uppercase;
}

.brand-stat__icon {
  width:           44px;
  height:          44px;
  border-radius:   var(--radius-lg);
  background:      rgba(0,128,162,.25);
  display:         flex;
  align-items:     center;
  justify-content: center;
  color:           var(--primary-mid);
  margin-bottom:   .2rem;
}

/* ── Brand Info ── */
.brand-info__grid {
  display:               grid;
  grid-template-columns: 1fr 1fr;
  gap:                   4.5rem;
  align-items:           center;
}

.brand-info__text h2 { margin-block: .5rem 1.25rem; }

.brand-info__tagline {
  font-size:   var(--text-xl);
  font-weight: 600;
  color:       var(--primary);
  line-height: 1.45;
  margin-bottom: 1rem;
}

.brand-info__content {
  line-height: 1.75;
  color:       var(--gray-600);
}

.brand-info__img {
  width:         100%;
  border-radius: var(--radius-xl);
  box-shadow:    var(--shadow-xl);
  object-fit:    cover;
  aspect-ratio:  4 / 3;
  display:       block;
}

/* brand-info full-width when no carousel */
.brand-info__grid--full { grid-template-columns: 1fr; max-width: 680px; }

/* ── Product Image Carousel ── */
.brand-info__carousel { min-width: 0; }

/* ── Simple opacity carousel ── */
.brc {
  position:      relative;
  border-radius: var(--radius-xl);
  overflow:      hidden;
  box-shadow:    var(--shadow-xl);
  background:    var(--gray-50);
}

.brc__frame {
  position:     relative;
  aspect-ratio: 4 / 3;
  overflow:     hidden;
}

/* All slides stacked; only .brc__slide--on is visible */
.brc__slide {
  position:        absolute;
  inset:           0;
  opacity:         0;
  transition:      opacity .35s ease;
  display:         flex;
  align-items:     center;
  justify-content: center;
}
.brc__slide--on { opacity: 1; z-index: 1; }

.brc__slide img {
  width:      100%;
  height:     100%;
  object-fit: contain;
  display:    block;
}

/* Arrows */
.brc__arrow {
  position:        absolute;
  top:             50%;
  transform:       translateY(-50%);
  z-index:         2;
  width:           36px;
  height:          36px;
  border-radius:   50%;
  background:      rgba(0,0,0,.45);
  color:           var(--white);
  border:          none;
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  transition:      background .2s;
}
.brc__arrow:hover         { background: rgba(0,0,0,.72); }
.brc__arrow--prev         { left:  .75rem; }
.brc__arrow--next         { right: .75rem; }
.brc__arrow:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

/* Dots */
.brc__dots {
  position:   absolute;
  bottom:     .8rem;
  left:       50%;
  transform:  translateX(-50%);
  z-index:    2;
  display:    flex;
  gap:        .45rem;
}

.brc__dot {
  width:         9px;
  height:        9px;
  border-radius: 50%;
  background:    rgba(255,255,255,.45);
  border:        none;
  cursor:        pointer;
  padding:       0;
  transition:    background .2s, transform .2s;
}
.brc__dot--on           { background: var(--white); transform: scale(1.4); }
.brc__dot:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  .brc__slide { transition: none; }
}

/* ── Products grid stagger (50 ms per card) ── */
.brand-products-grid [data-stagger="0"] { transition-delay:   0ms; }
.brand-products-grid [data-stagger="1"] { transition-delay:  50ms; }
.brand-products-grid [data-stagger="2"] { transition-delay: 100ms; }
.brand-products-grid [data-stagger="3"] { transition-delay: 150ms; }
.brand-products-grid [data-stagger="4"] { transition-delay: 200ms; }
.brand-products-grid [data-stagger="5"] { transition-delay: 250ms; }
.brand-products-grid [data-stagger="6"] { transition-delay: 300ms; }
.brand-products-grid [data-stagger="7"] { transition-delay: 350ms; }
.brand-products-grid [data-stagger="8"] { transition-delay: 400ms; }
.brand-products-grid [data-stagger="9"] { transition-delay: 450ms; }

/* Enhanced hover glow for brand product cards */
.brand-products-grid .product-card:hover {
  box-shadow: 0 12px 36px rgba(0,128,162,.18), var(--shadow-lg);
  transform:  translateY(-6px);
  border-color: rgba(0,128,162,.28);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .brand-hero__orb                       { animation: none; }
  .brand-hero__fade-in                   { animation: none; opacity: 1; transform: none; }
  .brand-products-grid [data-stagger]    { transition-delay: 0ms !important; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .brand-info__grid { gap: 3rem; }
}

@media (max-width: 768px) {
  .brand-hero { padding-top: calc(var(--header-h) + 3rem); padding-bottom: 3.5rem; }
  .brand-hero__logo-wrap { min-width: 200px; padding: 1.5rem 2rem; min-height: 100px; }
  .brand-hero__title { font-size: var(--text-2xl); }
  .brand-info__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .brand-info__image,
  .brand-info__carousel { order: -1; }
  .brand-stats__inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 480px) {
  .brand-stats__inner { grid-template-columns: 1fr 1fr; }
  .brand-hero__orb--1,
  .brand-hero__orb--2 { display: none; }
}

/* ============================================================
   Brand Archive Page
   ============================================================ */

.brands-archive-grid {
  display:               grid;
  grid-template-columns: repeat(3, 1fr);
  gap:                   1.75rem;
}

.brand-archive-card {
  background:     var(--white);
  border:         1.5px solid var(--gray-200);
  border-radius:  var(--radius-xl);
  padding:        2rem 1.75rem 1.75rem;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  text-align:     center;
  position:       relative;
  transition:     border-color var(--duration) var(--ease),
                  box-shadow   var(--duration) var(--ease),
                  transform    var(--duration) var(--ease);
}

.brand-archive-card:hover {
  border-color: var(--primary);
  box-shadow:   0 8px 32px rgba(0,128,162,.13), var(--shadow-md);
  transform:    translateY(-5px);
}

/* Logo area */
.brand-archive-card__logo {
  height:          100px;
  width:           100%;
  display:         flex;
  align-items:     center;
  justify-content: center;
  margin-bottom:   1.5rem;
  padding:         .75rem 1rem;
  background:      var(--gray-50);
  border-radius:   var(--radius-lg);
}

.brand-archive-card__logo img {
  max-height: 72px;
  max-width:  180px;
  object-fit: contain;
  display:    block;
}

.brand-archive-card__initials {
  font-size:      var(--text-3xl);
  font-weight:    800;
  color:          var(--primary);
  letter-spacing: -.02em;
}

/* Body */
.brand-archive-card__body {
  flex-grow:      1;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            .5rem;
  width:          100%;
  margin-bottom:  1.25rem;
}

.brand-archive-card__count { margin-bottom: .25rem; }

.brand-archive-card__name {
  font-size:   var(--text-xl);
  font-weight: 700;
  color:       var(--gray-900);
  margin:      0;
  line-height: 1.25;
}

/* Stretched link — makes the whole card clickable */
.brand-archive-card__link {
  color:           inherit;
  text-decoration: none;
}
.brand-archive-card__link::after {
  content:       '';
  position:      absolute;
  inset:         0;
  border-radius: var(--radius-xl);
}
.brand-archive-card__link:focus-visible {
  outline: none;
}
.brand-archive-card__link:focus-visible::after {
  outline:        2px solid var(--primary);
  outline-offset: 3px;
}

.brand-archive-card__tagline {
  font-size:   var(--text-sm);
  color:       var(--gray-500);
  line-height: 1.55;
  margin:      0;
}

/* Decorative CTA button (pointer events handled by stretched link) */
.brand-archive-card__btn {
  position:       relative;
  z-index:        1;
  pointer-events: none;
  width:          100%;
  justify-content: center;
}

/* Stagger delays for archive grid */
.brands-archive-grid [data-stagger="0"] { transition-delay:   0ms; }
.brands-archive-grid [data-stagger="1"] { transition-delay:  50ms; }
.brands-archive-grid [data-stagger="2"] { transition-delay: 100ms; }
.brands-archive-grid [data-stagger="3"] { transition-delay: 150ms; }
.brands-archive-grid [data-stagger="4"] { transition-delay: 200ms; }
.brands-archive-grid [data-stagger="5"] { transition-delay: 250ms; }
.brands-archive-grid [data-stagger="6"] { transition-delay: 300ms; }
.brands-archive-grid [data-stagger="7"] { transition-delay: 350ms; }
.brands-archive-grid [data-stagger="8"] { transition-delay: 400ms; }
.brands-archive-grid [data-stagger="9"] { transition-delay: 450ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .brands-archive-grid [data-stagger] { transition-delay: 0ms !important; }
  .brand-archive-card                 { transition: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .brands-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .brands-archive-grid { grid-template-columns: 1fr; }
}

/* Hide language/globe switcher everywhere */
.lang-dropdown-wrapper,
.lang-globe-btn,
.mobile-lang-toggle,
.lang-sep,
.lang-switcher,
.globe-btn,
[class*="lang-globe"],
[class*="lang-dropdown"] {
    display: none !important;
}
