/* 
  Global Color Palette - Clarion Casein Official Brand
  Primary: Rust Brown
  Accent: Teal/Cyan
*/

:root {
  /* Colors - Premium Industrial Identity */
  --color-primary: #7a2b22;
  /* Rust Brown */
  --color-primary-light: #94392f;
  --color-accent: #68c4c4;
  /* Teal Cyan */
  --color-accent-hover: #4ea8a8;
  --color-blue: #68c4c4;

  --color-text-main: #2b2b2b;
  --color-text-muted: #5e5e5e;
  --color-text-light: #f8fafc;

  --color-bg-main: #ffffff;
  --color-bg-light: #f7f9f9;
  --color-bg-dark: #2a0f0c;
  /* Dark Rust */

  /* Cards icon box colors */
  --box-blue: #e8f6f6;
  --box-blue-text: #2f8c8c;
  --box-gold: #fdf2f0;
  --box-gold-text: #bd483b;
  --box-green: #e8f6f6;
  --box-green-text: #2f8c8c;
  --box-purple: #fdf2f0;
  --box-purple-text: #7a2b22;

  /* Typography - Premium Corporate System
     Neue Haas Grotesk Display Pro is the primary typeface.
     Font files are loaded from /fonts/ via @font-face. */
  --font-display-light: 'Neue Haas Grotesk Display Pro', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display-regular: 'Neue Haas Grotesk Display Pro', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-display-medium: 'Neue Haas Grotesk Display Pro', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-text-regular: 'Neue Haas Grotesk Display Pro', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-text-medium: 'Neue Haas Grotesk Display Pro', 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: var(--font-text-regular);
  --font-heading: var(--font-display-regular);
  --font-display: var(--font-display-regular);

  /* Sizes */
  --container-max: 1200px;
  --navbar-height: 80px;

  /* Shadow & Transition */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 20px rgba(245, 158, 11, 0.3);

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================================
   NEUE HAAS GROTESK — @font-face declarations
   Font files loaded from /fonts/ directory.
   ============================================================ */
@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url('fonts/NeueHaasDisplayThin.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url('fonts/NeueHaasDisplayLight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url('fonts/NeueHaasDisplayRoman.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url('fonts/NeueHaasDisplayMediu.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neue Haas Grotesk Display Pro';
  src: url('fonts/NeueHaasDisplayBold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-text-regular);
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

/* Typographic hierarchy — Neue Haas Grotesk Display & Text cuts */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display-regular);
  color: var(--color-primary);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 {
  font-family: var(--font-display-light);
  font-weight: 300;
  line-height: 1.05;
}

h2 {
  font-family: var(--font-display-light);
  font-weight: 300;
  line-height: 1.1;
}

h3 {
  font-family: var(--font-display-regular);
  font-weight: 400;
  line-height: 1.2;
}

h4,
h5,
h6 {
  font-family: var(--font-display-medium);
  font-weight: 500;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

/* Typography Utilities */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--color-accent-hover);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 999px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 2px solid transparent;
  text-align: center;
  font-family: var(--font-text-medium);
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--color-accent);
  color: white;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  backdrop-filter: blur(5px);
}

.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  width: 100%;
  padding: 1rem;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Premium fadeInUp Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes letter-bounce {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.3) rotate(-15deg);
    filter: blur(20px);
  }

  60% {
    opacity: 1;
    transform: translateY(-15px) scale(1.1) rotate(5deg);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
    filter: blur(0);
  }
}

@keyframes pulse-glow {
  0% {
    filter: drop-shadow(0 0 5px rgba(104, 196, 196, 0.4));
    transform: scale(1);
  }

  50% {
    filter: drop-shadow(0 0 25px rgba(104, 196, 196, 1));
    transform: scale(1.03);
  }

  100% {
    filter: drop-shadow(0 0 5px rgba(104, 196, 196, 0.4));
    transform: scale(1);
  }
}

.hero-title {
  opacity: 1;
  display: block;
  margin: 0 auto 1.5rem;
  perspective: 1000px;
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  will-change: transform, opacity;
}

.hero-title.animate-letters .char {
  animation: letter-bounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.hero-title .highlight {
  color: var(--color-accent);
  display: inline-block;
  position: relative;
  padding: 0 8px;
}

.hero-title.animate-letters .highlight {
  animation: pulse-glow 3s ease-in-out infinite 2.5s;
}

.hero-subtitle {
  animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
  opacity: 0;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.cert-badge {
  animation: float 4s ease-in-out infinite;
}

.cert-badge:nth-child(2) {
  animation-delay: 1s;
}

.cert-badge:nth-child(3) {
  animation-delay: 2s;
}

.cert-badge:nth-child(4) {
  animation-delay: 3s;
}

/* ================================
   MEGA MENU – Products Dropdown
   ================================ */

/* Trigger link caret icon */
.mega-menu-trigger {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}

.mega-caret {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  line-height: 1;
}

.mega-menu-trigger[aria-expanded="true"] .mega-caret {
  transform: rotate(180deg);
}

/* Backdrop overlay behind the mega menu */
.mega-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.18);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mega-menu-backdrop.active {
  opacity: 1;
  pointer-events: all;
}

/* Main mega menu container */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 3px solid var(--color-primary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 20px rgba(0, 0, 0, 0.06);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.mega-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

/* Inner layout — 5 columns */
.mega-menu-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 2.5rem 2rem 2.75rem;
}

/* Individual column */
.mega-menu-column {
  padding: 0 1.25rem;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.mega-menu-column:first-child {
  padding-left: 0;
}

.mega-menu-column:last-child {
  padding-right: 0;
  border-right: none;
}

/* Category heading */
.mega-menu-heading {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 3.2rem;
  box-sizing: border-box;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-accent);
  transition: color 0.2s ease;
  cursor: pointer;
}

.mega-menu-heading:hover {
  color: var(--color-accent-hover);
}

/* Certifications heading (non-linked, for now) */
.mega-menu-heading--cert {
  cursor: default;
  border-bottom-color: rgba(104, 196, 196, 0.4);
}

/* Product list */
.mega-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu-list li {
  margin-bottom: 0;
}

.mega-menu-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  border-radius: 4px;
}

.mega-menu-list li a:hover {
  color: var(--color-primary);
  padding-left: 6px;
}

.mega-menu-list li a i {
  font-size: 1rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* ================================
   MOBILE PRODUCTS ACCORDION
   ================================ */
.mobile-products-accordion {
  width: 100%;
}

.mobile-products-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-bg-light);
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}

.mobile-caret {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
}

.mobile-products-toggle[aria-expanded="true"] .mobile-caret {
  transform: rotate(180deg);
}

/* Panel (hidden by default) */
.mobile-products-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding-left: 0.75rem;
}

.mobile-products-panel.expanded {
  max-height: 2000px;
}

/* Mobile category blocks */
.mobile-category {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-category:last-child {
  border-bottom: none;
}

.mobile-category-heading {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--color-accent);
}

