:root {
  /* Dark Industrial Palette - Premium B2B Manufacturing */
  --bg: #0B0D1A;
  --bg-alt: #151720;
  --surface: #1E1F24;
  --surface-hover: #252730;
  --text: #F2F4F7;
  --text-light: #C9CBD1;
  --muted: rgba(242, 244, 247, 0.65);
  --border: rgba(242, 244, 247, 0.08);
  --border-dark: rgba(242, 244, 247, 0.15);
  
  /* Primary: Industrial Orange - Energy, Precision */
  --primary: #F28C38;
  --primary-hover: #FF9D4A;
  --primary-dim: rgba(242, 140, 56, 0.12);
  --primary-glow: rgba(242, 140, 56, 0.4);
  
  /* Accent Blue for contrast */
  --accent-blue: rgba(66, 153, 225, 0.1);
  --accent-blue-border: rgba(66, 153, 225, 0.2);
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --glow: 0 0 40px var(--primary-glow);
  
  /* Subtle noise texture for depth */
  --texture: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle noise texture overlay for premium feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--texture);
  opacity: 0.015;
  pointer-events: none;
  z-index: 9999;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

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

/* Skip link */
.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--primary);
  color: #0B0D1A;
  padding: 10px 14px;
  border-radius: 6px;
  font-weight: 600;
  z-index: 100;
}

.skip:focus {
  left: 10px;
}

/* Container */
.container {
  width: min(1280px, 92vw);
  margin: 0 auto;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 13, 26, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

/* Brand */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__logo {
  display: block;
  line-height: 0;
}

.brand__logo img {
  max-height: 55px;
  width: auto;
  display: block;
  /* Logo quality enhancement */
  filter: contrast(1.15) brightness(1.05) saturate(1.2);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

.brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #C2410C);
  display: grid;
  place-items: center;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #0B0D1A;
  box-shadow: 0 4px 12px rgba(242, 140, 56, 0.3);
}

.brand__name {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--text);
}

.brand__tag {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  margin: 0 8px;
  padding: 0 8px;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.lang-btn {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 32px;
}

.lang-btn:hover {
  color: var(--text);
  background: var(--surface);
}

.lang-btn.active {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(242, 140, 56, 0.1);
}

.nav a:not(.btn) {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav a:not(.btn):hover,
.nav a:not(.btn).active {
  color: #ffffff;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 12px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.nav__toggle:hover {
  background: var(--surface);
}
.nav__toggle[aria-expanded="true"] {
  background: var(--surface);
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Mobile nav open state */
.nav--open {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  background: rgba(11, 13, 26, 0.95);
  position: absolute;
  right: 4%;
  top: 64px;
  padding: 12px;
  border: 1px solid rgba(242, 244, 247, 0.08);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.lang-switcher a {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 6px;
  color: var(--muted);
}

.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--primary);
  background: var(--primary-dim);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), #C2410C);
  color: #0B0D1A;
  box-shadow: 0 4px 16px rgba(242, 140, 56, 0.3);
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary));
  box-shadow: 0 6px 20px rgba(242, 140, 56, 0.4);
  transform: translateY(-1px);
}

.btn--accent {
  background: var(--primary);
  color: #0B0D1A;
}

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

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn--ghost:hover {
  background: var(--surface);
  border-color: var(--border-dark);
}

/* HERO SECTION - Premium Dark Industrial */
.hero {
  position: relative;
  padding: 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* Hero Background Image */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* Maximum enhancement for available images */
  filter: contrast(1.15) brightness(0.85) saturate(1.1);
}

/* Hero Overlay - Left darker for text, right shows image */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Stronger overlay to mask image limitations */
  background: linear-gradient(
    135deg,
    rgba(11, 13, 26, 0.97) 0%,
    rgba(11, 13, 26, 0.9) 35%,
    rgba(11, 13, 26, 0.75) 55%,
    rgba(11, 13, 26, 0.5) 100%
  );
}

