@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #b91c1c;
  --primary-dark: #991b1b;
  --primary-light: #dc2626;
  --primary-10: rgba(185, 28, 28, 0.1);
  --primary-20: rgba(185, 28, 28, 0.2);
  --primary-fg: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --font-display: 'Barlow', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1200px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-display); line-height: 1.2; }
button { font-family: var(--font-body); cursor: pointer; }

.container-wide {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TOP BAR ========== */
.top-bar {
  background: var(--gray-800);
  color: var(--gray-300);
  padding: 8px 0;
  font-size: 0.8rem;
  border-bottom: 1px solid var(--gray-700);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-links {
  display: flex;
  gap: 24px;
}
.top-bar-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-300);
  transition: color 0.2s;
}
.top-bar-links a:hover { color: var(--white); }
.top-bar-links svg { width: 12px; height: 12px; }
.top-bar-tagline {
  color: var(--gray-400);
  display: none;
}
@media (min-width: 769px) {
  .top-bar-tagline { display: block; }
}

/* ========== NAVIGATION ========== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid transparent;
  padding: 16px 0;
  transition: all 0.3s;
}
.main-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border-bottom-color: var(--gray-200);
  padding: 8px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
}
.nav-logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  line-height: 1;
  transition: color 0.2s;
}
.nav-logo:hover .nav-logo-name { color: var(--primary); }
.nav-logo-sub {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  font-weight: 500;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 32px;
}
@media (min-width: 769px) {
  .desktop-nav { display: flex; }
}
.desktop-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gray-600);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--primary);
  border-bottom-color: rgba(185, 28, 28, 0.5);
}
.desktop-nav a.active {
  border-bottom-color: var(--primary);
}
.nav-quote-btn {
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  background: var(--primary);
  border: none;
  border-radius: 2px;
  transition: background 0.2s;
  box-shadow: 0 4px 6px rgba(185, 28, 28, 0.2);
}
.nav-quote-btn:hover { background: var(--primary-dark); }

.hamburger-btn {
  display: flex;
  padding: 8px;
  background: none;
  border: none;
  color: var(--gray-600);
}
@media (min-width: 769px) {
  .hamburger-btn { display: none; }
}
.hamburger-btn svg { width: 24px; height: 24px; }

.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  padding: 24px;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 10px 16px;
  color: var(--gray-600);
  border-left: 4px solid transparent;
  transition: all 0.2s;
}
.mobile-nav a:hover {
  color: var(--gray-900);
  border-left-color: var(--gray-300);
}
.mobile-nav a.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--gray-50);
}

/* ========== HERO ========== */
.hero-main {
  position: relative;
  min-height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gray-900);
}
.hero-main .hero-bg {
  position: absolute;
  inset: 0;
}
.hero-main .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}
.hero-main .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17,24,39,0.8) 0%, rgba(17,24,39,0.4) 50%, rgba(17,24,39,0.2) 100%);
}
.hero-main .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  max-width: 720px;
}
.hero-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(185, 28, 28, 0.2);
  border: 1px solid rgba(185, 28, 28, 0.3);
  border-radius: 50px;
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-main h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-main p {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--gray-200);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 600px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 16px rgba(185, 28, 28, 0.25);
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.2); }
.btn-white {
  background: var(--white);
  color: var(--gray-900);
}
.btn-white:hover { background: var(--gray-100); }
.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline-primary:hover { background: var(--primary); color: var(--white); }
.btn svg { width: 20px; height: 20px; }

/* ========== PAGE HEADERS (non-hero) ========== */
.page-header {
  background: var(--gray-100);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--gray-200);
  text-align: center;
}
.page-header h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--gray-900);
  margin-bottom: 16px;
}
.page-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto 24px;
}

/* Page header with background image (hero-style) */
.page-hero {
  position: relative;
  background: var(--gray-900);
  color: var(--white);
  padding: 96px 0 64px;
  overflow: hidden;
}
.page-hero .hero-bg {
  position: absolute;
  inset: 0;
}
.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.page-hero .hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(17,24,39,0.6) 0%, rgba(17,24,39,0.4) 100%);
}
.page-hero .hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-label {
  color: var(--primary-light);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-size: 0.875rem;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 16px;
}
.page-hero p {
  font-size: 1.15rem;
  color: var(--gray-300);
  max-width: 640px;
}