.mobile-category-heading--cert {
  border-bottom-color: rgba(104, 196, 196, 0.4);
}

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

.mobile-category ul li a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-category ul li a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
  height: 70px;
}

.nav-container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display-medium);
  font-size: 1.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.02em;
}

.logo-clarion {
  color: var(--color-primary);
}

.logo-casein {
  color: var(--color-accent);
}

.logo-svg {
  height: 32px;
  width: auto;
}

.site-logo-img {
  height: 54px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, height 0.2s ease;
}

.navbar.scrolled .site-logo-img {
  height: 48px;
}

.site-logo-img:hover {
  transform: scale(1.03);
}

.footer-logo .site-logo-img,
.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-text-medium);
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-primary);
  cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(5px);
  z-index: 2000;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  opacity: 0;
  pointer-events: none;
}

.mobile-menu.active {
  right: 0;
  opacity: 1;
  pointer-events: all;
}

.mobile-menu-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 350px;
  height: 100%;
  background-color: var(--color-bg-main);
  padding: 2rem;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) transparent;
}

.mobile-menu-inner::-webkit-scrollbar {
  width: 6px;
}

.mobile-menu-inner::-webkit-scrollbar-track {
  background: transparent;
}

.mobile-menu-inner::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

.close-menu-btn {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--color-text-main);
  cursor: pointer;
  margin-bottom: 2rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-bg-light);
  padding-bottom: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--navbar-height);
  background-color: var(--color-primary);
  color: white;
  overflow: hidden;
}

/* HTML5 background video — covers full hero, no distortion, all devices */
.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 110%;
  height: 110%;
  object-fit: cover;
  object-position: top left;
  z-index: 1;
  pointer-events: none;
  transform: scale(1.12);
  transform-origin: top left;
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 9, 6, 0.8) 0%, rgba(122, 43, 34, 0.3) 100%);
  z-index: 2;
  backdrop-filter: blur(2px);
}

/* A conceptual map background representation */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.3;
}

.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.hero-title {
  color: white;
  font-size: clamp(2.2rem, 4.8vw, 3.85rem);
  margin-bottom: 2rem;
  line-height: 1.18;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.hero-title-group {
  white-space: nowrap;
  display: inline-block;
}

@media (max-width: 640px) {
  .hero-title-group {
    white-space: normal;
    display: inline;
  }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  color: var(--color-text-light);
  margin: 0 auto 3rem;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin: 0 auto 4rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-display-medium);
  font-size: 2rem;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: -0.01em;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Product Categories Navigation & Layout */
.product-category-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.category-tab-btn {
  padding: 0.75rem 1.4rem;
  border-radius: 50px;
  background: white;
  border: 1.5px solid #e2e8f0;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.category-tab-btn i {
  color: var(--color-accent);
  font-size: 1.1rem;
}

.category-tab-btn:hover,
.category-tab-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 9, 6, 0.15);
}

.category-tab-btn:hover i,
.category-tab-btn.active i {
  color: var(--color-accent);
}

.product-category-group {
  margin-bottom: 5rem;
  scroll-margin-top: 100px;
}

.product-category-group:last-child {
  margin-bottom: 0;
}

.category-group-header {
  margin-bottom: 2.25rem;
  border-bottom: 2px solid rgba(104, 196, 196, 0.2);
  padding-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.category-group-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.category-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(104, 196, 196, 0.15);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.category-group-title h3 {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin: 0;
  font-family: var(--font-heading);
}

.category-group-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 550px;
  margin: 0;
  line-height: 1.5;
}

/* Products Section */
.bg-main {
  background-color: var(--color-bg-light);
  /* Softer background for contrast */
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
}

.product-card {
  background-color: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(0, 0, 0, 0.03);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-card::before {
  content: 'View Details \2192';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: var(--color-accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  opacity: 0;
  z-index: 10;
  transition: all 0.4s ease;
  pointer-events: none;
  white-space: nowrap;
}

.product-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--color-accent);
}

.product-card:hover::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.product-card:hover h3 {
  color: var(--color-accent);
}

.product-image {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: var(--color-bg-main);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.03), transparent);
  z-index: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 0;
}

.product-card:hover .product-image img {
  transform: scale(1.08);
}

.placeholder-img {
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.product-info {
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: linear-gradient(to bottom, white, #fdfdfd);
}

.product-info h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.product-spec {
  font-size: 0.8rem;
  color: var(--color-accent-hover);
  margin-bottom: 1rem;
  background-color: var(--box-green);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  display: inline-block;
  align-self: flex-start;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.product-info p:not(.product-spec) {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.feature-list i {
  color: var(--color-accent);
  font-size: 1.5rem;
}

.team-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
}

.team-heading {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--color-primary);
  border-left: none;
  padding-left: 1rem;
}

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

.team-member {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(104, 196, 196, 0.3);
}

.team-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--box-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.team-avatar i {
  font-size: 2.5rem;
  color: var(--box-gold-text);
}

.team-info {
  display: flex;
  flex-direction: column;
}

.team-info h4 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* CTA Contact Section */
.cta {
  background-color: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1));
}

.cta-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  color: white;
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
}

.cta-content p {
  color: var(--color-text-light);
  font-size: 1.125rem;
}