/* Orange glow accent */
.hero__glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--primary-glow) 0%, transparent 60%);
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.eyebrow {
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.h1 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.h1 .accent {
  color: var(--primary);
  display: block;
  margin-top: 8px;
}

.hero__sub {
  margin: 0 0 24px;
  color: var(--text-light);
  font-weight: 600;
  font-size: 15px;
  padding-left: 16px;
  border-left: 3px solid var(--primary);
}

.hero__body {
  margin: 0 0 28px;
  color: var(--muted);
  max-width: 58ch;
  font-size: 16px;
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.pill {
  border: 1px solid var(--border-dark);
  background: var(--surface);
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* KPI Cards in Hero */
.hero__right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-content: start;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.card:hover {
  background: var(--surface-hover);
  border-color: var(--border-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.kpi {
  padding: 24px 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--surface), var(--bg-alt));
}

.kpi__value {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 0 30px rgba(242, 140, 56, 0.3);
}

.kpi__label {
  color: var(--muted);
  font-size: 12px;
  margin-top: 10px;
  line-height: 1.5;
}

/* Media Card - for images */
.mediaCard {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}

.mediaCard::before {
  /* Subtle gradient overlay */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 70%,
    rgba(11, 13, 26, 0.3) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.mediaCard img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease, filter 0.3s ease;
  /* REMOVED: Aggressive filters that reduce quality */
  image-rendering: -webkit-optimize-contrast;
}

.card:hover .mediaCard {
  box-shadow: 0 12px 32px rgba(242, 140, 56, 0.15);
  border-color: var(--primary);
}

.card:hover .mediaCard img {
  transform: scale(1.03); /* REDUCED: From 1.08 to 1.03 to hide low-res */
  /* REMOVED: Additional filter on hover that made images worse */
}

.mediaCard__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.mediaCard__caption {
  font-size: 12px;
  color: var(--text);
  font-weight: 500;
}

/* Sections */
.section {
  padding: 90px 0;
}

.section--accent {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--cta {
  padding: 64px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.cta-box {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 24px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.cta-box .h2 {
  margin-bottom: 12px;
}

.cta-box .muted {
  margin-bottom: 24px;
  font-size: 15px;
}

.cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 32px;
}

.section__head .muted {
  flex-basis: 100%;
  margin: 0;
  max-width: 720px;
}

.h2 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  margin: 0;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.3px;
}

.h3 {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 19px;
  margin: 0 0 14px;
  color: var(--text);
  font-weight: 600;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 12px;
}

/* Flow diagram */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-alt);
  margin-bottom: 32px;
}

.flow__item {
  background: var(--surface);
  border: 1px solid var(--border-dark);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.flow__item:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.flow__arrow {
  color: var(--primary);
  font-weight: 700;
  font-size: 18px;
}

/* Grids */
.grid {
  display: grid;
  gap: 24px;
}

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

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

.grid--6 {
  grid-template-columns: repeat(6, 1fr);
}

/* Stat cards */
.stat {
  padding: 28px 24px;
  text-align: left;
  background: linear-gradient(135deg, var(--surface), var(--bg-alt));
}

.stat__v {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 20px rgba(242, 140, 56, 0.2);
}

.stat__l {
  color: var(--muted);
  font-size: 13px;
  margin-top: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Lists */
.list {
  margin: 0;
  padding-left: 20px;
  color: var(--text-light);
}

.list li {
  margin: 12px 0;
  position: relative;
}

.list li::marker {
  color: var(--primary);
}

.mt-24 {
  margin-top: 24px;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
  margin-top: 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.table thead {
  background: var(--bg-alt);
}

.table th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 2px solid var(--border-dark);
  white-space: nowrap;
}

.table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
  vertical-align: top;
}

.table tbody tr:last-child td {
  border-bottom: none;
}

.table tbody tr:hover {
  background: rgba(242, 244, 247, 0.03);
}

.table td strong {
  color: var(--text);
  font-weight: 600;
}

/* ========== Quality page ========== */
.certification-card {
  position: relative;
  padding-top: 48px;
}
.certification-card__badge {
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--primary-dim);
  border: 1px solid rgba(242, 140, 56, 0.3);
}
.certification-card__benefits {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.certification-card__benefits .h4 {
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compliance-item {
  text-align: center;
  padding: 20px 16px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease;
}
.compliance-item:hover {
  border-color: var(--border-dark);
}
.compliance-item__logo {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.compliance-item .muted {
  font-size: 13px;
  margin: 0;
}

/* Traceability flow diagram */
.traceability-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  padding: 24px 0;
}
.trace-step {
  flex: 1;
  min-width: 140px;
  max-width: 220px;
  padding: 20px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.trace-step:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(242, 140, 56, 0.2);
}
.trace-step__number {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--bg);
  background: var(--primary);
  border-radius: 50%;
}
.trace-step .h4 {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--text);
}
.trace-step .list {
  text-align: left;
  padding-left: 18px;
  margin: 0;
}
.trace-step .list li {
  margin: 6px 0;
  font-size: 13px;
}
.trace-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: var(--primary);
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .traceability-flow {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .trace-step {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
  .trace-arrow {
    transform: rotate(90deg);
    padding: 4px 0;
  }
}

/* Inspection process cards */
.inspection-card {
  position: relative;
  padding-top: 52px;
  border-left: 3px solid var(--primary);
}
.inspection-card__stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--bg);
  background: var(--primary);
  border-radius: 12px;
}
.inspection-card .h3 {
  margin-bottom: 12px;
}

/* Quality KPI grid (Industry 4.0 box) */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-content: start;
}
.kpi-mini {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
}
.kpi-mini__value {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.kpi-mini__label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Form */
.form {
  margin-top: 20px;
}

.form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-light);
  font-size: 13px;
  font-weight: 500;
}