/* ========== SEARCH BAR ========== */
.search-wrap {
  max-width: 448px;
  margin: 0 auto;
  position: relative;
}
.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  width: 20px;
  height: 20px;
}
.search-wrap input {
  width: 100%;
  padding: 12px 16px 12px 48px;
  border-radius: 50px;
  border: 1px solid var(--gray-300);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--gray-800);
  outline: none;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.search-wrap input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.1);
}

/* ========== SECTION ========== */
.section { padding: 80px 0; }
.section-gray { background: var(--gray-50); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); }
.section-dark { background: var(--gray-900); color: var(--white); }
.section-primary { background: var(--primary); color: var(--white); }

.section-header {
  margin-bottom: 48px;
}
.section-header.centered { text-align: center; }
.section-header h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.section-dark .section-header h2,
.section-primary .section-header h2 { color: var(--white); }
.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 640px;
}
.section-dark .section-header p { color: var(--gray-300); }
.section-header.centered p { margin: 0 auto; }
.section-header .accent-bar {
  height: 4px;
  width: 80px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 24px;
}
.section-header.centered .accent-bar { margin: 24px auto 0; }

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}
.section-top .section-header { margin-bottom: 0; }
.section-top .view-all-link {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  transition: color 0.2s;
  white-space: nowrap;
}
.section-top .view-all-link:hover { color: var(--primary-dark); }
@media (min-width: 769px) {
  .section-top .view-all-link { display: flex; }
}

/* ========== CERT STRIP ========== */
.cert-strip {
  background: var(--gray-800);
  color: var(--white);
  padding: 48px 0;
}
.cert-strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  align-items: center;
}
@media (min-width: 640px) {
  .cert-strip-grid { grid-template-columns: repeat(4, 1fr); }
}
.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
}
.cert-item:hover { transform: scale(1.05); }
.cert-item-img {
  width: 128px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
}
.cert-item:hover .cert-item-img { opacity: 1; }
.cert-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
}
.cert-item-label {
  color: var(--gray-400);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  transition: color 0.2s;
}
.cert-item:hover .cert-item-label { color: var(--white); }

/* ========== INTRO SECTION (Home) ========== */
.intro-grid {
  display: grid;
  gap: 64px;
  align-items: center;
}
@media (min-width: 769px) {
  .intro-grid { grid-template-columns: 1fr 1fr; }
}
.intro-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.intro-feature {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--gray-100);
  border-radius: 4px;
  transition: all 0.2s;
}
.intro-feature:hover {
  border-color: var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.intro-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-50);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.intro-feature-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 2; }
.intro-feature h4 {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
  font-size: 0.95rem;
}
.intro-feature p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.4; }
.intro-img-wrap {
  position: relative;
}
.intro-img-bg {
  position: absolute;
  inset: -16px;
  background: var(--gray-100);
  border-radius: 8px;
  transform: rotate(-3deg);
}
.intro-img-wrap img {
  position: relative;
  z-index: 2;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  width: 100%;
}
.learn-more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  margin-top: 32px;
  transition: color 0.2s;
}
.learn-more-link:hover { text-decoration: underline; }

/* ========== PRODUCT CARDS ========== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
}
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.product-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(185, 28, 28, 0.2);
}
.product-card-img {
  aspect-ratio: 4/3;
  background: var(--gray-100);
  overflow: hidden;
  position: relative;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,24,39,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.product-card:hover .product-card-img::after { opacity: 1; }
.product-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gray-900);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.product-card:hover .product-card-body h3 { color: var(--primary); }
.product-card-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 24px;
  flex-grow: 1;
}
.card-view-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  transition: transform 0.2s;
}
.product-card:hover .card-view-link { transform: translateX(4px); }

/* ========== CAPABILITY CARDS ========== */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.cap-card {
  padding: 24px;
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cap-card:hover {
  border-color: rgba(185, 28, 28, 0.3);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.cap-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gray-50);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: background 0.2s;
}
.cap-card:hover .cap-card-icon { background: var(--primary-10); }
.cap-card-icon svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 2; }
.cap-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-900);
  margin-bottom: 8px;
  transition: color 0.2s;
}
.cap-card:hover h3 { color: var(--primary); }
.cap-card p {
  font-size: 0.875rem;
  color: var(--gray-500);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}