.cta-form-container {
  background: white;
  padding: 2.75rem 2.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-form h3 {
  margin-bottom: 0.5rem;
  font-size: 1.65rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
}

.form-subtitle {
  color: var(--color-text-muted);
  font-size: 0.925rem;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
  letter-spacing: 0.2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cta-form input,
.cta-form select,
.cta-form textarea {
  width: 100%;
  padding: 0.875rem 1.1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text-main);
  background-color: #f8fafc;
  outline: none;
  transition: all var(--transition-fast);
}

.cta-form input::placeholder,
.cta-form textarea::placeholder {
  color: #94a3b8;
  font-size: 0.925rem;
  font-weight: 400;
}

.cta-form select {
  cursor: pointer;
  color: var(--color-text-main);
}

.cta-form textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.cta-form input:focus,
.cta-form select:focus,
.cta-form textarea:focus {
  background-color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(104, 196, 196, 0.2);
}

/* Footer */
.footer {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: white;
  font-size: 1.25rem;
}

.social-links a:hover {
  background-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer h4 {
  color: white;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info i {
  color: var(--color-accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a:hover {
  color: white;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .about-container {
    gap: 2rem;
  }

  /* Mega menu — 3-column wrap on smaller desktops */
  .mega-menu-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 0;
  }

  .mega-menu-column {
    border-right: none;
    padding: 0 1rem;
  }

  .mega-menu-column:nth-child(3) {
    border-right: none;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  /* Hide desktop mega menu entirely on mobile */
  .mega-menu,
  .mega-menu-backdrop {
    display: none !important;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-container {
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .cta-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-form-container {
    text-align: left;
  }
}

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

@media (max-width: 576px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* About Us page */
.about-main {
  display: flex;
  flex-direction: column;
}

.about-page-hero {
  background: linear-gradient(135deg, var(--color-bg-dark), var(--color-primary));
  color: white;
  padding: 7rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.about-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 15%, rgba(104, 196, 196, .18), transparent 32%);
  pointer-events: none;
}

.about-page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.about-page-hero h1 {
  color: white;
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  max-width: 760px;
  margin: 1.25rem 0;
}

.about-page-hero p {
  color: rgba(255, 255, 255, .84);
  font-size: 1.2rem;
  line-height: 1.7;
  max-width: 680px;
}

.about-values {
  padding: 7rem 0;
  order: 2;
}

.about-section-intro {
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.about-section-intro h2,
.journey-content h2 {
  font-size: clamp(2.25rem, 4vw, 3.4rem);
  margin-top: 1rem;
}

.about-section-intro p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.15rem;
}

.value-card {
  min-height: 340px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  background: var(--color-bg-light);
  border: 1px solid rgba(122, 43, 34, .12);
  border-radius: 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(42, 15, 12, .04);
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease, background .35s ease;
}

.value-card::after {
  content: '';
  position: absolute;
  z-index: -1;
  right: -2.75rem;
  bottom: -3.25rem;
  width: 8.5rem;
  height: 8.5rem;
  border: 1px solid rgba(104, 196, 196, .42);
  border-radius: 50%;
  transition: transform .5s ease, background .5s ease;
}

.value-card::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 3px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.value-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.value-icon {
  width: 2.9rem;
  height: 2.9rem;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--box-blue);
  color: var(--box-blue-text);
  font-size: 1.45rem;
  transition: transform .35s ease, background .35s ease, color .35s ease;
}

.value-number {
  color: var(--color-primary);
  font: 700 .78rem var(--font-heading);
  letter-spacing: .14em;
}

.value-card h3 {
  min-height: 2.45em;
  font-size: 1.22rem;
  margin: 2rem 0 .75rem;
  position: relative;
  z-index: 1;
}

.value-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
  font-size: .91rem;
  position: relative;
  z-index: 1;
}

.value-card:hover {
  background: white;
  border-color: rgba(104, 196, 196, .7);
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(42, 15, 12, .12);
}

.value-card:hover::before {
  transform: scaleX(1);
}

.value-card:hover::after {
  transform: scale(1.32);
  background: rgba(104, 196, 196, .08);
}

.value-card:hover .value-icon {
  color: white;
  background: var(--color-primary);
  transform: translateY(-3px) rotate(-5deg);
}

.value-card.is-visible {
  animation: value-card-enter .65s cubic-bezier(.2, .75, .3, 1) both;
}

.value-card.is-visible:nth-child(2) {
  animation-delay: .08s;
}

.value-card.is-visible:nth-child(3) {
  animation-delay: .16s;
}

.value-card.is-visible:nth-child(4) {
  animation-delay: .24s;
}

.value-card.is-visible:nth-child(5) {
  animation-delay: .32s;
}

@keyframes value-card-enter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.journey-section {
  background: var(--color-bg-light);
  padding: 7rem 0;
  order: 1;
}

.journey-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: 5rem;
  align-items: end;
}

.journey-content p {
  color: var(--color-text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-top: 1.25rem;
  max-width: 700px;
}

.journey-stats {
  display: grid;
  gap: 1rem;
}

.journey-stat {
  background: white;
  padding: 1.5rem 1.75rem;
  border-left: 4px solid var(--color-accent);
  box-shadow: var(--shadow-sm);
}

.journey-stat strong {
  display: block;
  color: var(--color-primary);
  font: 700 clamp(2rem, 4vw, 3rem) var(--font-heading);
  line-height: 1;
}

.journey-stat span {
  display: block;
  margin-top: .5rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

@media (max-width: 1100px) {
  .values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .journey-layout {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .about-page-hero {
    padding: 5rem 0 4.5rem;
  }

  .about-values,
  .journey-section {
    padding: 4.5rem 0;
  }

  .values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-card {
    min-height: 300px;
  }

  .journey-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .value-card,
  .value-card::before,
  .value-card::after {
    animation: none;
  }
}

@media (max-width: 576px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* R&D Page Specific Styles */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: white;
  text-align: center;
  padding: 6rem 1rem;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

.page-hero .badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-accent);
  border: 1px solid rgba(234, 88, 12, 0.3);
}

.feature-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-card i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.conclusion-box {
  background: var(--color-bg-light);
  padding: 2.5rem;
  border-radius: 20px;
  border-left: 5px solid var(--color-accent);
  margin-top: 4rem;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--color-primary-light);
}

@media (max-width: 768px) {
  .page-hero {
    padding: 4rem 1rem;
  }
}


/* ============================================================
   LANGUAGE SELECTOR â€” Brand-matched Clarion Casein palette
   (rust brown #7a2b22 + teal #68c4c4)
   ============================================================ */

/* Wrapper sits inline inside .nav-actions */
.ls-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* â”€â”€ Trigger button â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ls-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 0.45rem 0.8rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.2px;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.ls-btn:hover,
.ls-btn[aria-expanded="true"] {
  background: rgba(104, 196, 196, 0.12);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.ls-globe {
  font-size: 0.95rem;
  color: var(--color-accent);
  display: flex;
  align-items: center;
}

.ls-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.ls-label {
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ls-caret {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  transition: transform var(--transition-fast);
}

.ls-btn[aria-expanded="true"] .ls-caret {
  transform: rotate(180deg);
}

/* â”€â”€ Dropdown panel â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ls-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 360px;
  max-width: 95vw;
  background: #ffffff;
  border: none;
  border-radius: 12px;
  box-shadow: none;
  padding: 1rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top right;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ls-panel.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* â”€â”€ Panel header â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ls-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.2px;
}

.ls-panel-head i {
  color: var(--color-accent);
  margin-right: 0.4rem;
}

.ls-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  padding: 0.2rem;
  border-radius: 4px;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.ls-close:hover {
  color: var(--color-primary);
  background: rgba(0, 0, 0, 0.05);
}

/* â”€â”€ Search input â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ls-search-wrap {
  position: relative;
  margin-bottom: 0.85rem;
}

.ls-search-ico {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: var(--color-accent);
  pointer-events: none;
}

.ls-search {
  width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 2.2rem;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: 7px;
  background: #f8fafa;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--color-text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.ls-search:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(104, 196, 196, 0.18);
  background: #fff;
}

.ls-search::placeholder {
  color: #aab5b5;
}

.ls-clear {
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  transition: color var(--transition-fast);
}

.ls-clear:hover {
  color: var(--color-primary);
}

/* â”€â”€ Popular chips â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ls-popular-label,
.ls-list-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
}

.ls-list-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.ls-list-label span:last-child {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-accent-hover);
  text-transform: none;
  letter-spacing: 0;
}

.ls-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.25rem;
}

.ls-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--color-bg-light);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 5px;
  padding: 0.28rem 0.6rem;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-main);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1.4;
}

.ls-chip:hover {
  background: rgba(104, 196, 196, 0.14);
  border-color: var(--color-accent);
  color: var(--color-primary);
}

.ls-chip.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
}

/* â”€â”€ Full language list â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ls-list {
  max-height: 220px;
  overflow-y: auto;
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.ls-list::-webkit-scrollbar {
  width: 4px;
}

.ls-list::-webkit-scrollbar-track {
  background: transparent;
}

.ls-list::-webkit-scrollbar-thumb {
  background: rgba(104, 196, 196, 0.45);
  border-radius: 99px;
}

.ls-list::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

.ls-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 7px;
  border: 1px solid transparent;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.ls-item:hover {
  background: rgba(104, 196, 196, 0.1);
  border-color: rgba(104, 196, 196, 0.25);
  transform: translateX(2px);
}

.ls-item.active {
  background: rgba(122, 43, 34, 0.07);
  border-color: rgba(122, 43, 34, 0.18);
  /* border-left removed */
}

.ls-item-flag {
  font-size: 1.3rem;
  flex-shrink: 0;
  line-height: 1;
}

.ls-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.ls-item-native {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ls-item-en {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ls-item-code {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--color-accent-hover);
  background: rgba(104, 196, 196, 0.14);
  padding: 0.12rem 0.35rem;
  border-radius: 3px;
  letter-spacing: 0.4px;
  flex-shrink: 0;
}

.ls-check {
  font-size: 0.9rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

.ls-empty {
  text-align: center;
  padding: 1.5rem;
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

/* â”€â”€ Google Translate cleanup â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.goog-te-banner-frame,
iframe.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip-shine {
  display: none !important;
  visibility: hidden !important;
}

body {
  top: 0 !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

#gt-el {
  position: absolute;
  top: -9999px;
  left: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.goog-te-gadget {
  display: none !important;
}

/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 992px) {
  .ls-label {
    display: none;
  }

  .ls-btn {
    padding: 0.45rem 0.65rem;
  }
}

@media (max-width: 768px) {
  .ls-panel {
    position: fixed;
    top: 72px;
    right: 10px;
    left: 10px;
    width: auto;
    max-width: none;
    transform-origin: top center;
  }

  .ls-list {
    max-height: 180px;
  }
}



/* -------------------------------------------------------------
   DARK / LIGHT THEME TOGGLE STYLES
   ------------------------------------------------------------- */
[data-theme='dark'] {
  --color-text-main: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-bg-main: #0f172a;
  --color-bg-light: #1e293b;
  --color-bg-dark: #090d16;
  --box-blue: #1e293b;
  --box-blue-text: #68c4c4;
  --box-gold: #2a1b18;
  --box-gold-text: #e07a6e;
  --box-green: #1e293b;
  --box-green-text: #68c4c4;
  --box-purple: #2a1b18;
  --box-purple-text: #e07a6e;
}

[data-theme='dark'] body {
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
}

[data-theme='dark'] .navbar,
[data-theme='dark'] .navbar.scrolled {
  background: rgba(15, 23, 42, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .nav-links a {
  color: #e2e8f0;
}

[data-theme='dark'] .nav-links a:hover,
[data-theme='dark'] .nav-links a.active {
  color: var(--color-accent);
}

[data-theme='dark'] .mega-menu {
  background-color: #1e293b !important;
  border-top-color: var(--color-accent);
}

[data-theme='dark'] .mega-menu-heading {
  color: var(--color-accent) !important;
}

[data-theme='dark'] .mega-menu-list li a {
  color: #cbd5e1 !important;
}

[data-theme='dark'] .mega-menu-list li a:hover {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.05);
}

[data-theme='dark'] .product-card,
[data-theme='dark'] .means-card,
[data-theme='dark'] .why-card,
[data-theme='dark'] .value-card,
[data-theme='dark'] .job-card,
[data-theme='dark'] .detail-card,
[data-theme='dark'] .cert-overview-card {
  background: #1e293b !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f1f5f9;
}

[data-theme='dark'] .product-info {
  background: #1e293b !important;
}

[data-theme='dark'] .product-image {
  background-color: #0f172a !important;
}

[data-theme='dark'] .product-info h3,
[data-theme='dark'] .product-card h3,
[data-theme='dark'] .means-card h3,
[data-theme='dark'] .value-card h3,
[data-theme='dark'] .job-card-title h3,
[data-theme='dark'] .product-name {
  color: #f8fafc !important;
}

[data-theme='dark'] .product-card:hover h3 {
  color: var(--color-accent) !important;
}

[data-theme='dark'] .product-info p,
[data-theme='dark'] .detail-section p,
[data-theme='dark'] .means-card p,
[data-theme='dark'] .value-card p,
[data-theme='dark'] .job-desc {
  color: #94a3b8 !important;
}

[data-theme='dark'] .product-spec {
  background: #0f172a !important;
  color: #e2e8f0 !important;
}

[data-theme='dark'] .category-tab-btn {
  background: #1e293b;
  color: #cbd5e1;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme='dark'] .category-tab-btn.active {
  background: var(--color-accent);
  color: white;
}

[data-theme='dark'] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme='dark'] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

[data-theme='dark'] .mobile-menu {
  background: #0f172a !important;
}

[data-theme='dark'] .mobile-link {
  color: #f1f5f9 !important;
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme='dark'] .tech-table td {
  border-bottom-color: rgba(255, 255, 255, 0.1) !important;
  color: #e2e8f0;
}

[data-theme='dark'] .tech-table td:first-child {
  color: var(--color-accent) !important;
}

[data-theme='dark'] .spec-box {
  background: #0f172a !important;
}

[data-theme='dark'] .spec-box h4 {
  color: #f8fafc !important;
}

[data-theme='dark'] .detail-image {
  background-color: #0b1120 !important;
}

/* Theme Toggle Button - Subtle Corporate Look */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(122, 43, 34, 0.2);
  background: rgba(122, 43, 34, 0.05);
  color: var(--color-primary);
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(122, 43, 34, 0.12);
  border-color: var(--color-primary);
  color: var(--color-primary-light);
  transform: translateY(-1px);
}

[data-theme='dark'] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #68c4c4;
}

[data-theme='dark'] .theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #68c4c4;
  color: #ffffff;
}

/* Complete dark-surface coverage for shared content, forms and overlays. */
[data-theme='dark'] .section-light,
[data-theme='dark'] .products-section,
[data-theme='dark'] .certifications-section,
[data-theme='dark'] .contact-section,
[data-theme='dark'] .rd-content,
[data-theme='dark'] .journey-section,
[data-theme='dark'] .ls-panel,
[data-theme='dark'] .contact-form,
[data-theme='dark'] .detail-content,
[data-theme='dark'] .cert-content-card,
[data-theme='dark'] .cert-overview-card,
[data-theme='dark'] .clarion-approach-box,
[data-theme='dark'] .means-card,
[data-theme='dark'] .why-card,
[data-theme='dark'] .job-application-card,
[data-theme='dark'] .job-detail-card {
  background-color: var(--color-bg-light) !important;
  color: var(--color-text-main);
}

[data-theme='dark'] .product-card,
[data-theme='dark'] .feature-card,
[data-theme='dark'] .team-member,
[data-theme='dark'] .cta-form-container,
[data-theme='dark'] .journey-stat,
[data-theme='dark'] .why-card,
[data-theme='dark'] .job-card,
[data-theme='dark'] .detail-card,
[data-theme='dark'] .cert-card,
[data-theme='dark'] .cert-overview-card,
[data-theme='dark'] .ls-panel {
  background: #182437 !important;
  border-color: rgba(226, 232, 240, .12) !important;
}

[data-theme='dark'] .feature-card h3,
[data-theme='dark'] .feature-card p,
[data-theme='dark'] .conclusion-box,
[data-theme='dark'] .journey-stat strong,
[data-theme='dark'] .journey-stat span,
[data-theme='dark'] .cert-content-card h2,
[data-theme='dark'] .cert-content-card h3,
[data-theme='dark'] .cert-content-card p,
[data-theme='dark'] .cert-overview-card h3,
[data-theme='dark'] .cert-overview-card p {
  color: var(--color-text-main) !important;
}

[data-theme='dark'] input,
[data-theme='dark'] textarea,
[data-theme='dark'] select,
[data-theme='dark'] .ls-search {
  background: #0f1928 !important;
  color: #eef6f7 !important;
  border-color: #33465d !important;
}

[data-theme='dark'] input::placeholder,
[data-theme='dark'] textarea::placeholder,
[data-theme='dark'] .ls-search::placeholder {
  color: #9aabba;
}

[data-theme='dark'] .ls-chip,
[data-theme='dark'] .upload-area,
[data-theme='dark'] .product-spec,
[data-theme='dark'] .spec-box {
  background: #101b2b !important;
  border-color: #33465d !important;
  color: #dce8ed !important;
}

[data-theme='dark'] .ls-panel-head,
[data-theme='dark'] .job-section,
[data-theme='dark'] .tech-table td {
  border-color: rgba(226, 232, 240, .12) !important;
}

[data-theme='dark'] .ls-btn,
[data-theme='dark'] .ls-item-native,
[data-theme='dark'] .ls-search,
[data-theme='dark'] .ls-chip {
  color: #e5eef2;
}

[data-theme='dark'] .navbar .site-logo-img {
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .18));
}

/* Research & development: a technical, considered visual system. */
.rd-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 82% 22%, rgba(104, 196, 196, .25), transparent 20rem), linear-gradient(125deg, #3b1712, var(--color-primary) 54%, #57231c);
}

.rd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .28;
  background-image: linear-gradient(rgba(104, 196, 196, .2) 1px, transparent 1px), linear-gradient(90deg, rgba(104, 196, 196, .2) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.rd-hero-layout {
  min-height: 380px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, .8fr);
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
  text-align: left;
}

.rd-hero .hero-content {
  max-width: 720px;
}

.rd-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border-color: rgba(104, 196, 196, .55);
  color: #d9ffff;
  background: rgba(7, 21, 29, .25);
}

.rd-hero h1 {
  max-width: 670px;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 14px rgba(28, 8, 5, .3);
}

.rd-hero p {
  color: rgba(255, 255, 255, .96);
  max-width: 620px;
  font-size: 1.1rem;
  text-shadow: 0 1px 8px rgba(28, 8, 5, .25);
}

.rd-hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.75rem;
}

.rd-hero-signals span {
  color: #e6fafa;
  font-size: .85rem;
  font-weight: 600;
  padding: .55rem .8rem;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(10, 23, 28, .22);
}

.rd-hero-signals i {
  color: var(--color-accent);
  margin-right: .25rem;
}

.rd-lab-visual {
  width: min(340px, 78vw);
  aspect-ratio: 1;
  margin: auto;
  border: 1px solid rgba(104, 196, 196, .4);
  border-radius: 50%;
  position: relative;
  background: radial-gradient(circle, rgba(104, 196, 196, .13), transparent 58%);
  box-shadow: inset 0 0 45px rgba(104, 196, 196, .1);
  animation: rd-breathe 5s ease-in-out infinite;
}

.rd-lab-visual::before,
.rd-lab-visual::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  inset: 13%;
}