input,
select,
textarea {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 8px;
  padding: 14px 16px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-dim);
  background: var(--surface);
}

.full {
  grid-column: 1 / -1;
}

.checks {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px;
  background: var(--bg-alt);
}

.checks legend {
  padding: 0 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}

.checks label {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  color: var(--text-light);
  font-weight: 400;
}

.checks input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.upload {
  grid-column: 1 / -1;
}

.upload input[type="file"] {
  padding: 14px;
  background: var(--bg-alt);
  border: 2px dashed var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload input[type="file"]:hover {
  border-color: var(--primary);
  background: var(--primary-dim);
}

.form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Link cards (Downloads) */
.linkcard {
  display: block;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.linkcard:hover {
  border-color: var(--primary);
  background: var(--primary-dim);
}

.linkcard__t {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 8px;
}

/* Certificate preview styling */
.linkcard img {
  max-width: 100%;
  height: auto;
  filter: contrast(1.1) brightness(0.95);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: var(--bg-alt);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

/* WordPress specific */
.aligncenter {
  display: block;
  margin: 0 auto;
}

.alignright {
  float: right;
  margin-left: 20px;
}

.alignleft {
  float: left;
  margin-right: 20px;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

/* Animations */
.animate-ready {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Image Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.gallery--3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery--4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  /* REMOVED: Quality-reducing filters */
  image-rendering: auto;
}

/* Subtle hover effect - minimal zoom to avoid showing pixelation */
.gallery__item:hover img {
  transform: scale(1.05); /* REDUCED: From 1.1 to 1.05 */
}

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

/* Featured Image Card */
.featured-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 16/9;
  margin-bottom: 24px;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  /* REMOVED: Filter that reduced quality */
  image-rendering: -webkit-optimize-contrast;
}

/* Minimal zoom on hover */
.featured-card:hover img {
  transform: scale(1.02); /* REDUCED: From 1.05 to 1.02 */
}

.featured-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.8));
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.featured-card__title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

/* Section Divider Image */
.section-divider {
  height: 300px;
  position: relative;
  overflow: hidden;
  margin: 60px 0;
}

.section-divider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section-divider__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,13,26,0.9), rgba(11,13,26,0.7));
}

.section-divider__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Icon Cards */
.icon-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.icon-card:hover {
  border-color: var(--primary);
  background: var(--surface-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.icon-card__icon {
  width: 48px;
  height: 48px;
  background: var(--primary-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.icon-card__title {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.icon-card__text {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero__right {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid--6 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  
  .flow {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .h1 {
    font-size: 32px;
  }

  .nav {
    display: none; /* Hidden by default on mobile, shown via .nav--open */
  }
  
  .nav__toggle {
    display: flex;
  }
  
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  
  .grid--6,
  .grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero__right {
    grid-template-columns: 1fr 1fr;
  }
  
  .form__grid {
    grid-template-columns: 1fr;
  }
  
  .hero__cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
  
  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 10px;
  }

  .hero {
    min-height: auto;
    padding: 48px 0;
  }

  .hero__grid {
    padding: 40px 0;
    gap: 32px;
  }

  .section {
    padding: 56px 0;
  }

  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(11, 13, 26, 0.9) 0%,
      rgba(11, 13, 26, 0.95) 100%
    );
  }
}

/* Social Links */
.footer__social {
  display: flex;
  gap: 24px;
  margin-bottom: 16px;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light);
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--primary);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__right {
    grid-template-columns: 1fr;
  }
  
  .kpi__value {
    font-size: 32px;
  }
  
  .flow__item {
    font-size: 12px;
    padding: 10px 12px;
  }
}