.cap-card .card-view-link { margin-top: 16px; }
.cap-card:hover .card-view-link { transform: translateX(4px); }

/* ========== MARKETS SECTION ========== */
.markets-section {
  position: relative;
  overflow: hidden;
}
.markets-section .dot-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 40px 40px;
}
.markets-grid {
  display: grid;
  gap: 64px;
}
@media (min-width: 769px) {
  .markets-grid { grid-template-columns: 1fr 1fr; }
}
.markets-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.market-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  transition: background 0.2s;
}
.market-item:hover { background: rgba(255,255,255,0.1); }
.market-item .check-icon {
  width: 32px;
  height: 32px;
  background: var(--primary-20);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.market-item .check-icon svg { width: 16px; height: 16px; stroke: var(--white); fill: none; stroke-width: 2.5; }
.market-item span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.2s;
}
.market-item:hover span { color: var(--primary-light); }

/* ========== CTA BANNER ========== */
.cta-banner {
  background: var(--gray-900);
  color: var(--white);
  padding: 80px 0;
}
.cta-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-banner h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 8px;
}
.cta-banner p {
  color: var(--gray-300);
  max-width: 560px;
}

/* ========== DETAIL PAGES ========== */
.detail-page { padding: 60px 0 80px; }
.detail-hero-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 32px;
}
.detail-page h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--gray-900);
  margin-bottom: 16px;
}
.detail-description {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 32px;
}
.detail-section { margin-bottom: 40px; }
.detail-section h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
}
.detail-list li {
  padding: 8px 0 8px 24px;
  position: relative;
  color: var(--gray-600);
}
.detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 24px;
}
.back-link:hover { text-decoration: underline; }

/* Product range table */
.table-wrap { overflow-x: auto; border-radius: 4px; border: 1px solid var(--gray-200); }
.product-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.product-table th {
  background: var(--gray-900);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
}
.product-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.product-table tr:hover td { background: var(--gray-50); }

/* ========== ABOUT PAGE ========== */
.about-why-grid {
  display: grid;
  gap: 64px;
  align-items: center;
}
@media (min-width: 769px) {
  .about-why-grid { grid-template-columns: 1fr 1fr; }
}
.about-why-points { display: flex; flex-direction: column; gap: 16px; }
.about-why-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.about-why-point svg { width: 24px; height: 24px; stroke: var(--primary); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.about-why-point p { font-size: 1.05rem; color: var(--gray-700); }
.about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about-info-card {
  background: var(--gray-50);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--gray-100);
}
.about-info-card.span-2 { grid-column: span 2; }
.about-info-card svg { width: 32px; height: 32px; stroke: var(--primary); fill: none; stroke-width: 2; margin: 0 auto 12px; }
.about-info-card h3 { font-weight: 700; margin-bottom: 4px; }
.about-info-card p { font-size: 0.875rem; color: var(--gray-500); }