.rd-lab-visual::after {
  inset: 30%;
  border-color: rgba(104, 196, 196, .65);
}

.rd-core {
  position: absolute;
  inset: 38%;
  display: grid;
  place-items: center;
  color: #ddffff;
  font-size: 2.5rem;
  border-radius: 50%;
  background: rgba(104, 196, 196, .2);
  box-shadow: 0 0 30px rgba(104, 196, 196, .35);
}

.rd-node {
  width: .8rem;
  height: .8rem;
  position: absolute;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 16px var(--color-accent);
}

.rd-node.n1 {
  top: 11%;
  left: 45%
}

.rd-node.n2 {
  right: 9%;
  top: 46%
}

.rd-node.n3 {
  bottom: 16%;
  left: 21%
}

.rd-node.n4 {
  left: 14%;
  top: 39%
}

.rd-data {
  position: absolute;
  font: 700 .55rem var(--font-body);
  letter-spacing: .13em;
  color: #dfffff;
}

.rd-data.d1 {
  top: 24%;
  right: -7%
}

.rd-data.d2 {
  bottom: 19%;
  left: -12%
}

@keyframes rd-breathe {
  50% {
    transform: scale(1.035);
    box-shadow: inset 0 0 60px rgba(104, 196, 196, .18), 0 0 35px rgba(104, 196, 196, .1)
  }
}

.rd-content {
  background: linear-gradient(180deg, var(--color-bg-main), var(--color-bg-light));
}

.rd-content .main-content {
  max-width: 1000px;
  margin: auto;
}

.rd-content h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 700px;
  line-height: 1.14;
}

.rd-content>.container>.content-grid p {
  max-width: 900px;
}

.section-kicker {
  display: block;
  margin-bottom: .75rem;
  font: 500 .73rem var(--font-text-medium);
  letter-spacing: .18em;
  color: var(--color-accent-hover);
  text-transform: uppercase;
}

.rd-content .feature-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(104, 196, 196, .2);
  padding: 2rem;
  background: rgba(255, 255, 255, .9);
}

.rd-content .feature-card::before {
  content: '';
  width: 68px;
  height: 3px;
  position: absolute;
  top: 0;
  left: 2rem;
  background: var(--color-accent);
}

.rd-content .feature-card:hover {
  border-color: rgba(104, 196, 196, .7);
  transform: translateY(-7px);
}

.rd-process {
  margin-top: 4.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(104, 196, 196, .28);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(104, 196, 196, .08), transparent 68%);
}

.rd-process-heading h3 {
  color: var(--color-primary);
  font-size: 1.65rem;
}

.rd-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  counter-reset: item;
}

.rd-process-steps li {
  position: relative;
  padding: 1rem 1rem 0 0;
}