/* Cert cards on about page */
.cert-cards-grid {
  display: grid;
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .cert-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
.cert-card {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  padding: 32px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.cert-card img { height: 56px; width: auto; object-fit: contain; margin: 0 auto 16px; }
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid;
  margin-bottom: 16px;
}
.cert-badge.certified { color: #16a34a; background: #f0fdf4; border-color: #bbf7d0; }
.cert-badge.awarded { color: #d97706; background: #fffbeb; border-color: #fde68a; }
.cert-badge.member { color: #7c3aed; background: #f5f3ff; border-color: #ddd6fe; }
.cert-badge svg { width: 14px; height: 14px; }
.cert-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.cert-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ========== CAREERS PAGE ========== */
.benefit-grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 769px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  background: var(--white);
  padding: 24px;
  border-radius: 4px;
  border: 1px solid var(--gray-200);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.benefit-card-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-10);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-card-icon svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 2; }
.benefit-card p { color: var(--gray-700); font-size: 0.95rem; }

.job-accordion {
  max-width: 896px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.job-card {
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}
.job-card-header {
  width: 100%;
  text-align: left;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.job-card-header:hover { background: var(--gray-50); }
.job-card-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.job-meta span {
  font-size: 0.85rem;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 6px;
}
.job-meta svg { width: 16px; height: 16px; }
.job-card-header .chevron { width: 20px; height: 20px; color: var(--gray-400); flex-shrink: 0; }
.job-card-body {
  padding: 0 24px 24px;
  border-top: 1px solid var(--gray-100);
  padding-top: 16px;
  display: none;
}
.job-card.expanded .job-card-body { display: block; }
.job-card-body > p {
  color: var(--gray-600);
  margin-bottom: 24px;
  font-size: 0.95rem;
}
.job-requirements h4 {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}
.job-requirements li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray-600);
  padding: 4px 0;
  font-size: 0.95rem;
}
.job-requirements li svg { width: 16px; height: 16px; stroke: var(--primary); fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 4px; }

/* Application form */
.apply-form-wrap {
  max-width: 768px;
  margin: 0 auto;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 32px;
}
@media (min-width: 769px) { .form-card { padding: 40px; } }
.form-row {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 769px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 2px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--gray-800);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.1);
}
.form-group textarea { resize: none; }
.form-note {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  padding: 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.form-note svg { width: 20px; height: 20px; color: var(--gray-400); flex-shrink: 0; margin-top: 2px; }
.form-note p { font-size: 0.875rem; color: var(--gray-600); }

/* ========== NEWS ========== */
.news-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.news-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: rgba(185, 28, 28, 0.2);
}
.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.news-date {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}
.news-card-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.news-card-body p {
  font-size: 0.9rem;
  color: var(--gray-600);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
}

/* ========== CONTACT PAGE ========== */
.contact-layout {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr 2fr; }
}
.contact-info-list { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item {
  display: flex;
  gap: 16px;
}
.contact-info-item .icon-box {
  width: 40px;
  height: 40px;
  background: var(--primary-10);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .icon-box svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 2; }
.contact-info-item h4 { font-weight: 700; color: var(--gray-900); font-size: 0.875rem; }
.contact-info-item p, .contact-info-item a { color: var(--gray-600); font-size: 0.95rem; }
.contact-info-item a:hover { color: var(--primary); }
.contact-form-card {
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  padding: 32px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* ========== FOOTER ========== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding-top: 64px;
  border-top: 1px solid var(--gray-800);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (min-width: 769px) {
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin-top: 16px;
  line-height: 1.6;
  max-width: 300px;
}
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--gray-800);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 20px; height: 20px; color: var(--white); stroke: var(--white); fill: none; stroke-width: 2; }
.footer h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 0.875rem;
  color: var(--gray-400);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }
.footer-contact-list { display: flex; flex-direction: column; gap: 16px; }
.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.875rem;
}
.footer-contact-item svg { width: 20px; height: 20px; stroke: var(--primary); fill: none; stroke-width: 2; flex-shrink: 0; }
.footer-contact-item a { color: var(--gray-400); transition: color 0.2s; }
.footer-contact-item a:hover { color: var(--white); }
.footer-contact-item span { color: var(--gray-400); }
.footer-cta-box {
  background: rgba(31, 41, 55, 0.5);
  padding: 24px;
  border-radius: 4px;
  border: 1px solid var(--gray-700);
}
.footer-cta-box h4 { margin-bottom: 12px; }
.footer-cta-box p {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.footer-cta-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.footer-cta-btn:hover { background: var(--primary-dark); }
.footer-cta-btn svg { width: 16px; height: 16px; }
.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--gray-500);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: var(--gray-500); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gray-300); }

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  background: var(--gray-50);
  border-radius: 4px;
  border: 1px dashed var(--gray-300);
}
.empty-state svg { width: 48px; height: 48px; stroke: var(--gray-300); fill: none; stroke-width: 1.5; margin: 0 auto 16px; }
.empty-state h3 { font-size: 1.2rem; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.empty-state p { color: var(--gray-500); }
.empty-state a { color: var(--primary); font-weight: 500; }

/* ========== LOADING ========== */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}
.loading::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 4px solid var(--gray-200);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mt-2 { margin-top: 16px; }
.mb-4 { margin-bottom: 32px; }

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .hero-main { min-height: 500px; }
  .intro-features { grid-template-columns: 1fr; }
  .about-info-grid { grid-template-columns: 1fr; }
  .about-info-card.span-2 { grid-column: span 1; }
  .markets-list { grid-template-columns: 1fr; }
}