.rd-process-steps li:not(:last-child)::after {
  content: '';
  height: 1px;
  position: absolute;
  width: calc(100% - 2.7rem);
  top: 1.75rem;
  right: -.45rem;
  background: rgba(104, 196, 196, .6);
}

.rd-process-steps span {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  color: var(--color-primary);
  font-weight: 800;
  background: var(--color-bg-main);
  position: relative;
  z-index: 1;
}

.rd-process-steps strong {
  display: block;
  color: var(--color-primary);
  margin-bottom: .35rem;
}

.rd-process-steps p {
  font-size: .88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.conclusion-box strong {
  display: block;
  font: 700 1.25rem var(--font-heading);
  color: var(--color-primary);
  margin-bottom: .65rem;
}

.conclusion-box p {
  color: var(--color-text-main);
}

[data-theme='dark'] .rd-hero {
  background: radial-gradient(circle at 82% 22%, rgba(104, 196, 196, .18), transparent 20rem), linear-gradient(125deg, #160d13, #372027 55%, #172c31);
}

[data-theme='dark'] .rd-content {
  background: linear-gradient(180deg, #0f172a, #142033);
}

[data-theme='dark'] .rd-content .main-content>h2 {
  color: #f5fbfc !important;
}

[data-theme='dark'] .rd-content .main-content>p {
  color: #d5e1e8 !important;
}

[data-theme='dark'] .rd-content .feature-card {
  background: #18283a !important;
}

[data-theme='dark'] .rd-content .feature-card h3 {
  color: #f5fbfc !important;
}

[data-theme='dark'] .rd-content .feature-card p {
  color: #d5e1e8 !important;
}

[data-theme='dark'] .rd-process {
  background: linear-gradient(135deg, rgba(104, 196, 196, .12), rgba(17, 29, 45, .68));
  border-color: rgba(104, 196, 196, .38);
}

[data-theme='dark'] .rd-process-heading h3,
[data-theme='dark'] .rd-process-steps strong,
[data-theme='dark'] .rd-process-steps span,
[data-theme='dark'] .conclusion-box strong {
  color: #f1f8fa;
}

[data-theme='dark'] .rd-process-steps p,
[data-theme='dark'] .conclusion-box p {
  color: #d5e1e8 !important;
}

[data-theme='dark'] .rd-process-steps span {
  background: #132237;
}

[data-theme='dark'] .conclusion-box {
  background: #18283a;
  border-left-color: var(--color-accent);
}

@media (max-width: 768px) {
  .rd-hero-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1rem 0 2rem;
    gap: 1rem;
  }

  .rd-hero .hero-content {
    margin: auto;
  }

  .rd-hero-signals {
    justify-content: center;
  }

  .rd-lab-visual {
    width: 210px;
  }

  .rd-process {
    padding: 1.5rem;
  }

  .rd-process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .rd-process-steps li:not(:last-child)::after {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rd-lab-visual {
    animation: none;
  }
}

/* Values: an editorial, image-led expression of Clarion's brand principles. */
.about-values {
  position: relative;
  overflow: hidden;
}

.about-values::before {
  content: '';
  position: absolute;
  width: 28rem;
  height: 28rem;
  right: -15rem;
  top: -13rem;
  border: 1px solid rgba(104, 196, 196, .24);
  border-radius: 50%;
  pointer-events: none;
}

.values-grid {
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 1.25rem;
  align-items: stretch;
}

.value-card {
  grid-column: span 4;
  min-height: 390px;
  display: flex;
  justify-content: space-between;
  padding: 1.5rem;
  color: #fff;
  text-decoration: none;
  background: #2a0f0c;
  border: 0;
  border-radius: 20px;
  isolation: isolate;
  box-shadow: none;
  cursor: pointer;
}

.value-card--customers,
.value-card--integrity {
  grid-column: span 5;
}

.value-card--planet {
  grid-column: span 4;
}

.value-card--forward {
  grid-column: span 2;
  min-width: 0;
}

.value-card-image,
.value-card-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -2;
}

.value-card-image {
  background-position: center;
  background-size: cover;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .5s ease;
}

.value-card-overlay {
  z-index: -1;
  background: linear-gradient(180deg, rgba(20, 8, 6, .08) 5%, rgba(24, 10, 9, .92) 100%);
  transition: background .4s ease;
}

.value-card--quality .value-card-image {
  background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?auto=format&fit=crop&w=1000&q=80');
}

.value-card--customers .value-card-image {
  background-image: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1000&q=80');
}

.value-card--planet .value-card-image {
  background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=1000&q=80');
}

.value-card--integrity .value-card-image {
  background-image: url('https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&w=1000&q=80');
}

.value-card--forward .value-card-image {
  background-image: url('https://images.unsplash.com/photo-1581093458791-9f3c3900dfc2?auto=format&fit=crop&w=1000&q=80');
}

.value-card-top {
  width: 100%;
  align-items: flex-start;
}

.value-card .value-icon {
  background: rgba(233, 251, 251, .93);
  color: var(--color-primary);
  box-shadow: 0 5px 18px rgba(0, 0, 0, .12);
}

.value-card .value-number {
  color: #ecffff;
  letter-spacing: .16em;
  padding: .48rem .55rem;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: rgba(10, 8, 7, .25);
}

.value-card-copy {
  display: block;
  position: relative;
  z-index: 1;
}

.value-card h3 {
  color: #fff;
  min-height: 0;
  margin: 0 0 .7rem;
  font-size: clamp(1.5rem, 2.25vw, 2.15rem);
  line-height: 1.08;
}

.value-card p {
  color: rgba(255, 255, 255, .9);
  max-width: 31rem;
  font-size: .95rem;
  line-height: 1.6;
}

.value-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1.15rem;
  font-weight: 700;
  font-size: .86rem;
  color: var(--color-accent);
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .3s ease, transform .3s ease;
}

.value-card-link i {
  font-size: 1.1rem;
}

.value-card::before,
.value-card::after {
  display: none;
}

.value-card:hover {
  color: #fff;
  background: #2a0f0c;
  transform: translateY(-7px);
  border: 0;
  box-shadow: 0 18px 42px rgba(42, 15, 12, .2);
}

.value-card:hover .value-card-image {
  transform: scale(1.07);
  filter: saturate(1.12);
}

.value-card:hover .value-card-overlay {
  background: linear-gradient(180deg, rgba(20, 8, 6, .08), rgba(24, 10, 9, .97));
}

.value-card:hover .value-card-link,
.value-card:focus-visible .value-card-link {
  opacity: 1;
  transform: none;
}

.value-card:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 4px;
}

/* Dedicated value detail pages. */
.value-detail-hero {
  min-height: 620px;
  display: flex;
  align-items: end;
  position: relative;
  isolation: isolate;
  padding: 8rem 0 5.5rem;
  color: #fff;
  background-image: linear-gradient(90deg, rgba(28, 10, 8, .9) 0%, rgba(47, 16, 12, .69) 46%, rgba(27, 11, 9, .22)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.value-detail-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(104, 196, 196, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(104, 196, 196, .12) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 65%);
  opacity: .45;
}

.value-detail-hero-content {
  width: 100%;
}

.value-back {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #e7ffff;
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 3rem;
}

.value-detail-index {
  display: block;
  font: 700 .75rem var(--font-body);
  letter-spacing: .16em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.value-detail-hero h1 {
  color: #fff;
  max-width: 700px;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 1.02;
  margin-bottom: 1.25rem;
}

.value-detail-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, .92);
  font-size: 1.16rem;
  line-height: 1.7;
}

.value-intro {
  background: var(--color-bg-main);
}

.value-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: end;
}

.value-intro h2,
.value-application h2,
.value-matters h2,
.value-cta h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.1;
}

.value-intro-grid>p {
  font-size: 1.18rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.value-application {
  background: var(--color-bg-light);
}

.value-application-head {
  max-width: 700px;
  margin-bottom: 2.5rem;
}

.value-application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.value-practice-card {
  min-height: 240px;
  padding: 1.65rem;
  background: var(--color-bg-main);
  border: 1px solid rgba(122, 43, 34, .12);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.value-practice-card>span {
  font: 700 .76rem var(--font-heading);
  letter-spacing: .14em;
  color: var(--color-primary);
}

.value-practice-card i {
  display: block;
  color: var(--color-accent-hover);
  font-size: 2rem;
  margin: 2rem 0 1rem;
}

.value-practice-card p {
  color: var(--color-text-main);
  font-weight: 600;
  line-height: 1.6;
}

.value-practice-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: 0 14px 30px rgba(42, 15, 12, .1);
}

.value-matters {
  background: var(--color-bg-main);
}

.value-matters-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.value-matters-image {
  min-height: 400px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
}

.value-matters-copy p {
  color: var(--color-text-muted);
  font-size: 1.08rem;
  line-height: 1.8;
  margin: 1.5rem 0 2rem;
}

.value-cta {
  padding: 6rem 0;
  text-align: center;
  color: #fff;
  background: linear-gradient(125deg, var(--color-bg-dark), var(--color-primary));
}

.value-cta .container {
  max-width: 800px;
}

.value-cta h2 {
  color: #fff;
}

.value-cta p {
  color: rgba(255, 255, 255, .82);
  font-size: 1.08rem;
  margin: 1rem 0 2rem;
}

.value-cta .section-kicker {
  color: var(--color-accent);
}

[data-theme='dark'] .about-values {
  background: #101b2b;
}

.about-values .about-section-intro {
  position: relative;
  z-index: 1;
}

[data-theme='dark'] .value-card {
  background: #142438;
}

[data-theme='dark'] .value-practice-card,
[data-theme='dark'] .value-intro {
  background: #142438;
  border-color: rgba(226, 232, 240, .12);
}

[data-theme='dark'] .value-practice-card p,
[data-theme='dark'] .value-intro-grid>p {
  color: #d4e0e7;
}

[data-theme='dark'] .value-application {
  background: #0f172a;
}

[data-theme='dark'] .value-matters {
  background: #142438;
}

[data-theme='dark'] .value-matters-copy p {
  color: #d4e0e7;
}

@media (max-width:1100px) {

  .value-card,
  .value-card--customers,
  .value-card--integrity,
  .value-card--planet,
  .value-card--forward {
    grid-column: span 6;
  }

  .value-card--forward {
    min-height: 330px;
  }

  .value-intro-grid {
    gap: 3rem;
  }

  .value-matters-grid {
    gap: 3rem;
  }
}

@media (max-width:720px) {
  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card,
  .value-card--customers,
  .value-card--integrity,
  .value-card--planet,
  .value-card--forward {
    grid-column: 1;
    min-height: 350px;
  }

  .value-card-link {
    opacity: 1;
    transform: none;
  }

  .value-detail-hero {
    min-height: 540px;
    padding: 7rem 0 4rem;
    background-image: linear-gradient(90deg, rgba(28, 10, 8, .88), rgba(47, 16, 12, .56)), var(--hero-image);
  }

  .value-intro-grid,
  .value-matters-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .value-application-grid {
    grid-template-columns: 1fr;
  }

  .value-practice-card {
    min-height: 0;
  }

  .value-matters-image {
    min-height: 280px;
  }

  .value-matters-copy {
    order: -1;
  }
}

/* Values constellation: one central principle, supported by four connected values. */
@media (min-width:900px) {
  .values-grid {
    position: relative;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: repeat(2, 250px);
    gap: 1.25rem;
    padding: 1rem 0;
  }

  .values-grid::before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 21%;
    right: 21%;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(104, 196, 196, .55) 18%, rgba(104, 196, 196, .55) 82%, transparent);
  }

  .values-grid::after {
    content: '';
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 16%;
    bottom: 16%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(104, 196, 196, .55) 18%, rgba(104, 196, 196, .55) 82%, transparent);
  }

  .value-card {
    position: relative;
    z-index: 1;
    min-height: 0;
    grid-column: span 3;
  }

  .value-card--quality {
    grid-column: 1 / span 4;
    grid-row: 1;
  }

  .value-card--customers {
    grid-column: 9 / span 4;
    grid-row: 1;
  }

  .value-card--planet {
    grid-column: 1 / span 4;
    grid-row: 2;
  }

  .value-card--integrity {
    grid-column: 9 / span 4;
    grid-row: 2;
  }

  .value-card--forward {
    grid-column: 5 / span 4;
    grid-row: 1 / span 2;
    min-height: 0;
    transform: scale(1.025);
    border: 2px solid rgba(104, 196, 196, .75);
    box-shadow: 0 18px 42px rgba(42, 15, 12, .22);
  }

  .value-card--forward::before {
    content: '';
    display: block;
    position: absolute;
    z-index: -1;
    width: 16rem;
    height: 16rem;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(104, 196, 196, .48);
    border-radius: 50%;
    animation: value-orbit 5s ease-in-out infinite;
  }

  .value-card--forward .value-card-image {
    filter: saturate(.88) contrast(1.05);
  }

  .value-card--forward .value-card-overlay {
    background: linear-gradient(180deg, rgba(20, 8, 6, .16), rgba(24, 10, 9, .96) 88%);
  }

  .value-card--forward h3 {
    font-size: clamp(2rem, 3.1vw, 2.8rem);
  }

  .value-card--forward .value-card-link {
    opacity: 1;
    transform: none;
  }

  .value-card:hover {
    transform: translateY(-7px);
  }

  .value-card--forward:hover {
    transform: scale(1.025) translateY(-7px);
  }
}

@keyframes value-orbit {
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    border-color: rgba(104, 196, 196, .9);
  }
}

@media (prefers-reduced-motion:reduce) {
  .value-card--forward::before {
    animation: none;
  }
}

/* A compact history-and-reach visual replaces the previous plain stat blocks. */
.journey-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-self: stretch;
}

.journey-timeline,
.journey-map {
  min-height: 260px;
  padding: 1.6rem;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(145deg, #3e1711, var(--color-primary));
  box-shadow: 0 14px 30px rgba(42, 15, 12, .13);
}

.journey-timeline {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.timeline-year {
  font: 700 .8rem var(--font-heading);
  letter-spacing: .08em;
  color: #e7ffff;
}

.timeline-year.now {
  text-align: right;
}

.timeline-line {
  height: 2px;
  margin: 1.15rem 0 .55rem;
  position: relative;
  background: var(--color-accent);
}

.timeline-line::before,
.timeline-line::after {
  content: '';
  position: absolute;
  width: .7rem;
  height: .7rem;
  top: 50%;
  border-radius: 50%;
  background: #e6ffff;
  border: 3px solid var(--color-accent);
  transform: translateY(-50%);
}

.timeline-line::before {
  left: 0;
}

.timeline-line::after {
  right: 0;
}

.journey-timeline strong,
.journey-map b {
  margin-top: 2rem;
  display: block;
  color: #fff;
  font: 700 clamp(1.7rem, 3vw, 2.55rem) var(--font-heading);
  line-height: 1;
}

.journey-timeline small,
.journey-map small {
  display: block;
  margin-top: .45rem;
  color: rgba(255, 255, 255, .78);
  font-weight: 600;
}

.journey-map {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: radial-gradient(circle at 48% 25%, rgba(104, 196, 196, .3), transparent 24%), linear-gradient(145deg, #15373a, #2a0f0c);
}

.journey-map>i {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  color: rgba(220, 255, 255, .24);
  font-size: 9rem;
}

.map-dot {
  position: absolute;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 5px rgba(104, 196, 196, .15), 0 0 16px rgba(104, 196, 196, .9);
  animation: map-pulse 2.6s ease-out infinite;
}

.dot-one {
  top: 29%;
  left: 34%
}

.dot-two {
  top: 38%;
  right: 28%;
  animation-delay: .6s
}

.dot-three {
  top: 57%;
  left: 44%;
  animation-delay: 1.1s
}

.dot-four {
  top: 52%;
  right: 38%;
  animation-delay: 1.7s
}

@keyframes map-pulse {
  50% {
    box-shadow: 0 0 0 9px rgba(104, 196, 196, .05), 0 0 19px rgba(104, 196, 196, .9)
  }
}

[data-theme='dark'] .journey-section {
  background: #0f172a;
}

[data-theme='dark'] .journey-timeline {
  background: linear-gradient(145deg, #4a1b15, #7a2b22);
}

[data-theme='dark'] .journey-map {
  background: radial-gradient(circle at 48% 25%, rgba(104, 196, 196, .28), transparent 24%), linear-gradient(145deg, #143338, #1c1217);
}

@media(max-width:768px) {
  .journey-visual {
    grid-template-columns: 1fr
  }

  .journey-timeline,
  .journey-map {
    min-height: 210px
  }
}

@media(prefers-reduced-motion:reduce) {
  .map-dot {
    animation: none
  }
}

/* Journey atlas: history and global reach in one editorial map composition. */
.journey-atlas {
  position: relative;
  overflow: hidden;
  padding: 0;
  color: #f7fbfb;
  background: #1c1d1c;
}

.journey-atlas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 22% 63%, rgba(104, 196, 196, .10), transparent 23rem), linear-gradient(115deg, rgba(18, 20, 19, .98), rgba(28, 29, 28, .88));
}

.journey-world-map {
  position: absolute;
  z-index: 0;
  inset: 2rem 5% 13rem;
  opacity: .08;
  background: url('https://www.vhv.rs/dpng/d/257-2575857_pmi-world-map-outline-png-transparent-png.png') center/contain no-repeat;
  filter: invert(1) sepia(.18) saturate(.7);
}

.journey-atlas-inner {
  position: relative;
  z-index: 1;
}

.journey-atlas-main {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  min-height: 570px;
  align-items: center;
  gap: 5rem;
}

.journey-atlas .journey-content {
  max-width: 700px;
}

.journey-atlas .section-kicker {
  color: var(--color-accent);
}

.journey-atlas .journey-content h2 {
  color: #fff;
  max-width: 700px;
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.02;
}

.journey-atlas .journey-content p {
  color: rgba(232, 243, 243, .85);
  max-width: 680px;
  font-size: 1.08rem;
}

.journey-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-self: start;
  margin-top: 7.5rem;
}

.journey-metrics>div {
  min-height: 220px;
  padding: 2rem 1.55rem;
  border: 1px solid rgba(224, 249, 248, .65);
  border-radius: 24px;
  background: rgba(20, 22, 21, .53);
  backdrop-filter: blur(6px);
}

.journey-metrics strong {
  display: block;
  color: #fff;
  font: 700 clamp(3.4rem, 6vw, 5.4rem) var(--font-heading);
  line-height: .95;
}

.journey-metrics span {
  display: block;
  margin-top: 1.6rem;
  color: rgba(221, 245, 244, .66);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.journey-route {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 1.5rem 0 0;
}

.journey-route .route-dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(104, 196, 196, .12), 0 0 12px rgba(104, 196, 196, .5);
  flex-shrink: 0;
}

.journey-route .route-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(104, 196, 196, .55), rgba(104, 196, 196, .15));
}

.journey-milestones {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding: 1.5rem 0 3.5rem;
}

.journey-milestones article {
  min-width: 0;
}

.journey-milestones span {
  display: block;
  margin-bottom: 1rem;
  color: var(--color-accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
}

.journey-milestones h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: .55rem;
}

.journey-milestones p {
  color: rgba(221, 235, 234, .66);
  font-size: .94rem;
  line-height: 1.6;
}

[data-theme='dark'] .journey-atlas {
  background: #101615;
}

.journey-atlas .journey-content p {
  color: rgba(232, 243, 243, .78);
}

@media(max-width:900px) {
  .journey-atlas-main {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 5.5rem 0 3rem;
    min-height: 0
  }

  .journey-metrics {
    margin: 0;
    max-width: 550px
  }

  .journey-milestones {
    grid-template-columns: repeat(2, 1fr)
  }
}

@media(max-width:560px) {
  .journey-world-map {
    inset: 2rem -25% 11rem;
    opacity: .10
  }

  .journey-atlas-main {
    padding-top: 4.5rem
  }

  .journey-metrics {
    grid-template-columns: 1fr 1fr
  }

  .journey-metrics>div {
    min-height: 170px;
    padding: 1.25rem
  }

  .journey-metrics strong {
    font-size: 3rem
  }

  .journey-metrics span {
    margin-top: 1rem
  }

  .journey-route {
    padding: 1rem 0 0
  }

  .journey-route .route-dot {
    width: .45rem;
    height: .45rem
  }

  .journey-milestones {
    gap: 1.5rem 1rem
  }

  .journey-atlas .journey-content h2 {
    font-size: 2.7rem
  }
}